N/2=40/2=20.Why this step? For grouped data we split by heightN/2, never (N+1)/2 — the ogive is a smooth curve, not a discrete list.
Find the median class. CF goes from 10 (below 20) up to 20within the 20–30 class. So median class =20–30. Why this step? The median class is where CF crosses or reachesN/2from below — CF was 10<20 at x=20, then climbs to 20 across this class. It is NOT 30–40.
Extract:L=20,CFb=10,f=10,h=10. Why this step?CFb is the CF of the class before 20–30 (that's the 10–20 row, CF =10).
Interpolate:Median=20+(1020−10)×10=20+1×10=30.Why this step? We needed 20−10=10 more counts; the class holds exactly f=10, so we travel the whole width — landing at the far edge, x=30.
Median class. CF jumps 13→25 inside 20–30, so it contains the 20th count. Median class =20–30. Why?13<20≤25 — the crossing happens inside this class.
Extract:L=20,CFb=13,f=12,h=10.
Interpolate:Median=20+(1220−13)×10=20+127×10=20+5.83=25.83.Why? We are 7 counts into a class of 12; assuming the 12 values are spread evenly across width 10, we go 127 of the way in. Per our convention we round the final line to 25.83.
Convert to continuous boundaries. Subtract 0.5 from each lower, add 0.5 to each upper: 9.5–19.5,19.5–29.5,29.5–39.5,…Why this step? Real ages between 19 and 20 exist; the true boundary is the midpoint 19.5. Now h=10 cleanly and no gaps.
CF table:6,20,38,46,50.
N/2=25. CF crosses 25 going 20→38 in the 29.5–39.5 class. Median class =29.5–39.5.
Extract:L=29.5,CFb=20,f=18,h=10.
Interpolate:Median=29.5+(1825−20)×10=29.5+185×10=29.5+2.78=32.28.Why?5 counts into a class of 18, width 10; rounded to two decimals.
Forecast: Both curves cross at y=N/2=20. Guess: the x there should match 25.83 from Example 2.
Less-than CF:5,13,25,35,40 plotted at upper boundaries 10,20,30,40,50. Why upper? Less-than CF counts everything below the upper boundary.
More-than CF:40,35,27,15,5 plotted at lower boundaries 0,10,20,30,40. Why lower? More-than CF at a lower boundary = everything from that boundary rightward.
They cross where "number below" = "number above" =N/2=20. Drop a perpendicular → x≈25.8. Why this step? Both halves equal N/2 only at the median — by definition of the median.
N/2=30. CF crosses 30 going 28→50 in the 30–40 class.
Extract using THIS class's width:L=30,CFb=28,f=22,h=10. Why this step? The formula's h is the width of the median class only — here 10, even though the class before it had width 20. Using a neighbour's width is the Cell-E trap.
Interpolate:Median=30+(2230−28)×10=30+222×10=30+0.909=30.91.Why?2 counts into a class of 22, width 10; rounded to two decimals.
Equation 1 — the total constraint.8+12+20+x+18+y=100⇒x+y=42.Why this step? All frequencies must sum to N; with two blanks this is one equation in two unknowns, so we cannot finish on it alone — we need the median equation too.
Locate the median class from the given median. The stated median 35∈(30,40), so the median class is 30–40. Why this step? The median always lies inside its class; being told it equals 35 pins the class to the one straddling 35.
Extract the five numbers (median class 30–40).L=30,CFb=8+12+20=40,f=x,h=10,N=100.Why this step?CFb is the running total of the three classes before 30–40; f is the unknown frequency of the median class itself. Consistency check: for the median to sit inside 30–40 we need CFb<N/2=50; here 40<50 ✓, so the problem does have a solution — no "misprint" surgery required.
Equation 2 — the median formula. Substitute into the one formula and set it equal to 35: 35=30+(x2100−40)×10⇒5=x50−40×10=x100.Why this step? Everything except x is known, so the median equation becomes a single equation in x.
Solve for x.5=x100⇒x=5100=20.Why this step? Multiply both sides by x, then divide by 5 — pure algebra, clean whole number.
Use Equation 1 to finish.x+y=42 and x=20, so y=42−20=22.Why this step? The total constraint delivers the second unknown once the median has pinned the first.
N/2=10. CF crosses 10 inside 0–5 (CF goes 0→12). Median class =0–5.
Extract:L=0,CFb=0,f=12,h=5. Why CFb=0? There is no class before the first, so nothing has accumulated — the running total starts at 0. This is the degenerate boundary case.
Interpolate:Median=0+(1210−0)×5=1210×5=4.17.Why this step? We need 10 counts out of the f=12 living in this class; those 12 are spread evenly across width 5, so we travel 1210 of the width. With L=0 the whole median is that step.
N/2=25. CF crosses 25 going 8→28 in the 20–40 class. Median class =20–40. Why this step?8<25≤28 — the crossing is inside 20–40, nowhere near the open top class.
Extract:L=20,CFb=8,f=20,h=20. Why this step? Every one of the five numbers lives in a closed class (20–40 and its predecessor), so the missing upper edge of "60+" never enters the formula.
Interpolate:Median=20+(2025−8)×20=20+2017×20=20+17=37.Why this step?17 counts into a class of 20, width 20.
Translate the words. "The time below which half the customers fall" = the median. Why this step? Word problems hide the table; the phrase "half fall below" is the median's definition.
CF:10,32,60,74,80. N/2=40.
Median class: CF crosses 40 going 32→60 in 4–6. Extract L=4,CFb=32,f=28,h=2.
Interpolate:Median=4+(2840−32)×2=4+288×2=4+0.571=4.57 min.Why?8 counts into a class of 28, width 2; rounded to two decimals.
First class median ::: CFb=0 (nothing accumulated yet)
Discontinuous classes ::: subtract/add 0.5 before finding L,hN/2 on a boundary ::: median class is the one CF crosses from below, not the next one
Unequal widths ::: use the median class's ownh
Missing frequency + given median ::: write the total equation AND the median equation, solve together
Missing frequency has no solution when ::: CFb≥N/2 (classes before already reach halfway)
Open-ended interval ::: harmless if the median class is closed; else assume neighbour's h
Twin ogive ::: median is the x where the two curves cross at height N/2