Key Idea: Conditional probability is about updating a probability once you know something has already happened — given that B occurred, how likely is A? It shows up as 'given that…' questions, often from a two-way table, Venn or tree, on both papers.
🎯 The conditional formula
- A given that B has happened (read '|' as 'given')
- probability of BOTH A and B
- the GIVEN event — the new, reduced sample space you divide by
Knowing B happened throws away every outcome where B did not — so you only look inside B, which is why you divide by P(B), the event after the '|'. Note A|B and B|A differ: divide by whichever event is given.
🧭 Where the pieces come from
A and B are independent when knowing one tells you nothing about the other: P(A | B) = P(A) (equivalently P(A∩B) = P(A) × P(B)). If P(A | B) ≠ P(A), they are dependent.
✏️ IB-style worked examples
IB-style question — read a conditional from a two-way table
120 students are asked if they cycle to school: Girls: 30 cycle, 25 do not. Boys: 40 cycle, 25 do not. A student chosen at random is a boy. Find the probability that he cycles, P(cycles | boy).
Step by step:
'Given boy' restricts the sample space to the 65 boys — that is the denominator.
Of those boys, count the ones who cycle, then divide.
P(cycles | boy) = 8/13 ≈ 0.615.
IB-style question — find the intersection first (Paper 1)
For events A and B, P(A) = 0.5, P(B) = 0.4 and P(A ∪ B) = 0.7. Find P(A | B) without a calculator.
Step by step:
Recover the intersection from the addition rule.
Apply the conditional formula — divide by the given event B.
P(A | B) = 0.5.
IB-style question — reverse a condition on a tree
A factory uses machine X for 60% of parts and machine Y for 40%. X produces a faulty part 3% of the time; Y, 8%. A part is found to be faulty. Find the probability it came from machine Y, P(Y | faulty).
Step by step:
Total P(faulty) — add the two paths that end in 'faulty'.
Conditional: the matching path (Y and faulty) over the total.
P(Y | faulty) = 0.64.
Important: You must divide by P(B), the given event — not the whole sample space and not P(A). 'Given boy' → divide by total boys, not all students. On a tree, the denominator is the total probability of the given outcome (all paths), not the single path.
Tap each card to reveal the answer.
Exam Tips
- Divide by the event AFTER the '|' — the given event is your denominator.
- From a table or Venn, restrict to the given row/region: count(both) ÷ count(given group).
- Only have P(A), P(B), P(A∪B)? Find P(A∩B) = P(A) + P(B) − P(A∪B) first.
- On a tree, reverse a condition with: matching path ÷ total of ALL paths to that outcome.
- Independent ⇔ P(A | B) = P(A) ⇔ P(A∩B) = P(A) × P(B).