IB Maths AA HL Topic 4 โ€” Statistics & Probability Paper 1 & 2 ~7 min read

Tree Diagrams

A tree diagram lays out a multi-stage probability problem branch by branch. Multiply along a path to get the joint probability of that sequence; add up the paths that lead to your event for the final answer. Trees handle “without replacement”, conditional probabilities, and three-stage problems far more cleanly than algebra alone.

๐Ÿ“˜ What you need to know

Reading and building a tree

Stage 1 is the leftmost set of branches. Each leaf at the end of stage 1 then sprouts a new set of branches for stage 2 โ€” and so on for any further stages. The probability you write on a stage-2 branch is always conditional on getting to that node from stage 1.

Along a path
multiply
joint probability of the whole sequence
Across paths
add
probability of the event combining all favourable paths
Quick check: at any single fork, the branch probabilities must add to 1. If they don’t, you’ve mislabeled โ€” fix it before computing.

With replacement vs without replacement

SetupStage 2 branchesWhat changes
With replacementidentical to stage 1nothing โ€” items independent
Without replacementconditional on stage 1total drops by 1; the chosen category drops by 1
Independent eventssame probabilities every stagenothing โ€” fully unrelated trials
Path probability โ€” no replacement P(A1 โˆฉ A2) = P(A1) ยท P(A2 | A1)

This is just the multiplication rule for conditional probability โ€” applied along one branch of the tree. For three or more stages, keep multiplying along the path, with each conditional based on every preceding outcome.

Reverse a tree using conditional probability

If a question gives you the second-stage probabilities and asks for the probability of a stage-1 event given a stage-2 outcome, that’s a conditional going backwards. Compute the joint paths, sum the relevant ones for the denominator, and pick the target path for the numerator.

Reverse-direction conditional from a tree P(A1 | B2) = target pathsum of all paths reaching B2

This is the same engine as Bayes’ theorem โ€” when there are exactly three stage-1 categories, it’s literally the three-event Bayes formula written out from a tree.

๐Ÿงญ Recipe โ€” solving with a tree diagram

  1. Identify the stages and the outcomes at each stage.
  2. Draw and label every branch โ€” check each fork sums to 1.
  3. Multiply along each path you need to get its joint probability.
  4. Add the path probabilities for every favourable outcome.
  5. Sense-check: result must be in [0, 1]; sum of all leaf paths = 1.

Worked examples

WE 1

Two-stage tree with replacement

A bag contains 4 red balls and 6 blue balls. A ball is drawn at random, then replaced. A second ball is then drawn. Find the probability that both balls drawn are red.

With replacement โ†’ stage 2 mirrors stage 1 P(Rโ‚) = 4/10, P(Rโ‚‚) = 4/10 Multiply along the path (R, R) P(both red) = 4/10 ร— 4/10 = 16/100 = 4/25 P(both red) = 4/25 = 0.16 “with replacement” = independent stages = same probabilities throughout
WE 2

Without replacement โ€” adding two paths

A box contains 5 white socks and 3 black socks. Two socks are drawn at random without replacement. Find the probability that both socks are the same colour.

Stage 1: 8 socks total. Stage 2: 7 left, recount the chosen colour Path (W, W): both white P(Wโ‚) ร— P(Wโ‚‚ | Wโ‚) = 5/8 ร— 4/7 = 20/56 = 5/14 Path (B, B): both black P(Bโ‚) ร— P(Bโ‚‚ | Bโ‚) = 3/8 ร— 2/7 = 6/56 = 3/28 Add the two favourable paths P(same colour) = 20/56 + 6/56 = 26/56 = 13/28 P(same colour) = 13/28 โ‰ˆ 0.464 without replacement โ†’ recount each branch from what’s left in the box
WE 3

“At least one” โ€” use the complement

A fair coin is flipped and a fair six-sided die is rolled. The two events are independent. Find the probability of getting heads OR rolling a 6 (or both).

“At least one” โ†’ complement (no heads AND no 6) P(T) = 1/2, P(not 6) = 5/6 Multiply along the “neither” path P(neither) = 1/2 ร— 5/6 = 5/12 Subtract from 1 P(at least one) = 1 โˆ’ 5/12 = 7/12 P(H or 6) = 7/12 โ‰ˆ 0.583 complement is faster than summing 3 favourable paths (H,6 / H,not6 / T,6)
WE 4

Reverse the conditional from a tree

At a school, 60% of students take the bus and 40% walk. The probability of arriving late is 0.05 for bus-takers and 0.15 for walkers. Given that a student arrived late, find the probability they took the bus.

Step 1: Joint probabilities along each path P(bus โˆฉ late) = 0.6 ร— 0.05 = 0.03 P(walk โˆฉ late) = 0.4 ร— 0.15 = 0.06 Step 2: P(late) = sum of paths leading to “late” P(late) = 0.03 + 0.06 = 0.09 Step 3: Conditional in reverse direction P(bus | late) = P(bus โˆฉ late) / P(late) = 0.03 / 0.09 = 1/3 P(took bus | late) = 1/3 numerator = the target path; denominator = all paths reaching the same stage-2 outcome
WE 5

Without replacement โ€” different outcomes

A jar contains 7 orange sweets and 3 lemon sweets. Two sweets are drawn at random without replacement. Find the probability that the two sweets are different colours.

Two favourable paths: (O, L) and (L, O) Path (O, L) 7/10 ร— 3/9 = 21/90 = 7/30 Path (L, O) 3/10 ร— 7/9 = 21/90 = 7/30 Add P(different) = 7/30 + 7/30 = 14/30 = 7/15 P(different colours) = 7/15 โ‰ˆ 0.467 “different colours” can happen two ways โ€” both must be added
WE 6

Three-stage tree

A school admissions process has three rounds. The probability an applicant passes round 1 is 0.6. Given they pass round 1, the probability of passing round 2 is 0.5. Given they pass round 2, the probability of being accepted in round 3 is 0.4. Find the probability that a randomly chosen applicant is accepted.

Acceptance requires passing ALL THREE rounds โ€” multiply along the single success path P(Rโ‚ pass) = 0.6 P(Rโ‚‚ pass | Rโ‚) = 0.5 P(Rโ‚ƒ pass | Rโ‚‚) = 0.4 Multiply along the path P(accepted) = 0.6 ร— 0.5 ร— 0.4 = 0.12 P(accepted) = 0.12 three-stage chain โ†’ just keep multiplying; only branches you need have to be drawn

๐Ÿ’ก Top tips

โš  Common mistakes

Next: Probability & Types of Events โ€” the chapter opener that sets all the vocabulary (sample space, outcome, event, complement, intersection, union) on a firm footing. Worth circling back to once the sub-topics make sense in practice.

Need help with Statistics & Probability?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session โ†’