Intuition The one core idea
A whole pile of numbers is hard to hold in your head, so we squeeze it down to one honest summary number — a centre. Everything in this topic is just three different, careful ways of asking "where is the middle of this pile?" (fair-share, halfway-point, most-crowded-spot).
Before you can read a single formula in the parent note, you need to earn every symbol in it. Below, each symbol gets: plain words → the picture → why the topic needs it. They are ordered so each one leans on the one before it.
Definition An observation and the count
n
An observation is one single measured value in your data — one person's height, one test score. The letter n is how many observations you have (the count of the pile).
Picture a row of pebbles on a table. Each pebble is one observation. Count them: that count is n .
Why the topic needs it: every centre-measure divides or positions by how many things there are . Without n you cannot take a fair share (÷ n ) or find a halfway point (position n /2 ).
x i
x i means ==the i -th observation== — the one sitting in slot number i . The little i is just a name tag for position: x 1 is the first, x 2 the second, and so on. Here x i always means a raw single observation — we will use a different letter for class midpoints later (Section 6), so this symbol never gets overloaded.
Picture the pebbles again, now numbered left to right: pebble #1, pebble #2, pebble #3. The value written under pebble #3 is x 3 .
Intuition Why bother with the subscript?
Because we want to say "do this to every value" without writing them all out. Instead of "add x 1 and x 2 and x 3 and ..." we write one clean symbol x i and let i run over all the slots. It is a machine that stamps the same instruction onto each pebble.
Why the topic needs it: the mean, median and mode formulas all talk about "each value" or "each class". The subscript is the language for that.
∑ (sigma)
i = 1 ∑ n x i is a command: ==add up the x i starting at slot i = 1 and stopping at slot i = n ==. It is shorthand for x 1 + x 2 + x 3 + ⋯ + x n .
Intuition Reading the little numbers on
∑
The number below the sigma (i = 1 ) says where to start — begin at the first slot. The number above (n ) says where to stop — the last slot. So i = 1 ∑ n literally reads: "let i walk from 1 up to n , and add each x i as you go." When the bounds are obvious we often drop them and just write ∑ x i , but they are always secretly i = 1 to n .
Picture sweeping your hand across the whole row of pebbles — starting at pebble 1, ending at pebble n — and pouring every value into one bucket. The bucket's total is i = 1 ∑ n x i .
∑ is not multiplication
Wrong feeling: "the big symbol must mean something fancy like power or product."
Fix: it is only addition , done to a whole list at once, from the bottom index up to the top index. Nothing more.
Why the topic needs it: the very first formula, x ˉ = n ∑ i = 1 n x i , is "total in the bucket ÷ how many". You cannot read it without ∑ .
x ˉ (x-bar)
x ˉ (say "x-bar") is the name we give to the mean — the fair-share value. The bar on top is just a hat that says "this is the average of the x 's."
Intuition The picture: a see-saw
Imagine each observation is a weight placed on a ruler at its value. The mean x ˉ is the exact spot where you'd put the pivot so the ruler balances — the pushes to the left cancel the pushes to the right. That is why we can write ∑ ( x i − x ˉ ) = 0 : total pull above equals total pull below only at the balance point.
Why the topic needs it: x ˉ is the headline output of Section 1 of the parent note, and it teams up with the other two centres in the empirical relation (which we can only state once all three symbols are defined — see Section 9).
Definition A class and its frequency
f i
When data is bundled into ranges (like 0 – 10 , 10 – 20 ), each range is a class . The frequency f i of a class is how many observations fell into that class .
Picture sorting the pebbles into labelled jars. Jar "10 – 20 " holds 8 pebbles → its frequency is f = 8 .
Why the topic needs it: once data is in jars we no longer see individual pebbles, so every grouped formula (mean, median, mode) is written in terms of f i instead of raw values.
Definition Midpoint, boundary, width
For a class like 20 – 30 :
the lower boundary l = 20 (where the class starts ),
the class width h = 30 − 20 = 10 (how wide the range is),
the midpoint m i = 2 20 + 30 = 25 (the middle of the range).
Note we use a fresh symbol m i for the midpoint — not x i — so a class's stand-in value is never confused with a raw observation. When the parent note writes ∑ f i x i for grouped data, read that x i as our m i : the class midpoint.
Intuition Why a midpoint?
Inside a jar we've lost the exact values. The fairest single stand-in for "somewhere between 20 and 30" is the middle, 25. So we pretend every one of those items sits at the midpoint m i . That one assumption is what makes grouped formulas possible.
Why the topic needs it: grouped mean uses m i (midpoint), grouped median and mode both use l (start) and h (width) to slide into a class.
Common mistake Boundary vs printed limit
If classes are printed as 20 – 29 , 30 – 39 there's a gap . Convert to continuous boundaries (19.5 – 29.5 , … ) before using l . Continuous classes like 20 – 30 are already fine. See Histograms & Frequency Distributions for why continuity matters.
Definition The median symbol
x ~
The median x ~ (say "x-tilde") is the value that splits the ordered data into two equal halves — 50% below, 50% above. It sits at position n /2 in the pile.
Intuition Why "ordered" comes first
A middle only makes sense once things are lined up smallest-to-largest. On a jumbled pile there is no left-half and right-half. So step one is always sort , then read off the centre.
n has no lone middle
Wrong feeling: "just grab one of the two centre numbers."
Fix: when n is even you must average the two central values — picking only one gives a biased answer.
Definition Cumulative frequency
c f
The cumulative frequency of a class is ==the running total: how many observations fall in that class or any earlier one ==.
Picture pouring jar 1 into a big tank, then jar 2, then jar 3 — reading the tank's level after each pour. Those running levels are the c f values. Drawn as a curve, this is exactly an ogive .
Intuition Where this formula comes from — a straight-line ramp
Look at the figure below. On an ogive the cumulative frequency climbs from c f (at the left boundary l of the median class) up to c f + f (at the right boundary l + h ). We assume the f items are spread evenly across the class, so between those two boundaries the climb is a straight ramp. The median is the height where the ramp crosses the level n /2 . Reading straight down from that crossing to the value-axis gives x ~ . Similar triangles on the ramp say the horizontal distance we've travelled (x ~ − l ) is the same fraction of the width h as the vertical distance (2 n − c f ) is of the class's height f — which is exactly the formula.
Why the topic needs it: the median is a position (n /2 -th item), and c f tells you which class that position lands in; the ramp then interpolates where inside that class .
Definition The mode (ungrouped)
The mode is the value that occurs most often . For raw data you simply tally how many times each value appears and pick the biggest tally.
Common mistake Modes can tie — and there can be more than one
A data set may have:
one mode (unimodal), e.g. 2 , 2 , 3 , 5 → mode 2 ;
two modes (bimodal), e.g. 2 , 2 , 5 , 5 , 7 → modes 2 and 5 , both tallying twice;
no mode — if every value appears equally often (e.g. 1 , 2 , 3 , 4 ), there is no single most-crowded value.
When ties happen, report all the tied values; do not silently pick one.
Definition The grouped-mode frequencies
f 0 , f 1 , f 2
Around the busiest class (the modal class = the class with the highest individual frequency):
f 1 = frequency of the modal class itself (the tallest bar — the target class we build the answer inside),
f 0 = frequency of the class immediately before the modal class,
f 2 = frequency of the class immediately after the modal class.
Picture three bars side by side, the middle one (f 1 ) tallest, with f 0 on its left and f 2 on its right. The mode formula asks: does the tall bar lean toward its shorter-left or shorter-right neighbour? That lean decides where inside the target class the true peak sits — the visual heart of a histogram .
Common mistake When the denominator
2 f 1 − f 0 − f 2 is zero
If both neighbours equal the modal class (f 0 = f 2 = f 1 , a flat top), the denominator is 0 and the formula breaks (division by zero). This signals there is no single clear peak — the top is flat. Likewise, if two different classes tie for the highest frequency , the distribution is bimodal and you should not force one modal class; either report both or use a finer grouping. The formula only applies when one class is a strict, isolated maximum.
Every grouped formula ends in a ratio — one quantity divided by another:
x ˉ = count total , median position fraction f n /2 − c f , mode lean fraction 2 f 1 − f 0 − f 2 f 1 − f 0 .
means here
A ratio answers "how much of one thing per one of another." Fair-share is total per person . The median position fraction is what portion of the way through the median class the middle person sits. The mode lean fraction is what portion of the class width the peak has leaned. Every centre-measure is secretly a "how-far-along" question — and a ratio is the tool that answers "how far along."
Read each arrow as "feeds into ". The four building blocks on the left combine into the three centre-measures on the right, which together form the topic.
Test yourself — cover the right side and answer before revealing.
What do the small numbers on i = 1 ∑ n mean? Start adding at slot i = 1 (bottom) and stop at slot i = n (top); add every x i in between.
What does the subscript i in x i stand for? A position name-tag: x i is the i -th raw observation.
Which symbol do we use for a class midpoint, and why not x i ? m i — a distinct letter so a class's stand-in value is never confused with a raw observation.
What single operation does ∑ command? Add up every listed value into one total — pure addition, from the bottom index to the top.
What is x ˉ and its picture? The mean; the pivot/balance point where pulls above and below cancel, so ∑ ( x i − x ˉ ) = 0 .
What is a frequency f i ? How many observations fall into that class (jar-count).
How do you get the total count n from grouped data? Add all frequencies: n = ∑ i = 1 k f i .
For class 20 – 30 , give l , h , and the midpoint m i . l = 20 , h = 10 , m i = 25 .
Ungrouped median when n is odd vs even? Odd: the 2 n + 1 -th sorted value. Even: average of the 2 n -th and 2 n + 1 -th sorted values.
Why must you sort before finding a median? A "middle" only exists once values are lined up smallest-to-largest.
What does cumulative frequency c f track? The running total of observations in this class and all earlier ones.
Why does the grouped-median formula work geometrically? The ogive climbs as a straight ramp across the median class; the median is where the ramp reaches height n /2 — similar triangles give the fraction.
In the grouped median formula, which c f and which f do you use? c f = cf of the class before the median class; f = frequency of the median class itself.
Ungrouped mode with ties — what do you report? All tied values (unimodal / bimodal); if every value is equally frequent, there is no mode.
When does the grouped-mode formula break, and what does that mean? When 2 f 1 − f 0 − f 2 = 0 (flat top) or two classes tie for highest — no single clear peak; don't force the formula.
Which frequency is f 1 , and what are f 0 , f 2 ? f 1 = frequency of the modal (target) class; f 0 = class just before, f 2 = class just after.
State the empirical relation between the three centres. Mode ≈ 3 x ~ − 2 x ˉ .