Math Modelling / Bell Curve Lab Exact · no simulation
Lecture 13 · Chebyshev & the central limit theorem

Add enough of anything and you get a bell curve. Almost.

An exact, interactive look at how sums of random variables turn Gaussian, how loose Chebyshev's bound really is, and the two cases where the theorem quietly refuses to work.

Companion page6 min readEvery chart has its own controls

01The shape

Roll one die and every face is equally likely: a flat line. Roll two and add them, and seven becomes the favourite. Keep going. After standardizing, $Z_n=(S_n-\mathbb E S_n)/\sqrt{\operatorname{Var}S_n}$, the bars below are the exact distribution of the sum, obtained by repeated convolution. Drag n or press Play.

Exact law of the standardized sum
exactnormal density

02How good is Chebyshev?

Chebyshev's inequality needs only a finite variance:

$$\mathbb P\big(|Z_n|\ge k\big)\ \le\ \frac1{k^2}.$$

It is a guarantee, so it must hold for every distribution, including the worst one. The price is that it is usually very pessimistic.

Exact probability
Chebyshev bound
Normal approximation
2(1 − Φ(k)): an estimate, not a bound
Two-sided tail P(|Zₙ| ≥ k)
Log scale. The bound must sit above the exact curve; the normal curve need not.
exactChebyshev 1/k²normal

03How fast?

The Kolmogorov distance $\sup_z|F_{Z_n}(z)-\Phi(z)|$ is the worst error of the normal approximation. The Berry–Esseen theorem says it shrinks like $1/\sqrt n$ when the third moment is finite. On a log–log plot, that is a line of slope $-\tfrac12$.

Distance to the normal law, n = 1 … 200
Kolmogorov distance1/√n reference

04When it fails

The theorem has assumptions, and they matter. Two cases worth trying:

Cauchy: no variance
The mean of n standard Cauchy variables is again standard Cauchy. Averaging does not help, Chebyshev says nothing, and Sn/√n spreads out instead of settling.
Rare events: Poisson, not Gauss
Coins with p = λ/n never become Gaussian. With λ fixed the count tends to a Poisson law, the limit from Lecture 11.

A simulation can illustrate a limit theorem. It cannot prove one, and it cannot tell you when the assumptions are broken.


Methods. Dice and coin sums by exact convolution of probability vectors; exponential sums via the gamma law $\Gamma(n,1)$; Cauchy sums via stability ($S_n/n$ is standard Cauchy). Normal CDF from a rational approximation of erfc with error below $10^{-7}$.