Ogive (graphical representation)

Turn a table of grouped frequencies into a smooth rising curve, and the point where two such curves cross tells you the median without a single formula being written down. That curve is an ogive — the graph of cumulative frequency against class boundary — and it is the visual twin of the median-of-grouped-data calculation you already know. A scope note first: in the current CBSE (NCERT) Class 10 rationalised syllabus, ogive construction has been de-emphasised and removed from the examinable Statistics chapter. You are examined on finding the median of grouped data using the cumulative-frequency formula method only. This section exists so you understand why that formula works, and as background for anyone who meets ogives in data-handling or later study — not as board-exam material.

The core insight

An ogive plots cumulative frequency against class boundary — rising for the less-than form, falling for the more-than form — and the xx-coordinate where the two curves intersect is a graphical estimate of the median, the same number the formula l+(n/2−cff)hl+\left(\frac{n/2-cf}{f}\right)h computes numerically.

The core idea

An ogive is built from a cumulative frequency table, and there are exactly two kinds, distinguished by which class boundary is plotted and which direction the curve moves.

  • Less-than ogive. Plot the upper class limit of each interval on the xx-axis against the cumulative frequency of observations less than that limit on the yy-axis. Successive cumulative frequencies only grow, so the curve rises monotonically from left to right, starting at (lower limit of first class, 0)(\text{lower limit of first class},\,0).
  • More-than ogive. Plot the lower class limit of each interval against the cumulative frequency of observations greater than or equal to that limit. This curve falls monotonically from left to right, starting near the total frequency nn at the left edge.

Both curves are built from the same raw frequency table; they are simply two different bookkeeping directions through it. Drawn on the same axes, they necessarily cross once, because one is rising from near zero and the other is falling from near nn.

Figure
Two S shaped curves on one grid a rising less than ogive and a falling more than ogive crossing at one point whose x coordinate is labelled median
Less-than and more-than ogives cross at the median class boundary (x) cumulative frequency less-than ogive more-than ogive median

The value of n/2n/2 marked on the yy-axis of the less-than ogive, carried across to the curve and then down to the xx-axis, lands at the same point as the intersection of the two curves — both are graphical readings of the median. Algebraically that reading is computed by the cumulative-frequency formula:

Median=l+(n2−cff)×h\text{Median} = l + \left(\frac{\dfrac{n}{2}-cf}{f}\right)\times h

where: ll is the lower boundary of the median class (the class in whose cumulative frequency n/2n/2 first falls), nn is the total number of observations, cfcf is the cumulative frequency before the median class, ff is the frequency of the median class, and hh is the class width. Notice that only the less-than table is needed for the formula — the more-than ogive is not required for calculation, but it is useful as a visual cross-check: since both ogives are built from the same data, their curves must cross inside the same median class, at (approximately) the same xx-value the formula produces. If they crossed anywhere else, it would be a sign of a bookkeeping error in one of the two cumulative frequency tables.

Why it works

The median class is, by definition, the class interval that contains the n2\frac{n}{2}-th observation when all observations are arranged in order. Inside that class we don't know exactly where the individual values sit, so we make the standard assumption used throughout grouped-data statistics: the observations are spread uniformly across the class width hh.

Step 1. Before the median class, cfcf observations have already been counted. We still need n2−cf\frac{n}{2}-cf more observations to reach the halfway mark, and these must come from inside the median class, which itself contains ff observations spread evenly across width hh.

Step 2. Under the uniform-spread assumption, each unit of frequency inside the median class corresponds to a slice of width h/fh/f along the number line. Advancing n2−cf\frac{n}{2}-cf units of frequency from the class's lower boundary ll therefore means advancing a distance of (n/2−cff)×h\left(\frac{n/2-cf}{f}\right)\times h along the xx-axis, which is exactly the correction term added to ll in the formula.

Step 3. This is precisely what the ogive intersection (or the single-ogive-plus-horizontal-line construction) reads off visually: the curve's rise from cfcf to n/2n/2 within the median class is a straight-line approximation of that same uniform spread, and the xx-value where the curve reaches height n/2n/2 is the graphical median — numerically identical, in principle, to the formula answer.

