Skip to content
Skip to page content
soylai.com

Histograms and Ogives — chapter notes

8 sections 5 min readBeta

1. Histograms

A histogram shows a grouped frequency distribution of a continuous variable. Each class is a bar standing on its class boundaries; the bars touch, and for classes of equal width the height of a bar is the frequency of its class.

Example: the typing speeds of 4040 trainees on classes of width 1010 from 2020 have heights 4,6,12,9,6,34, 6, 12, 9, 6, 3; the heights add up to 4040 and the tallest bar is 4040–5050.

  • histogram outline
Bars touch and the height of each bar is the frequency: the tallest bar is $40$–$50$.
A histogram is for continuous classes, so its bars touch.
Bar graphHistogram
Dataseparate categoriescontinuous classes
Barsgaps between barsbars touch
Horizontal axisnames of categoriesclass boundaries on a number line
Heightthe value of the categorythe frequency of the class

Formulas

  • Check on a histogram
    sum of bar heights=n\text{sum of bar heights} = n

Key terms

Histogram

A graph of touching bars on class boundaries whose heights are the frequencies.

Class boundary

The common edge of two neighbouring continuous classes.

2. Making classes continuous and drawing the histogram

If there is a gap between classes (1010–1919, 2020–2929, …), subtract 0.50.5 from each lower limit and add 0.50.5 to each upper limit: 9.59.5–19.519.5, 19.519.5–29.529.5, …

Steps: write continuous classes; choose a scale and label both axes; mark the boundaries on the horizontal axis; draw touching bars; check the heights add up to nn.

Subtract $0.5$ from each lower limit and add $0.5$ to each upper limit.
Given classContinuous classBar height
1010–19199.59.5–19.519.544
2020–292919.519.5–29.529.599
3030–393929.529.5–39.539.51212
4040–494939.539.5–49.549.588
5050–595949.549.5–59.559.555
6060–696959.559.5–69.569.522
  • histogram outline
Drawn on the continuous classes $9.5$–$19.5$, $19.5$–$29.5$, and so on.
Five steps to a histogram.

Formulas

  • Adjustment for a gap of 1
    l−0.5andu+0.5l - 0.5 \quad \text{and} \quad u + 0.5

Key terms

Discontinuous class

A class with a gap before the next, such as 1010–1919, 2020–2929.

3. Estimating the mode from a histogram

The tallest bar is the modal bar. Join the top right corner of the bar before it to the top right corner of the modal bar, and the top left corner of the modal bar to the top left corner of the bar after it. The lines cross inside the modal class; the horizontal value below the crossing point is the estimated mode. It leans towards the taller of the two neighbouring bars.

Example: bar heights 4,8,20,12,64, 8, 20, 12, 6 on classes of width 55 from 1010: the lines meet at (23,15.2)(23, 15.2), so the mode is about 2323.

  • histogram outline
  • join to the next bar
  • join to the previous bar
The two lines cross at $(23, 15.2)$: the estimated mode is $23$ kg.
The corner-joining construction.
Estimated mode $= 23$ kg.
StepWorking
Modal bar2020–2525, height 2020
Bar before / afterheights 88 and 1212
Line 1from (20,8)(20, 8) to (25,20)(25, 20): height 8+2.4t8 + 2.4t, t=x−20t = x - 20
Line 2from (20,20)(20, 20) to (25,12)(25, 12): height 20−1.6t20 - 1.6t
Meeting point2.4t+1.6t=122.4t + 1.6t = 12, so t=3t = 3, x=23x = 23, height 15.215.2

Key terms

Modal bar

The tallest bar of a histogram, standing on the modal class.

4. Cumulative frequency

The less-than cumulative frequency of a class is the number of observations below its upper boundary: add the frequencies from the first class. The last cumulative frequency equals nn.

Example: frequencies 6,10,8,8,4,46, 10, 8, 8, 4, 4 give 6,16,24,32,36,406, 16, 24, 32, 36, 40.

The last cumulative frequency is the total, $40$.
Time (min)Frequency ffCumulative frequency
0–106666
10–2010101616
20–30882424
30–40883232
40–50443636
50–60444040
Each row counts everything below the upper boundary.
Upper boundaryNumber of riders less than it
101066
20201616
30302424
40403232
50503636
60604040
The words used on the ogive.
WordMeaning
Frequencyobservations in one class
Cumulative frequencyrunning total: observations in this class and all classes before it
Less-than cumulative frequencyobservations below the upper boundary of the class
Ogivethe line graph of upper boundaries against cumulative frequencies

Key terms

Cumulative frequency

The running total of frequencies up to and including a class.

5. The less-than ogive

Plot each (upper boundary, cumulative frequency), add the starting point (lower boundary of the first class, 00), and join the points with a smooth rising curve (straight segments are used for readings). The ogive never falls; it is steepest over the class with the greatest frequency (for equal widths).

Not in the ICSE 2027 syllabus: the more-than ogive; only the less-than ogive is used.

  • less-than ogive
The ogive passes through $(0, 0)$, $(10, 6)$, $(20, 16)$, $(30, 24)$, $(40, 32)$, $(50, 36)$ and $(60, 40)$.
Five steps to an ogive.

Key terms

Ogive

The graph of cumulative frequency against upper class boundary.

