Compound events, Venn diagrams and two-way tables
Events using and, or and not, mutually exclusive events, and organising outcomes in Venn diagrams and two-way tables to find probabilities.
"Pick a card that is red and a king." "Choose a student who plays soccer or netball." Small words like these change which outcomes count, so they change the answer. Venn diagrams and two-way tables help you see exactly which outcomes you are counting.
And, or, not
For a number chosen from $1$ to $10$, let $A$ = "even" $= \{2, 4, 6, 8, 10\}$ and $B$ = "greater than $6$" $= \{7, 8, 9, 10\}$.
| Event | Meaning | Outcomes | Probability |
|---|---|---|---|
| $A$ and $B$ | in both | $\{8, 10\}$ | $\tfrac{2}{10}$ |
| $A$ or $B$ | in either one, or both | $\{2, 4, 6, 7, 8, 9, 10\}$ | $\tfrac{7}{10}$ |
| not $A$ | everything outside $A$ | $\{1, 3, 5, 7, 9\}$ | $\tfrac{5}{10}$ |
Two events are mutually exclusive if they can't happen at the same time: they share no outcomes. "Rolling a $2$" and "rolling an odd number" are mutually exclusive. "Rolling a $2$" and "rolling an even number" are not.
Venn diagrams
A Venn diagram draws each event as a circle inside a rectangle (the whole sample space). Where circles overlap is "and". Outside all circles is "neither". The four regions for two events are:
| Only soccer | Both | Only netball | Neither |
|---|---|---|---|
| $9$ | $4$ | $7$ | $10$ |
The table above shows the Venn diagram regions for $30$ students and the sports they play. A student is chosen at random. Find (a) $P(\text{plays soccer})$ (b) $P(\text{soccer or netball})$ (c) $P(\text{only one sport})$.
Two-way tables
A two-way table shows the same information in rows and columns, with totals. Every row and column must add up, so you can find missing entries.
| Netball | Not netball | Total | |
|---|---|---|---|
| Soccer | $4$ | $9$ | $13$ |
| Not soccer | $7$ | $10$ | $17$ |
| Total | $11$ | $19$ | $30$ |
This is the same class as the Venn diagram. The "Soccer and Netball" cell is the overlap, $4$.
Click regions of the Venn diagram to shade them. The matching cells of the two-way table light up.
A class of $25$ was asked about soccer and swimming. Shade "soccer or swimming" and read the count. Then shade "neither". Why do the two counts add to $25$?
Your turn
Using the two-way table, a student is chosen at random. Find the probability that they play netball but not soccer.
Show the working
Netball column, "Not soccer" row: $7$ students. $P = \dfrac{7}{30}$.
A number is chosen from $1$ to $20$. Find $P(\text{a multiple of } 4 \text{ and greater than } 14)$ as a decimal.
Multiples of $4$: $\{4, 8, 12, 16, 20\}$. Greater than $14$: $\{15, 16, 17, 18, 19, 20\}$. In both: $\{16, 20\}$. $\dfrac{2}{20} = 0.1$.
A number is chosen from $1$ to $20$. Find $P(\text{a multiple of } 4 \text{ or greater than } 14)$ as a decimal.
$\{4, 8, 12, 15, 16, 17, 18, 19, 20\}$: $9$ numbers, with $16$ and $20$ counted once. $\dfrac{9}{20} = 0.45$.
Which pair of events is mutually exclusive when rolling one die?
$1$ is odd, so "rolling a $1$" and "rolling an even number" share no outcomes. Each other pair shares an outcome ($4$; $5$; $2$).
Using the Venn regions (only soccer $9$, both $4$, only netball $7$, neither $10$), how many students play soccer?
The soccer circle is only soccer plus both: $9 + 4 = 13$.
In the same class of $30$, how many students play neither sport?
The region outside both circles: $10$. Check: $30 - (9 + 4 + 7) = 10$.
In a class of $25$, $12$ like apples, $15$ like bananas and $5$ like both. How many like neither?
Only apples $= 12 - 5 = 7$. Only bananas $= 15 - 5 = 10$. Inside the circles: $7 + 5 + 10 = 22$. Neither $= 25 - 22 = 3$.
In that same class of $25$ (apples $12$, bananas $15$, both $5$), find the probability that a random student likes exactly one of the fruits, as a decimal.
Only apples $7$ plus only bananas $10$ makes $17$ students. $\dfrac{17}{25} = 0.68$.
A two-way table has a total of $40$. The "Cat" row total is $22$, and in that row "Dog" is $6$. How many students have a cat but no dog?
Cat row: $6 + \square = 22$, so $\square = 16$.
Challenge: A card is drawn from a standard deck. Which is $P(\text{red or a king})$?
Red cards: $26$. Kings: $4$, but $2$ of them are red and already counted. So $26 + 2 = 28$ cards. $\dfrac{28}{52} = \dfrac{7}{13}$.
Challenge: Of $60$ people, $35$ drink coffee, $28$ drink tea and $12$ drink both. Find the probability a random person drinks neither, as a decimal.
Only coffee $= 35 - 12 = 23$. Only tea $= 28 - 12 = 16$. In the circles: $23 + 12 + 16 = 51$. Neither $= 60 - 51 = 9$. $\dfrac{9}{60} = 0.15$.
Coaching Centre