Worked example

Consider the grouped frequency distribution used in the "Median of grouped data" article, so the two methods can be compared directly.

Class0–1010–2020–3030–4040–50
Frequency5815166

Step 1. Total observations: n=5+8+15+16+6=50n = 5+8+15+16+6 = 50, so n2=25\frac{n}{2} = 25.

Step 2. Build the less-than cumulative frequency table by running totals: 10→510\to5, 20→1320\to13, 30→2830\to28, 40→4440\to44, 50→5050\to50. Since 2525 first appears (is exceeded) inside the class 2020–3030 (cf jumps from 1313 to 2828), this is the median class: l=20l=20, cf=13cf=13, f=15f=15, h=10h=10.

Step 3. Apply the formula: Median=20+(25−1315)×10=20+1215×10=20+8=28\text{Median} = 20 + \left(\dfrac{25-13}{15}\right)\times 10 = 20 + \dfrac{12}{15}\times 10 = 20+8 = \mathbf{28}.

Step 4 — the graphical check. Plotting the less-than ogive points (10,5),(20,13),(30,28),(40,44),(50,50)(10,5),(20,13),(30,28),(40,44),(50,50) and drawing a horizontal line from cumulative frequency 2525 on the yy-axis to the curve, then dropping a vertical to the xx-axis, lands close to x=28x=28 — the same class 2020–3030, the same neighbourhood as the formula answer, confirming the graphical and numerical methods agree.

Competitive stretch

If instead you were given only the more-than cumulative frequencies — 50,45,37,22,650,45,37,22,6 at boundaries 0,10,20,30,400,10,20,30,40 — you would still identify the median class as 2020–3030 (where the more-than count drops through 2525, going from 3737 to 2222), and the same formula machinery applies once you convert back to the ordinary (less-than-style) ll, cfcf, ff, hh for that class. Concretely, the more-than value at boundary 2020 is 3737, and the more-than value at boundary 3030 is 2222; the difference 37−22=1537-22=15 recovers the class frequency f=15f=15 for the interval 2020–3030, exactly matching the original table — a useful consistency check when only one of the two ogive tables has been supplied.

Common traps

  • Assuming ogive construction is examinable in the current CBSE Class 10 syllabus — it is not; spend exam-prep time on the formula method instead.
  • Swapping less-than and more-than plotting rules: less-than uses upper limits and rises, more-than uses lower limits and falls.
  • Forgetting the less-than ogive must start at (lower limit of first class, 0)(\text{lower limit of first class},\,0), not at the first plotted cumulative-frequency point.
  • Treating the graphical median reading as more exact than the formula answer — both rest on the same uniform-spread assumption inside the median class, so neither is more "true" than the other.

Ask the tutor: Want to see how this same uniform-spread idea also underlies the mode formula for grouped data?

Why is the ogive not on my CBSE Class 10 syllabus if it explains the median formula so well

The rationalised NCERT syllabus trimmed the Statistics chapter to keep only the numerical formula methods for mean, mode, and median, dropping the graphical construction to save time. The formula still rests on the same uniform-spread reasoning an ogive shows visually, so understanding the ogive helps you trust the formula, but you will not be asked to draw or read one in a board exam.

Do the less-than and more-than ogives always cross exactly at the formula median

In principle yes, because both are graphical readings of the same uniform-spread assumption inside the median class. In practice, since ogives are drawn as smooth freehand curves through a handful of plotted points, the crossing point is only an approximate reading — the formula gives the exact value under that same assumption.

What happens if two different classes both seem to contain cumulative frequency n over 2

This cannot happen if the cumulative frequency table is built correctly, because cumulative frequency is non-decreasing and strictly increases by each class's frequency — so n/2n/2 falls inside exactly one class unless it lands exactly on a boundary value, in which case that boundary class is taken as the median class.

Before this

Where this leads