HistogramsIB MYP Maths Extended: Revision notes
Section 1
Histograms and why the area matters
A histogram shows continuous data (such as time, mass or age) in classes. There are no gaps between the bars. Unlike a bar chart, a histogram can have classes of unequal width. When the widths are unequal, the height of the bar cannot be the frequency, or wide classes would look bigger than they are. Instead, the area of each bar represents the frequency, and the height is the frequency density.
Leaving gaps between the bars, or reading the height of a bar as the frequency when the class widths are unequal.
Section 2
Frequency density
Example: 21 customers waited between 2 and 5 minutes. The class width is , so the frequency density is . Add a column for the class width and another for the frequency density to your table. The class with the tallest bar is the one with the greatest frequency density, which is not always the class with the greatest frequency. For example, a class with frequency 30 and width 5 has a density of 6, which is lower than the density 7 of a class with frequency 21 and width 3.
Work out the class width from the boundaries, e.g. has width .
Section 3
Drawing a histogram
- Make a table with the class, frequency and class width.
- Work out the frequency density for each class.
- Draw a horizontal axis for the data (continuous, with a scale) and a vertical axis labelled frequency density.
- Draw a bar for each class from its lower boundary to its upper boundary, with height equal to its frequency density. The bars touch.
- Give the histogram a title and label the axes with units. Example: classes , , , with frequencies have frequency densities .
Check that the area of each bar equals the frequency: for , .
Section 4
Reading a histogram: finding frequencies
To find the frequency of a class, multiply its bar height by its width: . Example: classes with frequency densities , , , and widths have frequencies and the total is . The total of all the frequencies is the number of items in the data set, which you can use to check your work.
Adding the frequency densities to find the total. Add the frequencies, which are density width.
Section 5
Interpreting: estimating from part of a class
Sometimes a question asks about a range that covers only part of a class. Assume the data is evenly spread across the class, so the number you want is proportional to the part of the width. Example: the class has frequency . The number aged 20 to 30 is , or . Add the whole classes below or above the part. For under 30: . Say that your answer is an estimate, because the real spread inside a class is not known.
Draw a quick sketch of the bars and shade the part you need, so you add the right pieces.
That's the notes covered.
Carry on to the next subtopic.
Exam questions on Histograms
- A café in Seoul records how long minutes 70 customers wait to be served. The results are: : 8 customers; : 21 customers; : 30 customers; : 11 customers. The data is to be shown in a histogram.Find the frequency density of the class .2 marks
- A student investigates classes of different widths that each have frequency 12. The class (width 1) has frequency density 12. The class (width 2) has frequency density 6. The class (width 4) has frequency density 3. The class (width 8) has frequency density 1.5.Use the rule to find the frequency of a class of width 6 with frequency density 2.5, and the frequency density of a class of width 3 with the same frequency.2 marks
- A histogram shows the ages in years of the people who visited a museum in Cape Town on one day. The frequency densities are: : 2.4; : 3.5; : 4.2; : 1.5.Find the number of visitors in each class and the total number of visitors.3 marks
Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).