Frequency And Cumulative Frequency Graphs
Theory
Frequency histograms and polygons show how often each score occurs; cumulative frequency histograms and ogives show running totals. This Year 11 Mathematics Standard page covers reading and drawing these graphs, describing their shape, and using an ogive to estimate the median, quartiles, interquartile range and the number of scores below or between two values.
A frequency histogram is a column graph for numerical data. The scores (or class centres) go on the horizontal axis and the frequency on the vertical axis. The columns are the same width, touch each other and are centred on each score; the height of each column is the frequency.
A frequency polygon joins the midpoints of the tops of the columns with straight lines. It is closed off on the horizontal axis half a column before the first column and half a column after the last. It can be drawn on the histogram or by itself.
A cumulative frequency histogram has columns whose heights are the cumulative frequencies (running totals), so the columns never go down and the last column equals the total. The frequency of a score is the jump from the column before.
An ogive (cumulative frequency polygon) joins the top right-hand corners of the cumulative frequency columns, starting from zero at the left edge of the first column. For grouped data each point is plotted at the upper end of its class: (upper end, cumulative frequency). For whole-number classes such as \(14\)–\(16\) the columns meet halfway between classes, so the upper end is \(16.5\). Reading across from the cumulative frequency axis to the ogive and down gives estimates of the median and quartiles.
The shape of a histogram can be symmetrical (a single peak in the middle with matching tails), positively skewed (bunched at low values with a tail to the right) or negatively skewed (a tail to the left). The tallest column shows the mode or modal class.
Points of an ogive for grouped data:
Where to read across from, when there are \(n\) scores in total:
From a cumulative frequency histogram, and for a percentage:
Reading a histogram or frequency polygon
- Read the height of each column (or each polygon point) to get the frequencies.
- Add the frequencies for the total, or for the scores the question asks about.
- Answer: the tallest column is the mode; a percentage is \(\dfrac{\text{count}}{\text{total}}\times 100\%\).
Drawing an ogive
- Make the cumulative frequency column.
- Plot (upper end of class, cumulative frequency) for each class, starting with a cumulative frequency of 0 at the lower end of the first class. For whole-number classes use the halfway values: the class \(14\)–\(16\) ends at \(16.5\).
- Join the points with straight lines.
Using an ogive
- Find the height on the cumulative frequency axis: \(\dfrac{n}{2}\) for the median, \(\dfrac{n}{4}\) for \(Q_1\), \(\dfrac{3n}{4}\) for \(Q_3\).
- Go across to the ogive, then down to the horizontal axis and read the value.
- To count scores below a value, go up from the value to the ogive and across to read the cumulative frequency; subtract two readings for a “between” question.
(i) How many homes are there?
(ii) What is the mode?
(iii) What percentage of the homes have more than \(3\) people?
(iv) Where does the polygon meet the horizontal axis?
Column heights: \(1\to 3\), \(2\to 7\), \(3\to 6\), \(4\to 5\), \(5\to 3\), \(6\to 1\).
(i) \(3+7+6+5+3+1=\mathbf{25}\) homes.
(ii) The tallest column is above \(2\). \(\therefore\) the mode is \(\mathbf{2}\) people.
(iii) More than \(3\) means \(4\), \(5\) or \(6\) people: \(5+3+1=9\) homes.
| \(\text{Percentage}\) | \(=\) | \(\dfrac{9}{25}\times 100\%\) |
| \(=\) | \(36\%\) |
(iv) Half a column before the first column and half a column after the last: at \(\mathbf{0}\) and \(\mathbf{7}\).
(i) How many members borrowed exactly \(2\) books?
(ii) What is the mode?
(iii) Find the median.
Column heights (cumulative frequencies): \(0\to 4\), \(1\to 10\), \(2\to 19\), \(3\to 25\), \(4\to 28\), \(5\to 30\).
(i) A frequency is the jump from the column before.
| \(\text{Exactly }2\) | \(=\) | \(19-10\) |
| \(=\) | \(9\text{ members}\) |
(ii) The jumps are \(4,\ 6,\ 9,\ 6,\ 3,\ 2\). The biggest jump, \(9\), is at \(2\) books. \(\therefore\) the mode is \(\mathbf{2}\) books.
(iii) \(30\) scores, so the median is the average of the \(15\)th and \(16\)th. The cumulative frequency goes from \(10\) to \(19\) at \(2\) books, so both are \(2\). \(\therefore\) the median is \(\mathbf{2}\) books.
| Time (min) | Frequency |
|---|---|
| \(20\) to less than \(25\) | \(6\) |
| \(25\) to less than \(30\) | \(15\) |
| \(30\) to less than \(35\) | \(18\) |
| \(35\) to less than \(40\) | \(12\) |
| \(40\) to less than \(45\) | \(9\) |
(ii) Draw the ogive and use it to estimate the median time.
(i) Cumulative frequencies: \(6,\ 21,\ 39,\ 51,\ 60\). Plot each at the upper end of its class, starting from \(0\) at \(20\) min:
\((20,\ 0),\ (25,\ 6),\ (30,\ 21),\ (35,\ 39),\ (40,\ 51),\ (45,\ 60)\)
(ii) The median is at half the total: \(\dfrac{60}{2}=30\). Go across from \(30\) to the ogive and down to the time axis.
The ogive rises from \(21\) at \(30\) min to \(39\) at \(35\) min. \(30\) is halfway between \(21\) and \(39\), so it is reached halfway between \(30\) and \(35\) min.
\(\therefore\) median \(\approx\mathbf{32.5}\) minutes.
(i) Use the ogive to find the interquartile range.
(ii) Estimate how many fish were between \(25\text{ cm}\) and \(45\text{ cm}\) long.
(i) \(Q_1\) is at \(\dfrac{80}{4}=20\) and \(Q_3\) is at \(\dfrac{3\times 80}{4}=60\).
Across from \(20\): the ogive is at \(20\) when the length is \(30\text{ cm}\), so \(Q_1=30\text{ cm}\).
Across from \(60\): the ogive is at \(60\) when the length is \(50\text{ cm}\), so \(Q_3=50\text{ cm}\).
| \(\text{IQR}\) | \(=\) | \(50-30\) |
| \(=\) | \(20\text{ cm}\) |
(ii) Read the cumulative frequency at each length, then subtract.
At \(25\text{ cm}\): halfway between \(8\) and \(20\), so \(14\) fish.
At \(45\text{ cm}\): halfway between \(44\) and \(60\), so \(52\) fish.
| \(52-14=38\) |
\(\therefore\) about \(\mathbf{38}\) fish were between \(25\text{ cm}\) and \(45\text{ cm}\) long.
Common pitfalls
Frequently asked questions
What is the difference between a histogram and a frequency polygon?
A histogram shows each frequency as a column; a frequency polygon joins the midpoints of the tops of those columns with straight lines and is closed off on the horizontal axis half a column beyond each end. They show the same information.
What is an ogive?
An ogive is a cumulative frequency polygon. It joins the top right-hand corners of a cumulative frequency histogram, so for grouped data each point is (upper end of class, cumulative frequency). It always rises from 0 to the total.
How do you find the median from an ogive?
Halve the total to get \(\dfrac{n}{2}\). Go across from that height on the cumulative frequency axis to the ogive, then down to the horizontal axis. The value there is the median.
How do you find the interquartile range from an ogive?
Read across from \(\dfrac{n}{4}\) to get \(Q_1\) and from \(\dfrac{3n}{4}\) to get \(Q_3\), then subtract: \(\text{IQR}=Q_3-Q_1\).
How do you find the frequency from a cumulative frequency histogram?
Subtract the height of the column before from the height of the column you want. The biggest jump shows the mode or modal class.
What does a positively skewed histogram look like?
The tall columns are at the low values on the left and the columns get shorter towards the right, so the tail points to the right. A negatively skewed histogram has its tail pointing to the left.