Websink Prep UKGCSE MathsTextbook contentsMaths textbooksYear 1Year 2Year 4Year 5Year 6GCSEBrowse allPast papersFind a tutorBecome a tutor
GCSE Maths · EdexcelChapter 23 · Probability
GCSE Maths · Probability · Higher · Lesson 23.8

GCSE Maths: Two-way tables and frequency trees (Higher)

Part of the GCSE Maths probability chapter (Higher). Chapter overview · Foundation version of this lesson · whole chapter on one page · Download worksheet (PDF) · Answers (PDF)

Download worksheet (PDF)Answers (PDF)
23.8

Two-way tables and frequency trees

Edexcel 1MA1: P1, P9, P6
Grade 2-6

When people (or items) are sorted by two things at once, such as year group and how they travel, a two-way table keeps the information tidy. One category goes down the side and the other goes across the top. Each cell shows how many are in both categories, and the totals are written at the ends of the rows and the bottom of the columns.

WalkBusTotal
Boys12618
Girls9817
Total211435
A two-way table for 35 students. 12 boys walk. 6 boys take the bus. The 18 boys in total are the row total.

Completing a table. Every row adds up to its row total and every column adds up to its column total. So look for a row or column with only one number missing and work it out by adding (if the total is missing) or by subtracting the known numbers from the total (if a cell is missing). Then repeat. Reading probabilities. If one person is chosen at random from the whole table, P(event) = number in the event ÷ grand total. For example P(girl) = 17/35 and P(boy who walks) = 12/35.

Frequency trees. A frequency tree looks like a tree diagram but shows numbers of people instead of probabilities. The first box holds the total. Each branch splits the number into groups, and each group splits again. The numbers coming out of a box must add up to the number in the box. If you are given a fraction or a percentage, multiply the number in the box by it. A frequency tree turns probabilities into expected numbers, so it is a friendly way to see what a tree diagram means: the probability of a route is its number divided by the grand total.

Students35Girls20Left3Right17Boys15Left2Right13
A frequency tree for 35 students: first girls or boys, then left-handed or right-handed.

Key ideas

  • A two-way table has row totals and column totals. Every row and column adds up to its total.
  • To complete it, find a row or column with only one missing number.
  • P(event) from a table = number in the event ÷ total in the group chosen from.
  • A frequency tree shows numbers, not probabilities. Numbers leaving a box add up to the number in it.
  • Take a fraction (or percentage) of the number in the previous box, not of the original total.
Worked example 23.8.1
35 students were asked how they travel to school. Some of the information is shown. Complete the two-way table.
WalkBusTotal
Boys12?18
Girls?8?
Total21?35

Method. In a two-way table every row and every column adds up to its total. Find a row or column with only one missing number, work it out, then repeat.

  1. Find the missing number in the Boys row, Bus column. The numbers in a row add up to the row total, so subtract the known numbers from the total.
    18 − 12 = 6
  2. Find the missing number in the Total row, Bus column. The numbers in a row add up to the row total, so subtract the known numbers from the total.
    35 − 21 = 14
  3. Find the missing number in the Girls row, Walk column. The numbers in a column add up to the column total, so subtract the known numbers from the total.
    21 − 12 = 9
  4. Find the missing number in the Girls row, Total column. The numbers in a column add up to the column total, so subtract the known numbers from the total.
    35 − 18 = 17
  5. Write the completed table. Check that every row and every column adds up to its total.
    WalkBusTotal
    Boys12618
    Girls9817
    Total211435

Check. Check the grand total: the row totals add to 35 and the column totals add to 35, and both equal 35. ✓

Watch out. Start with a row or column that has only one missing number.

Worked example 23.8.2
Use the completed table above. One student is chosen at random. Find the probability that the student is a girl who walks, and the probability that the student takes the bus.

Key words. An outcome is one possible result of an experiment. An event is the outcome (or group of outcomes) we are interested in. Equally likely outcomes have the same chance. Probability = number of favourable outcomes ÷ total number of equally likely outcomes, and it is always between 0 and 1.

Method. Read the numbers from the completed table. The bottom of each fraction is the grand total, 35.

  1. Find the grand total. It is the bottom right number.
    35 students
  2. Girls who walk. Where the Girls row meets the Walk column.
    9, so P(girl who walks) = 935
  3. Students who take the bus. Use the Bus column total.
    14, so P(bus) = 1435 = 25

Check. P(walk) + P(bus) = 21/35 + 14/35 = 1. ✓

Watch out. Use the column total, not just one cell, for “the student takes the bus”.

Worked example 23.8.3
In a survey of 80 students, 35 are girls. 18 of the girls and 14 of the boys are left-handed. Draw a frequency tree.

Method. Work out each number on the tree by finding a fraction of the number in the box before it.

  1. Start with the total. The first box of a frequency tree holds everyone (or everything) in the survey.
    Students: 80
  2. Work out the first branches. Multiply the total by the fraction (or use the number given). The numbers on the first branches must add up to the total.
    Girls: 35 of 80 = 80 ÷ 5 × 3 = 48
    Boys: 25 of 80 = 80 ÷ 5 × 2 = 32
    Check: 48 + 32 = 80
  3. Work out the second branches. Each second branch is a fraction of the number on the branch before it, not of the total.
    Girls, Left: 18 of 48 = 6
    Girls, Right: 78 of 48 = 42
    Boys, Left: 14 of 32 = 8
    Boys, Right: 34 of 32 = 24
  4. Draw the frequency tree. Write each number in its box. The numbers coming out of a box must add up to the number in it.
    Students80Girls48Left6Right42Boys32Left8Right24

