- Practice
- About 15 min
- 5 practice questions
Frequency polygons from a histogram
Draw a frequency polygon by joining the mid-points of the tops of a histogram's rectangles, add the zero-frequency classes at both ends, see why its area equals the histogram's, and handle a first class that starts at 0.
If something looks wrong, please tell us.
By the end of this lesson you can
- Draw a frequency polygon on top of a histogram.
- Add the imaginary classes of zero frequency before the first and after the last class.
- Explain why the polygon and histogram have the same area, and close the polygon when the first class starts at 0.
A frequency polygon shows the same grouped data as a histogram but with points joined by straight lines. It is easy to draw two polygons on one graph, so it is useful for comparing two sets of data.
From histogram to polygon
Use the heights of 40 students from lesson 2 (made-up data for practice): 140-145: 4, 145-150: 7, 150-155: 12, 155-160: 9, 160-165: 5, 165-170: 3.
Drawing the frequency polygon
- Draw the histogram Touching rectangles with heights 4, 7, 12, 9, 5, 3.
- Mark the mid-point of each top At heights 142.5, 147.5, 152.5, 157.5, 162.5, 167.5 cm.
- Add two zero points Mid-points of the imaginary classes 135-140 and 170-175: (137.5, 0) and (172.5, 0).
- Join all points in order With straight line segments. The closed figure is the frequency polygon.
| Point | A | B | C | D | E | F | G | H |
|---|---|---|---|---|---|---|---|---|
| Height (cm) | 137.5 | 142.5 | 147.5 | 152.5 | 157.5 | 162.5 | 167.5 | 172.5 |
| Frequency | 0 | 4 | 7 | 12 | 9 | 5 | 3 | 0 |
Why add the zero-frequency classes?
There are no students in 135-140 or 170-175, but adding these classes lets the polygon come down to the axis at both ends. Then the area of the frequency polygon equals the area of the histogram. Each line segment cuts a small triangle off a rectangle and adds a triangle of the same size outside it. The two triangles are congruent (same base half-width, same height difference, vertical angles equal), so what is lost equals what is gained.
Frequency polygon: join the mid-points of the tops of the rectangles, starting and ending on the axis at the mid-points of the zero-frequency classes just outside the data.
Worked example: when the first class starts at 0
Marks of 32 students (made-up data for practice): 0-10: 3, 10-20: 6, 20-30: 10, 30-40: 8, 40-50: 5. The class before 0-10 would be (−10)-0, with mid-point −5, which lies to the left of the vertical axis where marks cannot be negative.
- Mark B(5, 3), C(15, 6), D(25, 10), E(35, 8), F(45, 5) at the mid-points of the tops.
- Imagine the axis extended to −10 and join B to the mid-point (−5, 0) of the imaginary class. This line crosses the vertical axis at a point A. Since x = 0 is halfway between −5 and 5, A is at half the first frequency: (0, 1.5).
- Keep only the part to the right of the vertical axis: the polygon runs from the origin O up to A and then through B, C, D, E, F.
- At the right end, join F to G(55, 0), the mid-point of the class 50-60 that follows the last class.
So the polygon is OABCDEFG. The textbook draws its example in the same way.
Key takeaways: a frequency polygon joins the mid-points of the tops of a histogram's rectangles, and is closed using zero-frequency classes just before and after the data, so its area equals the histogram's. If the first class starts at 0, the line towards the imaginary class is cut off at the vertical axis.
Check your understanding
-
1. For the class 150-155, where is the polygon's point placed?
- (150, frequency)
- (155, frequency)
- (152.5, frequency)
- (5, frequency)
Show answer
Answer: C. The point is at the mid-point of the top of the rectangle: x = (150 + 155)/2 = 152.5, at height equal to the frequency.
-
2. A histogram's classes run from 20-30 to 60-70. Which zero-frequency points close the frequency polygon?
- (10, 0) and (80, 0)
- (20, 0) and (70, 0)
- (0, 0) and (70, 0)
- (15, 0) and (75, 0)
Show answer
Answer: D. The imaginary classes are 10-20 and 70-80, with mid-points 15 and 75. The polygon starts at (15, 0) and ends at (75, 0).
-
3. Why is the area of a frequency polygon (with the zero classes added) equal to the area of the histogram?
- Because each triangle cut off from a rectangle is congruent to a triangle added outside it
- Because the polygon has more sides
- Because all frequencies are equal
- Because the class marks are whole numbers
Show answer
Answer: A. Each line segment between neighbouring mid-points removes a triangle from one rectangle and adds a congruent triangle beside it, so the total area does not change.
-
4. The first class is 0-10 with frequency 8. Where does the line from (5, 8) to (−5, 0) cross the vertical axis?
- (0, 8)
- (0, 4)
- (0, 0)
- (0, 2)
Show answer
Answer: B. x = 0 is halfway between −5 and 5, so the height there is half of 8, that is 4.
-
5. A frequency polygon is drawn for 6 classes, including the two zero-frequency end points. How many points are joined?
- 6
- 7
- 8
- 12
Show answer
Answer: C. One point for each of the 6 classes plus 2 zero points at the ends: 6 + 2 = 8 points.
Sign in to keep track of the lessons you finish.