Mathematics / Central limit theorem

Central limit theorem

Why averages pile up into a bell curve even when the thing being averaged looks nothing like one. Dice first, then a lopsided source, then a real survey.

Intermediate7 steps~7 min
Source — chances for a single draw
Averages — chances for the average of n draws
Normal curve — the bell the averages approach
// THE SHORT VERSION

In 30 seconds

Take many random samples from almost any source and average them. Repeat, and the averages pile up in a bell curve (the normal distribution), even if the source itself is flat or lopsided.

The bell is centred on the source’s true mean. Its width shrinks as the sample grows, in proportion to one over the square root of the sample size.

This is why statistics works: an average from a sample comes with a known, bell-shaped margin of error, whatever the raw data looks like.

Central limit theorem, step by step

STEPS01 / 07

The theorem needs independent samples from a source with finite variance. How large n must be depends on the source: very lopsided or heavy-tailed data needs more. The 95% range uses 2 for the exact 1.96.

STEP 01 / 07 One roll: a flat source
THE MATH
P(each face) = 1/6 mean μ = 3.5 spread σ = 1.71
  1. Step 1: One roll: a flat source. Start with something that is clearly not bell-shaped. A fair die shows each face with the same chance, so its chart is flat. Its mean is 3.5 and its standard deviation (typical distance from the mean) is about 1.71.
  2. Step 2: Average two rolls. Roll twice and take the average. Only one pair averages 1 (two ones), but six different pairs average 3.5. Middle values can be reached in more ways, so they turn up more often. The flat chart has already become a peak.
  3. Step 3: Average ten rolls. With ten rolls per average the bars (exact chances, worked out by counting) trace a bell. The red line is the normal curve with the same centre, 3.5, and the same spread, 0.54. They nearly coincide. Averages near 1 or 6 would need almost every roll to agree, so they are very rare.
  4. Step 4: Any source works. The source does not have to be symmetric. This lopsided die lands on 1 forty percent of the time. Averages of 5 rolls still lean a little; averages of 30 rolls form a bell centred on the source’s mean, 2.29. The shape of the source is forgotten, only its mean and spread survive.
  5. Step 5: More samples, narrower bell. The spread of the average is the source’s spread divided by √n; statisticians call it the standard error. Because of the square root, quadrupling the sample size only halves it: 0.540 at 10 rolls, 0.270 at 40, 0.135 at 160. Precision gets expensive.
  6. Step 6: The theorem. Central limit theorem: take n independent samples from one source with mean μ and finite spread σ. As n grows, their average behaves like a normal curve centred on μ with spread σ/√n. About 68% of such averages land within one standard error (SE) of μ, about 95% within two.
  7. Step 7: Why statistics leans on it. A survey times 100 commutes: mean 30 minutes, standard deviation 20, and a lopsided chart. The theorem still says the sample average is normal around the true average, with standard error 20/√100 = 2. So 30 ± 4 minutes is a range that captures the truth about 95% of the time. Polls, error bars and A/B tests rest on this.
VALUES SO FAR
μ3.5die
σ1.71die
P(3.5)····result
SE n=10····spread
μ····lopsided
SE n=40····spread
SE n=160····spread
SE····survey
95%····survey
// AFTER

Learn next

Nothing builds on this one yet. See every mathematics concept.

Spotted a mistake on this page?