laws-of-large-numbers-and-the-central-limit-theorem.html

Lecture 10: Laws of Large Numbers and the Central Limit Theorem

EECS 126 (UC Berkeley) · Spring 2026 · February 19, 2026

Reading: Bertsekas & Tsitsiklis, Ch. 5; supplementary notes on convergence.

These are my personal notes from Professor Kannan Ramchandran’s EECS 126 (Probability and Random Processes) course at UC Berkeley.

Topics: the weak law of large numbers (WLLN), convergence in probability, almost sure convergence and the strong law of large numbers (SLLN), and the central limit theorem (CLT).

Recap: Concentration Inequalities

The following bounds were derived in Lecture 9; we restate the ones used below.

Theorem 10.1 (Markov’s inequality)

If X≥0X \ge 0 and a>0a > 0, then

P(X≥a)≤E[X]a.\PP(X \ge a) \le \frac{\EE[X]}{a}.
Theorem 10.2 (Chebyshev’s inequality)

If XX has mean μ\mu and variance σ2\sigma^2, then for every c>0c > 0,

P(∣X−μ∣≥c)≤Var⁡(X)c2=σ2c2.(10.2)\PP\bigl(|X - \mu| \ge c\bigr) \le \frac{\Var(X)}{c^2} = \frac{\sigma^2}{c^2}. \tag{10.2}

With c=kσc = k\sigma:

P(∣X−μ∣≥kσ)≤1k2.\PP\bigl(|X - \mu| \ge k\sigma\bigr) \le \frac{1}{k^2}.

The left side is the probability that XX deviates from its mean by at least cc. For k=3k = 3, the two tails beyond μ±3σ\mu \pm 3\sigma have total probability at most 19\frac{1}{9}, for any distribution with finite variance.

A bell-shaped density with both tails beyond μ − 3σ and μ + 3σ shaded, labeled total tail area at most 1/9
Theorem 10.3 (Chernoff bound)

For every bb,

P(X≥b)≤min⁡s>0  e−sb MX(s),MX(s)=E[esX].\PP(X \ge b) \le \min_{s > 0}\; e^{-sb}\, M_X(s), \qquad M_X(s) = \EE\bigl[e^{sX}\bigr].
Example 10.1 (Chernoff bound for a Gaussian tail)

Let X∼N(0,σ2)X \sim \mathcal{N}(0, \sigma^2), so MX(s)=eσ2s2/2M_X(s) = e^{\sigma^2 s^2/2} (Lecture 8). With b=kσb = k\sigma,

P(X≥kσ)≤min⁡s>0  e−skσ eσ2s2/2=min⁡s>0  eh(s),h(s)=σ2s22−kσs.\PP(X \ge k\sigma) \le \min_{s > 0}\; e^{-sk\sigma}\, e^{\sigma^2 s^2/2} = \min_{s > 0}\; e^{h(s)}, \qquad h(s) = \frac{\sigma^2 s^2}{2} - k\sigma s.

Minimize the exponent:

h′(s)=σ2s−kσ=0  ⟹  s⋆=kσ,h(s⋆)=σ22⋅k2σ2−kσ⋅kσ=k22−k2=−k22.h'(s) = \sigma^2 s - k\sigma = 0 \;\Longrightarrow\; s^\star = \frac{k}{\sigma}, \qquad h(s^\star) = \frac{\sigma^2}{2}\cdot\frac{k^2}{\sigma^2} - k\sigma\cdot\frac{k}{\sigma} = \frac{k^2}{2} - k^2 = -\frac{k^2}{2}.

Therefore

P(X≥kσ)≤e−k2/2.\PP(X \ge k\sigma) \le e^{-k^2/2}.

Comparison at k=3k = 3 (two-sided, P(∣X∣≥3σ)\PP(|X| \ge 3\sigma)):

Chebyshev1k2=19\frac{1}{k^2} = \frac{1}{9}≈0.111\approx 0.111
Chernoff2e−k2/2=2e−4.52e^{-k^2/2} = 2e^{-4.5}≈0.0222\approx 0.0222
Exact2(1−Φ(3))2\bigl(1 - \Phi(3)\bigr)≈0.0027\approx 0.0027

