All revision notes topics

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. frequency=frequency density×class width\text{frequency}=\text{frequency density}\times\text{class width}

Key termshistogramcontinuous dataclass width
Common mistake

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

frequency density=frequencyclass width\text{frequency density}=\frac{\text{frequency}}{\text{class width}} Example: 21 customers waited between 2 and 5 minutes. The class width is 5−2=35-2=3, so the frequency density is 213=7\frac{21}{3}=7. 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.

Key termsfrequency density
Exam tip

Work out the class width from the boundaries, e.g. 10<t≤2010<t\le20 has width 20−10=1020-10=10.

Section 3

Drawing a histogram

  1. Make a table with the class, frequency and class width.
  2. Work out the frequency density for each class.
  3. Draw a horizontal axis for the data (continuous, with a scale) and a vertical axis labelled frequency density.
  4. Draw a bar for each class from its lower boundary to its upper boundary, with height equal to its frequency density. The bars touch.
  5. Give the histogram a title and label the axes with units. Example: classes 0<t≤20<t\le2, 2<t≤52<t\le5, 5<t≤105<t\le10, 10<t≤2010<t\le20 with frequencies 8,21,30,118,21,30,11 have frequency densities 4,7,6,1.14,7,6,1.1.
Key termsclass boundaryscale
Exam tip

Check that the area of each bar equals the frequency: for 2<t≤52<t\le5, 3×7=213\times7=21.

Section 4

Reading a histogram: finding frequencies

To find the frequency of a class, multiply its bar height by its width: frequency=frequency density×class width\text{frequency}=\text{frequency density}\times\text{class width}. Example: classes with frequency densities 2.42.4, 3.53.5, 4.24.2, 1.51.5 and widths 10,10,20,3010,10,20,30 have frequencies 24,35,84,4524,35,84,45 and the total is 188188. The total of all the frequencies is the number of items in the data set, which you can use to check your work.

Key termstotal frequency
Common mistake

Adding the frequency densities to find the total. Add the frequencies, which are density ×\times 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 20≤a<4020\le a<40 has frequency 8484. The number aged 20 to 30 is 1020×84=42\frac{10}{20}\times84=42, or 4.2×10=424.2\times10=42. Add the whole classes below or above the part. For under 30: 24+35+42=10124+35+42=101. Say that your answer is an estimate, because the real spread inside a class is not known.

Key termsestimateevenly spread
Exam tip

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

  1. A café in Seoul records how long tt minutes 70 customers wait to be served. The results are: 0<t≤20<t\le2: 8 customers; 2<t≤52<t\le5: 21 customers; 5<t≤105<t\le10: 30 customers; 10<t≤2010<t\le20: 11 customers. The data is to be shown in a histogram.
    Find the frequency density of the class 10<t≤2010<t\le20.2 marks
  2. A student investigates classes of different widths that each have frequency 12. The class 0<x≤10<x\le1 (width 1) has frequency density 12. The class 1<x≤31<x\le3 (width 2) has frequency density 6. The class 3<x≤73<x\le7 (width 4) has frequency density 3. The class 7<x≤157<x\le15 (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
  3. A histogram shows the ages aa in years of the people who visited a museum in Cape Town on one day. The frequency densities are: 0≤a<100\le a<10: 2.4; 10≤a<2010\le a<20: 3.5; 20≤a<4020\le a<40: 4.2; 40≤a<7040\le a<70: 1.5.
    Find the number of visitors in each class and the total number of visitors.3 marks
See the full worksheet

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).