A screening test for a condition is 90% accurate for people who have it, and gives a false alarm for 5% of people who do not. Only 2% of the group have the condition. If someone tests positive, what is the chance they actually have it? Most students guess around 90%. The answer is about 27%, and by the end of this guide you will be able to show why in four lines.
That question is conditional probability, the idea at the centre of most AA SL probability questions. Together with independence, Venn diagrams, tables and tree diagrams, it forms the probability half of Topic 4, Statistics and probability. It appears in Paper 1 (no calculator, so fractions) and Paper 2 (GDC). If you would like a tutor to work through questions like these with you, see AA SL tuition with Maths Bodhi.
The rules on one page
- Probability of an event: P(A) = n(A)/n(U) when outcomes are equally likely. P(A′) = 1 − P(A).
- Either or both: P(A ∪ B) = P(A) + P(B) − P(A ∩ B).
- Mutually exclusive: A and B cannot happen together, so P(A ∩ B) = 0 and P(A ∪ B) = P(A) + P(B).
- Conditional probability: P(A | B) = P(A ∩ B) / P(B). "Given B" shrinks the sample space to B.
- Independent: knowing B does not change the chance of A. Test with P(A ∩ B) = P(A) × P(B), or equivalently P(A | B) = P(A).
- Expected number of occurrences: if an event has probability p on each of n trials, you expect np of them.
These formulae are in the formula booklet. The marks come from choosing the right one and showing the numbers you put in.
Worked example 1: from a formula to a Venn diagram
P(A) = 0.45, P(B) = 0.3 and P(A ∪ B) = 0.6.
(a) Find P(A ∩ B). 0.6 = 0.45 + 0.3 − P(A ∩ B), so P(A ∩ B) = 0.15.
(b) Are A and B independent? P(A) × P(B) = 0.45 × 0.3 = 0.135. This is not 0.15, so A and B are not independent. State both numbers and the conclusion; "not equal" on its own is a weak answer.
(c) Find P(A | B). 0.15 / 0.3 = 0.5.
(d) Find P(B | A′). Draw the Venn diagram: B only = 0.3 − 0.15 = 0.15, and P(A′) = 0.55. So P(B | A′) = 0.15 / 0.55 = 3/11 ≈ 0.273.
Part (d) is where the Venn diagram earns its place. Filling each region first turns a confusing condition into a simple division.
Worked example 2: independence from a table
A school surveyed 80 students on how they travel to school.
| Walk | Bus | Total | |
|---|---|---|---|
| Grade 11 | 18 | 30 | 48 |
| Grade 12 | 12 | 20 | 32 |
| Total | 30 | 50 | 80 |
(a) Find the probability that a student chosen at random takes the bus, given that they are in Grade 11. Restrict to the Grade 11 row: 30/48 = 5/8.
(b) Is taking the bus independent of the grade? P(bus) = 50/80 = 5/8, and P(bus | Grade 11) = 5/8. These are equal, so knowing the grade does not change the probability: the events are independent. You could also check P(bus | Grade 12) = 20/32 = 5/8.
Tables make conditional probability visual: the condition tells you which row or column becomes your new total.
Worked example 3: a tree diagram without replacement
A bag holds 5 red and 3 blue counters. Two are taken out, one after the other, without replacement.
(a) Find the probability that both are the same colour.
- Red then red: (5/8) × (4/7) = 20/56
- Blue then blue: (3/8) × (2/7) = 6/56
P(same) = 26/56 = 13/28.
(b) Given that both are the same colour, find the probability that they are both red.
P(both red | same) = (20/56) ÷ (26/56) = 10/13.
Two things to notice. On the second branch the denominators drop to 7 because one counter has gone. And part (b) reverses the direction of the tree, which is the same idea as the screening question at the top of this guide.
Worked example 4: the screening test
2% of a group have a condition. The test is positive for 90% of people who have it and for 5% of people who do not.
Draw a tree: first branch "condition" (0.02) or "no condition" (0.98), then "positive" or "negative".
- Condition and positive: 0.02 × 0.9 = 0.018
- No condition and positive: 0.98 × 0.05 = 0.049
- P(positive) = 0.018 + 0.049 = 0.067
P(condition | positive) = 0.018 / 0.067 = 0.269 (3 s.f.).
Because so few people have the condition, the false alarms from the large healthy group outnumber the true positives. AA SL students solve this with a tree and the conditional probability formula. AA HL formalises the same reasoning as Bayes' theorem, which our guide to Bayes' theorem at AA HL covers.
Independent or mutually exclusive?
This pair causes more lost marks than any formula.
| Mutually exclusive | Independent | |
|---|---|---|
| Meaning | Cannot both happen | One does not affect the other |
| Test | P(A ∩ B) = 0 | P(A ∩ B) = P(A) × P(B) |
| Venn diagram | Circles do not overlap | Circles overlap (if both probabilities are non-zero) |
| P(A ∣ B) | 0 | P(A) |
If two events each have a non-zero probability, they cannot be both mutually exclusive and independent. Learning that one sentence clears up most of the confusion.
Mistakes our tutors see
- Mixing up P(A | B) and P(B | A). Say the condition out loud: "out of those who…".
- Keeping the old denominator when sampling without replacement.
- Adding when you should multiply. "And" along a branch multiplies; "or" across separate paths adds.
- Counting the overlap twice in P(A ∪ B).
- "At least one" by listing cases. The complement is faster: 1 − P(none).
- Rounding in the middle of a Paper 2 calculation and losing the final accuracy mark.
Exam technique
- Define your events at the start: "Let R be the event that the counter is red."
- Draw something. A Venn diagram, table or tree takes thirty seconds and prevents most of the errors above.
- Paper 1: keep fractions and simplify at the end.
- Paper 2: give answers to 3 significant figures unless told otherwise, and keep full values in the calculator.
- Independence questions need a numerical check and a sentence, not just "yes".
Self-check
- A and B are independent with P(A) = 0.4 and P(B) = 0.5. Find P(A ∪ B).
- A and B are mutually exclusive with P(A) = 0.3 and P(B) = 0.25. Find P(A | B).
- A bus is late on any given day with probability 0.2, independently of other days. Find the probability that it is late at least once in 5 days, and the expected number of late days in 20 school days.
- Two fair dice are rolled. Given that at least one shows a 6, find the probability that the total is 8.
Answers. 1: 0.4 + 0.5 − 0.4 × 0.5 = 0.7. 2: 0, because they cannot happen together. 3: 1 − 0.8⁵ = 0.672 (3 s.f.), and 20 × 0.2 = 4 days. 4: 11 outcomes contain a 6, and two of them, (2, 6) and (6, 2), total 8, so 2/11.
Where probability goes next
The same rules support the binomial and normal distributions later in Topic 4; our overview of discrete and continuous probability distributions is the next step. The sibling guide to AA SL statistics and regression covers the data half of the topic, and the ⁿCᵣ you meet in binomial expansions returns in the binomial distribution. If you take AI SL instead, read the AI SL version of Venn and tree diagrams.
How Maths Bodhi helps
Probability is often lost in the reading, not the arithmetic. In the free demo our tutor gives two short questions and asks the student to explain each condition aloud before calculating, which shows quickly where the confusion is. Tutors are matched to the student's course and level, and progress is checked with past-paper-style questions and written method. Find out more about our probability tutoring.
Home tuition is available in Gurgaon (Gurugram). Students elsewhere in India and abroad learn with us online. You can book a free demo class.
Written and checked by the Maths Bodhi team. Facts checked against official IB sources, November 2026.
Frequently asked questions
- How do I know if two events are independent in IB maths?
- Check whether P(A ∩ B) = P(A) × P(B), or whether P(A | B) = P(A). Show the numbers on both sides and write a conclusion sentence.
- What is the difference between independent and mutually exclusive events?
- Mutually exclusive events cannot happen together, so P(A ∩ B) = 0. Independent events can happen together, but one does not change the probability of the other, so P(A ∩ B) = P(A) × P(B).
- How do I find a conditional probability from a tree diagram?
- Add the branch products that satisfy the condition to get the denominator, then divide the branch product that satisfies both events by it.
- Is Bayes' theorem in AA SL?
- The formal Bayes' theorem formula is in AA HL. AA SL students still answer "reverse" questions by using a tree diagram and the conditional probability formula.
- Do I need a calculator for AA SL probability questions?
- Not always. Paper 1 probability questions are calculator-free, so practise with fractions. Paper 2 questions allow the GDC and usually want answers to 3 significant figures.
- What is the quickest way to find "at least one" probabilities?
- Use the complement: P(at least one) = 1 − P(none). For independent trials with probability p each, that is 1 − (1 − p)ⁿ.
