Class 10 · Mathematics Lesson 4 of 5

Chapter 14.4 — Exercise 14.3 — Median of Grouped Data

Median of the grouped data. This is Lesson 4 of 5 in Chapter 14: Statistics.

The Exact Middle Value

The median is the value sitting exactly in the middle once every observation is sorted in order — half the data falls below it, half above. For raw, ungrouped data the rule is short: sort the values, then take the middle one if there's an odd count, or average the two middle ones if the count is even.

Click to Present Fullscreen
Lesson Notes PDF
1 /
Loading PDF…
AdvertisementReach students & teachersSchools, colleges and coaching institutes can advertise here.Advertise with EduBadi →

Two Quick Examples, Odd and Even

3, 7, 5, 11, 6, 18, 9 → sorted: 3, 5, 6, 7, 9, 11, 18 n = 7 (odd) → median = 4th value = 7 3, 7, 5, 11, 6, 18, 9, 16 → sorted: 3, 5, 6, 7, 9, 11, 16, 18 n = 8 (even) → median = average of 4th and 5th values = (7+9)/2 = 8

Adding a single new value (16, in the second list) doesn't just shift the median slightly — it can flip which of the two rules applies entirely, since it changes n from odd to even. Every grouped-data problem in this exercise builds toward the same underlying idea, just applied to data too large to sort and count by hand one observation at a time.

Cumulative Frequency: A Genuinely New Column

Grouped data can't be individually sorted and counted to the middle — there's no way to point at "the 34th house" inside a class interval covering dozens of houses at once. The workaround is a new column neither the mean nor the mode formulas ever needed: cumulative frequency (cf), a running total of fᵢ built up class by class from the very first row.

Median = l + [(n/2 − cf) / f] × h l = lower boundary of the median class n = Σfᵢ, the total number of observations cf = cumulative frequency of the class immediately before the median class f = frequency of the median class h = size of the median class Median class = the first class whose own cumulative frequency reaches or exceeds n/2

Locating the median class is really just the grouped-data version of finding the "middle position" from the ungrouped rule above — n/2 plays the same role that "4th value" or "average of 4th and 5th" played there, just located inside a running total instead of inside a sorted list.

Electricity Consumption: All Three Measures Together

Sixty-eight consumers' monthly electricity consumption, grouped into seven 20-unit classes, asks for the median, the mean, and the mode side by side — the fullest three-way comparison in the whole chapter.

Classfᵢcfxᵢuᵢ=(xᵢ−135)/20fᵢuᵢ
65–854475−3−12
85–1055995−2−10
105–1251322115−1−13
125–145204213500
145–1651456155114
165–185864175216
185–205468195312
Total687
Median: n/2=34; median class=125–145 (cf 42 is the first to reach 34). l=125, cf=22, f=20, h=20 Median = 125 + [(34−22)/20]×20 = 125+12 = 137 Mean (step deviation): 135 + (7/68)×20 ≈ 135 + 2.06 ≈ 137.06 Mode: modal class=125–145. l=125, f₁=20, f₀=13, f₂=14, h=20 Mode = 125 + [(20−13)/(40−13−14)]×20 = 125 + (7/13)×20 ≈ 135.77

All three land close together — median 137, mean ≈137, mode ≈135.8 — which is exactly the signature of a fairly evenly spread, only mildly skewed dataset. When mean, median, and mode all cluster this tightly, it's a strong visual and numeric signal that the underlying distribution is close to symmetric, without needing to plot the actual distribution to see it.

Solving for Two Missing Frequencies

A six-class table has two unknown frequencies, x and y, spread across two different classes — but the median (28.5) and total count (n=60) are both already given, supplying exactly enough information to solve for both unknowns together.

