Central Limit Theorem: MGFs, Proof, and Random Walks
Complex Systems · 1/8 · Series index · Notation
The Central Limit Theorem: Why Sums of Many Random Contributions Are Approximately Normal
A falling-ball apparatus illustrates a random walk: at each level, a ball moves randomly to the left or right, and its final position is the sum of many random displacements. The central limit theorem explains why suitably standardized sums often approach a normal distribution.
Distinguishing Random Variables, Distributions, and Moments
A random variable assigns a numerical value to the outcome of a random experiment; denotes one of its possible values. A continuous random variable is described by a probability density function (PDF), :
The height of a density is not the probability of that exact value; a continuous distribution has . A discrete random variable instead uses a probability mass function (PMF), , and integration is replaced by summation over all possible values. For example, .
Mean, Variance, and Raw Moments
The mean describes location, the variance measures squared fluctuations around the mean, and the standard deviation has the same units as :
The th raw moment is . Therefore,
The second raw moment equals the variance only when . Do not confuse raw moments with central moments, .
General and Standard Normal Distributions
A general normal, or Gaussian, distribution is written as . Its second parameter is the variance:
A standard normal variable has density
If , then . Define the standard normal cumulative distribution function by
An interval probability is , and symmetry gives .
The Precise CLT Statement and Its Assumptions
Let be independent and identically distributed (i.i.d.), with
“Identically distributed” means that all variables follow the same probability law; it does not mean that every observed value is identical. Independence means that the joint probability law factorizes: learning outcomes for any subset does not change the joint distribution of the remaining variables. Define the sum and sample mean as
The central limit theorem (CLT) states that the standardized sum converges in distribution:
Here, convergence in distribution means that for every fixed real number . The original variables may be discrete or non-normal. The theorem does not assert exact normality at finite , nor does it guarantee pointwise convergence of arbitrary probability densities.
Why Standardization Uses the Square Root of
The scaling of means and variances explains the appearance of :
Independence makes the cross-covariances zero. The sum has standard deviation , whereas the mean has standard deviation . For large , we therefore often write the approximations
When , ; the square root covers only . The fluctuations of the unstandardized mean shrink to zero as it approaches the constant ; we must not write . A density approximation must also include the correct normalization factor:
Why the CLT Is Useful, and Why Its Assumptions Matter
Wealth, stock prices, earthquakes, and supermarket sales are influenced by many factors, which can motivate a normal model as an initial hypothesis. Before applying this reasoning, check whether the contributions add, whether they are independent, and whether the relevant distributional and finite-variance assumptions hold. The examples themselves do not prove that these quantities are normally distributed. Correlated interactions, multiplicative growth, or very heavy tails can invalidate this simple argument.
The version used here assumes i.i.d. variables with finite variance. Having equal means and variances alone does not imply identical distributions. More general CLTs can relax assumptions, but require additional theorems. There is also no universal threshold such as “” that guarantees a reliable approximation for every distribution; skewness and heavy tails affect the rate of convergence.
Moment-Generating Functions: Encoding Moments in One Function
The moment-generating function (MGF) is
For a discrete variable, use instead.
Generating Moments by Differentiating at Zero
Expand around . When summation and expectation can be interchanged,
Consequently,
The notation denotes the th derivative, not the th power of . Differentiate with respect to first, then set . Substituting directly into the MGF gives only .
A sufficient condition for these standard MGF operations is that be finite on an open neighborhood of . Not every distribution has such an MGF; even the existence of all raw moments does not automatically guarantee it. The usual finite-variance CLT does not require an MGF to exist; the MGF proof given here imposes an additional existence assumption.
Translation, Scaling, and Independent Sums
The proof below uses two rules:
The first follows from . The second uses independence to obtain . Being merely uncorrelated is generally insufficient for the second rule.
The Standard Normal MGF: Complete the Square
Let . Then
The last integral is the integral of a normal density with mean and variance , so it equals . Writing then gives the MGF of a general normal distribution:
The first four derivatives of the standard normal MGF are
Thus .
Distinguishing Raw Moments, Skewness, and Kurtosis
For a general distribution, skewness and kurtosis are defined as
The identities and hold only for standardized variables. A normal distribution has skewness , kurtosis , and excess kurtosis ; keep these three quantities distinct.
The MGF Proof of the CLT: Where Each Assumption Is Used
Consider the simplified case , , and assumes that the MGF of an individual is finite near . The goal is to show that the MGF of converges to .
Step 1: Turn the Exponential of a Sum into a Product
Step 2: Factor the Expectation by Independence, Then Use Identical Distributions
This is precisely where independence and identical distributions enter the proof.
Step 3: Use a Second-Order Taylor Expansion at Zero
For fixed , let . Since , , and ,
Therefore,
The derivatives must be evaluated at the expansion point . At finite , we cannot discard the remainder and retain an exact equality.
Step 4: Take the Limit
Using ,
Hence . The continuity theorem for MGFs gives .
Step 5: Restore a General Mean and Variance
Repeat the argument for . Since and ,
The complete chain is: standardize → turn the exponential of a sum into a product → factor by independence → use identical distributions → expand to second order at zero → apply . The finite mean determines the centering term, and the finite variance determines the scale.
Why the Finite-Variance CLT Is More General Than This Proof
We can instead use the characteristic function , which always exists. For a variable with mean and variance ,
and the same argument gives
This explains how to address the gap caused by possible nonexistence of an MGF; the main derivation above still follows the MGF route.
Random Walks: From One Step to the Endpoint Distribution
Consider a walk in which each step is to the right or to the left, with probability each. Steps are independent, and the position after steps is . Repeated left or right deflections in the falling-ball apparatus provide an intuitive analogy.
The Distribution and Moments of One Step
The step distribution is discrete, so it is described by a PMF:
Since and ,
We can also see this directly: an odd power of equals , while an even power is always . A single step therefore has mean and variance . Its distribution is not normal: its fourth moment is , whereas the fourth moment of a standard normal variable is .
The Exact Distribution After Steps
Let be the number of steps to the right. Then and , so
All other values of have probability . The endpoint has the same parity as . The MGF of is , and
The fourth moment can also be derived by counting terms. In the expansion of , the only terms with nonzero expectation are those containing one index four times, or two distinct indices twice each. Hence
The standardized endpoint has mean , variance , skewness , and kurtosis
Its MGF is
Thus each step can have only two possible values while the standardized endpoint after many steps approaches a normal distribution.
Simulating the Random Walk and Interpreting the Results
Use . For each , perform independent repetitions. In each repetition, generate equally likely steps and sum them, giving endpoints. Plot a histogram of the endpoints and compare it with ; alternatively, plot and compare it with .
| Number of steps | Exact kurtosis of | ||
|---|---|---|---|
| 5 | 0 | ||
| 25 | 0 | ||
| 125 | 0 |
Keep the following distinctions in mind when interpreting the results:
- is the number of steps in each walk, which determines the theoretical approximation. The repetitions are independent trials, which determine the sampling noise in the estimated histogram. Increasing the number of repetitions does not turn the true distribution of a fixed -step walk into a continuous normal distribution.
- All three values of are odd, and possible endpoints are separated by . Histogram bins of width , centered on the allowed endpoints, are appropriate. Normalize the histogram as a density when overlaying a PDF. If the bars instead show PMF values, compare them with the normal distribution’s probability areas over the corresponding intervals, rather than directly with density heights.
- The theoretical parameters are . When fitting the simulated sample, report the sample mean and fitted standard deviation; these will generally differ slightly because of sampling fluctuations.
- As increases, the overall profile of the standardized endpoints generally becomes closer to a bell shape. At finite , the true distribution remains discrete, and a finite set of simulations retains sampling noise.
Practice Questions and a General Solution Method
The following exercises combine probability, standardization, and moment-generating functions.
Question 1: Normal Approximations for a Sum and a Mean
Independent, identically distributed variables have mean and standard deviation . Let . Find the approximate distributions of and , and estimate .
Solution: First note that , so
The standard deviation of the mean is , so the required probability is approximately . Common errors are treating as the standard deviation or incorrectly writing the variance of the sum as .
Question 2: Reading Moments from an MGF
Given , find the mean, variance, and second raw moment.
Solution: Comparing with the normal MGF gives and . Therefore, . Alternatively, differentiate to obtain and ; the latter is not the variance.
Question 3: An Exact Random-Walk Probability
What is the probability of reaching after steps?
Solution: This requires rightward steps. Therefore,
Also, , because an odd number of steps cannot lead to an even endpoint. A normal approximation cannot replace this restriction on the discrete support.
Question 4: Why Having Many Terms Is Not Enough
Suppose , where and . Can the ordinary i.i.d. CLT establish ?
Solution: No. These variables are perfectly correlated, and . Thus and ; the independence assumption fails. Identical distributions do not imply independence, and the covariance terms cannot be dropped.
Question 5: Two Claims About the Proof
Are the following statements correct: “Finite variance guarantees that an MGF exists near ” and “The MGF of the mean is ”?
Solution: Both are incorrect. The finite-variance CLT may hold even when the MGF method cannot be applied directly. The MGF of is . When , the expression instead corresponds to .
A General Sequence for Calculations
- Identify the distribution of an individual variable and establish independence.
- Calculate .
- Determine whether the target is or .
- Calculate the mean and variance of that target.
- Standardize to .
- Finish using , an exact discrete probability, or an MGF.
In an explanatory answer, state the theorem, its assumptions, and what a finite-sample approximation means.