Chebyshev uses only the variance, so it holds for every distribution and is loose for the Gaussian. Chernoff uses the whole MGF and is much tighter.

The Weak Law of Large Numbers

Let X1,X2,…,XnX_1, X_2, \ldots, X_n be i.i.d. with mean μ\mu and variance σ2<∞\sigma^2 < \infty. The sample mean (empirical mean estimate) is

Mn=1n∑i=1nXi.M_n = \frac{1}{n} \sum_{i=1}^{n} X_i.
Theorem 10.4 (Weak law of large numbers)

For every ε>0\varepsilon > 0,

P(∣1n∑i=1nXi−μ∣≥ε)⟶0as n→∞.\PP\Bigl(\Bigl|\frac{1}{n}\sum_{i=1}^n X_i - \mu\Bigr| \ge \varepsilon\Bigr) \longrightarrow 0 \qquad \text{as } n \to \infty.

The probability that the sample mean deviates from the population mean by at least ε\varepsilon vanishes as n→∞n \to \infty.

Proof.

Compute the mean and variance of MnM_n, then plug into Chebyshev. By linearity,

E[Mn]=1n∑i=1nE[Xi]=1n⋅nμ=μ.\EE[M_n] = \frac{1}{n} \sum_{i=1}^{n} \EE[X_i] = \frac{1}{n} \cdot n\mu = \mu.

By Var⁡(aX)=a2Var⁡(X)\Var(aX) = a^2\Var(X) and independence (Lecture 4),

Var⁡(Mn)=Var⁡(1n∑i=1nXi)=(1n)2Var⁡(∑i=1nXi)=(1n)2⋅nσ2=σ2n.\Var(M_n) = \Var\Bigl(\frac{1}{n} \sum_{i=1}^{n} X_i\Bigr) = \Bigl(\frac{1}{n}\Bigr)^2 \Var\Bigl(\sum_{i=1}^{n} X_i\Bigr) = \Bigl(\frac{1}{n}\Bigr)^2 \cdot n\sigma^2 = \frac{\sigma^2}{n}.

By Chebyshev (10.2) with X=MnX = M_n and c=εc = \varepsilon,

P(∣Mn−μ∣≥ε)≤Var⁡(Mn)ε2=σ2nε2⟶0as n→∞.(10.12)\PP\bigl(|M_n - \mu| \ge \varepsilon\bigr) \le \frac{\Var(M_n)}{\varepsilon^2} = \frac{\sigma^2}{n\varepsilon^2} \longrightarrow 0 \qquad \text{as } n \to \infty. \tag{10.12}

Formally, for all ε,δ>0\varepsilon, \delta > 0 there exists n(ε,δ)n(\varepsilon, \delta) such that

P(∣Mn−μ∣≥ε)≤δfor all n≥n(ε,δ).\PP\bigl(|M_n - \mu| \ge \varepsilon\bigr) \le \delta \qquad \text{for all } n \ge n(\varepsilon, \delta).

From (10.12), σ2nε2≤δ  ⟺  n≥σ2ε2δ\frac{\sigma^2}{n\varepsilon^2} \le \delta \iff n \ge \frac{\sigma^2}{\varepsilon^2 \delta}, so n(ε,δ)=σ2ε2δn(\varepsilon, \delta) = \frac{\sigma^2}{\varepsilon^2\delta} samples suffice. For example, with σ2=1\sigma^2 = 1, ε=0.1\varepsilon = 0.1, δ=0.05\delta = 0.05: n≥1(0.01)(0.05)=2000n \ge \frac{1}{(0.01)(0.05)} = 2000.

What are ε\varepsilon and δ\delta capturing? I had a question of what ε\varepsilon captures in this statement.

  • ε\varepsilon is the accuracy: how close MnM_n must be to μ\mu.
  • δ\delta is the confidence: the probability of a deviation of at least ε\varepsilon is at most δ\delta. (It bounds a probability, not the deviation itself.)
  • n(ε,δ)n(\varepsilon, \delta) is the number of samples needed for a given accuracy and confidence.

