Histograms

Histograms

Spec 6.1 · Edexcel IGCSE Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A histogram has frequency density on the vertical axis, and the area of each bar shows the frequency.
  • Frequency density =frequencyclass width=\dfrac{\text{frequency}}{\text{class width}}.
  • Frequency == frequency density ×\times class width.
  • For part of a class, use the same density times the sub-width.
  • With no scale on the axis, use one known bar to find what a unit of height is worth.

Histograms and bar charts

A histogram plots frequency density, so area, not height, represents frequency.

A histogram shows continuous grouped data. Class widths are often unequal, and plotting frequency directly would make a wide class look misleadingly tall. Frequency density corrects for class width:

Frequency density=FrequencyClass width\text{Frequency density}=\frac{\text{Frequency}}{\text{Class width}}

Histogram of the data below: bar area is frequency. Widths 10, 10, 20, 30 minutes (1 unit = 10 minutes); densities 2.0, 3.0, 1.2, 0.4.

Bar chart

Data:
Discrete or categories
Vertical axis:
Frequency
Frequency is shown by:
Height of bar

Histogram

Data:
Continuous, grouped
Vertical axis:
Frequency density
Frequency is shown by:
Area of bar

What does the area of a bar in a histogram represent?

Calculating frequency density

Find each class width, then divide the frequency by it.

The class widths below are unequal (10, 10, 20, 30), which is exactly when frequency density is essential. Otherwise the wide bars would look too tall for their true frequency.

0510152025301.20.40 to 1010 to 2020 to 4040 to 70ClassValue
  • Frequency
  • Frequency density
Same data: the wide classes look tall as frequency but not as frequency density.

Class width

0≤t<100\le t<10:
10
10≤t<2010\le t<20:
10
20≤t<4020\le t<40:
20
40≤t<7040\le t<70:
30

Frequency

0≤t<100\le t<10:
20
10≤t<2010\le t<20:
30
20≤t<4020\le t<40:
24
40≤t<7040\le t<70:
12

Frequency density

0≤t<100\le t<10:
2.0
10≤t<2010\le t<20:
3.0
20≤t<4020\le t<40:
1.2
40≤t<7040\le t<70:
0.4

A class 30≤t<5030\le t<50 has frequency 18. What is its frequency density?

Frequency from area

Multiply the bar's frequency density by its class width.

Frequency=frequency density×class width\text{Frequency}=\text{frequency density}\times\text{class width}

You are given a histogram with a scale and asked how many values lie in a class, or in part of a class. Density is constant within one bar, so for part of a class use the same density times the smaller width.

width 20density 1.2
Area = density × width = 1.2 × 20 = 24, the frequency. The x axis is drawn at 1 unit = 10.
  • Frequency densityfrequencyclass width\dfrac{\text{frequency}}{\text{class width}}
  • Frequencydensity×width\text{density}\times\text{width}

Worked example

A bar over 20≤t<4020\le t<40 has frequency density 1.2. Find the frequency of the whole class, and of 20≤t<3020\le t<30.

A bar has frequency density 0.8 and class width 15. What is the frequency?

Using a known bar

Use one bar whose frequency is given to find what one unit of height is worth.

Sometimes one bar's frequency is given but the density axis has no numbers. Work out the density of that bar, find the value of one unit (for example one small square), then apply it to the other bars. This is the classic "find the missing frequency" question.

  1. 1

    Use the known bar

    frequency density = frequency ÷ class width

  2. 2

    Work out one unit

    e.g. 1 small square = 0.2

  3. 3

    Measure the other bars

    in the same units

  4. 4

    Multiply by width

    each density by its own class width

Finding the scale from a known bar

Worked example

A bar of width 20 is 6 small squares tall and represents 24 students. Another bar of width 10 is 9 small squares tall. How many students does it represent?

A bar of width 5 is 4 squares tall, where 1 square = 0.5 frequency density. What frequency does it show?

Unequal widths

Examiners check you divide by width to plot, and multiply by width to read a frequency.

With equal widths, density is proportional to frequency and mistakes cost less. With unequal widths you must:

  • divide by class width before plotting
  • multiply by class width to recover frequency, not just read the height
  • handle a very wide or narrow last class correctly, such as 70≤t<10070\le t<100 with width 30
0102030405060708090100010204070100
Unequal class boundaries: widths 10, 10, 20, 30 and 30. Divide by each width before plotting.

Equal widths

Bar height axis:
Could loosely use frequency
Risk:
Low
Comparing bars visually:
Height alone is fine

Unequal widths

Bar height axis:
Must use frequency density
Risk:
High: common dropped marks
Comparing bars visually:
Only area is meaningful

Why must a histogram with unequal class widths use frequency density?

Try an exam question

A histogram is drawn for the times, tt minutes, taken by a group of students. The class 30≤t<5030\le t<50 has frequency 1818. The class 50≤t<8050\le t<80 has frequency density 0.60.6. (a) Work out the frequency density for 30≤t<5030\le t<50. (b) Work out the frequency for 50≤t<8050\le t<80.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

What is the frequency density of the 0–10 minute class?

1 mark, marked against the mark scheme

Revision notes