top of page

2.5 Tree Diagrams

A-level Maths Statistics and Mechanics Year 2 · Edexcel 9MA0 · Chapter 2: Conditional Probability

A free A-level Maths Stats and Mechanics Year 2 lesson for Pearson Edexcel A level Mathematics (9MA0) from OBA School: conditional probabilities on the branches, and working backwards. 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 are conditional probabilities
  • Find probabilities of combined events by multiplying along branches and adding outcomes
  • Find a reverse conditional probability such as P(A | B) from a tree drawn with A first
  • Solve problems involving selection without replacement and screening tests

Key words

  • Branch: A line on a tree diagram labelled with the probability of one outcome at that stage.
  • Conditional branch: A second-stage branch. Its probability is P(B | A), given the first-stage outcome it comes from.
  • Outcome: A complete path through the tree. Its probability is the product of the probabilities along the path.
  • Reverse conditional: A probability about the first stage, given what happened at the second stage.

Branches are conditional probabilities

On a tree diagram the first branches show P(A) and P(A'). The second branches depend on which first branch you are on, so they show conditional probabilities such as P(B | A). Multiplying along a path uses the multiplication rule: P(A ∩ B) = P(A) × P(B | A).

Worked example: late for school

On a school day the probability of rain is 0.3. If it rains, the probability Mia is late is 0.25. If it does not rain, the probability she is late is 0.1. Find the probability that Mia is late.
P(L) = P(R ∩ L) + P(R' ∩ L) = 0.3 × 0.25 + 0.7 × 0.1 = 0.075 + 0.07

Answer: P(L) = 0.145

Check: The branches from each point add up to 1, and the four outcome probabilities add up to 1. Use this to check your tree.

Working backwards: reverse conditional probability

The tree gives P(L | R) directly. To find P(R | L), which goes "backwards" through the tree, use the conditional probability formula. The numerator is one path; the denominator adds every path that ends in L.

Key fact: P(R | L) = (P(R ∩ L))/(P(L))

Worked example: was it raining?

Mia is late. Find the probability that it was raining.
P(R | L) = (P(R ∩ L))/(P(L)) = 0.075/0.145 = 15/29

Answer: P(R | L) = 0.517 (3 s.f.). Knowing she was late makes rain more likely than 0.3.

Without replacement

When items are not replaced, the second-stage probabilities change. Write the fractions for the second stage from the bag as it is after the first item has gone.

Worked example: same colour

(a) P(same colour) = 12/90 + 30/90 = 42/90 = 7/15
(b) Find the probability that both are red, given that they are the same colour.
P(both red | same) = (12/90)/(42/90) = 12/42

Answer: (a) 7/15 (b) 2/7

Screening tests

Tree diagrams explain a surprising fact about medical tests. When a condition is rare, most positive results can be false positives, even if the test is quite accurate.

Worked example: a screening test

2% of a population have a condition. The test is positive for 95% of people with the condition and for 8% of people without it. A person tests positive. Find the probability that they have the condition.
P(+) = 0.02 × 0.95 + 0.98 × 0.08 = 0.019 + 0.0784 = 0.0974
P(D | +) = 0.019/0.0974 = 0.195

Answer: only about 0.195: roughly 4 out of 5 positive results are false positives

Exam tip: Write the reverse conditional probability as a fraction of two tree outcomes before using the calculator. It shows your method and is easy to check.

Common mistakes

  • Putting P(B) on the second branches instead of the conditional probability P(B | A).
  • Reading P(A | B) straight off a tree that has A first: you must divide by P(B).
  • Forgetting to reduce the numbers in the bag for the second stage when items are not replaced.
  • Using only one path for the denominator: P(B) needs every path that ends in B.
  • Adding along a path and multiplying between paths: it is the other way round.

Revision questions

Try these, then check your answers below each one.

Question 1. A bag has 4 red and 5 blue counters. Two are taken at random without replacement. Find the probability that both are blue, as a fraction in its simplest form.

Answer: 5/18

Working: 5/9 × 4/8 = 20/72 = 5/18.

Question 2. A tree diagram shows event A at the first stage and event B at the second. What is the probability written on the B branch that follows A? (Choose from: P(B | A); P(B); P(A ∩ B); P(A | B).)

Answer: P(B | A)

Working: Second-stage branches are conditional on the first stage: P(B | A). Multiplying along the path gives P(A ∩ B).

Question 3. A tree diagram is drawn with R (rain) first and L (late) second. Josh says you can read P(R | L) straight off one of the branches. Is Josh correct?

Answer: No

Working: No. The branches show P(L | R) and P(L | R'). You need P(R | L) = (P(R ∩ L))/(P(L)), using two paths for P(L).

Related lessons

Continue in the full course

This lesson is section 2.5 of our free 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. Go to the full A-level Maths Statistics and Mechanics Year 2 course.

 

 

 

 

 

 

 

bottom of page