$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}[1]{\| #1 \|}$$ $$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$

# 12.7: Exercises

$$\newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$ $$\newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}[1]{\| #1 \|}$$ $$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}[1]{\| #1 \|}$$ $$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$

1. A ball is drawn randomly from a jar that contains 6 red balls, 2 white balls, and 5 yellow balls. Find the probability of the given event.

1. A red ball is drawn
2. A white ball is drawn

2. Suppose you write each letter of the alphabet on a different slip of paper and put the slips into a hat. What is the probability of drawing one slip of paper from the hat at random and getting:

1. A consonant
2. A vowel

3. A group of people were asked if they had run a red light in the last year. 150 responded "yes", and 185 responded "no". Find the probability that if a person is chosen at random, they have run a red light in the last year.

4. In a survey, 205 people indicated they prefer cats, 160 indicated they prefer dots, and 40 indicated they don’t enjoy either pet. Find the probability that if a person is chosen at random, they prefer cats.

5. Compute the probability of tossing a six-sided die (with sides numbered 1 through 6) and getting a 5.

6. Compute the probability of tossing a six-sided die and getting a 7.

7. Giving a test to a group of students, the grades and gender are summarized below. If one student was chosen at random, find the probability that the student was female.

$$\begin{array}{|l|l|l|l|l|} \hline & \mathrm{A} & \mathrm{B} & \mathrm{C} & \text { Total } \\ \hline \text { Male } & 8 & 18 & 13 & 39 \\ \hline \text { Female } & 10 & 4 & 12 & 26 \\ \hline \text { Total } & 18 & 22 & 25 & 65 \\ \hline \end{array}$$

8. The table below shows the number of credit cards owned by a group of individuals. If one person was chosen at random, find the probability that the person had no credit cards.

$$\begin{array}{|l|l|l|l|l|} \hline & \text { Zero } & \text { One } & \text { Two or more } & \text { Total } \\ \hline \text { Male } & 9 & 5 & 19 & 33 \\ \hline \text { Female } & 18 & 10 & 20 & 48 \\ \hline \text { Total } & 27 & 15 & 39 & 81 \\ \hline \end{array}$$

9. Compute the probability of tossing a six-sided die and getting an even number.

10. Compute the probability of tossing a six-sided die and getting a number less than 3.

11. If you pick one card at random from a standard deck of cards, what is the probability it will be a King?

12. If you pick one card at random from a standard deck of cards, what is the probability it will be a Diamond?

13. Compute the probability of rolling a 12-sided die and getting a number other than 8.

14. If you pick one card at random from a standard deck of cards, what is the probability it is not the Ace of Spades?

15. Referring to the grade table from question #7, what is the probability that a student chosen at random did NOT earn a C?

16. Referring to the credit card table from question #8, what is the probability that a person chosen at random has at least one credit card?

17. A six-sided die is rolled twice. What is the probability of showing a 6 on both rolls?

18. A fair coin is flipped twice. What is the probability of showing heads on both flips?

19. A die is rolled twice. What is the probability of showing a 5 on the first roll and an even number on the second roll?

20. Suppose that 21% of people own dogs. If you pick two people at random, what is the probability that they both own a dog?

21. Suppose a jar contains 17 red marbles and 32 blue marbles. If you reach in the jar and pull out 2 marbles at random, find the probability that both are red.

22. Suppose you write each letter of the alphabet on a different slip of paper and put the slips into a hat. If you pull out two slips at random, find the probability that both are vowels.

23. Bert and Ernie each have a well-shuffled standard deck of 52 cards. They each draw one card from their own deck. Compute the probability that:

1. Bert and Ernie both draw an Ace.
2. Bert draws an Ace but Ernie does not.
3. neither Bert nor Ernie draws an Ace.
4. Bert and Ernie both draw a heart.
5. Bert gets a card that is not a Jack and Ernie draws a card that is not a heart.

24. Bert has a well-shuffled standard deck of 52 cards, from which he draws one card; Ernie has a 12-sided die, which he rolls at the same time Bert draws a card. Compute the probability that:

1. Bert gets a Jack and Ernie rolls a five.
2. Bert gets a heart and Ernie rolls a number less than six.
3. Bert gets a face card (Jack, Queen or King) and Ernie rolls an even number.
4. Bert gets a red card and Ernie rolls a fifteen.
5. Bert gets a card that is not a Jack and Ernie rolls a number that is not twelve.

25. Compute the probability of drawing a King from a deck of cards and then drawing a Queen.

26. Compute the probability of drawing two spades from a deck of cards.

27. A math class consists of 25 students, 14 female and 11 male. Two students are selected at random to participate in a probability experiment. Compute the probability that

1. a male is selected, then a female.
2. a female is selected, then a male.
3. two males are selected.
4. two females are selected.
5. no males are selected.

28. A math class consists of 25 students, 14 female and 11 male. Three students are selected at random to participate in a probability experiment. Compute the probability that

1. a male is selected, then two females.
2. a female is selected, then two males.
3. two females are selected, then one male.
4. three males are selected.
5. three females are selected.

29. Giving a test to a group of students, the grades and gender are summarized below. If one student was chosen at random, find the probability that the student was female and earned an A.

$$\begin{array}{|l|l|l|l|l|} \hline & \mathrm{A} & \mathrm{B} & \mathrm{C} & \text { Total } \\ \hline \text { Male } & 8 & 18 & 13 & 39 \\ \hline \text { Female } & 10 & 4 & 12 & 26 \\ \hline \text { Total } & 18 & 22 & 25 & 65 \\ \hline \end{array}$$

30. The table below shows the number of credit cards owned by a group of individuals. If one person was chosen at random, find the probability that the person was male and had two or more credit cards.

$$\begin{array}{|l|l|l|l|l|} \hline & \text { Zero } & \text { One } & \text { Two or more } & \text { Total } \\ \hline \text { Male } & 9 & 5 & 19 & 33 \\ \hline \text { Female } & 18 & 10 & 20 & 48 \\ \hline \text { Total } & 27 & 15 & 39 & 81 \\ \hline \end{array}$$

31.A jar contains 6 red marbles numbered 1 to 6 and 8 blue marbles numbered 1 to 8. A marble is drawn at random from the jar. Find the probability the marble is red or odd-numbered.

32. A jar contains 4 red marbles numbered 1 to 4 and 10 blue marbles numbered 1 to 10. A marble is drawn at random from the jar. Find the probability the marble is blue or even-numbered.

33. Referring to the table from #29, find the probability that a student chosen at random is female or earned a B.

34. Referring to the table from #30, find the probability that a person chosen at random is male or has no credit cards.

35. Compute the probability of drawing the King of hearts or a Queen from a deck of cards.

36. Compute the probability of drawing a King or a heart from a deck of cards.

37. A jar contains 5 red marbles numbered 1 to 5 and 8 blue marbles numbered 1 to 8. A marble is drawn at random from the jar. Find the probability the marble is

1. Even-numbered given that the marble is red.
2. Red given that the marble is even-numbered.

38. A jar contains 4 red marbles numbered 1 to 4 and 8 blue marbles numbered 1 to 8. A marble is drawn at random from the jar. Find the probability the marble is

1. Odd-numbered given that the marble is blue.
2. Blue given that the marble is odd-numbered.

39. Compute the probability of flipping a coin and getting heads, given that the previous flip was tails.

40. Find the probability of rolling a “1” on a fair die, given that the last 3 rolls were all ones.

41. Suppose a math class contains 25 students, 14 females (three of whom speak French) and 11 males (two of whom speak French). Compute the probability that a randomly selected student speaks French, given that the student is female.

42. Suppose a math class contains 25 students, 14 females (three of whom speak French) and 11 males (two of whom speak French). Compute the probability that a randomly selected student is male, given that the student speaks French.

43. A certain virus infects one in every 400 people. A test used to detect the virus in a person is positive 90% of the time if the person has the virus and 10% of the time if the person does not have the virus. Let A be the event "the person is infected" and B be the event "the person tests positive".

1. Find the probability that a person has the virus given that they have tested positive, i.e. find $$P(A | B)$$.
2. Find the probability that a person does not have the virus given that they test negative, i.e. find $$P(\text { not } A | \text { not } B)$$.

44. A certain virus infects one in every 2000 people. A test used to detect the virus in a person is positive 96% of the time if the person has the virus and 4% of the time if the person does not have the virus. Let A be the event "the person is infected" and B be the event "the person tests positive".

1. Find the probability that a person has the virus given that they have tested positive, i.e. find $$P(A | B)$$.
2. Find the probability that a person does not have the virus given that they test negative, i.e. find $$P(\text { not } A | \text { not } B)$$.

45. A certain disease has an incidence rate of 0.3%. If the false negative rate is 6% and the false positive rate is 4%, compute the probability that a person who tests positive actually has the disease.

46. A certain disease has an incidence rate of 0.1%. If the false negative rate is 8% and the false positive rate is 3%, compute the probability that a person who tests positive actually has the disease.

47. A certain group of symptom-free women between the ages of 40 and 50 are randomly selected to participate in mammography screening. The incidence rate of breast cancer among such women is 0.8%. The false negative rate for the mammogram is 10%. The false positive rate is 7%. If a the mammogram results for a particular woman are positive (indicating that she has breast cancer), what is the probability that she actually has breast cancer?

48. About 0.01% of men with no known risk behavior are infected with HIV. The false negative rate for the standard HIV test 0.01% and the false positive rate is also 0.01%. If a randomly selected man with no known risk behavior tests positive for HIV, what is the probability that he is actually infected with HIV?

49. A boy owns 2 pairs of pants, 3 shirts, 8 ties, and 2 jackets. How many different outfits can he wear to school if he must wear one of each item?

50. At a restaurant you can choose from 3 appetizers, 8 entrees, and 2 desserts. How many different three-course meals can you have?

51. How many three-letter "words" can be made from 4 letters "FGHI" if

1. repetition of letters is allowed
2. repetition of letters is not allowed

52. How many four-letter "words" can be made from 6 letters "AEBWDP" if

1. repetition of letters is allowed
2. repetition of letters is not allowed

53. All of the license plates in a particular state feature three letters followed by three digits (e.g. ABC 123). How many different license plate numbers are available to the state's Department of Motor Vehicles?

54. A computer password must be eight characters long. How many passwords are possible if only the 26 letters of the alphabet are allowed?

55. A pianist plans to play 4 pieces at a recital. In how many ways can she arrange these pieces in the program?

56. In how many ways can first, second, and third prizes be awarded in a contest with 210 contestants?

57. Seven Olympic sprinters are eligible to compete in the 4 x 100 m relay race for the USA Olympic team. How many four-person relay teams can be selected from among the seven athletes?

58. A computer user has downloaded 25 songs using an online file-sharing program and wants to create a CD-R with ten songs to use in his portable CD player. If the order that the songs are placed on the CD-R is important to him, how many different CD-Rs could he make from the 25 songs available to him?

59. In western music, an octave is divided into 12 pitches. For the film Close Encounters of the Third Kind, director Steven Spielberg asked composer John Williams to write a five-note theme, which aliens would use to communicate with people on Earth. Disregarding rhythm and octave changes, how many five-note themes are possible if no note is repeated?

60. In the early twentieth century, proponents of the Second Viennese School of musical composition (including Arnold Schönberg, Anton Webern and Alban Berg) devised the twelve-tone technique, which utilized a tone row consisting of all 12 pitches from the chromatic scale in any order, but with not pitches repeated in the row. Disregarding rhythm and octave changes, how many tone rows are possible?

61. In how many ways can 4 pizza toppings be chosen from 12 available toppings?

62. At a baby shower 17 guests are in attendance and 5 of them are randomly selected to receive a door prize. If all 5 prizes are identical, in how many ways can the prizes be awarded?

63. In the 6/50 lottery game, a player picks six numbers from 1 to 50. How many different choices does the player have if order doesn’t matter?

64. In a lottery daily game, a player picks three numbers from 0 to 9. How many different choices does the player have if order doesn’t matter?

65. A jury pool consists of 27 people. How many different ways can 11 people be chosen to serve on a jury and one additional person be chosen to serve as the jury foreman?

66. The United States Senate Committee on Commerce, Science, and Transportation consists of 23 members, 12 Republicans and 11 Democrats. The Surface Transportation and Merchant Marine Subcommittee consists of 8 Republicans and 7 Democrats. How many ways can members of the Subcommittee be chosen from the Committee?

67. You own 16 CDs. You want to randomly arrange 5 of them in a CD rack. What is the probability that the rack ends up in alphabetical order?

68. A jury pool consists of 27 people, 14 men and 13 women. Compute the probability that a randomly selected jury of 12 people is all male.

69. In a lottery game, a player picks six numbers from 1 to 48. If 5 of the 6 numbers match those drawn, they player wins second prize. What is the probability of winning this prize?

70. In a lottery game, a player picks six numbers from 1 to 48. If 4 of the 6 numbers match those drawn, they player wins third prize. What is the probability of winning this prize?

71. Compute the probability that a 5-card poker hand is dealt to you that contains all hearts.

72. Compute the probability that a 5-card poker hand is dealt to you that contains four Aces.

73. A bag contains 3 gold marbles, 6 silver marbles, and 28 black marbles. Someone offers to play this game: You randomly select on marble from the bag. If it is gold, you win $3. If it is silver, you win$2. If it is black, you lose $1. What is your expected value if you play this game? 74. A friend devises a game that is played by rolling a single six-sided die once. If you roll a 6, he pays you$3; if you roll a 5, he pays you nothing; if you roll a number less than 5, you pay him $1. Compute the expected value for this game. Should you play this game? 75. In a lottery game, a player picks six numbers from 1 to 23. If the player matches all six numbers, they win 30,000 dollars. Otherwise, they lose$1. Find the expected value of this game.

76. A game is played by picking two cards from a deck. If they are the same value, then you win $5, otherwise you lose$1. What is the expected value of this game?

77. A company estimates that 0.7% of their products will fail after the original warranty period but within 2 years of the purchase, with a replacement cost of $350. If they offer a 2 year extended warranty for$48, what is the company's expected value of each warranty sold?

78. An insurance company estimates the probability of an earthquake in the next year to be 0.0013. The average damage done by an earthquake it estimates to be $60,000. If the company offers earthquake insurance for$100, what is their expected value of the policy?

## Exploration

Some of these questions were adapted from puzzles at mindyourdecisions.com.

79. A small college has been accused of gender bias in its admissions to graduate programs.

1. Out of 500 men who applied, 255 were accepted. Out of 700 women who applied, 240 were accepted. Find the acceptance rate for each gender. Does this suggest bias?
2. The college then looked at each of the two departments with graduate programs, and found the data below. Compute the acceptance rate within each department by gender. Does this suggest bias?
3. Looking at our results from Parts a and b, what can you conclude? Is there gender bias in this college’s admissions? If so, in which direction?

80. A bet on “black” in Roulette has a probability of 18/38 of winning. If you win, you double your money. You can bet anywhere from $1 to$100 on each spin.

1. Suppose you have $10, and are going to play until you go broke or have$20. What is your best strategy for playing?
2. Suppose you have $10, and are going to play until you go broke or have$30. What is your best strategy for playing?

81. Your friend proposes a game: You flip a coin. If it’s heads, you win $1. If it’s tails, you lose$1. However, you are worried the coin might not be fair coin. How could you change the game to make the game fair, without replacing the coin?

82. Fifty people are in a line. The first person in the line to have a birthday matching someone in front of them will win a prize. Of course, this means the first person in the line has no chance of winning. Which person has the highest likelihood of winning?

83. Three people put their names in a hat, then each draw a name, as part of a randomized gift exchange. What is the probability that no one draws their own name? What about with four people?

84. How many different “words” can be formed by using all the letters of each of the following words exactly once?

1. “ALICE”
2. “APPLE”

85. How many different “words” can be formed by using all the letters of each of the following words exactly once?

1. “TRUMPS”
2. “TEETER”

86. The Monty Hall problem is named for the host of the game show Let’s make a Deal. In this game, there would be three doors, behind one of which there was a prize. The contestant was asked to choose one of the doors. Monty Hall would then open one of the other doors to show there was no prize there. The contestant was then asked if they wanted to stay with their original door, or switch to the other unopened door. Is it better to stay or switch, or does it matter?

87. Suppose you have two coins, where one is a fair coin, and the other coin comes up heads 70% of the time. What is the probability you have the fair coin given each of the following outcomes from a series of flips?

1. 5 Heads and 0 Tails
2. 8 Heads and 3 Tails
3. 10 Heads and 10 Tails
4. 3 Heads and 8 Tails

88. Suppose you have six coins, where five are fair coins, and one coin comes up heads 80% of the time. What is the probability you have a fair coin given each of the following outcomes from a series of flips?

1. 5 Heads and 0 Tails
2. 8 Heads and 3 Tails
3. 10 Heads and 10 Tails
4. 3 Heads and 8 Tails

89. In this problem, we will explore probabilities from a series of events.

1. If you flip 20 coins, how many would you expect to come up “heads”, on average? Would you expect every flip of 20 coins to come up with exactly that many heads?
2. If you were to flip 20 coins, what would you consider a “usual” result? An “unusual” result?
3. Flip 20 coins (or one coin 20 times) and record how many come up “heads”. Repeat this experiment 9 more times. Collect the data from the entire class.
4. When flipping 20 coins, what is the theoretic probability of flipping 20 heads?
5. Based on the class’s experimental data, what appears to be the probability of flipping 10 heads out of 20 coins?
6. The formula $$_{n} C_{x} p^{x}(1-p)^{n-x}$$ will compute the probability of an event with probability $$p$$ occurring $$x$$ times out of $$n$$, such as flipping $$x$$ heads out of $$n$$ coins where the probability of heads is $$p = \frac{1}{2}$$. Use this to compute the theoretic probability of flipping 10 heads out of 20 coins.
7. If you were to flip 20 coins, based on the class’s experimental data, what range of values would you consider a “usual” result? What is the combined probability of these results? What would you consider an “unusual” result? What is the combined probability of these results?
8. We’ll now consider a simplification of a case from the 1960s. In the area, about 26% of the jury eligible population was black. In the court case, there were 100 men on the juror panel, of which 8 were black. Does this provide evidence of racial bias in jury selection?

12.7: Exercises is shared under a CC BY-SA 3.0 license and was authored, remixed, and/or curated by David Lippman via source content that was edited to conform to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.