Skip to content

Central Limit Theorem

The central limit theorem explains why normal distributions appear so often in probability.
CENTRAL LIMIT THEOREM
Let X1,X2,…X_1,X_2,\ldots be independent, identically distributed random variables with expectation EX1=μ\mathbb{E}X_1=\mu and finite, positive variance Var⁡(X1)=σ2>0\operatorname{Var}(X_1)=\sigma^2>0. If Sn=X1+⋯+XnS_n=X_1+\cdots+X_n, then
Sn−nμσn→n→∞dN(0,1).\begin{equation*}\frac{S_n-n\mu}{\sigma\sqrt{n}} \xrightarrow[n\to\infty]{d} N(0,1).\end{equation*}
Equivalently, for any a<ba<b,
P(a≤Sn−nμσn≤b)→n→∞12π∫abe−x2/2 dx.\begin{equation*}\mathbb{P}\left(a\leq \frac{S_n-n\mu}{\sigma\sqrt{n}}\leq b\right)\xrightarrow{n\to\infty}\frac{1}{\sqrt{2\pi}}\int_a^b e^{-x^2/2}\,\mathrm{d}x.\end{equation*}

Motivation

Let us consider two simple examples: dice rolls and coin flips. In both cases, we can calculate SnS_n and simulate repeated experiments to see how the histogram resembles the bell curve described by the theorem.

The sum of 10 dice rolls