Check. The numbers from each box add up to the number in that box. ✓

Watch out. Take the fraction of the number on the previous branch, not of the original total.

Worked example 23.8.4
Use the frequency tree in the previous example. A student is chosen at random from the 80. Find the probability that the student is a left-handed girl, and the probability that the student is left-handed.

Key words. An outcome is one possible result of an experiment. An event is the outcome (or group of outcomes) we are interested in. Equally likely outcomes have the same chance. Probability = number of favourable outcomes ÷ total number of equally likely outcomes, and it is always between 0 and 1.

Method. Read the numbers off the frequency tree. The bottom is 80.

  1. Left-handed girls. Follow the Girls branch then Left.
    6 students, so P = 680 = 340
  2. All left-handed students. Add the left-handed girls and the left-handed boys.
    6 + 8 = 14
  3. Write the probability. Left-handed students over all students.
    1480 = 740

Check. P(right-handed) = 3340, and the two add to 1. ✓

Watch out. “Left-handed” includes both the girls and the boys.

Watch out

In a two-way table, take care which total goes on the bottom. For “a girl who walks” use the grand total (35). In a frequency tree, a second-stage fraction is a fraction of the number on its own branch, not of the original total: 18 of the 48 girls is 6, not 18 of 80.

Exercise 23K  Two-way tables

Non-calculator
1
FThe two-way table shows how 40 students voted for a school trip.
ZooMuseumTotal
Boys14620
Girls91120
Total231740
(a)How many girls voted for the zoo?
(b)How many students voted for the museum?
(c)How many boys are there?
2
FWork out the missing numbers in each two-way table.
(a)A club has 50 members. Some of the information is shown. Complete the table.
SwimRunTotal
Adults?1130
Children8??
Total?2350
(b)60 people were asked whether they prefer tea or coffee. Complete the table.
TeaCoffeeTotal
Men16?35
Women?11?
Total??60
(c)A shop sells shirts in three sizes in two colours. Complete the table.
BlueWhiteTotal
Small7?18
Medium?1527
Large9??
Total??70
3
FThe two-way table shows the type of ticket sold for a concert. One ticket is chosen at random from the 50. Find the probability that it is...
SaturdaySundayTotal
Adult151025
Child52025
Total203050
(a)an adult ticket
(b)for Saturday
(c)a child ticket for Sunday
(d)not an adult ticket
4
RIn a year group of 45 students, some are in the school band and some are not. The two-way table shows the information. Phil says: “Boys are more likely to be in the band than girls.” Is Phil right? Show your working.
In bandNot in bandTotal
Boys81220
Girls61925
Total143145
5
PS120 customers at a cafe were asked whether they had a hot drink or a cold drink and whether they had a snack. The table shows the results. A customer is chosen at random. Find the probability that the customer...
SnackNo snackTotal
Hot drink271845
Cold drink215475
Total4872120
(a)had a hot drink and a snack
(b)had a snack
(c)had a cold drink but no snack
6
PSThe table shows 600 tickets sold for a school play. The tickets were Adult or Child, for Friday or Saturday. Complete the table and then estimate how many of the next 150 tickets sold are Child tickets for Saturday.
FridaySaturdayTotal
Adult150?330
Child?120?
Total??600
7
RIn a table the numbers in the cells are 6, 9, 14 and 11 and the table has no totals written in. Explain how to find the grand total and what the probability of choosing the second cell is.
8
PSA doctor records whether 50 patients are Under 40 or 40 and over, and whether they have had a flu jab. A patient is chosen at random. The table shows the results. Write the answers as fractions in their simplest forms.
JabNo jabTotal
Under 4032225
40 and over111425
Total143650
(a)Find the probability that the patient is under 40 and had a jab
(b)Find the probability that the patient has not had a jab
9
PSA two-way table shows 80 students. The table has 4 cells and totals. The row totals are 50 and 30 and the column totals are 45 and 35. The number in the top-left cell is 28. Complete the table.

Exercise 23L  Frequency trees

Calculator allowed
1
PSAt a festival 200 people were asked about their diet. 35 of them are adults and the rest are children. 14 of the adults and 12 of the children are vegetarian. Draw a frequency tree and find how many people are vegetarian.
2
PSIn a survey of 150 people, 60% own a smartphone. Of the people who own a smartphone, 40% use a banking app. Draw a frequency tree and find how many of the 150 use a banking app.
3
PSA factory makes 5000 items. 3% are faulty. A test finds 90% of faulty items and wrongly flags 2% of the good items. Complete a frequency tree and find how many items the test flags in total.

Websink Prep UK is an independent site. It is not affiliated with, endorsed by or sponsored by AQA, Pearson Edexcel, OCR, WJEC, Eduqas, CCEA, SQA, GL Assessment, CEM or the Department for Education. All exam board names and trademarks belong to their owners. Past papers are linked from the exam boards' own websites and are not hosted here.

About Websink Prep UK · Find a tutor · Privacy · Terms · Cookie settings