In words: for n≥n(ε,δ)n \ge n(\varepsilon, \delta), ∣Mn−μ∣<ε|M_n - \mu| < \varepsilon with probability at least 1−δ1 - \delta.

Convergence in Probability

Definition 10.1 (Convergence in probability)

A sequence Y1,Y2,…Y_1, Y_2, \ldots converges in probability to a constant aa, written Yn→  p  aY_n \xrightarrow{\;p\;} a, if for every ε>0\varepsilon > 0,

lim⁡n→∞P(∣Yn−a∣≥ε)=0.\lim_{n \to \infty} \PP\bigl(|Y_n - a| \ge \varepsilon\bigr) = 0.

The WLLN says exactly that Mn→  p  μM_n \xrightarrow{\;p\;} \mu.

Example 10.2 (Minimum of uniforms)

Let X1,X2,…X_1, X_2, \ldots be i.i.d. Uniform⁡[0,1]\operatorname{Uniform}[0,1] and Yn=min⁡(X1,…,Xn)Y_n = \min(X_1, \ldots, X_n). Does YnY_n converge in probability, and to what?

As we draw more samples, the smallest one should approach 00. Fix 0<ε<10 < \varepsilon < 1. Since Yn≥0Y_n \ge 0,

P(∣Yn−0∣≥ε)=P(Yn≥ε)=P(min⁡(X1,…,Xn)≥ε)=P(X1≥ε, X2≥ε, …, Xn≥ε)(all must be ≥ε)=∏i=1nP(Xi≥ε)(independence)=(1−ε)n⟶0as n→∞,\begin{aligned} \PP\bigl(|Y_n - 0| \ge \varepsilon\bigr) = \PP(Y_n \ge \varepsilon) &= \PP\bigl(\min(X_1, \ldots, X_n) \ge \varepsilon\bigr) \\ &= \PP(X_1 \ge \varepsilon,\, X_2 \ge \varepsilon,\, \ldots,\, X_n \ge \varepsilon) && \text{(all must be } \ge \varepsilon\text{)} \\ &= \prod_{i=1}^{n} \PP(X_i \ge \varepsilon) && \text{(independence)} \\ &= (1 - \varepsilon)^n \longrightarrow 0 \quad \text{as } n \to \infty, \end{aligned}

since 0<1−ε<10 < 1 - \varepsilon < 1. (For ε≥1\varepsilon \ge 1 the probability is 00.) Therefore Yn→  p  0Y_n \xrightarrow{\;p\;} 0.

The interval [0, 1] with the part from ε to 1 shaded, labeled P(X_i ≥ ε) = 1 − ε
Example 10.3 (Discrete-time arrival process)

Time runs in slots n=1,2,3,…n = 1, 2, 3, \ldots, grouped into intervals

Ik={2k, 2k+1, …, 2k+1−1},k=0,1,2,…,I_k = \{2^k,\, 2^k + 1,\, \ldots,\, 2^{k+1} - 1\}, \qquad k = 0, 1, 2, \ldots,

so I0={1}I_0 = \{1\}, I1={2,3}I_1 = \{2, 3\}, I2={4,…,7}I_2 = \{4, \ldots, 7\}, I3={8,…,15}I_3 = \{8, \ldots, 15\}, and ∣Ik∣=2k|I_k| = 2^k. There is exactly 11 arrival in each interval IkI_k, at a time chosen uniformly at random within IkI_k. Let

