12.2 Conditional probability and the conditional probability formula — Practise
Work through these on your own. For each question, write down the group that forms the denominator before you use the formula.
The questions and the answers below come from a set that is checked by computer every time the book is built.
- A college has 200 students. 120 study Mathematics, 80 study Physics, and 50 study both. A student is chosen at random. Find the probability that the student studies Physics, given that the student studies Mathematics.
- A college has 200 students. 120 study Mathematics, 80 study Physics, and 50 study both. A student is chosen at random. Find the probability that the student studies Mathematics, given that the student studies Physics.
- For two events and , and . Find .
- For two events and , and . Find .
- For two events and , , and . Find and state, with a reason, whether and are independent.
- A bag contains 5 red counters and 3 blue counters. Two counters are taken at random, one after the other, without replacement. Find the probability that the first counter is red and the second is blue.
- A bag contains 5 red counters and 3 blue counters. Two counters are taken at random, one after the other, without replacement. Find the probability that the second counter is red.
- On any morning, the probability of a fire in a warehouse is . A detector sounds when there is a fire with probability . It sounds when there is no fire with probability . Find the probability that there is a fire, given that the detector sounds.
- In a factory, 2% of items are defective. A test detects a defective item with probability . It wrongly flags a good item with probability . Find the probability that an item is defective, given that the test flags it.
- 60% of email is spam. A filter flags spam with probability and flags genuine email with probability . Find the probability that a flagged email is spam, as a percentage to one decimal place.
- A survey of 400 people finds that 160 have a degree and 100 work in finance. Of the people with a degree, 40 work in finance. A person is chosen at random from the 100 who work in finance. Find the probability that the person has a degree.
- For two events and , , and . Find and . Explain why the two answers are different.
Answers and concise solutions
1. The probability that the student studies Physics, given Mathematics
Answer: The condition restricts the sample space to the 120 students who study Mathematics. Of those, 50 study Physics: .
2. The probability that the student studies Mathematics, given Physics
Answer: Now the condition restricts the sample space to the 80 students who study Physics. Of those, 50 study Mathematics: . The two conditional probabilities are different, so the order of the condition matters.
3. The conditional probability
Answer: Use the conditional probability formula: .
4. The probability of A and B
Answer: Rearrange the formula: .
5. The conditional probability and the test for independence
Answer: . This equals , so knowing that happened does not change the probability of . The events are independent.
6. The probability of red then blue
Answer: The first counter is red with probability . Given that, 7 counters remain and 3 are blue, so the second is blue with probability . Multiply along the branch: .
7. The probability that the second counter is red
Answer: The second counter is red on two paths: red then red, and blue then red. Their probabilities are and . Adding the paths gives . The second draw has the same chance as the first.
8. The probability of a fire, given that the detector sounds
Answer: The detector sounds on two paths. Fire and alarm gives . No fire and alarm gives . So . Then .
9. The probability that the item is defective, given that it is flagged
Answer: The flag can happen on two paths. Defective and flagged gives . Good and flagged gives . So and .
10. The probability that a flagged email is spam
Answer: Spam and flagged gives . Genuine and flagged gives . So and . As a percentage this is to one decimal place.
11. The probability that the person has a degree
Answer: The condition restricts the group to the 100 people who work in finance. Of those, 40 have a degree: . The formula gives the same value, because .
12. The two conditional probabilities
Answer: and . The two conditional probabilities divide the same overlap by different totals. Dividing by a larger total gives a smaller probability, so the answers differ. In general is not the same as .