Let X1,…,X10X_1,\ldots,X_{10} be the outcomes of independent rolls of a fair six-sided die, each with the distribution
X1={1,16,2,16,3,16,4,16,5,16,6,16.\begin{equation*}X_1=\begin{cases}1, & \frac{1}{6}, \\2, & \frac{1}{6}, \\3, & \frac{1}{6}, \\4, & \frac{1}{6}, \\5, & \frac{1}{6}, \\6, & \frac{1}{6}.\end{cases}\end{equation*}
Then the mathematical expectation is
EX1=1+2+3+4+5+66=72,\begin{equation*}\mathbb{E}X_1=\frac{1+2+3+4+5+6}{6}=\frac{7}{2},\end{equation*}
and the variance is
Var⁡(X1)=E[X12]−(EX1)2=12+22+32+42+52+626−494=3512.\begin{equation*}\operatorname{Var}(X_1)=\mathbb{E}[X_1^2]-(\mathbb{E}X_1)^2=\frac{1^2+2^2+3^2+4^2+5^2+6^2}{6}-\frac{49}{4}=\frac{35}{12}.\end{equation*}
Define the sum of the ten dice rolls as
S10=X1+⋯+X10.\begin{equation*}S_{10}=X_1+\cdots+X_{10}.\end{equation*}
By independence,
ES10=10EX1=35andVar⁡(S10)=10Var⁡(X1)=1756.\begin{equation*}\mathbb{E}S_{10}=10\mathbb{E}X_1=35 \quad \text{and} \quad \operatorname{Var}(S_{10})=10\operatorname{Var}(X_1)=\frac{175}{6}.\end{equation*}
The animation shows 240 independent experiments, with each blue brick recording one sum S10S_{10} of ten dice rolls. Even with only 240 experiments, the histogram is already close to the normal curve with mean 3535 and variance 1756\frac{175}{6}.

Coin flips and the Galton board

Let X1,…,XnX_1,\ldots,X_n represent independent flips of a fair coin, with heads assigned 11 and tails assigned −1-1. Each XiX_i has the distribution
X1={1,12,−1,12.\begin{equation*}X_1=\begin{cases}1, & \frac{1}{2}, \\-1, & \frac{1}{2}.\end{cases}\end{equation*}
The expectation and variance are
EX1=0andVar⁡(X1)=1.\begin{equation*}\mathbb{E}X_1=0 \quad \text{and} \quad \operatorname{Var}(X_1)=1.\end{equation*}
Define the sum of the nn outcomes as
Sn=X1+⋯+Xn.\begin{equation*}S_n=X_1+\cdots+X_n.\end{equation*}
By independence,
ESn=nEX1=0andVar⁡(Sn)=nVar⁡(X1)=n.\begin{equation*}\mathbb{E}S_n=n\mathbb{E}X_1=0 \quad \text{and} \quad \operatorname{Var}(S_n)=n\operatorname{Var}(X_1)=n.\end{equation*}
A Galton board simulates this sum. At each row ii, a falling ball moves left (Xi=−1X_i=-1) or right (Xi=1X_i=1), independently and with equal probability. After nn rows, its final bucket corresponds to the sum SnS_n. As the number of rows nn increases, the normalized sum Sn/nS_n/\sqrt{n} approaches the standard normal distribution.
The mathematical theorem about the convergence the sum of fair coins is called De Moivre–Laplace theorem.

Proof of the Central Limit Theorem

To prove the central limit theorem, consider independent, identically distributed random variables X1,X2,…X_1,X_2,\ldots with expectation EX1=μ\mathbb{E}X_1=\mu and finite, positive variance Var⁡(X1)=σ2>0\operatorname{Var}(X_1)=\sigma^2>0. For simplicity, we can subtract the mean from each random variable Xi−μX_i-\mu and get the centered variables. For the rest of the proof, write XiX_i for these centered variables, so that EX1=0\mathbb{E}X_1=0 and E[X12]=σ2\mathbb{E}[X_1^2]=\sigma^2. Define the characteristic function of X1X_1 by
φ(t)=EeitX1.\begin{equation*}\varphi(t)=\mathbb{E}e^{itX_1}.\end{equation*}
The finite second moment allows us to differentiate twice under the expectation, giving
φ′(0)=iEX1=0,φ′′(0)=−E[X12]=−σ2.\begin{equation*}\varphi'(0)=i\mathbb{E}X_1=0, \qquad \varphi''(0)=-\mathbb{E}[X_1^2]=-\sigma^2.\end{equation*}
Thus the second-order Taylor expansion is
φ(t)=1−σ2t22+o(t2),t→0.\begin{equation*}\varphi(t)=1-\frac{\sigma^2t^2}{2}+o(t^2), \qquad t\to 0.\end{equation*}
For Sn=X1+⋯+XnS_n=X_1+\cdots+X_n and each fixed t∈Rt\in\mathbb{R}, independence gives
Eexp⁡(itSnσn)=Eexp⁡(itX1σn)⋯Eexp⁡(itXnσn)=[φ(tσn)]n=(1−t22n+o(1n))n.\begin{align*}\mathbb{E}\exp\left(it\frac{S_n}{\sigma\sqrt{n}}\right)&=\mathbb{E}\exp\left(it\frac{X_1}{\sigma\sqrt{n}}\right)\cdots\mathbb{E}\exp\left(it\frac{X_n}{\sigma\sqrt{n}}\right) \\&=\left[\varphi\left(\frac{t}{\sigma\sqrt{n}}\right)\right]^n \\&=\left(1-\frac{t^2}{2n}+o\left(\frac{1}{n}\right)\right)^n.\end{align*}
The complex exponential limit proved in the following subsection gives
[φ(tσn)]n=(1+−t22n)n⟶e−t2/2.\begin{equation*}\left[\varphi\left(\frac{t}{\sigma\sqrt{n}}\right)\right]^n=\left(1+\frac{-t^2}{2n}\right)^n\longrightarrow e^{-t^2/2}.\end{equation*}
Thus the limiting characteristic function is e−t2/2e^{-t^2/2}, the characteristic function of the standard normal distribution.
By the continuity theorem for characteristic functions, this convergence of characteristic functions implies
Snσn→dN(0,1)\begin{equation*}\frac{S_n}{\sigma\sqrt{n}}\xrightarrow{d}N(0,1)\end{equation*}
in the centered case.

Convergence of complex exponentials

The following argument is from Durrett [Durrett2019], Theorem 3.4.2 and Lemmas 3.4.3–3.4.4.
COMPLEX EXPONENTIAL LIMIT
If cn→c∈Cc_n\to c\in\mathbb{C}, then
(1+cnn)n⟶ec.\begin{equation*}\left(1+\frac{c_n}{n}\right)^n\longrightarrow e^c.\end{equation*}
Choose γ>∣c∣\gamma>|c|. For all sufficiently large nn, we have ∣cn∣<γ|c_n|<\gamma and ∣cn/n∣≤1|c_n/n|\leq 1. Applying the lemma below with θ=eγ/n\theta = e^{\gamma/n} gives
∣(1+cnn)n−ecn∣=∣(1+cnn)n−(ecnn)n∣≤(eγ/n)n−1n∣(1+cnn)−ecnn∣≤(eγ/n)n−1n∣cnn∣2 ≤eγγ2n⟶0.\begin{align*}\left|\left(1+\frac{c_n}{n}\right)^n-e^{c_n}\right|&= \left|\left(1+\frac{c_n}{n}\right)^n-\left(e^{\frac{c_n}{n}}\right)^n \right| \\&\leq \left(e^{\gamma/n}\right)^{n-1} n | \left( 1+\frac{c_n}{n}\right) -e^{\frac{c_n}{n}}| \\&\leq \left(e^{\gamma/n}\right)^{n-1} n \left|\frac{c_n}{n}\right|^2\ \\&\leq e^\gamma\frac{\gamma^2}{n}\longrightarrow 0.\end{align*}
where we used the simple bound ∣eb−(1+b)∣≤∣b∣2 |e^b-(1+b)|\leq |b|^2 for any complex number b∈Cb\in\mathbb{C} with ∣b∣≤1|b|\leq 1. Finally, continuity of the complex exponential gives ecn→ece^{c_n}\to e^c, so
∣(1+cnn)n−ec∣≤∣(1+cnn)n−ecn∣+∣ecn−ec∣⟶0.\begin{equation*}\left|\left(1+\frac{c_n}{n}\right)^n-e^c\right|\leq\left|\left(1+\frac{c_n}{n}\right)^n-e^{c_n}\right|+|e^{c_n}-e^c|\longrightarrow 0.\end{equation*}
We used the lemma for difference of complex products, which we prove as well.
DIFFERENCE OF PRODUCTS
Let z1,…,znz_1,\ldots,z_n and w1,…,wnw_1,\ldots,w_n be complex numbers with modulus at most θ>0\theta>0. Then
∣∏m=1nzm−∏m=1nwm∣≤θn−1∑m=1n∣zm−wm∣.\begin{equation*}\left|\prod_{m=1}^n z_m-\prod_{m=1}^n w_m\right|\leq\theta^{n-1}\sum_{m=1}^n|z_m-w_m|.\end{equation*}
Proof. The result is immediate for n=1n=1. We need to prove it for any n>1 n > 1, to do it let subtract z1∏m=2nwmz_1\prod_{m=2}^n w_m to obtain
∣∏m=1nzm−∏m=1nwm∣≤∣z1∏m=2nzm−z1∏m=2nwm∣+∣z1∏m=2nwm−w1∏m=2nwm∣≤θ∣∏m=2nzm−∏m=2nwm∣+∣z1−w1∣⋅∣∏m=2nwm∣≤θ⋅θn−2∑m=2n∣zm−wm∣+θn−1∣z1−w1∣=θn−1∑m=1n∣zm−wm∣.\begin{align*}\left|\prod_{m=1}^n z_m-\prod_{m=1}^n w_m\right|&\leq\left|z_1\prod_{m=2}^n z_m-z_1\prod_{m=2}^n w_m\right|+\left|z_1\prod_{m=2}^n w_m-w_1\prod_{m=2}^n w_m\right| \\&\leq\theta\left|\prod_{m=2}^n z_m-\prod_{m=2}^n w_m\right|+|z_1-w_1| \cdot \left| \prod_{m=2}^n w_m \right| \\&\leq\theta \cdot \theta^{n-2 }\sum_{m=2}^n|z_m-w_m|+\theta^{n-1}|z_1-w_1| \\& = \theta^{n-1 }\sum_{m=1}^n|z_m-w_m|.\end{align*}

References

  • [Durrett2019]Durrett, Rick. Probability: Theory and Examples. Fifth edition. Cambridge University Press, 2019. PDF.