Probability tree diagrams
Building probability trees with probabilities on the branches, multiplying along paths and adding paths, with and without replacement.
The trees in 14C needed equally likely branches. Real situations rarely have them: a team wins $60\%$ of games, a test is right $95\%$ of the time. A probability tree writes the probability on each branch, then the product rule from 14E does the rest.
Building a probability tree
Why multiply along a path? A path is "this happens and then that happens", which is the product rule. Why add paths? Different paths are different outcomes, so they can't both happen: they are mutually exclusive, and "or" just adds.
Without replacement
When an item isn't put back, the second set of branches depends on what happened first. Work out each second-stage probability for its own branch.
A bag holds $6$ red and $4$ blue marbles. Two are drawn without replacement. Find $P(\text{both red})$, $P(\text{both blue})$ and $P(\text{one of each})$.
Branch fractions update as items are removed. Click outcomes on the right to add them to your event.
Two items are chosen from $6$ working and $4$ defective ones. Find $P(\text{exactly one defective})$ by hand, then click the matching outcomes to check. Then switch to with replacement and explain why the second-stage fractions no longer change.
Stages that depend on the first
Trees are ideal when the second stage's probabilities depend on the first, as in medical testing.
$3\%$ of a population has a condition. A test is positive for $90\%$ of people with the condition, and also (falsely) positive for $8\%$ of people without it. Find the probability that a randomly chosen person tests positive.
Your turn
A netball team wins each game with probability $0.7$, independently. Find the probability that it wins at least two of its next three games.
Show the working
Exactly two: paths WWL, WLW, LWW, each $0.7^2 \times 0.3 = 0.147$, giving $0.441$. All three: $0.7^3 = 0.343$. At least two: $0.441 + 0.343 = 0.784$.
In a probability tree, the branches leaving any one point:
From any point, exactly one of the branches happens, so their probabilities add to $1$.
A bag holds $5$ red and $3$ blue marbles. Two are drawn without replacement. Find $P(\text{both red})$, correct to 3 decimal places.
$\dfrac58 \times \dfrac47 = \dfrac{20}{56} = \dfrac{5}{14} \approx 0.357$.
For the same bag, find $P(\text{both blue})$, correct to 3 decimal places.
$\dfrac38 \times \dfrac27 = \dfrac{6}{56} \approx 0.107$.
For the same bag, find $P(\text{one of each colour})$, correct to 3 decimal places.
$P(RB) + P(BR) = \dfrac58 \times \dfrac37 + \dfrac38 \times \dfrac57 = \dfrac{30}{56} \approx 0.536$. Check: $20 + 6 + 30 = 56$.
The same two marbles are drawn with replacement. Find $P(\text{both red})$, correct to 3 decimal places.
$\dfrac58 \times \dfrac58 = \dfrac{25}{64} \approx 0.391$.
Why do the second-stage branches change when drawing without replacement?
After a draw without replacement there is one fewer item, and one fewer of the colour drawn.
A team wins each game with probability $0.6$, independently. Find the probability it wins exactly two of three games.
Three paths (WWL, WLW, LWW), each $0.6^2 \times 0.4 = 0.144$. Total $0.432$.
$2\%$ of people have a condition. A test is positive for $95\%$ of those who have it and $10\%$ of those who don't. Find $P(\text{positive})$.
$0.02 \times 0.95 + 0.98 \times 0.1 = 0.019 + 0.098 = 0.117$.
Exam style: a bus is late on Monday with probability $0.2$. If it was late on Monday, it is late on Tuesday with probability $0.5$. Otherwise it is late on Tuesday with probability $0.1$. Find the probability it is late on exactly one of the two days.
Late then on time: $0.2 \times 0.5 = 0.1$. On time then late: $0.8 \times 0.1 = 0.08$. Total $0.18$.
Exam style: a box has $3$ red and $2$ white balls. Balls are drawn without replacement until a red one appears. Find the probability that exactly three draws are needed.
The path must be white, white, red: $\dfrac25 \times \dfrac14 \times \dfrac33 = \dfrac{1}{10} = 0.1$.
Coaching Centre