Histograms, Polygons and Cumulative Relative Frequency
Theory
Histograms and polygons turn a frequency table into a picture. This Year 11 Mathematics Advanced page covers frequency and relative frequency histograms, frequency polygons, cumulative frequency histograms and polygons, and cumulative relative frequency, and how to read the mode, median, totals and percentages from each graph.
A frequency histogram has one column for each score, centred on the score, with no gaps between columns. The height of each column is the frequency. A frequency polygon joins the midpoints of the tops of the columns and is closed off on the horizontal axis one score below the first column and one score above the last. It can be drawn on its own, with a point above each score.
A relative frequency histogram or polygon has the same shape, but the vertical axis shows the relative frequency \(\dfrac{f}{n}\). The heights add to \(1\). Multiply a height by \(n\) to get back to a frequency.
A cumulative frequency histogram has column heights equal to the cumulative frequencies, so it climbs like a staircase to \(n\). The cumulative frequency polygon starts at the bottom left corner of the first column and joins the top right-hand corners of the columns. Each step up is the frequency of that score.
The cumulative relative frequency (CRF) is the cumulative frequency divided by \(n\): the fraction of scores at or below each score. It finishes at \(1\), or \(100\%\).
From any of these graphs: the mode is the score with the tallest column (or highest point of a frequency polygon), the total is the sum of the frequencies, and the median comes from the cumulative frequencies.
Relative frequency, and back again:
Cumulative relative frequency:
From a cumulative frequency histogram:
Position of the median among \(n\) ordered scores:
How to read histograms and polygons
- Identify the graph from its vertical axis: frequency, relative frequency or cumulative frequency.
- Read the heights above each score. On a frequency polygon ignore the two end points on the axis; they are not data.
- Convert as needed: relative frequency \(\times n\) gives a frequency; differences of cumulative heights give frequencies; cumulative frequency \(\div n\) gives the CRF.
- Answer: mode from the largest frequency, totals and percentages from sums, and the median from the running totals and the middle position.
(ii) What is the mode?
(iii) Find the median.
(iv) What percentage of the homes have \(4\) or more people?
Column heights: \(4,\ 7,\ 10,\ 6,\ 2,\ 1\)
(i)
| \(4+7+10+6+2+1\) | \(=\) | \(\mathbf{30}\text{ homes}\) |
(ii) The tallest column (frequency \(10\)) is above \(3\), so mode \(=\mathbf{3}\) people.
(iii) \(n=30\): average the \(15\)th and \(16\)th scores.
Cumulative frequencies: \(4,\ 11,\ 21,\ 27,\ 29,\ 30\)
The \(12\)th to \(21\)st scores are all \(3\), so median \(=\mathbf{3}\) people.
(iv) \(4\) or more people: \(6+2+1=9\) homes.
| \(\dfrac{9}{30}\times 100\%\) | \(=\) | \(\mathbf{30\%}\) |
(ii) How many students scored \(4\)?
(iii) What percentage of the class scored \(4\) or more?
(i) The column for \(2\) has relative frequency \(0.20\), and that is \(8\) students.
| \(0.20\times n\) | \(=\) | \(8\) |
| \(n\) | \(=\) | \(\dfrac{8}{0.20}\) |
| \(\) | \(=\) | \(\mathbf{40}\text{ students}\) |
(ii) The column for \(4\) has relative frequency \(0.25\).
| \(0.25\times 40\) | \(=\) | \(\mathbf{10}\text{ students}\) |
(iii) Add the relative frequencies for \(4\) and \(5\):
| \(0.25+0.10\) | \(=\) | \(0.35\) |
| \(\) | \(=\) | \(\mathbf{35\%}\) |
(ii) Find the median.
(iii) Find the cumulative relative frequency for a score of \(2\), and say what it means.
(i) Subtract consecutive column heights:
| \(\text{Frequency of }3\) | \(=\) | \(18-8\) |
| \(\) | \(=\) | \(\mathbf{10}\text{ students}\) |
(ii) Half the total is \(\dfrac{40}{2}=20\), so look at the \(20\)th and \(21\)st scores. The column for \(3\) reaches \(18\) and the column for \(4\) reaches \(30\), so the \(19\)th to \(30\)th scores are all \(4\).
\(\therefore\) median \(=\mathbf{4}\)
(iii)
| \(\text{CRF}\) | \(=\) | \(\dfrac{8}{40}\) |
| \(\) | \(=\) | \(\mathbf{0.2}\) |
\(20\%\) of the students scored \(2\) or less.
| Score | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|
| Frequency | 3 | 5 | \(k\) | 9 | 4 |
(i) Find the value of \(k\).
(ii) Find the mode.
(iii) Find the cumulative relative frequency for a score of \(3\).
(i) A median of \(3.5\) means the two middle scores are \(3\) and \(4\), so exactly half the scores are \(3\) or less.
Cumulative frequency up to \(3\): \(3+5+k=8+k\)
Total: \(n=21+k\)
| \(\dfrac{21+k}{2}\) | \(=\) | \(8+k\) |
| \(21+k\) | \(=\) | \(16+2k\) |
| \(k\) | \(=\) | \(\mathbf{5}\) |
Check: \(n=26\) and the cumulative frequencies are \(3,\ 8,\ 13,\ 22,\ 26\), so the \(13\)th score is \(3\) and the \(14\)th is \(4\). ✓
(ii) Frequencies \(3,\ 5,\ 5,\ 9,\ 4\): the largest is \(9\).
\(\therefore\) mode \(=\mathbf{4}\)
(iii)
| \(\text{CRF}\) | \(=\) | \(\dfrac{13}{26}\) |
| \(\) | \(=\) | \(\mathbf{0.5}\) |
A CRF of exactly \(0.5\) at \(3\) is why the median is halfway between \(3\) and \(4\).
Common pitfalls
Frequently asked questions
What does a frequency polygon join?
It joins the midpoints of the tops of the columns of a frequency histogram, and is closed off on the horizontal axis one score below the first column and one score above the last.
What is the difference between a histogram and a relative frequency histogram?
They have the same shape. A frequency histogram shows counts on the vertical axis, while a relative frequency histogram shows each count divided by the total, so its heights add to 1.
How do you find the total from a relative frequency histogram?
You need one known frequency. Divide that frequency by its relative frequency. For example, if 8 students have relative frequency 0.2, there are 8 divided by 0.2, which is 40, students.
How do you read a cumulative frequency histogram?
Each column height is the number of scores at or below that score. Subtract the height of the column before to get the frequency of a score, and use the heights to find the position of the median.
What is cumulative relative frequency?
It is the cumulative frequency divided by the total. It shows the fraction or percentage of scores at or below each score, and it rises to 1, or 100 per cent.