Conditional probability and tree and Venn diagrams
Studying this course? Keep your progress in one place.
Key facts
- : the probability of given .
- Multiplication law: .
- Addition law: ; complement .
- On a tree, multiply along paths and add paths; branches from one point sum to 1.
- To reverse a tree, divide one path by the sum of all paths to the given outcome.
Conditional probability
restricts the sample space to , so it is .
is the conditional probability that occurs given has occurred. Rearranging gives the multiplication law.
In general , because they have different denominators. Events are independent exactly when .
and . Find .
Laws for combining events
Use and .
The complement of is . The addition law subtracts because it is counted in both and .
Often a given is used first to find .
- Complement
- Addition
Worked example
, , . Find and .
- 1
.
- 2
.
- 3
and .
- 4
.
, and . Find .
Venn diagrams and two-way tables
Fill in the intersection first, then the ‘only’ regions, then the outside; a conditional probability is a ratio of two regions.
Fill in the intersection first, then the ‘only’ regions by subtraction, then the outside so everything adds to the total. A two-way table works the same way, with the given condition selecting a row or column.
The condition restricts the sample space to the given region.
- 1
Intersection
Fill in the overlap first.
- 2
Only regions
Subtract the overlap from each total.
- 3
Outside
Total minus everything else.
- 4
Ratio
Conditional probability = region ÷ given region.
Worked example
50 students: 28 take Mathematics, 20 take Physics, 8 take both. Find .
- 1
Both: .
- 2
Mathematics only: . Physics only: .
- 3
Neither: .
- 4
Given Mathematics, restrict to the 28 who take it; 8 of them take Physics.
Using the same 50 students, find .
Tree diagrams
Multiply along a path to get a combined outcome and add the paths that make up an event.
A tree diagram shows stages. The second-stage branches carry conditional probabilities, and branches from one point must add to 1.
To ‘reverse’ the tree, use the conditional formula: the numerator is one path, the denominator is the sum of all paths that give the given event.
- 1
Multiply
Multiply along a path for a combined outcome.
- 2
Add
Add the paths that make up the event.
- 3
Reverse
Divide one path by the sum of all paths to the given event.
Worked example
. A person is late with probability if it rains and if dry. Find and .
- 1
Rain and late: .
- 2
Dry and late: .
- 3
.
- 4
.
Branches from one point on a tree have probabilities , and . Find .
A screening test
When a condition is rare, healthy people far outnumber the ill, so false positives outnumber true positives.
A disease affects of people. A test is positive for of those with it and of those without. Use the full-denominator method every time: sum all routes to the given outcome.
| Has disease | Healthy | |
|---|---|---|
| Share of people | 2% | 98% |
| Positive test | 95% | 4% |
| Share of everyone who tests positive | 0.019 | 0.0392 |
Has disease
- Share of people:
- 2%
- Positive test:
- 95%
- Share of everyone who tests positive:
- 0.019
Healthy
- Share of people:
- 98%
- Positive test:
- 4%
- Share of everyone who tests positive:
- 0.0392
Worked example
Find , and then after a second independent positive test.
- 1
.
- 2
.
- 3
.
Why is so much lower than ?
Try an exam question
. A train is late with probability if it rains and if it is dry. Find and .
[4 marks]
- [1].
- [1].
- [1].
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find the probability that the student studies Physics, given that they study Mathematics.
1 mark, marked against the mark scheme
Find the probability that the student studies Physics, given that they study Mathematics.
1 mark, marked against the mark scheme