Tree diagrams

Part ofMathsProbability

Key points about tree diagrams

Bullet points represented by lightbulbs
  • A is used to show all possible for two or more .

  • The sum of the probabilities of all outcomes is 1.

  • Independent events are those not affected by a previous event. The probability of two independent events both happening is 𝑃(A and B) = 𝑃(A) × 𝑃(B).

Make sure you are confident in multiplying and adding fractions and decimals to work successfully with tree diagrams.

Back to top

Check your understanding

Back to top

How to complete a tree diagram to show outcomes and probabilities

Follow the steps below to draw a tree diagram for two or more events.

  1. Draw a set of branches for the outcomes of the first event. Label each branch with the probability of each outcome.

  2. Draw a set of branches for the outcome of the second event. Label each branch with the probability of each outcome.

  3. Repeat step 2 for further events if needed.

  4. Identify the outcomes by working across each set of branches.

  5. Calculate the probabilities by multiplying the probabilities.

  6. Check that the sum of probabilities of all outcomes is equal to 1.

A probability tree diagram showing choices of shirt and trousers. The first split shows the probability of choosing a denim shirt, 5/6, and a linen shirt, 1/6. Each shirt choice then branches into trousers: denim with probability 3/4 and linen with probability 1/4. The four possible outcomes are listed on the right with their probabilities: denim shirt and denim trousers (DD) with probability 15/24, denim shirt and linen trousers (DL) with 5/24, linen shirt and denim trousers (LD) with 3/24, and linen shirt and linen trousers (LL) with 1/24.

When working in fractions, do not simplify as this makes it easier to check that probabilities to 1, and to add probabilities for combined events.

Follow the worked example below

GCSE exam-style questions

A pen and a piece of paper with question marks on it.
  1. The probability of Camryn swimming 25 m fast (F), taking less than 30 seconds, is 0·9.

The probability of Ethan swimming 25 m slowly (S), taking more than 30 seconds, is 0·8.

a) Complete the tree diagram to show all the outcomes for Camryn and Ethan swimming 25 m.

b) Use the tree diagram to find the least likely outcome.

A probability tree diagram. The first branch is labeled ‘Camryn’ and splits into two outcomes: F with probability 0.9, and S with no probability shown. From each of these outcomes, a second set of branches labelled ‘Ethan’ splits into F and S. So from Camryn’s F branch, Ethan has branches to F and S; from Camryn’s S branch, Ethan also has branches to F and S.

  1. A fair dice is rolled twice.

a) Complete the tree diagram.

b) Find the probability that at least one six is rolled.

A probability tree diagram for two rolls of a die. The first roll splits into Y, meaning rolling a six, with probability 1/6, and N, meaning not rolling a six. From each of these outcomes, the second roll branches again into Y and N. The diagram is labelled ‘1st roll’ and ‘2nd roll’, with P(Y) representing the probability of rolling a six and P(N) the probability of not rolling a six.

  1. A counter is taken from each bag.

a) Complete the tree diagram and list all possible outcomes and their probabilities.

b) Calculate the probability of 𝑃(OO).

A probability tree diagram showing two bags, Bag A and Bag B. Bag A contains two blue counters and one orange counter; Bag B contains one blue counter and two orange counters. The first branch shows choosing a bag: Bag A or Bag B, each with probability 1/2. From Bag B, a second branch shows drawing a counter: blue with probability 1/3 or orange with probability 2/3. From the Bag A branch, a second set of branches is shown but not yet labelled.

Back to top

What are independent and dependent events?

Two events are independent or dependent.

  • A pair of events is independent if the probability of the first event happening does not affect the probability of the second event happening.

For example, the probability of flipping a head on a coin does not affect the probability of flipping a head next time. The results of flipping a coin are independent.

  • A pair of events is dependent where the outcome of the first event affects the probability of the second event occurring. This happens when an item that is taken is not replaced.

For example, when two sweets are taken from a box containing a mix of chocolates and toffees, the probability of the second sweet being a chocolate is affected by which type of sweet was taken out of the box first.

Follow the worked examples below

GCSE exam-style questions

  1. A drawer contains two blue and three orange socks.

Two socks are taken from the drawer.

a) Decide whether the events are independent or dependent.

b) Complete the tree diagram and find the probability that two orange socks are taken out. 

A probability tree diagram showing the colours of two socks drawn without replacement. The first sock can be blue with probability 2/5 or orange with probability 3/5. From each branch, the second sock can be blue or orange. The diagram labels the first sock as ‘1st sock’ and the second as ‘2nd sock’, with branches marked B for blue and O for orange.

  1. There are green and purple counters in the box.

One counter is taken, its colour noted, and it is returned to the box.

Then a second counter is taken.

Complete the tree diagram and find the probability that two counters of different colours are taken.

A probability tree diagram showing the colours of two balls drawn from a container. The container illustration shows mostly purple balls and some green balls. The first branch splits into G for green and P for purple, with the probability of drawing a purple ball labelled as 0.7. From each branch, a second draw is shown, with branches to G and P again. No second-draw probabilities are labelled.

Back to top

Tree diagrams – interactive activity

This interactive activity will help you understand the impact on probabilities of outcomes, by selecting different numbers of balls and choosing whether they are replaced or not after selection.

