Tree diagrams organise events that happen one after another, and contingency tables organise data about two features at once. Both are used in Paper 1 to calculate probabilities and to test whether events are independent.
Tree diagrams
Each branch shows an outcome and its probability.
- Multiply along a path for "and".
- Add the results of different paths for "or".
- The probabilities on branches from one point add up to 1.
Without replacement the second-stage probabilities change, because there is one fewer item.
Example. A bag has 5 red and 3 blue counters. Two are drawn without replacement.
Two-way contingency tables
A contingency table shows counts for two categories, with row and column totals.
Example. 200 learners were asked whether they prefer online or in-person tutoring.
- Boys: online 48, in-person 32, total 80
- Girls: online 72, in-person 48, total 120
- Totals: online 120, in-person 80, grand total 200
Read probabilities straight from the table:
Complete any missing cells first using the totals.
Testing for independence
Two events are independent if .
From a table. In the example above:
They are equal, so gender and preference are independent in this sample.
From a tree. If the second-stage branch probabilities are the same whatever happened first, the events are independent. If they change, the events are dependent.
Always show both calculations and write a conclusion in words.
Key terms
Tree diagram
A branching diagram showing successive events and their probabilities.
With replacement
The item is returned before the next draw, so probabilities stay the same.
Without replacement
The item is not returned, so later probabilities change.
Contingency table
A table of counts classified by two features.
Common mistakes
Keeping the same denominator on the second branch when drawing without replacement.
Adding along a path instead of multiplying.
Testing independence with counts instead of probabilities.
Forgetting one of the paths in 'one of each' questions.
Practice questions
Reveal steps one at a time, then tick the marks you earned.
Question 1
4 marks total
A bag contains 5 red and 3 blue counters. Two counters are drawn one after the other without replacement. Calculate the probability that both are red.
Worked solution
Hidden - try the question first
Question 2
5 marks total
For the same bag, calculate the probability that the two counters are different colours.
Worked solution
Hidden - try the question first
Question 3
6 marks total
200 learners were asked whether they prefer online or in-person tutoring. 80 of the learners are boys. 120 of all learners prefer online tutoring, and 48 boys prefer online tutoring.
(a) Draw a contingency table with all totals. (2)
(b) Calculate . (1)
(c) Are being a boy and preferring online tutoring independent events? Show calculations. (3)
Worked solution
Hidden - try the question first
Question 4
9 marks total
The probability that it rains on a Saturday in Durban is 0,3. If it rains on Saturday, the probability that it rains on Sunday is 0,6. If it does not rain on Saturday, the probability that it rains on Sunday is 0,2.
(a) Draw a tree diagram to show this information. (3)
(b) Calculate the probability that it rains on exactly one of the two days. (3)
(c) Calculate the probability that it rains on at least one of the two days. (2)
(d) Is rain on Sunday independent of rain on Saturday? Give a reason. (1)
Worked solution
Hidden - try the question first
FAQs
When do I use a tree diagram instead of a Venn diagram?
Use a tree for events that happen in stages, one after another. Use a Venn diagram for overlapping categories at one time.
How do I show events are dependent?
Show that , or point out that the second-stage probabilities change with the first outcome.
Are contingency tables in the IEB exam?
Yes. Two-way tables are used to calculate probabilities and to test for independence.