top of page

16.3 Tree Diagrams

OCR A-level Maths Statistics and Mechanics Year 2 · H240 · Chapter 16: Conditional Probability

What is in the full lesson (14 activities)

Every item below opens free in the course.

A free OCR A-level Maths SM Year 2 lesson for OCR A Level Mathematics A (H240) from OBA School: using tree diagrams with conditional probabilities, including reversing the condition (OCR H240: 2.03b, 2.03c). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.

What you will learn

  • Draw tree diagrams where the second set of branches holds conditional probabilities
  • Use P(A ∩ B) = P(A) × P(B | A) and add the branches for a total probability
  • Solve "without replacement" problems with tree diagrams
  • Reverse a condition: find P(A | B) when the tree gives P(B | A)
  • Solve problems with three stages or an unknown probability

Key words

  • Tree diagram: A diagram with a set of branches for each stage. The probabilities on each set of branches add up to 1.
  • Conditional branch: A second-stage branch. Its probability depends on the first stage, for example P(B | A).
  • Multiplication rule: P(A ∩ B) = P(A) × P(B | A): multiply along a path.
  • Total probability: P(B) = P(A) P(B | A) + P(A') P(B | A'): add the paths that end in B.
  • Without replacement: An item is not put back, so the probabilities change for the next stage.

Conditional probabilities on a tree

The first set of branches shows what happens first. The second set shows what happens next given each first outcome, so those branches hold conditional probabilities. Multiply along a path; add the paths you need.

Key fact: P(A ∩ B) = P(A) × P(B | A) (this is the formula P(B | A) = (P(A ∩ B))/(P(A)) rearranged)

Worked example: total probability

On a winter morning the probability of snow is 0.15. If it snows, the probability that the school bus is late is 0.6; otherwise it is 0.2. Find the probability that the bus is late.
P(L) = P(S ∩ L) + P(S' ∩ L) = 0.15 × 0.6 + 0.85 × 0.2
= 0.09 + 0.17

Answer: P(L) = 0.26

Without replacement

When an item is taken and not replaced, there is one fewer item for the second pick, and one fewer of the colour already taken.

Worked example: same colour

Find the probability that the two sweets are the same colour.
P(GG) + P(RR) = 7/12 × 6/11 + 5/12 × 4/11 = 42/132 + 20/132

Answer: 62/132 = 31/66

Exam tip: Check: the four end probabilities add up to 1. Here 42 + 35 + 35 + 20 = 132.

Reversing the condition

A tree gives P(L | S) directly, but questions often ask for P(S | L): "given that the bus was late, what is the probability that it snowed?" Use the definition with the tree values.

Key fact: P(S | L) = (P(S ∩ L))/(P(L)) where P(L) is the sum of every path ending in L.

Worked example: snow given late

P(S | L) = 0.09/0.26 = 9/26

Answer: P(S | L) = 0.346 (3 s.f.), more than double the 0.15 chance of snow on a random morning.

Worked example: screening test

The test is positive for 98% of people with the condition and for 3% of people without it. Find P(D | +).
P(+) = 0.01 × 0.98 + 0.99 × 0.03 = 0.0098 + 0.0297 = 0.0395
P(D | +) = 0.0098/0.0395 = 0.248

Answer: Only about 1 in 4 people who test positive have the condition, because the condition is rare.

Three stages and unknown probabilities

For three stages, extend the tree, or list the paths you need and multiply along each one. If a probability is unknown, write it as p, form an equation from the information given, and solve.

Worked example: three games

Mia wins her first game of chess with probability 0.5. After a win, she wins the next game with probability 0.6; after a loss, with probability 0.3. She plays three games. Find the probability that she wins exactly two.
WWL: 0.5 × 0.6 × 0.4 = 0.12 WLW: 0.5 × 0.4 × 0.3 = 0.06 LWW: 0.5 × 0.3 × 0.6 = 0.09
0.12 + 0.06 + 0.09 = 0.27

Answer: 0.27

Worked example: an unknown probability

P(A) = p, P(B | A) = 0.8, P(B | A') = 0.1 and P(B) = 0.31. Find p.
0.8p + 0.1(1 − p) = 0.31, so 0.7p = 0.21

Answer: p = 0.3

Common mistakes

  • Using the same probabilities on the second branches when the item is not replaced.
  • Writing P(B) on a second branch when it should be P(B | A).
  • Answering P(B | A) when the question asks for P(A | B).
  • Forgetting one of the paths when adding, for example only RG when the question means "one of each" (RG or GR).
  • Branches from one point that do not add up to 1.

Revision questions

Try these, then check your answers below each one.

Question 1. The probability that it rains on a given morning is 0.3. If it rains, the probability that Kai is late for work is 0.4; if it does not rain, it is 0.1. Find the probability that Kai is late.

Answer: 0.19

Working: 0.3 × 0.4 + 0.7 × 0.1 = 0.12 + 0.07 = 0.19.

Question 2. For the same situation, given that Kai is late, find the probability that it rained. Give your answer to 4 decimal places.

Answer: 0.6316

Working: 0.12/0.19 = 12/19 = 0.6316.

Question 3. P(A) = 0.6, P(B | A) = 0.7 and P(B | A′) = 0.2. Find P(B).

Answer: 0.5

Working: 0.6 × 0.7 + 0.4 × 0.2 = 0.42 + 0.08 = 0.5.

Related lessons

Continue in the full course

This lesson is section 16.3 of our free OCR A-level Maths Statistics and Mechanics Year 2 course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved.

Continue lesson 16.3 in the free course →

 

 

 

 

 

 

 

bottom of page