Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 8 Maths Probability

2 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)
  • 2 way tables - Video - Two Way Tables 1 Watch
  • 2 way tables - Video - Two Way Tables 2 Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

A two-way table sorts one group by two attributes at once and shows the totals of every row and column. Each person is in exactly one inner cell, and a probability is a count over the grand total: if \(3\) of \(31\) students are boys who cannot swim, \(P = \dfrac{3}{31}\). This Year 8 maths page shows how.

Rows and columns. One attribute gives the rows and the other gives the columns. Every person is counted in exactly one of the inner cells.

The totals. Each row adds to its row total and each column to its column total. The bottom-right cell is the grand total: add the row totals or the column totals; doing both is the check.

A missing number is found by subtraction: if a row reads \(5\), \(?\) and total \(14\), the missing cell is \(14 - 5 = 9\).

Probability: \(P(\text{event}) = \dfrac{\text{count from the table}}{\text{grand total}}\).

‘And’ is a single inner cell. ‘Or’ is the row total plus the column total, minus the shared cell once. ‘Neither’ is the inner cell with both “no” labels.

Tables and Venn diagrams hold the same four counts: each inner cell is one region of the Venn diagram.

Band and choir Venn diagram of 36 students: band only 15, both 8, choir only 9, neither 4. BandChoir 1589 4
The four inner cells of a table become the four regions: band and choir \(8\) (overlap), band only \(15\), choir only \(9\), neither \(4\).

The students of a class sorted by pets:

Owns a catNo catTotal
Owns a dog61319
No dog5914
Total112233

\(P(\text{dog and cat}) = \dfrac{6}{33} = \dfrac{2}{11}\), \(P(\text{dog or cat}) = \dfrac{19 + 11 - 6}{33} = \dfrac{8}{11}\) and \(P(\text{neither}) = \dfrac{9}{33} = \dfrac{3}{11}\).

Divide by the grand total. The student is chosen from all \(33\), so \(P(\text{no dog}) = \dfrac{14}{33}\), never \(\dfrac{14}{22}\).
The totals are not extra people. Only the four inner cells add to the grand total.

Completing a two-way table

  1. Fill any cell whose row or column has only one gap, by subtraction.
  2. Repeat until every cell is full.
  3. Check the grand total across the rows and down the columns.

Probability from a table

  1. Find the count: one cell for “and”; row \(+\) column \(-\) shared cell for “or”.
  2. Divide by the grand total and simplify.
Example 1 — Reading a table
\(31\) students were surveyed on whether they can swim.
(i) How many boys are there?
(ii) How many students can swim?
(iii) How many girls cannot swim?
(iv) Find the probability of randomly selecting a boy who cannot swim.
Can swimCannot swimTotal
Boys12315
Girls14216
Total26531
Solution
\(\text{Boys}\)\(=\)\(12 + 3 = 15\)
\(\text{Can swim}\)\(=\)\(12 + 14 = 26\)
\(P\)\(=\)\(\dfrac{3}{31}\)
152623/31

(i) \(15\)
(ii) \(26\)
(iii) \(2\)
(iv) \(\dfrac{3}{31}\)

Example 2 — Filling in the totals
At camp, each student in two classes chose one activity: 8A kayak \(27\), walk \(18\); 8B kayak \(22\), walk \(23\). Find every total.
Solution
\(\text{8A}\)\(=\)\(27 + 18 = 45\)
\(\text{8B}\)\(=\)\(22 + 23 = 45\)
\(\text{Kayak}\)\(=\)\(27 + 22 = 49\)
\(\text{Walk}\)\(=\)\(18 + 23 = 41\)
45,4549,4190

Grand total \(90\) both ways: \(45 + 45 = 90\) and \(49 + 41 = 90\).

Example 3 — Building the table
Of \(160\) families, \(96\) recycle soft plastics, \(68\) have a compost bin and \(40\) do both. Complete the table, then find \(P(\text{neither})\).
Solution
BinNo binTotal
Recycle405696
Don’t283664
Total6892160
\(\text{Recycle only}\)\(=\)\(96 - 40 = 56\)
\(\text{Bin only}\)\(=\)\(68 - 40 = 28\)
\(\text{Neither}\)\(=\)\(160 - 124 = 36\)
9/40

\(P(\text{neither}) = \dfrac{36}{160} = \dfrac{9}{40}\)

Example 4 — Table into circles
Class 8M: band and choir \(8\), band only \(15\), choir only \(9\), neither \(4\). Show the class in a Venn diagram and find \(P(\text{band or choir})\).
8MChoirNo choirTotal
Band81523
No band9413
Total171936
Solution
Band and choir Venn diagram of 36 students: band only 15, both 8, choir only 9, neither 4. BandChoir 1589 4
\(36 - 4\)\(=\)\(32\)
\(23 + 17 - 8\)\(=\)\(32\)
\(P\)\(=\)\(\dfrac{32}{36} = \dfrac{8}{9}\)
8/9

Each inner cell is one region. \(P(\text{band or choir}) = \dfrac{8}{9}\).

Example 5 — More than two columns
At a carnival, \(250\) students each entered one event: juniors \(100\) m \(55\), discus \(40\), relay \(65\); seniors \(100\) m \(35\), discus \(20\), relay \(35\). One entry is drawn at random. Find
(i) \(P(\text{senior and } 100 \text{ m})\) as a percentage
(ii) \(P(\text{junior or relay})\) as a decimal.
Solution
\(\dfrac{35}{250}\)\(=\)\(\dfrac{14}{100} = 14\%\)
\(160 + 100 - 65\)\(=\)\(195\)
\(\dfrac{195}{250}\)\(=\)\(0.78\)
140.78

(i) \(14\%\)
(ii) \(0.78\) (the \(65\) junior relay entries are counted once)

Common pitfalls

Dividing by a row or column total. For a person chosen from the whole group, divide by the grand total.
Counting the overlap twice in “or”. Dog or cat is \(19 + 11 - 6 = 24\), not \(30\).
Adding the totals into the grand total. Only the four inner cells make the grand total.
Not checking. The grand total must be the same across and down.

Frequently asked questions

What is a two-way table?

A table that sorts one group by two attributes at once, with totals for every row and column.

How do I find a missing value?

Subtract the known cells from the row or column total.

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

Take the count you need and divide by the grand total.

How do I find the probability of A or B?

Add the row total and the column total, subtract the cell they share, then divide by the grand total.

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

They show the same four counts: each inner cell of the table is one region of the Venn diagram.