What it means
- Conditional probability is the probability of an event, given that another event has already happened.
- When you know that B has happened, you only look at the outcomes in B. The total you divide by changes.
From tables and Venn diagrams
- P(A given B) = number in both A and B ÷ number in B.
- 40 people wear glasses, and 15 of them are left-handed. Given that a person wears glasses, P(left-handed) = 15/40 = 3/8.
From tree diagrams
- On a 'without replacement' tree, the second set of branches is conditional: it depends on what happened first.
- With 3 red and 2 blue counters, P(second is red given the first was red) = 2/4 = ½.
The formula
- P(A given B) = P(A and B) ÷ P(B). If P(A and B) = 0.12 and P(B) = 0.4, then P(A given B) = 0.3.
- If A and B are independent, P(A given B) = P(A): knowing B makes no difference.
Key terms
- Conditional probability
- The probability of an event, given that another event has happened.
- Given
- Already known to have happened.
- Independent
- When one event does not change the probability of the other.
- P(A and B)
- The probability that both A and B happen.
Quick questions on Conditional probability
- What does 'the probability of A given B' mean?
- The probability of A, knowing that B has happened: Only the outcomes in B are counted.
- 40 people wear glasses, and 15 of them are left-handed. A person who wears glasses is picked. What is the probability that they are left-handed?
- 3/8: 15 ÷ 40 = 3/8.
- P(A and B) = 0.12 and P(B) = 0.4. What is P(A given B)?
- 0.3: 0.12 ÷ 0.4 = 0.3.
- A bag has 3 red and 2 blue counters. The first counter taken is red and is not replaced. What is the probability that the second is red?
- 1/2: 2 red counters are left out of 4.
- A and B are independent. What is P(A given B)?
- P(A): B happening makes no difference to A.
- 25 of 60 students take French. 10 of the French students also take Spanish. A French student is picked. What is the probability that they take Spanish?
- 2/5: 10 ÷ 25 = 2/5.
- A class has 30 boys and 20 girls. 12 boys and 8 girls wear glasses. A student who wears glasses is picked at random. What is the probability that it is a boy?
- 3/5: 20 wear glasses, and 12 of them are boys.
- Why do the probabilities change on the second branches of a 'without replacement' tree?
- The first item is not put back, so the totals change: There is one fewer item to choose from.
Conditional probability: questions and answers
- A Venn diagram has 8 in A only, 4 in both, 6 in B only and 2 in neither. What is P(A given B)?
- 2/5. B has 4 + 6 = 10 elements, and 4 of them are in A.
- A Venn diagram has 8 in A only, 4 in both, 6 in B only and 2 in neither. What is P(B given A)?
- 1/3. A has 8 + 4 = 12 elements, and 4 of them are in B.
- P(A) = 0.5, P(B) = 0.6 and P(A and B) = 0.3. Are A and B independent?
- Yes, because 0.5 × 0.6 = 0.3. For independent events, P(A and B) = P(A) × P(B).