Conditional probability · Year 13
In Year 13 you learn: conditional probability formulas.
Conditional probability is the probability of an event when you already know that something else has happened. Knowing the condition shrinks the set of possible outcomes. So the probability can change.
Key facts
- P(A | B) means “the probability of A given B”.
- P(A | B) = P(A ∩ B) ÷ P(B).
- P(A ∩ B) = P(A) × P(B | A).
- From a two-way table or Venn diagram, only use the row, column or circle you are given.
- A and B are independent exactly when P(A | B) = P(A).
- Bayes: P(A | B) = P(B | A) × P(A) ÷ P(B). Here P(B) = P(B | A) × P(A) + P(B | A′) × P(A′).
- P(A | B) is usually not the same as P(B | A).
Worked examples
Example 1
The table shows how some pupils get lunch. A pupil is chosen from the older pupils. Find the probability they have a packed lunch.
Answer: 13/25
Example 2
P(A ∩ B) = 0.12, P(B) = 0.4 and P(A) = 0.3. Find P(A | B). Are A and B independent?
Answer: P(A | B) = 0.3; yes, independent
Example 3
1% of people have a condition. A test detects it 95% of the time, but gives a false positive for 5% of healthy people. Someone tests positive. Find the probability they have the condition.
Answer: About 0.161
Example 4
A class has 12 girls and 5 of them wear glasses. A girl is chosen at random. Find the probability that she wears glasses.
Answer: 5/12
Example 5
P(A ∩ B) = 0.1 and P(B) = 0.4. Find P(A | B).
Answer: 0.25
Example 6
P(rain) = 0.3. If it rains, the probability that the bus is late is 0.6. Find P(rain and late).
Answer: 0.18