Yn={1if there is an arrival at time n,0otherwise.Y_n = \begin{cases} 1 & \text{if there is an arrival at time } n, \\ 0 & \text{otherwise.} \end{cases}
Time slots 1 to 16 grouped into intervals I_0 = {1}, I_1 = {2, 3}, I_2 = {4, …, 7}, I_3 = {8, …, 15}, with one arrival marked in each interval

Each time in IkI_k is equally likely to hold the arrival, so

P(Y1=1)=1,P(Y2=1)=P(Y3=1)=12,P(Y4=1)=⋯=P(Y7=1)=14,\begin{aligned} \PP(Y_1 = 1) &= 1, \\ \PP(Y_2 = 1) &= \PP(Y_3 = 1) = \tfrac12, \\ \PP(Y_4 = 1) &= \cdots = \PP(Y_7 = 1) = \tfrac14, \end{aligned}

and in general

P(Yn=1)=12kif n∈Ik.\PP(Y_n = 1) = \frac{1}{2^k} \qquad \text{if } n \in I_k.

As n→∞n \to \infty, the interval index kk containing nn also goes to ∞\infty, so

lim⁡n→∞P(Yn=1)=lim⁡k→∞12k=0.\lim_{n \to \infty} \PP(Y_n = 1) = \lim_{k \to \infty} \frac{1}{2^k} = 0.

For 0<ε≤10 < \varepsilon \le 1, P(∣Yn−0∣≥ε)=P(Yn=1)→0\PP(|Y_n - 0| \ge \varepsilon) = \PP(Y_n = 1) \to 0 (and it is 00 for ε>1\varepsilon > 1), so Yn→  p  0Y_n \xrightarrow{\;p\;} 0.

Converging, yet arrivals keep coming. Initially I was wondering how YnY_n can converge to 00 when, no matter which nn I pick, infinitely many arrivals still come after it. This is why convergence in probability is a weak notion: it only says that at each fixed large nn, an arrival at that particular time is unlikely. It says nothing about a single realization of the whole sequence, which still has Yn=1Y_n = 1 once in every interval. This weakness belongs to convergence in probability, not to the WLLN itself.

Almost Sure Convergence and the Strong Law

Each outcome ω\omega of the experiment produces a whole realization: an ordinary sequence of numbers Y1(ω),Y2(ω),…Y_1(\omega), Y_2(\omega), \ldots.

Definition 10.2 (Almost sure convergence)

YnY_n converges almost surely (a.s.) to YY, written Yn→  a.s.  YY_n \xrightarrow{\;\text{a.s.}\;} Y, if

P({ω:lim⁡n→∞Yn(ω)=Y(ω)})=1.\PP\Bigl(\bigl\{\omega : \lim_{n \to \infty} Y_n(\omega) = Y(\omega)\bigr\}\Bigr) = 1.

That is, the realization converges as an ordinary sequence for every outcome outside an event of probability 00.

Theorem 10.5 (Strong law of large numbers)

Let {Xn}n≥1\{X_n\}_{n \ge 1} be i.i.d. with mean μ\mu. Then

P(lim⁡n→∞1n∑i=1nXi=μ)=1,i.e.Mn→  a.s.  μ.\PP\Bigl(\lim_{n \to \infty} \frac{1}{n} \sum_{i=1}^{n} X_i = \mu\Bigr) = 1, \qquad\text{i.e.}\qquad M_n \xrightarrow{\;\text{a.s.}\;} \mu.

(The proof is beyond the scope of this course.) For fair die rolls, μ=1+2+⋯+66=216=3.5\mu = \frac{1 + 2 + \cdots + 6}{6} = \frac{21}{6} = 3.5, and every realization of MnM_n (except on an event of probability 00) converges to 3.53.5:

Three realizations of the running sample mean M_n of fair die rolls, each wandering early and then settling at 3.5

Excursions: SLLN versus WLLN. Initially I was wondering whether the SLLN allows any excursions at all outside a band μ±ε\mu \pm \varepsilon. It does: almost every realization leaves the band only finitely many times, and after some point stays inside forever. Convergence in probability (the WLLN) only requires that, at each fixed large nn, few realizations are outside the band; a single realization may still leave it infinitely often.

A realization that leaves the band μ ± ε a few times early on, then stays inside the band forever
Theorem 10.6 (Almost sure convergence implies convergence in probability)

If Yn→  a.s.  YY_n \xrightarrow{\;\text{a.s.}\;} Y, then Yn→  p  YY_n \xrightarrow{\;p\;} Y. The converse is not necessarily true.

Proof.

Fix ε>0\varepsilon > 0 and let

An=⋃m≥n{∣Ym−Y∣≥ε},A_n = \bigcup_{m \ge n} \bigl\{|Y_m - Y| \ge \varepsilon\bigr\},

the event that the realization leaves the ε\varepsilon-band at some time m≥nm \ge n. Then A1⊇A2⊇⋯A_1 \supseteq A_2 \supseteq \cdots. An outcome in every AnA_n leaves the band infinitely often, so its realization does not converge to YY; hence P(⋂nAn)≤P(Yn↛Y)=0\PP\bigl(\bigcap_n A_n\bigr) \le \PP(Y_n \not\to Y) = 0. By continuity of probability for decreasing events (a consequence of countable additivity, Lecture 1), P(An)→P(⋂nAn)=0\PP(A_n) \to \PP\bigl(\bigcap_n A_n\bigr) = 0. Since {∣Yn−Y∣≥ε}⊆An\{|Y_n - Y| \ge \varepsilon\} \subseteq A_n,

P(∣Yn−Y∣≥ε)≤P(An)⟶0.\PP\bigl(|Y_n - Y| \ge \varepsilon\bigr) \le \PP(A_n) \longrightarrow 0.

The converse fails: the arrival process. Every realization has exactly one arrival in each interval IkI_k, so Yn(ω)=1Y_n(\omega) = 1 for infinitely many nn and Yn(ω)=0Y_n(\omega) = 0 for infinitely many nn. The sequence Yn(ω)Y_n(\omega) never converges, for every outcome ω\omega, so P(Yn→0)=0\PP(Y_n \to 0) = 0. Thus Yn→  p  0Y_n \xrightarrow{\;p\;} 0 but YnY_n does not converge almost surely.

The Central Limit Theorem

Let X1,X2,…X_1, X_2, \ldots be i.i.d. and Sn=∑i=1nXiS_n = \sum_{i=1}^n X_i. What happens to the distribution of SnS_n as nn grows?

Example 10.4 (Sums of uniforms)

Xi∼Uniform⁡[0,1]X_i \sim \operatorname{Uniform}[0,1]. fS1f_{S_1} is a box and fS2f_{S_2} is the triangle from Lecture 8. Convolving once more, fS3(z)=∫z−1zfS2(x) dxf_{S_3}(z) = \int_{z-1}^{z} f_{S_2}(x)\, dx:

0≤z≤1:∫0zx dx=z22,1≤z≤2:∫z−11x dx+∫1z(2−x) dx=1−(z−1)22+(2z−z22−32)=−2z2+6z−32,2≤z≤3:∫z−12(2−x) dx=(3−z)22.\begin{aligned} 0 \le z \le 1: &\quad \int_0^z x\, dx = \frac{z^2}{2}, \\ 1 \le z \le 2: &\quad \int_{z-1}^{1} x\, dx + \int_1^z (2 - x)\, dx = \frac{1 - (z-1)^2}{2} + \Bigl(2z - \frac{z^2}{2} - \frac32\Bigr) = \frac{-2z^2 + 6z - 3}{2}, \\ 2 \le z \le 3: &\quad \int_{z-1}^{2} (2 - x)\, dx = \frac{(3 - z)^2}{2}. \end{aligned}
The densities of S_1 (a box on [0, 1]), S_2 (a triangle on [0, 2]) and S_3 (a smooth bell-like curve on [0, 3] centered at 1.5)

fS3f_{S_3} is symmetric about 1.51.5 and already looks bell-shaped.

Example 10.5 (Sums of exponentials)

Xi∼Exponential⁡(λ)X_i \sim \operatorname{Exponential}(\lambda), so fS1(x)=fX1(x)=λe−λxf_{S_1}(x) = f_{X_1}(x) = \lambda e^{-\lambda x} for x≥0x \ge 0. By convolution,

fS2(x)=∫0xλe−λu λe−λ(x−u) du=λ2e−λx∫0xdu=λ2x e−λx,x≥0.f_{S_2}(x) = \int_0^x \lambda e^{-\lambda u}\, \lambda e^{-\lambda (x - u)}\, du = \lambda^2 e^{-\lambda x} \int_0^x du = \lambda^2 x\, e^{-\lambda x}, \qquad x \ge 0.

By induction, fSn(x)=λnxn−1e−λx(n−1)!f_{S_n}(x) = \dfrac{\lambda^n x^{n-1} e^{-\lambda x}}{(n-1)!}:

fSn+1(x)=∫0xλnun−1e−λu(n−1)! λe−λ(x−u) du=λn+1e−λx(n−1)!∫0xun−1 du=λn+1xne−λxn!.f_{S_{n+1}}(x) = \int_0^x \frac{\lambda^n u^{n-1} e^{-\lambda u}}{(n-1)!}\, \lambda e^{-\lambda(x - u)}\, du = \frac{\lambda^{n+1} e^{-\lambda x}}{(n-1)!} \int_0^x u^{n-1}\, du = \frac{\lambda^{n+1} x^{n} e^{-\lambda x}}{n!}.
The densities of S_1 (a decaying exponential), S_2 and S_5, becoming more bell-shaped as n grows

Even starting from a very skewed density, fSnf_{S_n} becomes bell-shaped.

What happens to the mean and variance? By linearity and independence,

E[Sn]=nμ,Var⁡(Sn)=nσ2.\EE[S_n] = n\mu, \qquad \Var(S_n) = n\sigma^2.

The variance always grows, and the mean grows too unless μ=0\mu = 0, so fSnf_{S_n} drifts and spreads out. What about the sample mean Mn=SnnM_n = \frac{S_n}{n}?

E[Mn]=μ,Var⁡(Mn)=σ2n⟶0,\EE[M_n] = \mu, \qquad \Var(M_n) = \frac{\sigma^2}{n} \longrightarrow 0,

so fMnf_{M_n} collapses to a spike at μ\mu. Neither shows the shape of the limit:

A tall narrow spike f_{M_n} at μ next to a wide flat bell f_{S_n} centered at nμ with spread √n σ

So MnM_n and SnS_n are both the wrong objects. The right normalization subtracts the mean and divides by the standard deviation of SnS_n:

Zn=Sn−nμn σ.Z_n = \frac{S_n - n\mu}{\sqrt{n}\,\sigma}.

Then

E[Zn]=E[Sn]−nμn σ=nμ−nμn σ=0,Var⁡(Zn)=Var⁡(Sn)(n σ)2=nσ2nσ2=1.\EE[Z_n] = \frac{\EE[S_n] - n\mu}{\sqrt{n}\,\sigma} = \frac{n\mu - n\mu}{\sqrt{n}\,\sigma} = 0, \qquad \Var(Z_n) = \frac{\Var(S_n)}{\bigl(\sqrt{n}\,\sigma\bigr)^2} = \frac{n\sigma^2}{n\sigma^2} = 1.

Standardizing does not make ZnZ_n Gaussian. I had a question of whether the CLT just says that ZnZ_n becomes Gaussian once it is normalized. E[Zn]=0\EE[Z_n] = 0 and Var⁡(Zn)=1\Var(Z_n) = 1 for every nn, but for finite nn, ZnZ_n is generally not Gaussian (for uniform XiX_i, ZnZ_n even has bounded support). The CLT is a statement about the limit: the CDF of ZnZ_n approaches Φ\Phi as n→∞n \to \infty.

Definition 10.3 (Convergence in distribution)

ZnZ_n converges in distribution to ZZ, written Zn→  d  ZZ_n \xrightarrow{\;d\;} Z, if

lim⁡n→∞P(Zn≤x)=P(Z≤x)\lim_{n \to \infty} \PP(Z_n \le x) = \PP(Z \le x)

at every xx where the CDF of ZZ is continuous.

Theorem 10.7 (Central limit theorem)

Let X1,X2,…X_1, X_2, \ldots be i.i.d. with mean μ\mu and variance 0<σ2<∞0 < \sigma^2 < \infty, and Zn=Sn−nμn σZ_n = \frac{S_n - n\mu}{\sqrt{n}\,\sigma}. Then for every x∈Rx \in \RR,

lim⁡n→∞P(Zn≤x)=Φ(x),Φ(x)=P(Z≤x)=12π∫−∞xe−u2/2 du,\lim_{n \to \infty} \PP(Z_n \le x) = \Phi(x), \qquad \Phi(x) = \PP(Z \le x) = \frac{1}{\sqrt{2\pi}} \int_{-\infty}^{x} e^{-u^2/2}\, du,

where Z∼N(0,1)Z \sim \mathcal{N}(0,1) and uu is a dummy variable. That is, Zn→  d  N(0,1)Z_n \xrightarrow{\;d\;} \mathcal{N}(0,1).

Implications.

  1. In the limit, the distribution of ZnZ_n “wipes out” all information about the distribution of the XiX_i except the mean and the variance.
  2. If there are a large number of independent small disturbances, their aggregate effect is approximately normally distributed. This is why the Gaussian is a good model for noise.

The finite-variance assumption is needed: without it, ZnZ_n need not approach a Gaussian.

Proof via MGFs.

Assume MX1(s)<∞M_{X_1}(s) < \infty for ss in an interval around 00. Standardize each term: Yi=Xi−μσY_i = \frac{X_i - \mu}{\sigma}, i.i.d. with E[Yi]=0\EE[Y_i] = 0 and E[Yi2]=Var⁡(Yi)=1\EE[Y_i^2] = \Var(Y_i) = 1. Then

Zn=Sn−nμn σ=∑i=1n(Xi−μ)n σ=1n∑i=1nYi.Z_n = \frac{S_n - n\mu}{\sqrt{n}\,\sigma} = \frac{\sum_{i=1}^n (X_i - \mu)}{\sqrt{n}\,\sigma} = \frac{1}{\sqrt{n}} \sum_{i=1}^{n} Y_i.

By the MGF properties of Lecture 8 (scaling, then independent sums),

MZn(s)=E[esn∑iYi]=∏i=1nE[esnYi]=(MY(sn))n.M_{Z_n}(s) = \EE\Bigl[e^{\frac{s}{\sqrt{n}} \sum_{i} Y_i}\Bigr] = \prod_{i=1}^{n} \EE\Bigl[e^{\frac{s}{\sqrt{n}} Y_i}\Bigr] = \Bigl(M_Y\Bigl(\frac{s}{\sqrt{n}}\Bigr)\Bigr)^n.

Taylor-expand MYM_Y around 00, using MY(k)(0)=E[Yk]M_Y^{(k)}(0) = \EE[Y^k] (Lecture 8):

MY(t)=MY(0)+MY′(0) t+MY′′(0)2 t2+o(t2)=1+E[Y] t+E[Y2]2 t2+o(t2)=1+t22+o(t2).M_Y(t) = M_Y(0) + M_Y'(0)\, t + \frac{M_Y''(0)}{2}\, t^2 + o(t^2) = 1 + \EE[Y]\, t + \frac{\EE[Y^2]}{2}\, t^2 + o(t^2) = 1 + \frac{t^2}{2} + o(t^2).

With t=snt = \frac{s}{\sqrt{n}},

MY(sn)=1+s22n+o(1n).M_Y\Bigl(\frac{s}{\sqrt{n}}\Bigr) = 1 + \frac{s^2}{2n} + o\Bigl(\frac{1}{n}\Bigr).

Take logarithms and use ln⁡(1+x)=x+O(x2)\ln(1 + x) = x + O(x^2) as x→0x \to 0:

ln⁡MZn(s)=nln⁡(1+s22n+o(1n))=n(s22n+o(1n))=s22+o(1)⟶s22.\ln M_{Z_n}(s) = n \ln\Bigl(1 + \frac{s^2}{2n} + o\Bigl(\frac{1}{n}\Bigr)\Bigr) = n \Bigl(\frac{s^2}{2n} + o\Bigl(\frac{1}{n}\Bigr)\Bigr) = \frac{s^2}{2} + o(1) \longrightarrow \frac{s^2}{2}.

So MZn(s)→es2/2M_{Z_n}(s) \to e^{s^2/2}, which is the MGF of N(0,1)\mathcal{N}(0,1) (Lecture 8). Finally, we use without proof the continuity theorem: if MZn(s)→MZ(s)M_{Z_n}(s) \to M_Z(s) for all ss in an interval around 00, then Zn→  d  ZZ_n \xrightarrow{\;d\;} Z. Hence Zn→  d  N(0,1)Z_n \xrightarrow{\;d\;} \mathcal{N}(0,1).

This proof assumes the MGF exists near 00. The CLT holds with only a finite variance; that more general proof uses characteristic functions and is beyond the scope of this course.

2361 words