Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 9 Maths Probability and Statistics

Venn Diagrams and Two-Way Tables

20 practice questions 2 video lessons Theory + worked examples
Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 2 video(s)
  • Venn Diagrams and Two-Way Tables - Video - Probability & Venn Diagrams Watch
  • Venn Diagrams and Two-Way Tables - Video - Using Two Way Tables with Probability Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

A Venn diagram and a two-way table both sort a group by two attributes at once. This Year 9 maths page shows how to fill in the regions or cells, read "and", inclusive "or", exclusive "or" and "not", spot mutually exclusive events, and find probabilities and percentages from either display.

A Venn diagram shows a whole group as a rectangle, called the universal set \(\xi\). Each attribute is a circle. Where circles overlap, people have both attributes.

With two circles \(A\) and \(B\) there are four regions: \(A\) only, both, \(B\) only, and neither. Every member of the group is in exactly one region, so the four counts add to the total.

The intersection \(A \cap B\) is the overlap: in \(A\) and in \(B\). The union \(A \cup B\) is everything inside either circle: in \(A\) or \(B\) or both. The complement \(A'\) is everything outside \(A\). \(n(A)\) means the number in \(A\).

Events are mutually exclusive if they cannot happen together, like rolling a \(2\) and rolling a \(5\) with one die. Their circles do not overlap.

A two-way table records the same kind of information in rows and columns. Each inner cell is an and, such as boys who walk. A row total or column total is one attribute on its own, and the grand total is the whole group.

Inclusive or means one or the other or both: everything inside the two circles. Exclusive or means one or the other but not both: the two "only" regions. Questions often say "exactly one" or "but not both" for the exclusive or.

The four regions of a two-circle Venn diagramA rectangle for the whole group, marked xi, containing two overlapping circles A and B. The regions are labelled A only, A intersect B (the overlap, shaded purple), B only, and neither, outside both circles. ξ A B A only A ∩ B B only neither
Two circles make four regions. Every person goes in exactly one region, so the four numbers add to the whole group.
A two-way table with its cells and totalsA two-way table of 65 students by gender and whether they walk to school. Boys: 18 walk, 12 do not, total 30. Girls: 21 walk, 14 do not, total 35. Column totals 39 and 26, grand total 65. The boys-and-walk cell is highlighted, along with the row totals, column totals and grand total. Walks Does notwalk Total Boys 18 12 30 Girls 21 14 35 Total 39 26 65 orange: one cell = boys AND walk blue: row totals, red: column totals purple: grand total 65
Each inner cell is an and. A row or column total is one attribute on its own. All three ways of adding reach the same grand total, \(65\).
The same data as a Venn diagramVenn diagram of the same 65 students: 12 boys who do not walk, 18 boys who walk in the overlap, 21 girls who walk, and 14 girls who do not walk outside both circles. ξ Boys Walks 12 18 21 14
The same four cells as a Venn diagram: the overlap is boys who walk, and the outside is girls who do not walk.
A three-circle Venn diagramA three-circle Venn diagram for 50 club members who play sport S, music M or art A. Region counts: S only 9, M only 7, A only 6, S and M only 4, S and A only 3, M and A only 5, all three 2, and 14 outside all circles. ξ S M A 9 7 6 4 3 5 2 14
Three circles make eight regions. Here \(9 + 7 + 6 + 4 + 3 + 5 + 2 + 14 = 50\). The centre, \(2\), is in all three circles.

Probability from a Venn diagram:

\[P(\text{region}) = \dfrac{\text{number in the region}}{\text{number in the whole group}}\]
P=number in regiontotal

The overlap is counted in both circle totals, so:

\[n(A \cup B) = n(A) + n(B) - n(A \cap B)\]
n(A∪B)=n(A)+n(B)−n(A∩B)
\[n(A') = \text{total} - n(A) \qquad P(A') = 1 - P(A)\]
P(A′)=1−P(A)

For a two-way table, an or is a row plus a column, less the cell they share:

\[n(\text{or}) = \text{row} + \text{column} - \text{shared cell}\]
n=row+column−sharedcell
Missing entries. Each row adds to its row total and each column to its column total. A missing cell is the total minus the other cells in that row or column.
Percentage of a group. "What percentage of the girls" divides by the girls' row total. "What percentage of the students" divides by the grand total.
From a probability back to a count. Multiply by the total. If \(P(B) = 0.4\) in a group of \(150\), then \(n(B) = 0.4 \times 150 = 60\) and \(n(B') = 90\).
Three circles. Fill from the centre outwards: all three first, then each "two only" region, then each "one only" region, then outside. "Exactly two" means the three "two only" regions, not the centre. But "in \(B\) and \(C\)" (with no "only") means the \(B\)-and-\(C\)-only region plus the centre, because the people in all three are in \(B\) and \(C\) too.

How to solve a Venn diagram problem

  1. Draw the rectangle and the circles, and label them.
  2. Fill the overlap first. If it is unknown, find it: add the circle totals and subtract the number in at least one.
  3. Subtract the overlap from each circle total to get the "only" regions.
  4. Find the outside region: total minus everything in the circles.
  5. Read the region the question asks for, and divide by the whole group for a probability. Check the regions add to the total.

How to use a two-way table

  1. Complete the table first: add a Total row and a Total column, and fill any gaps by subtraction.
  2. Check the grand total three ways: cells, row totals, column totals.
  3. Decide what the question wants: one cell (and), a row or column (one attribute), or a row plus a column (or).
  4. Count, taking off the shared cell for an or.
  5. Divide by the right total: the grand total for a probability of the whole group, or a row or column total for a percentage of that group.
Example 1 — Filling in the regions
In a class of \(25\), \(15\) play chess, \(11\) play cards and \(6\) play both. How many play neither?
Solution

Put the overlap in first. Then take it out of each circle total.

\(\text{chess only}\)\(=\)\(15 - 6 = 9\)
\(\text{cards only}\)\(=\)\(11 - 6 = 5\)
\(\text{in a circle}\)\(=\)\(9 + 6 + 5 = 20\)
\(\text{neither}\)\(=\)\(25 - 20 = \mathbf{5}\)
25−20=5
Chess and cards Venn diagramVenn diagram for a class of 25: 9 play chess only, 6 play both, 5 play cards only and 5 play neither. ξ Chess Cards 9 6 5 5
Example 2 — Exactly one (exclusive or)
Of \(44\) people, \(25\) like swimming, \(19\) like running and \(8\) like both. One is chosen at random. Find the probability that the person likes exactly one of the two.
Solution

"Exactly one" means the two "only" regions, not the overlap.

\(\text{swim only}\)\(=\)\(25 - 8 = 17\)
\(\text{run only}\)\(=\)\(19 - 8 = 11\)
\(P(\text{exactly one})\)\(=\)\(\dfrac{17 + 11}{44} = \dfrac{28}{44}\)
\(\)\(=\)\(\mathbf{\dfrac{7}{11}}\)
2844=711
Swimming and running Venn diagramVenn diagram for 44 people: 17 swimming only and 11 running only, both shaded, with 8 in the overlap left unshaded and 8 outside both circles. ξ Swim Run 17 8 11 8
Example 3 — One cell and one column
The table shows how \(65\) students get to school. One student is chosen at random. Find the probability that the student
(i) is a girl who walks
(ii) walks.
WalksDoes not walkTotal
Boys181230
Girls211435
Total392665
Solution
WalksDoes not walkTotal
Boys181230
Girls211435
Total392665

(i) "Girl and walks" is one cell. Divide it by the grand total.

\(P(\text{girl and walks})\)\(=\)\(\mathbf{\dfrac{21}{65}}\)
P=2165

It does not simplify, because \(21 = 3 \times 7\) and \(65 = 5 \times 13\).

(ii) "Walks" says nothing about gender, so use the whole Walks column.

\(\text{walk}\)\(=\)\(18 + 21 = 39\)
\(P(\text{walks})\)\(=\)\(\dfrac{39}{65} = \mathbf{\dfrac{3}{5}}\)
3965=35
Example 4 — An inclusive or
Using the table in Example 3, how many students are boys or do not walk? What percentage of the boys do not walk?
Solution
WalksDoes not walkTotal
Boys181230
Girls211435
Total392665

Add the Boys row total and the Does-not-walk column total. The boys who do not walk are in both, so take them off once.

\(n(\text{boys or not walk})\)\(=\)\(30 + 26 - 12\)
\(\)\(=\)\(\mathbf{44}\)

For a percentage of the boys, divide by the boys' total, not by \(65\).

\(\dfrac{12}{30} \times 100\%\)\(=\)\(\mathbf{40\%}\)
30+26−12=44

Common pitfalls

Take the overlap out first. "\(15\) play chess" includes the \(6\) who play both. Chess only is \(15 - 6 = 9\).
Exactly one leaves out the overlap. "Exactly one" is the two "only" regions. "At least one" includes the overlap too.
Watch out for the outside region. People in neither circle still count in the total. Leaving them out makes every probability wrong.
A girl is a row; a girl who walks is a cell. Reading a row total when the question wants one cell, or the other way round, is the most common mistake.
Watch out for which total goes underneath. "What percentage of the boys" divides by the boys' total, not by everyone.

Frequently asked questions

How do you fill in a Venn diagram?

Start with the overlap. Subtract it from each circle total to get the "only" regions. Then subtract everything in the circles from the total to get the region outside.

What are mutually exclusive events?

Events that cannot happen at the same time, such as rolling a \(2\) and rolling a \(5\) on one die. On a Venn diagram their circles do not overlap.

What is the difference between inclusive or and exclusive or?

Inclusive or means one or the other or both, so it includes the overlap. Exclusive or means one or the other but not both, so it is only the two "only" regions. In Example 2, swimming or running (inclusive) is \(17 + 8 + 11 = 36\) people, but exactly one of them (exclusive) is \(28\).

How do you find probability from a two-way table?

Count the people who fit the event, from a cell, a row, a column or a combination, and divide by the grand total.

How is a two-way table related to a Venn diagram?

They show the same information. The four cells of a two-by-two table match the four regions of a two-circle Venn diagram: both, one only, the other only, and neither.