Back to homeMathematics · 4th ESO B · Change subject
Start for free
ESO Y4B · Mathematics
Probability · Probability

Tree Diagrams

You already know how to multiply branches and add paths. What is missing is a way of organising it all without getting lost when the experiment has three, four or more stages: the tree diagram. It is the tool you will use systematically in Bachillerato for total probability and Bayes' theorem, so it is worth mastering how to construct one rigorously, not just intuitively.

Before you start, make sure you know: Calculating probabilities (3rd ESO)
Before you start, make sure you know: Percentages (2nd ESO)

Constructing a tree diagram

Two-stage tree diagram with events A1 and A2 in the first stage, and conditional branches of B and its complement in the second. P(A₁)P(A₂) P(B|A₁)P(B̄|A₁) P(B|A₂)P(B̄|A₂) A₁∩BA₁∩B̄ A₂∩BA₂∩B̄
Practice★☆☆Not started
Complete the following tree diagram representing the tossing of a biased coin twice consecutively, given that the probability of getting heads is $\frac{1}{3}$. From the…

Complete the following tree diagram representing the tossing of a biased coin twice consecutively, given that the probability of getting heads is $\frac{1}{3}$. From the tree diagram, calculate the probability of getting heads first and then tails.

1/3 ? Heads Tails 1/3 ? Heads Tails ? ? Heads Tails
Solve
Practice★☆☆Not started
A basketball player has a probability of $0,8$ of scoring a free throw. If they take two free throws independently, draw the probability tree diagram and determine the…

A basketball player has a probability of $0,8$ of scoring a free throw. If they take two free throws independently, draw the probability tree diagram and determine the probability that they miss both shots.

You can do it on paper and send a photo with your answer.

Solve

Paths and outcomes: multiply and add

Tree diagram of two consecutive draws without replacement showing how the probabilities change in the second stage. O: 6/10P: 4/10 O: 5/9P: 4/9 O: 6/9P: 3/9 1st coin2nd coin
Practice★☆☆Not started
In a wardrobe there are $5$ white T-shirts and $3$ black T-shirts. Two T-shirts are chosen at random, one after the other and without replacing the first back into the…

In a wardrobe there are $5$ white T-shirts and $3$ black T-shirts. Two T-shirts are chosen at random, one after the other and without replacing the first back into the wardrobe. Calculate the probability that both T-shirts are white.

Solve
Practice★★☆Not started
A Spanish pack of $40$ cards is available. Three cards are drawn consecutively without replacement. Calculate the probability that all three cards are of the same suit…

A Spanish pack of $40$ cards is available. Three cards are drawn consecutively without replacement. Calculate the probability that all three cards are of the same suit (coins, cups, swords or clubs).

Solve

Total probability read from the tree

Tree diagram with the output of three machines and dashed branches leading to the probability of a defective piece. 50%30%20% Mach AMach BMach C def: 2%def: 4%def: 5%
Practice★★☆Not started
In an electronic components factory, three machines (A, B, and C) produce $50\,\%$, $30\,\%$, and $20\,\%$ of the parts, respectively. The percentages of defective parts…

In an electronic components factory, three machines (A, B, and C) produce $50\,\%$, $30\,\%$, and $20\,\%$ of the parts, respectively. The percentages of defective parts produced by each machine are $2\,\%$, $4\,\%$, and $5\,\%$. Use the tree diagram to calculate the probability that a randomly chosen part is defective.

50% 30% 20% Machine A Machine B Machine C 2% 98% Defective Non-defective 4% 96% Defective Non-defective 5% 95% Defective Non-defective
Solve
Practice★★☆Not started
We have two urns. Urn A contains $3$ red balls and $2$ black balls. Urn B contains $4$ red balls and $5$ black balls. We toss a coin: if it comes up heads, we draw a…

We have two urns. Urn A contains $3$ red balls and $2$ black balls. Urn B contains $4$ red balls and $5$ black balls. We toss a coin: if it comes up heads, we draw a ball from urn A; if it comes up tails, we draw a ball from urn B. What is the probability that the drawn ball is red?

Solve
Practice★★☆Not started
In a diagnostic test for an allergy, $5\,\%$ of the population actually has the allergy. If a person has the allergy, the test is positive $90\,\%$ of the time. If they…

In a diagnostic test for an allergy, $5\,\%$ of the population actually has the allergy. If a person has the allergy, the test is positive $90\,\%$ of the time. If they do not have it, the test is negative $95\,\%$ of the time. Draw a tree diagram to illustrate the situation and calculate the probability that a randomly chosen person gets a positive result on the test.

You can do it on paper and send a photo with your answer.

Solve

Bayes' theorem from the tree

The tree can also answer the reverse question: given the final outcome ($B$ has occurred), which branch of the first stage is most likely to have led there?

Tree diagram for Bayes' theorem highlighting the favourable path against the total probability in the denominator. path through A₁ to B all paths to B (A₁, A₂, A₃…) P(A₁|B) = (top row) ÷ (bottom row)
Practice★★★Not started
In a city, $20\,\%$ of drivers are young (under 25 years old) and $80\,\%$ are adults. The probability that a young driver has an accident in a year is $0,15$, whereas…

In a city, $20\,\%$ of drivers are young (under 25 years old) and $80\,\%$ are adults. The probability that a young driver has an accident in a year is $0,15$, whereas for an adult it is $0,05$. A driver is selected at random and turns out to have had an accident this year. Using the branches of a tree diagram, calculate the probability that this driver is young. (Express the result as an irreducible fraction).

Solve
Practice★★★Not started
A vault alarm system has 3 motion sensors. The probability that sensor A fails during an intrusion is $0,1$; that sensor B fails is $0,05$; and that sensor C fails is…

A vault alarm system has 3 motion sensors. The probability that sensor A fails during an intrusion is $0,1$; that sensor B fails is $0,05$; and that sensor C fails is $0,2$. The sensors act completely independently. Draw the corresponding tree diagram and calculate the probability that, during an actual intrusion, at least one sensor activates and sounds the alarm.

You can do it on paper and send a photo with your answer.

Solve

Summary

See all the exercises in this section