Classfᵢcf
0–1055
10–20x5+x
20–302025+x
30–401540+x
40–50y40+x+y
50–60545+x+y
Total: 45+x+y = 60 ⟹ x+y = 15 ...(1) Median 28.5 lies in the 20–30 class ⟹ this is the median class: l=20, n/2=30, cf=5+x, f=20, h=10 28.5 = 20 + [(30−(5+x))/20]×10 8.5 = (25−x)/2 17 = 25−x ⟹ x = 8 Substituting into (1): 8+y=15 ⟹ y = 7

Notice which class the median 28.5 was declared to fall in before any algebra even started — that's the one genuinely new piece of information this problem supplies beyond the raw total. Without being told which class contains the median, x couldn't be isolated at all, since the median-class formula itself is what turns the word "28.5" into a solvable equation for x.

When Cumulative Frequency Is Given Directly

A hundred insurance policy holders' ages are given as a "less than" cumulative table from the start — "below 20," "20–25," and so on — rather than as raw class frequencies. The individual fᵢ values have to be recovered first, by subtracting each cumulative total from the one before it.

Class (years)cf (given)fᵢ (recovered)
Below 2022
20–2566−2=4
25–302424−6=18
30–354545−24=21
35–407878−45=33
40–458989−78=11
45–509292−89=3
50–559898−92=6
55–60100100−98=2
n=100, n/2=50. Median class=35–40 (cf 78 is the first to reach 50). l=35, cf=45, f=33, h=5 Median = 35 + [(50−45)/33]×5 = 35 + 0.76 ≈ 35.76 years

Every other problem in this exercise starts with fᵢ and builds cf up as a running total; this one runs that exact process backward, starting from cf and recovering fᵢ by subtraction. Once the individual frequencies are recovered, though, the median formula itself works identically to every other problem here — the cf column was needed anyway, so having it handed over directly actually saves a step rather than adding one.

Inclusive Classes Need Continuous Boundaries First

Forty leaves' lengths are grouped into classes written as "118–126," "127–135," and so on — gaps of 1 unit between consecutive classes (126 to 127) rather than classes that meet exactly. Before any median formula can apply, these inclusive classes need converting into continuous ones by extending each boundary by half a unit.

Continuous class (mm)fᵢcf
117.5–126.533
126.5–135.558
135.5–144.5917
144.5–153.51229
153.5–162.5534
162.5–171.5438
171.5–180.5240
n=40, n/2=20. Median class=144.5–153.5 (cf 29 is the first to reach 20). l=144.5, cf=17, f=12, h=9 Median = 144.5 + [(20−17)/12]×9 = 144.5+2.25 = 146.75 mm

Skipping the boundary conversion and using the original "118, 127, 136…" limits directly would silently shift every single class mark and boundary by half a unit, throwing off l in the final formula by exactly that same half-unit — a small-looking adjustment that matters precisely because it's easy to skip without immediately noticing anything obviously wrong in the arithmetic that follows.

Three More, Compressed

DatasetMedian classResult
Lifetime of 400 neon lamps (7 classes, 1500–5000 hrs)3000–3500 (cf reaches 216)≈3406.98 hours
Letters in 100 surnames (median, mean, and mode together)7–10 (cf reaches 76)median 8.05, mean 8.32, mode 7.88
Weights of 30 students (7 classes, 40–75 kg)55–60 (cf reaches 19)≈56.67 kg

The surnames problem is worth a second look for how close its three measures land — 8.05, 8.32, and 7.88, all within half a letter of each other — a tighter three-way cluster even than the electricity-consumption problem earlier, suggesting a genuinely well-balanced, close-to-symmetric spread in how many letters people's surnames tend to have.

Onward to the Graph

Every median in this exercise came from the same formula, l + [(n/2−cf)/f]×h, applied to a cumulative frequency column built up class by class. Exercise 14.4 takes that exact same cumulative frequency column and turns it into a graph — plotting it directly reveals the median as a specific point on a curve, reachable without touching the formula at all. Revisit Exercise 14.2 and Exercise 14.1 for the mode and mean formulas this exercise repeatedly compared its own results against.