6. Median, quartiles and inter-quartile range

Read the ogive at these heights:

  • Median: n2\dfrac{n}{2}; lower quartile Q1Q_1: n4\dfrac{n}{4}; upper quartile Q3Q_3: 3n4\dfrac{3n}{4}.
  • Inter-quartile range =Q3−Q1= Q_3 - Q_1, the spread of the middle half of the data.

On the segment containing the height, use proportional parts. Example (n=40n = 40): Q1=14Q_1 = 14, median 2525, Q3=37.5Q_3 = 37.5, so the inter-quartile range is 23.523.5 minutes.

  • less-than ogive
Heights $10$, $20$, $30$ give $14$, $25$ and $37.5$ minutes.
  • less-than ogive
The median is read at height $\dfrac{40}{2} = 20$: it is $25$ minutes.
Proportional parts on one segment of the ogive.
StepWorking
Total frequencyn=40n = 40, so the median is at height 2020
Segment containing height 2020from (20,16)(20, 16) to (30,24)(30, 24)
Rise and runrises 88 over a run of 1010
Needed rise20−16=420 - 16 = 4, so the run is 48×10=5\dfrac{4}{8} \times 10 = 5
Median20+5=2520 + 5 = 25 minutes
The inter-quartile range is $23.5$ minutes.
ReadingHeightSegmentValue
Lower quartile Q1Q_11010(10,6)(10, 6) to (20,16)(20, 16)10+410×10=1410 + \dfrac{4}{10} \times 10 = 14
Median2020(20,16)(20, 16) to (30,24)(30, 24)20+48×10=2520 + \dfrac{4}{8} \times 10 = 25
Upper quartile Q3Q_33030(30,24)(30, 24) to (40,32)(40, 32)30+68×10=37.530 + \dfrac{6}{8} \times 10 = 37.5
Inter-quartile rangeQ3−Q1Q_3 - Q_137.5−14=23.537.5 - 14 = 23.5

Formulas

  • Heights of the readings
    median at n2,Q1 at n4,Q3 at 3n4\text{median at } \dfrac{n}{2}, \quad Q_1 \text{ at } \dfrac{n}{4}, \quad Q_3 \text{ at } \dfrac{3n}{4}
  • Inter-quartile range
    Q3−Q1Q_3 - Q_1

Key terms

Quartile

A value below which one quarter (Q1Q_1), half (median) or three quarters (Q3Q_3) of the observations lie.

Inter-quartile range

Q3−Q1Q_3 - Q_1.

7. Counts from the ogive

Going from a value to a count: the height of the ogive at xx is the number of observations below xx; the number above xx is nn minus that height; between two marks it is the difference of the two heights.

Example (n=60n = 60 marks, height 4949 at 6565): 4949 below, 60−49=1160 - 49 = 11 above. Going the other way, the cut-off for the best 2020 of 6060 is read at height 60−20=4060 - 20 = 40.

  • less-than ogive
At $65$ marks the ogive has height $49$: $49$ pupils scored less than $65$.
Counts above, below and between marks.
QuestionWorkingAnswer
Fewer than 6565height at 6565 on the segment (60,44)(60, 44) to (70,54)(70, 54): 44+1010×5=4944 + \dfrac{10}{10} \times 5 = 494949 pupils
More than 656560−4960 - 491111 pupils
Fewer than 5555segment (50,30)(50, 30) to (60,44)(60, 44): 30+1410×5=3730 + \dfrac{14}{10} \times 5 = 373737 pupils
From 5555 to 656549−3749 - 371212 pupils

Formulas

  • Number above a mark
    above x=n−height at x\text{above } x = n - \text{height at } x

8. Accuracy of readings

Readings from a graph are accepted within a tolerance (for example ±1\pm 1 on the horizontal scale). Give the value found by proportional parts on the right segment, write the coordinates of each point read, and use a ruler and a sensible scale. Check against the table: a reading must lie in the right class.

Neat graphs give reliable readings.
HabitWhy
Use a ruler and a sharp pencilreadings from the graph are only as exact as the drawing
Choose the same scale for plotting and readingavoids misreading the grid
Mark the point of the reading and write its coordinatesearns method marks
Give the answer with a unit and a tolerance in minda graph reading within the stated tolerance is accepted
Check against the table when you cana reading outside the class cannot be right

Key terms

Tolerance

The allowed difference between a graph reading and the interpolated value.

Exam tips

How marks are awarded

  • Histogram (3–4 marks): continuous classes 1; scale and labels 1; bars 1–2.
  • Mode from a histogram (3 marks): modal bar and neighbours 1; lines 1; reading 1.
  • Ogive (3–4 marks): cumulative table 1; points 1; curve 1.
  • Median or quartile (2 marks): height marked 1; reading 1. Counts (2–3 marks): height at the mark 1; subtraction 1.
  • 10-mark structured question: parts (a), (b), (c) usually 3 + 3 + 4; show all working.

Common mistakes

  1. Leaving gaps between the bars of a histogram.
  2. Not making discontinuous classes continuous.
  3. Plotting the ogive against the lower boundary, or forgetting the starting point.
  4. Reading the median at the height nn instead of n2\dfrac{n}{2}.
  5. Quoting the height when the value is asked (or the other way round).
  6. Giving the number below a mark when the number above is asked.