The central limit theorem

The question
Choose a population, then compare its standardized sums with a normal distribution.
- 1 SeeChoose which population fits last.
- 2 TryTurn an error bound into a goal.
- 3 ProveBuild the distributional limit.
- 4 ApplyCalculate probabilities and check assumptions.
Before you start · 3 quick checks on standardization, CDFs, and sampling
Two ideas before you start
2 ideasCompare on the same scale
A number line shows a selected value after centering and scaling.
Subtract the mean, then divide by the SD. Changing units does not by itself make a distribution normal.
Exact definition
For a variable with finite mean \(\mu\) and positive finite SD \(\sigma\), its standardized value is \((X-\mu)/\sigma\). This has mean zero and variance one, whatever the original shape. The card uses a population mean of twelve and SD four.
For iid observations, write \(S_n=\sum_{i=1}^nX_i\). Independence gives \(E[S_n]=n\mu\) and \(\operatorname{Var}(S_n)=n\sigma^2\). Its standardized version is
\[Z_n=\frac{S_n-n\mu}{\sigma\sqrt n}=\frac{\sqrt n(\bar X_n-\mu)}{\sigma}.\]The sampling-distributions lesson derives the standard error of the mean. Here we ask about the shape after that spread has been scaled out.
A CDF counts everything to the left
A standard normal CDF and a selected cutoff.
Move the cutoff. The curve's height gives the probability at or below it.
Exact definition
The cumulative distribution function is \(F(z)=P(Z\le z)\). For a standard normal variable, write it as \(\Phi(z)\). This is the area under the standard normal density up to the cutoff, as in the normal-distribution lesson.
For the standardized sum, write \(F_n(z)=P(Z_n\le z)\). We measure its distance from normal by \(D_n=\sup_z|F_n(z)-\Phi(z)|\): the largest vertical probability gap over all real cutoffs. It compares probabilities, not density heights. A small gap controls every one-sided cutoff at once.
Keep the sampling rule fixed
Independent and identically distributed, or iid, means that every observation has the same distribution and joint probabilities factor across observations. Each population below stays fixed as sample size grows. The parameters are known population quantities. Replacing the SD by an estimate requires a further argument.
The law of large numbers concerns a mean's unscaled error at a fixed tolerance. This lesson studies the distribution of that error after multiplying it by the square root of sample size. These are different questions about the same observations.
Which population takes longer?
- Inspect the three sampling rules, then choose before seeing the errors.
- After checking, select a sample size and a population to compare CDFs.
- Start over hides the comparison and clears your recorded choice.
These are theoretical distributions computed by convolution, not a histogram from a random batch. For a discrete sum, the CDF jumps at each possible value. A continuous normal CDF cannot match both sides of a jump exactly. The maximum gap is found by comparing the left and right limits at every jump; between jumps the normal CDF is monotone.
Refresher: adding independent discrete draws
If the sum so far has mass function \(q_m(s)\), adding a fresh draw gives \(q_{m+1}(s)=\sum_xp(x)q_m(s-x)\), starting with all mass at zero. The product uses independence, and the sum collects disjoint ways to reach the same total. The page uses this recursion for all three populations and then centers and scales each total.
No bins or random seed enter these calculations. The probability model is exact; the displayed numerical values are rounded floating-point evaluations. Tiny remote masses can underflow without changing the shown precision. The check recomputes the distribution independently.
The third absolute centered moment weights large deviations strongly. Signed skewness can cancel between the two tails; the absolute moment cannot. Symmetry alone therefore does not guarantee a small approximation error. A larger upper bound also does not prove a larger actual error: use the measured CDF gaps for that comparison.
Use a bound to plan the approximation
Use what you found above. The next question applies the error bound, so its inputs are given. Think in probability units: a CDF error is an absolute difference between probabilities, not a percentage of the probability being estimated.
Find the smallest sufficient size
- Move the sample-size slider for population A.
- Meet each error target with the smallest integer allowed; then press Next goal.
The target concerns the bound, not the actual error. Solving the bound inequality produces a sufficient size. Another method, or the exact distribution of a particular population, may justify a smaller size. The bound decreases smoothly even when the actual discrete error has small oscillations.
For an interval \((a,b]\), subtract two CDF values. Each endpoint can contribute an error, so an error bound for the whole interval is twice the CDF bound, capped at one. A small absolute error can still be large relative to a tiny tail probability. Check that distinction before interpreting a rare-event estimate.
Why the standardized distribution has a limit
Let \(X_1,X_2,\ldots\) be iid with finite mean \(\mu\) and variance \(0\lt\sigma^2\lt\infty\). For every fixed real \(z\),
\[P\!\left(\frac{S_n-n\mu}{\sigma\sqrt n}\le z\right)\longrightarrow\Phi(z).\]This is convergence in distribution. The population itself need not be normal. Neither a density nor a finite third moment is required for this limit. The third absolute moment is an additional assumption used by the displayed rate bound.
Refresher: the transform facts used in this proof
The characteristic function of a real random variable \(Y\) is \(\psi_Y(t)=E[e^{itY}]\), with \(i^2=-1\). It always exists because the complex exponential has absolute value one. Independence multiplies characteristic functions, and scaling the variable scales their argument.
With finite second moment, differentiation at zero gives \(\psi'_Y(0)=iE[Y]\) and \(\psi''_Y(0)=-E[Y^2]\). Its second-order expansion is \(\psi_Y(u)=1+iuE[Y]-u^2E[Y^2]/2+o(u^2)\). The remainder divided by \(u^2\) tends to zero. Finite second moment justifies this expansion by dominated convergence; a third derivative is not needed.
We use two further facts: if \(a_n\to a\), then \((1+a_n/n)^n\to e^a\), also for complex numbers; and the continuity theorem converts pointwise convergence of characteristic functions to a characteristic function continuous at zero into convergence in distribution. The standard normal characteristic function is \(e^{-t^2/2}\). These analytic facts are supplied here, not proved by the builder.
Set \(Y_i=(X_i-\mu)/\sigma\), and write \(\psi\) for their common characteristic function. Build the argument for a fixed real \(t\ne0\); the case \(t=0\) is handled afterward. The proof uses the transform facts above.
At zero every characteristic function equals one, so convergence also holds there. The limiting function is continuous at zero. The continuity theorem applies, and the normal CDF is continuous at every real cutoff. This completes the argument for all the cutoffs in the theorem.
What this result does not say
The standardized sum keeps variance one; it does not concentrate at zero. The unscaled mean does concentrate under these assumptions. Nor do the individual observations become normal when more of them are recorded. The theorem concerns the distribution of a statistic across possible samples.
Finite-sample discrete probabilities remain discrete. A normal density is an approximation for computing cumulative probabilities, not a replacement for point masses. If the population is already normal, independent sums are exactly normal at every positive size. For nonnormal populations, closeness must be assessed for the size and question at hand.
Infinite variance lies outside this theorem. Dependence also changes the calculation: copying one draw repeatedly does not create fresh information. Some dependent sequences satisfy other central limit theorems, but their conditions and scaling must be checked separately.
Use the scale, then check the approximation
Use what you found above. Enter a decimal without units. Each question states whether it asks for an exact model quantity, an approximation, or a sufficient size. Hints and worked solutions are available after you act.
Further reading
- S. Ross, A First Course in Probability, chapter 8, “Limit Theorems.”
- I. Shevtsova, “On the absolute constants in the Berry–Esseen type inequalities for identically distributed summands” (2011). The lesson uses a conservative constant rather than the sharper bounds in this paper.