Skip to main content

Section 4.8 More Exercises

Given P(A) = 0.43, P(B) = 0.72, and \(P(A \cap B) = 0.29\text{,}\) determine

  1. \(P(A \cup B)\)
  2. \(P(B | A)\)
  3. \(P(A | B)\)
  4. \(P(A^c \cap B^c)\)

The table below classifies students at your university according to gender and according to major.

Enrollment Male Female Totals
STEM 420 510 930
Business 320 270 590
Other 610 710 1320
Totals 1350 1490 2840
Table 4.8.3 Gender vs Major
Determine the following:

  1. P( STEM major )
  2. P( STEM | Female )
  3. P( Female | STEM )
  4. P( Female | Not STEM)

You are in a probability and statistics class with a teacher who has predetermined that only one student can make an A for the course. To be "fair", he places a number of slips of paper in a bowl equal to the number of students in the course with one of the slips having an A designation. Students in the course each can pick once randomly from the bowl and without replacement to see if they can get the lucky slip. Determine the following:

  1. If there are 15 students in your course, determine the probabilities of getting an A in the course if you pick first and if you pick last.
  2. Since the teacher likes you the most, she will give you the option of deciding whether to pick at any position. If so, determine the position that would give you the best likelihood of getting the A slop.
  3. Suppose again that the teacher was feeling more generous and decided instead to allow for two A's. Determine how that changes your likelihood of winning and on what position you would like to choose.
  4. Continue as above except that only one slip does not have an A on it.
  5. Discuss how your choice is affected by the number of students in the course or the number of A slips included.
Solution

Using the normal equally-likely definition, \(P(\text{first}) = \frac{1}{15}\text{.}\)

To get the A on the last pick requires that all of the previous picks to be something else. You don't get the opportunity to pick the A if it has already been selected. So, if L stands for losing (not getting the A), then

\begin{gather*} P(\text{last}) = P(\text{LLLLLLLLLLLLLLA}) = \frac{14 \cdot 13 \cdot 12 \cdot 11 \cdot 10 \cdot 9 \cdot 8 \cdot 7 \cdot 6 \cdot 5 \cdot 4 \cdot 3 \cdot 2 \cdot 1}{15 \cdot 14 \cdot 13 \cdot 12 \cdot 11 \cdot 10 \cdot 9 \cdot 8 \cdot 7 \cdot 6 \cdot 5 \cdot 4 \cdot 3 \cdot 2} = \frac{1}{15}. \end{gather*}

Therefore, it is the same probability of getting the A whether you pick first or last. In general, to win on the kth pick gives

\begin{gather*} P(\text{kth}) = P(\text{LL...LA}) = \frac{14 \cdot 13 \cdot ... \cdot (15-k) \cdot 1}{15 \cdot 14 ... \cdot (16-k) \cdot (15-k)} = \frac{1}{15} \end{gather*}

Hence, it is the same probability regardless of when you get to pick.

If there are two A's possible, then the options for person k in include either receiving the first of the two slips or the second. The probability for determining the first of the two is computed in a manner similar to above except that there is one more A and one less other.

\begin{gather*} P(\text{kth as first}) = P(\text{LL...LA}) = \frac{13 \cdot 12 \cdot ... \cdot (15-k) \cdot 2}{15 \cdot 14 ... \cdot (16-(k+1)) \cdot (16-k)} = \frac{2 \cdot (15-k)}{15 \cdot 14} \end{gather*}

The probability of getting the second A means exactly one of the previous k-1 selections also picked the other A. There are k-1 ways that this could happen. Computing for one of the options and multiplying by k-1 gives

\begin{gather*} P(\text{kth as second}) = P(\text{LL...LAA}) = (k-1) \cdot \frac{13 \cdot 12 \cdot ... \cdot (15-k) \cdot 2 \cdot 1}{15 \cdot 14 ... \cdot (16-k) \cdot (15-k)} = \frac{2 \cdot (k-1)}{15 \cdot 14}. \end{gather*}

Adding these two together gives

\begin{gather*} P(\text{getting an A when there are two}) = \frac{2 \cdot (15-k) + 2 \cdot (k-1)}{15 \cdot 14}\\ = \frac{28}{15 \cdot 14} = \frac{2}{15}. \end{gather*}

For example, if k = 5,

\begin{gather*} P(\text{5th as first}) = P(\text{LLLLA}) \\ = \frac{13 \cdot 12 \cdot 11 \cdot 10 \cdot 2}{15 \cdot 14 \cdot 13 \cdot 12 \cdot 11} = \frac{20}{15 \cdot 14} \end{gather*}
\begin{gather*} P(\text{5th as second}) = P(\text{LL...LAA}) \\ = 4 \cdot \frac{13 \cdot 12 \cdot \cdot 11 \cdot 2 \cdot 1}{15 \cdot 14 \cdot 13 \cdot 12 \cdot 11} = \frac{8}{15 \cdot 14}. \end{gather*}

Adding these together yields the general result. So, once again, it doesn't matter which pick you use since the likelihood of getting an A is the same for all positions.

In this problem, you want to consider how many people are necessary in order to have an even chance of finding two or more who share a common birthday. Toward that end, assuming a year has exactly 365 equally likely days let r be the number of people in a sample and consider the following:

  1. Determine the number of different outcomes of birthdays when order matters and birthdays are allowed to be repeated.
  2. Determine the number of different outcomes when birthdays are not allowed to be repeated.
  3. Determine the probability that two or more of your r students have the same birthday.
  4. Prepare a spreadsheet with the probabilities found above from r=2 to r=50. Determine the value of r for which this probability is closest to 0.5.
  5. As best as you can, sample two groups of the size found above and gather birthday information. For each group, determine if there is a shared birthday or not. Compare your results with others in the class to check whether the sampling validates that about half of the samples should have a shared birthday group.
