Section 4.8 More Exercises
Given P(A) = 0.43, P(B) = 0.72, and \(P(A \cap B) = 0.29\text{,}\) determine
- \(P(A \cup B)\)
- \(P(B | A)\)
- \(P(A | B)\)
- \(P(A^c \cap B^c)\)
Checkpoint 4.8.2 Gender vs University Major
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
- P( STEM major )
- P( STEM | Female )
- P( Female | STEM )
- P( Female | Not STEM)
Checkpoint 4.8.4 Mean Tough Teacher
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:
- 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.
- 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.
- 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.
- Continue as above except that only one slip does not have an A on it.
- Discuss how your choice is affected by the number of students in the course or the number of A slips included.
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
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
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.
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
Adding these two together gives
For example, if k = 5,
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.
Checkpoint 4.8.5 Shared Birthdays
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:
- Determine the number of different outcomes of birthdays when order matters and birthdays are allowed to be repeated.
- Determine the number of different outcomes when birthdays are not allowed to be repeated.
- Determine the probability that two or more of your r students have the same birthday.
- 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.
- 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.
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
Checkpoint 4.8.6 Internet meme solution
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.
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.
Checkpoint 4.8.7 100 people on an airplane with boarding pass issues
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?
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)\)
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.
Checkpoint 4.8.8 Basic Independence Calculations
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.
Checkpoint 4.8.9 Compound events and Independence
Given A, B, and C are independent events, with P(A) = 2/5, P(B) = 3/4, and P(C) = 1/6, determine:
- \(P(A \cap B \cap C)\)
- \(P(A^c \cap B^c \cap C)\)
- \(P(A \cup B \cup C)\)
Checkpoint 4.8.10 Rolling multiple dice
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
- P(AABBB)
- P(BBBAA)
- 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:
- The probability of failure if you utilize 2 components.
- The probability of failure if you utilize 5 components.
- The number of components needed to insure that the probability of success is at least 99%.
Checkpoint 4.8.12 Internet Meme redux
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.
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.
Checkpoint 4.8.13 Single Elimination Tounament
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?
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