Frequency Polygons
On this page
How to find the midpoint of each class, draw a frequency polygon from a grouped frequency table, read frequencies, totals and the median class from one, find a missing point, compare two polygons and spot mistakes in one.
What a frequency polygon is
A frequency polygon is a graph that shows the information in a grouped frequency table. Each class is shown by one point, and the points are joined with straight lines.
Each point goes above the middle of its class, at the height of its frequency:
(\text{midpoint of the class},\ \text{frequency})
In the exam you are usually given a grouped frequency table and asked to draw a frequency polygon on a grid, for 2 marks. You may also be asked to read frequencies from a polygon, to find the total or the class that contains the median, to compare two polygons, or to write down two mistakes in a polygon that someone else has drawn.
Finding the midpoint of a class
The midpoint of a class is the number exactly halfway between its two ends. Add the two ends and divide by 2:
\text{midpoint} = \frac{\text{lower end} + \text{upper end}}{2}
For the class 30 < h \le 40, the midpoint is \frac{30+40}{2} = 35. For the class 35 < w \le 40, it is \frac{35+40}{2} = 37.5, which is not a whole number. That is fine: plot it halfway between 35 and 40
When the classes are all the same width, the midpoints go up by that width each time. With the classes 0 < t \le 10, 10 < t \le 20 and 20 < t \le 30, the midpoints are 5, 15 and 25
Worked example 1: Finding the midpoints
The lengths, l cm, of some leaves are grouped in the classes 10 < l \le 15, 15 < l \le 20, 20 < l \le 25 and 25 < l \le 30. Work out the midpoint of each class.
- First class: \frac{10+15}{2} = \frac{25}{2} = 12.5
-
Your turn. What is the midpoint of the class 15 < l \le 20?
\frac{15+20}{2} = \frac{35}{2} = 17.5
- Each class is 5 cm wide, so each midpoint is 5 more than the one before: 22.5 and then 27.5
- Answer: 12.5, 17.5, 22.5, 27.5
Drawing a frequency polygon
- Work out the midpoint of each class.
- Plot a point for each class at (midpoint, frequency), with a small cross or dot.
- Join the points in order, from left to right, with straight lines drawn with a ruler.
Start at the first point and stop at the last one. Don't join the last point back to the first, and don't draw lines down to the axis at the ends. Don't draw bars either: a frequency polygon is just the points and the lines between them.
Plot each point carefully. In the exam a point counts if it is within half a small square of the right place, so work out what one small square is worth on each axis first.
Worked example 2: Drawing from a table
The table shows information about the masses, in grams, of 40 apples. Draw a frequency polygon for the information in the table.
- Each class is 20 g wide. The midpoints are 110, 130, 150, 170 and 190
- Pair each midpoint with its frequency. The first two points are (110, 6) and (130, 13)
-
Your turn. Write down the coordinates of the point for the class 140 < m \le 160
The midpoint is 150 and the frequency is 15, so the point is (150, 15)
- The last two points are (170, 4) and (190, 2). Plot all five points, then join them in order with straight lines.
- Answer: the five points joined in order with straight lines, from (110, 6) to (190, 2)
Reading a frequency polygon
Work out the scale first. Count the small squares between two numbers on the frequency axis, and work out what one small square is worth.
Each point stands for one class. Read down from a point to find its midpoint, which tells you its class. Read across to the frequency axis to find its frequency.
- The total is all the frequencies added together.
- The modal class is the class with the highest point.
- For "more than 30 minutes", add the frequencies of the classes above 30, when 30 is the end of a class.
- If you know the total, a missing frequency is the total minus the frequencies you can read.
The median is the middle value. If there are n values, it is the value in position
\frac{n+1}{2}
Add up the frequencies class by class until you pass that position. The class you have reached is the class that contains the median.
Worked example 3: The total and the median class
The frequency polygon shows information about the times, in minutes, that some customers spent in a café.
(a) How many customers are there altogether?
(b) Find the class interval that contains the median.
- Each small square up the side is worth 1. The points are at the midpoints 5, 15, 25, 35 and 45, so the classes are 0 < t \le 10, 10 < t \le 20 and so on, up to 40 < t \le 50
- (a) Read the height of each point: 5, 12, 9, 8 and 7
-
Your turn. How many customers are there altogether?
5 + 12 + 9 + 8 + 7 = 41
- (b) The median is the value in position \frac{41+1}{2} = 21
- Count up: 5 in the first class, 5 + 12 = 17 in the first two, and 17 + 9 = 26 in the first three. So the 21st customer is in the third class.
- Answer: (a) 41 customers (b) 20 < t \le 30
Worked example 4: A missing point from the total
A gardener measured the heights, in cm, of 50 tomato plants. The incomplete frequency polygon shows information about the heights. The point for the class 20 < h \le 30 is missing.
(a) Work out the frequency for the class 20 < h \le 30
(b) Write down the coordinates of the missing point.
- (a) Each small square up the side is worth 1. The four points that are there have frequencies 4, 11, 13 and 6
- These classes hold 4 + 11 + 13 + 6 = 34 plants
-
Your turn. How many plants are in the class 20 < h \le 30?
50 - 34 = 16 plants
- (b) The midpoint of 20 < h \le 30 is 25, so the missing point is at 25 across and 16 up. Join it to the points on each side.
- Answer: (a) 16 (b) (25, 16)
Comparing two frequency polygons
Two frequency polygons can be drawn on the same grid, with a key to show which is which. Read each polygon on its own, using the key.
A polygon that is further to the right shows bigger values on the whole. Compare the modal classes as well. Then say what the comparison means in the question's own words, such as "Group B tended to take longer than Group A".
A higher polygon may just mean that group has more people. When the two groups are different sizes, compare the fraction of each group, not the number of people.
Worked example 5: Comparing two groups
The frequency polygons show information about the times, in minutes, that 30 Year 7 students and 30 Year 11 students spent on homework one evening.
(a) How many of the Year 11 students spent more than 60 minutes on homework?
(b) Compare the times spent on homework by the two groups.
- The key shows that the solid line is Year 7 and the dashed line is Year 11. Each small square up the side is worth 1
- (a) More than 60 minutes means the classes 60 < t \le 80 and 80 < t \le 100, with midpoints 70 and 90. On the Year 11 polygon, these points are at 10 and 6
-
Your turn. How many Year 11 students spent more than 60 minutes?
10 + 6 = 16 students
- (b) The Year 11 polygon is further to the right. Its modal class is 60 < t \le 80, but the Year 7 modal class is 20 < t \le 40
- Answer: (a) 16 students (b) The Year 11 students tended to spend longer on homework than the Year 7 students.
Checking a frequency polygon
Some questions show a frequency polygon that someone else has drawn and ask you to write down two mistakes. Check the polygon against the table one point at a time.
- Is each point above the midpoint of its class?
- Is each point at the right height?
- Does the frequency scale go up in equal steps, with no number missed out?
- Are the points joined in order with straight lines?
- Is the last point left unjoined to the first?
Say exactly what is wrong and where, such as "the point for 10 < m \le 15 is plotted at 15 instead of 12.5". A vague answer, such as "the graph is wrong", does not get the mark.
Two answers that examiners often see are not mistakes. The horizontal axis does not have to start at 0, and the first and last points should not be joined.
Worked example 6: Spotting two mistakes
The table shows information about the masses, in kg, of 36 suitcases. Kai drew a frequency polygon for the information in the table. Write down two mistakes that Kai has made.
- The table has five classes, each 5 kg wide, with frequencies 3, 8, 14, 9 and 2
- Kai's first point is at (5, 3). The height 3 is right, but 5 is the end of the class 0 < m \le 5, not its middle.
-
Your turn. At what value of m should the point for the class 0 < m \le 5 be plotted?
\frac{0+5}{2} = 2.5, so every one of Kai's points is 2.5 too far to the right.
- Kai has also drawn a line from the last point back to the first point. A frequency polygon is not closed up.
- Answer: the points are plotted at the ends of the classes instead of at the midpoints, and the last point is joined to the first point.
Common mistakes
- Plotting at the ends of the classes. Plot each point above the midpoint of its class.
- Joining the points with a curve. Join them with straight lines, drawn with a ruler.
- Joining the last point to the first point. Stop at the last point: a frequency polygon is not closed up.
- Drawing bars instead of points. Plot one point for each class and join the points with lines.
- Misreading the scale. Work out what one small square is worth before you plot or read a point.
- Giving a frequency instead of a class. For the modal class or the class with the median, write down the class interval.
More on this topic: Frequency Polygons worksheet with full solutions