What is it about?
Class 9a was asked: do you have a pet ()? Do you have siblings ()? Each person falls into exactly one of four cells:
| Total | |||
|---|---|---|---|
| Total |
This is a two-way table. The inner cells are the intersections , , , . The margins hold the totals , , , and the grand total. Dividing everything by gives probabilities (relative frequencies).
A Venn diagram shows the same data: the circles and lie in the sample space ; here the areas are even proportional to the counts. So does a tree diagram: first split by , then by . The second-stage branches carry shares like – “of the with a pet, have siblings”.
Events:
- Intersection (“ and ”): one cell.
- Union (“ or ”, or both): three cells.
- Complement : everything except , so .
For the union, the cell must not be counted twice – this is the addition rule:
The reversed tree starts with . Its leaves are the same four cells – only in a different order and with different shares on the branches: .
Complete the table: every row and every column is a sum. If you know two of the three values in a row or column, the third follows by adding or subtracting. In the view “Complete the table” only four values are known – tap a “?”: if it can already be worked out, the value appears with its calculation, otherwise you get a hint.
Reverse the tree with probabilities: often and the conditional probabilities and are given. The product rule gives the table, the sum rule gives and from that the reversed tree:
With , and you get and . With “counts” the table shows natural frequencies, e.g. out of people: , , , .
Unit square: the square has area . It is split vertically in the ratio , then each column horizontally by or . Each part is a path probability. If both horizontal lines are at the same height, then : and are (stochastically) independent, and . Randomly drawn people land as dots in the square – their relative frequencies are close to the areas.
Try it
- Hover over a cell of the table (or tap it): the same subset lights up in the Venn diagram and in the tree. Load example
- Choose the events , and one after another. Which cells belong to each? A or B
- Change the counts with the sliders. How do the circles change?
- Turn the tree around (“Tree starts with B”). Why do the branches show different fractions, but the leaves the same numbers? Reversed tree
- Switch to percent and look at the survey of 200 teenagers. 200 teenagers
- Complete the table step by step. Which “?” can you work out first, which only at the very end? Complete the table
- Compare the two trees: which numbers match, which do not? Tap a leaf. Reverse the tree
- In the unit square, drag both horizontal lines to the same height. What does the calculation show now? Then draw people. Unit square
Tasks
Task 1: Complete the table
Load taskOf people, have a pet and have siblings; have both. Complete the two-way table.
Show solution
: , : , : , : . Show in simulation
Task 2: Addition rule
Load taskFind the probability that a randomly chosen person has a pet or siblings – once with the addition rule and once via the complement.
Show solution
Addition rule: . Complement “neither”: ✓. Show in simulation
Task 3: Exactly one
Load taskIn the survey of teenagers, are in a sports club, play an instrument and do both. What percentage do exactly one of the two?
Show solution
Sports club only: , instrument only: . Together out of , so . Show in simulation
Task 4: Reversed tree
Load taskDraw the tree that starts with (siblings) and fill in all branch probabilities. Check on one path that you get the same leaf probability as in the first tree.
Show solution
First stage: , . Second stage: and , and and . Path : – the same as in the first tree. Show in simulation
Task 5: Reverse the tree
Load task, , . Find and . How many out of people belong to ?
Show solution
and . Out of people, belong to . Show in simulation
Task 6: Independent?
Load taskFor people: , , . Show that . What does this mean?
Show solution
and ✓. The share of is the same within as within (): and do not influence each other (statistically) – they are independent. In the unit square the lines are then at the same height. Show in unit square
Task 7: Explore the unit square
Load taskSet and drag and both to . Find and . What happens if you move only one line?
Show solution
and , so – equal, and are independent. If you move only one line, the two values are no longer equal. Example : stays, but and . The events are then dependent. Show in simulation
Ideas for the classroom
- Use: Lower secondary (two-way table, Venn diagram, addition rule) and upper secondary (conditional probability, reversed tree).
- Your own survey: two yes/no questions in class quickly give your own two-way table, which you can enter with the sliders.
- Switching representations: the synchronised highlighting can help students find each number of one representation in the others.
- Common stumbling blocks:
- In , the cell is counted twice.
- “ or ” is understood as “exactly one of the two”.
- On second-stage branches, shares of the grand total are used instead of shares of the subgroup ( instead of ).
- In the reversed tree, the first-stage branches are simply copied.
- and are confused (in Task 5 both happen to be – that is not always the case).
- Unit square: it works well for “seeing” independence before the formula is introduced.