- Foundation
- About 15 min
- 5 practice questions
Mean of a frequency table: multiply, add and divide
Find the mean when data are given in a frequency table, including grouped data with class intervals, using Σfx ÷ Σf and class marks.
If something looks wrong, please tell us.
When many observations repeat, writing every one of them out is slow. Data are then shown in a frequency table: each value x appears once, beside its frequency f, the number of times it occurs. Competitive exams often give data this way, so you must be able to find the mean straight from the table without listing every observation.
The idea
If the value 3 occurs 4 times, those four observations add up to 3 × 4 = 12. So multiply each value by its frequency to get fx, add all the fx values to get the grand total Σfx, and divide by the total number of observations, which is the sum of the frequencies Σf.
- Make a column fx = x × f for each row.
- Add the f column to get Σf (the number of observations).
- Add the fx column to get Σfx (the total of all observations).
- Mean = Σfx ÷ Σf.
Worked example 1: children per family
A survey of 20 families recorded the number of children in each. Find the mean number of children per family.
| Children (x) | Families (f) | fx |
|---|---|---|
| 0 | 2 | 0 |
| 1 | 5 | 5 |
| 2 | 7 | 14 |
| 3 | 4 | 12 |
| 4 | 2 | 8 |
| Total | Σf = 20 | Σfx = 39 |
Working: Σf = 20 and Σfx = 39, so the mean = 39 ÷ 20 = 1.95 children per family. A common mistake is to divide 39 by the number of rows (5) and get 7.8. That cannot be right: no family in the table has more than 4 children, so the mean cannot be 7.8. Always divide by Σf, the number of observations.
What to divide Σfx = 39 by
-
Right: divide by Σf
- Σf = 20 observations
- 39 ÷ 20 = 1.95 children per family
-
Wrong: divide by the rows
- 5 rows
- 39 ÷ 5 = 7.8
- Impossible: no family has more than 4 children
Worked example 2: marks out of 10
Thirty students took a 10-mark quiz. The marks 4, 5, 6, 7, 8 and 9 were scored by 3, 5, 7, 7, 5 and 3 students respectively. Working: fx = 12, 25, 42, 49, 40 and 27. Σfx = 12 + 25 + 42 + 49 + 40 + 27 = 195. Σf = 3 + 5 + 7 + 7 + 5 + 3 = 30. Mean = 195 ÷ 30 = 6.5 marks.
Grouped data: use the class mark
Sometimes the table gives ranges of values called class intervals, such as 10-20 or 20-30, instead of single values. We no longer know each exact observation, so we assume every observation in a class sits at the middle of the class, called the class mark or mid-value: class mark = (lower limit + upper limit) ÷ 2. The class mark of 10-20 is 15; of 40-50 it is 45. Then use the class marks as x and proceed exactly as before. The answer is an estimate, but a good one.
Worked example 3: grouped data
Twenty workers travel these distances (km) to a factory: 10-20 km: 4 workers, 20-30 km: 10 workers, 30-40 km: 6 workers. Working: class marks are 15, 25 and 35. fx = 15 × 4 = 60, 25 × 10 = 250 and 35 × 6 = 210. Σfx = 520 and Σf = 20. Mean = 520 ÷ 20 = 26 km.
Mean distance for grouped data
- Find the class marks 15, 25 and 35
- Multiply by frequency fx = 60, 250 and 210
- Add both columns Σfx = 520 and Σf = 20
- Divide 520 ÷ 20 = 26 km
Mean of a frequency table = Σfx ÷ Σf. For grouped data, x is the class mark: (lower limit + upper limit) ÷ 2.
Key takeaways: multiply each value by its frequency, add, and divide by the total frequency, never by the number of rows. For class intervals, use the class mark as the value. The mean must lie between the smallest and largest values in the table, which is a quick check on your answer.
Check your understanding
-
1. Values 1, 2 and 3 occur 4, 3 and 3 times respectively. What is the mean?
- 2
- 1.9
- 2.1
- 6.33
Show answer
Answer: B. fx = 4, 6 and 9, so Σfx = 19. Σf = 4 + 3 + 3 = 10. Mean = 19 ÷ 10 = 1.9.
-
2. Find the mean: x = 10, 20, 30, 40 with frequencies 3, 5, 8, 4.
- 26.5
- 25
- 27.5
- 132.5
Show answer
Answer: A. fx = 30, 100, 240, 160, so Σfx = 530. Σf = 20. Mean = 530 ÷ 20 = 26.5. (Dividing by the 4 rows would give 132.5, which is larger than every value and so impossible.)
-
3. What is the class mark of the class 40-50?
- 40
- 50
- 10
- 45
Show answer
Answer: D. Class mark = (40 + 50) ÷ 2 = 90 ÷ 2 = 45.
-
4. Classes 0-10, 10-20 and 20-30 have frequencies 5, 8 and 7. Estimate the mean.
- 15
- 17
- 16
- 106.67
Show answer
Answer: C. Class marks are 5, 15 and 25. fx = 25, 120 and 175, so Σfx = 320. Σf = 20. Mean = 320 ÷ 20 = 16.
-
5. A frequency table has 6 rows. Its total frequency is 40 and Σfx = 240. What is the mean?
- 40
- 6
- 4
- 24
Show answer
Answer: B. Mean = Σfx ÷ Σf = 240 ÷ 40 = 6. Dividing by the 6 rows instead would give 40, a common error.
Sign in to keep track of the lessons you finish.