5D

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\}$.

EventMeaningOutcomesProbability
$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 soccerBothOnly netballNeither
$9$$4$$7$$10$
Example 1●●

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})$.

(a) $\dfrac{9 + 4}{30} = \dfrac{13}{30}$
Check the total: 9 + 4 + 7 + 10 = 30. Soccer players are the whole soccer circle: only soccer plus both.
(b) $\dfrac{9 + 4 + 7}{30} = \dfrac{20}{30} = \dfrac23$
Everyone inside either circle: three regions, each counted once.
(c) $\dfrac{9 + 7}{30} = \dfrac{16}{30} = \dfrac{8}{15}$
Only soccer plus only netball. The overlap plays both, so it is left out.

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.

NetballNot netballTotal
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$.

Venn diagram and two-way table

Click regions of the Venn diagram to shade them. The matching cells of the two-way table light up.

Try this

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}$.

Practice
  1. A number is chosen from $1$ to $20$. Find $P(\text{a multiple of } 4 \text{ and greater than } 14)$ as a decimal.

  2. A number is chosen from $1$ to $20$. Find $P(\text{a multiple of } 4 \text{ or greater than } 14)$ as a decimal.

  3. Which pair of events is mutually exclusive when rolling one die?

  4. Using the Venn regions (only soccer $9$, both $4$, only netball $7$, neither $10$), how many students play soccer?

  5. In the same class of $30$, how many students play neither sport?

  6. In a class of $25$, $12$ like apples, $15$ like bananas and $5$ like both. How many like neither?

  7. 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.

  8. 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?

  9. Challenge: A card is drawn from a standard deck. Which is $P(\text{red or a king})$?

  10. 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.

Formula sheet