Solution

The correct sample size to get past a probability of 0.5 is 23 people. You should justify this numerically by justifying the following probabilities:

#	P(Match)	
1	0
2	0.0027
3	0.0082
4	0.0164
5	0.0271
6	0.0405
7	0.0562
8	0.0743
9	0.0946
10	0.1169
11	0.1411
12	0.1670
13	0.1944
14	0.2231
15	0.2529
16	0.2836
17	0.3150
18	0.3469
19	0.3791
20	0.4114
21	0.4437
22	0.4757
23	0.5073
24	0.5383
25	0.5687
26	0.5982
27	0.6269
28	0.6545
29	0.6810
30	0.7063

This one is from an internet meme: Two fair 6-sided dice are rolled together and you are told that at least one of the dice is a 6. Given that a 6 will be removed, determine the probability that the other die is a 6.

Solution

In this case, you are presented with an outcome where the possible choices consist of (1,6), (2,6), (3,6), (4,6), (5,6), (6,6), (6,5), (6,4), (6,3), (6,2), (6,1). Each of these would satisfy the condition that at least one of the dice is a 6. From this group, the only success that satisfies being a 6, given that another 6 has already been removed, is the (6,6) outcome. Therefore, the conditional probability is 1/11.

It is interesting to note that if the question instead was posed so that one of the dice was a 6 and it was removed, then the probability of the other dice showing a 6 would be 1/6.

This is a famous problem. 100 people are in line, boarding an airplane with 100 seats, one at a time. They are in no particular order. The first person has lost his boarding pass, so he sits in a random seat. The second person does the following:

  • Goes to his seat (the one it says to go to on the boarding pass). If unoccupied, sit in it.
  • If occupied, find a random seat to sit in.

Everyone else behind him does the same. What is the probability that the last person sits in his correct seat?

Solution

To get the idea, consider what happens with only 2 people, then only 3. Generalize.

The answer is 1/2. To obtain this, you can define recursively the probability that the kth person sits in their own set as f(k). Consider the first traveler's and your seats. Then you get the following cases:

  • P(first guy sits in his own seat and you sit in yours) = \(\frac{1}{k} \cdot 1\)
  • P(first guy sits in your seat and you do not sit in yours) = \(\frac{1}{k} \cdot 0\)
  • P(other k-2 travelers make their choices) = \((k-2) \frac{1}{k} f(k-1)\)
\begin{equation*} f(k) = 1/k + 0 + (k-2)/k f(k-1) \end{equation*}

with f(2) = 1/2.

For example,

  • f(3) = 1/3 + f(2)/3 = 1/3 + 1/6 = 1/2.
  • f(4) = 1/4 + 2/4 f(3) = 1/4 + 1/2 1/2 = 1/2.
  • f(5) = 1/5 + 3/5 1/2 = 1/2.
  • f(6) = 1/6 + 4/6 1/2 = 1/2.

Etc.

Given P(A) = 0.43, P(B) = 0.72, and \(P(A \cap B) = 0.29\text{,}\) verify that A and B are not independent.

Given A, B, and C are independent events, with P(A) = 2/5, P(B) = 3/4, and P(C) = 1/6, determine:

  1. \(P(A \cap B \cap C)\)
  2. \(P(A^c \cap B^c \cap C)\)
  3. \(P(A \cup B \cup C)\)

Suppose for a pair of dice you want to consider the events A = {rolling a 7 or 11} and B = {otherwise}. Rolling the dice 5 times, determine

  1. P(AABBB)
  2. P(BBBAA)
  3. The probability of getting A on exactly two rolls of the dice.

To help "insure" the success of a mission, you propose several redundant components so that the mission is a success if one or more succeed. Supposing that these separate components act independently of each other and that each component has a 75% chance of success, determine:

  1. The probability of failure if you utilize 2 components.
  2. The probability of failure if you utilize 5 components.
  3. The number of components needed to insure that the probability of success is at least 99%.

Again, from an internet meme: Two fair 6-sided dice are rolled together and you are told that at least one of the dice is a 6. A 6 is removed and you are presented with the other die. Determine the probability that it is a 6.

Solution

For this setting, notice that the outcomes from each of the two dice are independent of each other. Removing one of the dice, regardless of it's value, does not affect the other. The question in this case does not ask for a conditional probability.

Consider a n=4 team single-elimination tournament where the teams are "seeded" from 1 (the best team) to 4 (the worst team). For this tournament, team 1 plays team 4 and team 2 plays team 3. The winner of each play each other to determine the final winner. When teams j and k play, set P(j wins) = \(\frac{k}{j+k}\) and similarly for team k. Assuming separate games are independent of each other, determine the probability that team 4 wins the tournament. What about with 8 teams? What about 64 teams?

Solution

P(4 wins) = P(4 beats 1) P(4 beats the winner of the other bracket)

P(4 wins) = (1/5) * P(4 beats 2 | 2 beats 3) + P(4 beats 3 | 3 beats 2)

P(4 wins) = 1/5 [(3/5)(2/6) + (2/5)(3/7)] = 78/1050 = 0.0742

For the other teams:

P(1 wins) = 4/5 [(3/5)(2/3) + (2/5)(3/4) ] = 0.56

P(2 wins) = 3/5 [(4/5)(1/3) + (1/5)(4/6) ] = 0.24

P(3 wins) = 2/5 [(4/5)(1/4) + (1/5)(4/7) ] = 0.1257