Back to top

When do you multiply or add combined probabilities?

In probability, the way you combine two events depends on whether you want both to happen or either one or the other to happen.

Independent events

Independent events are events where the outcome of one does not affect the outcome of the other. For example, flipping a coin and rolling a dice are independent.

Find the probability of both event A and event B happening, by multiplying their probabilities.

𝑃(A and B) = 𝑃(A) × 𝑃(B)

Mutually exclusive events

Mutually exclusive events are events that cannot happen at the same time. For example, a single roll of a dice cannot result in both a 3 and a 5.

Find the probability of either event A or event B happening by adding their probabilities.

𝑃(A or B) = 𝑃(A) + 𝑃(B)

These calculations can be carried out without using a tree diagram.

It is particularly useful for repeated events such as flipping a coin five times.

Follow the worked examples below

GCSE exam-style questions

A pen and a piece of paper with question marks on it.
  1. The probability of rolling a six with a biased dice is 0·4.

Find the probability that three sixes are rolled.

Three blue six‑sided dice shown in a row. Each die displays a different face with white dots, illustrating standard dice designs.

  1. Scarlett visits a coffee shop.

She orders a drink and a snack.

The probability that she orders a latte is 0·3, a cappuccino is 0·5 and an espresso is 0·2.

The probability that she orders a croissant is 0·7, a cookie is 0·1 and a muffin is 0·2.

Find the probability that she orders a latte and a croissant or a cappuccino and a muffin.

An assortment of drinks and pastries arranged on a blue surface. The items include a latte with whipped cream in a tall glass, a large cappuccino, a croissant on a plate, a chocolate chip cookie on a plate, a muffin, and a small espresso in a cup and saucer.

  1. The probability of flipping a head with a biased coin is 0·1.

The coin is flipped twice.

Find the probability of getting either two heads or two tails.

Two coins - one showing a head and the other showing tails.

Back to top

Quiz – Tree diagrams

Practise what you've learned about tree diagrams with this quiz.

Back to top

Higher – What is conditional probability?

A conditional probability is the probability of something happening, given that something else has already happened.

For example, the probability of being picked for a sports team is more likely if training has been done beforehand.

The probability of having a temperature, given that you have the flu, is a conditional probability because having the flu makes it more likely to have a temperature.

Conditional probability happens when probabilities change.

A photograph of a comedian on stage with a microphone in hand.
Image caption,
A 'without replacement' scenario could be more complex, eg knowing someone already has a slot at a comedy event and working backwards to get the probability they were coached by a particular coach.

It might be seen in the following types of problems.

  • Tree diagrams – In 'without replacement' problems. For example, if you take a counter from a bag and don't put it back, the probabilities for the next pick will change.

  • Two-way tables – For example, finding the probability that a student plays football, given that they are over 18.

  • Venn diagrams – For example, finding the probability that a number is a multiple of 3, given that it is already inside the circle for even numbers.

Follow the worked examples below

A photograph of a comedian on stage with a microphone in hand.
Image caption,
A 'without replacement' scenario could be more complex, eg knowing someone already has a slot at a comedy event and working backwards to get the probability they were coached by a particular coach.

i) Completing a tree diagram given the probabilities of final outcomes

ii) Using conditional probabilities on a tree diagram

iii) Finding conditional probabilities from a tree diagram

GCSE exam-style questions

A pen and a piece of paper with question marks on it.
  1. There are five green marbles and three purple marbles in a bag.

Two marbles are taken out.

The tree diagram is only partially drawn.

Use the completed diagram to find the probability that two purple marbles are taken.

A probability tree diagram for drawing two marbles. The first marble can be green with probability 5/8 or purple. From each outcome, the second marble can also be green or purple. The branches are labelled ‘1st marble’ and ‘2nd marble’, with G for green and P for purple.

  1. The tree diagram shows the probabilities of aspiring stand-up comedians being coached by two different comics and the probability of getting a slot to perform at a comedy event.

Find the probability that someone who gets a place at the comedy event was coached by Brandon.

A probability tree diagram showing who the coach selects and whether they get a comedy slot. The first branch shows Brandon with probability 1/3 and Mia with probability 2/3. If Brandon is selected, the probability of getting a comedy slot is 1/2 for Yes and 1/2 for No. If Mia is selected, the probability of Yes is 4/5 and No is 1/5. Branches are labelled accordingly.

  1. The football team is practising their penalty shots.

Each person has two penalty shots.

The probability that Finn scores with his first shot is 0·8.

If he scores with his first shot, the probability that he scores with his second shot increases by 0·1.

If he doesn't score with his first shot, the probability that he scores with his second shot decreases by 0·1.

Complete the tree diagram and use it to find the probability that Finn scores only one of his two penalty shots.

A probability tree diagram for two shots. The first shot can be a goal with probability 0.8 or a miss. From each outcome, the second shot branches into goal or miss. The branches are labelled ‘1st shot’ and ‘2nd shot’.

Back to top

Higher – Quiz – Tree diagrams

Practise what you've learned about tree diagrams with this quiz for Higher tier.

Now you've revised tree diagrams, why not look at frequency tables, charts and diagrams?

Back to top

More on Probability

Find out more by working through a topic