Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 12

Proving the Central Limit Theorem with Characteristic Functions

Recommended resources

Introduction

Welcome back! In our previous lesson, we established the Weak Law of Large Numbers (WLLN), which rigorously proved that the sample mean converges in probability to the true population mean . This tells us that with enough data, our average will get arbitrarily close to the expected value.

However, the WLLN doesn't tell us how the sample mean is distributed around for a large but finite sample size . This is where the Central Limit Theorem (CLT) comes in. The CLT is one of the most powerful and profound results in all of statistics. It states that the distribution of the standardized sample mean approaches a standard normal (Gaussian) distribution, regardless of the original distribution of the individual samples, as long as they have a finite variance.

This lesson is dedicated to fulfilling the learning outcome: outlining the proof of the Central Limit Theorem (CLT) using characteristic functions. Given your interest in formal proofs, we will follow a classic and elegant approach that leverages the power of Fourier analysis in probability. Our path will involve three main steps:

  1. Understanding the properties of characteristic functions.
  2. Stating Lévy's Continuity Theorem, which connects the convergence of characteristic functions to the convergence of random variables.
  3. Using a Taylor expansion of the characteristic function to show that the standardized sum's characteristic function converges to that of a Gaussian.

Let's begin by introducing our primary analytical tool.


1. The Power of Characteristic Functions

The characteristic function is the probabilistic cousin of the Fourier transform, a concept you are likely familiar with from your background in mechanical engineering and signal processing.

For a random variable , its characteristic function is a complex-valued function defined as:

where and is a real number. Unlike the moment-generating function, the characteristic function exists for any random variable because , ensuring the expectation is always finite.

For our proof of the CLT, we need two critical properties:

  1. Uniqueness: A distribution is uniquely defined by its characteristic function (Lévy's Inversion Theorem). If two random variables have the same characteristic function, they have the same distribution. The characteristic function for a standard normal random variable is .
  2. Sums of Independent Variables: If are independent random variables, the characteristic function of their sum is the product of their individual characteristic functions:

To build a solid foundation, please read the following sections from the provided lecture notes.

Probability Theory - Characteristic Functions

These notes from ETH Zürich provide a formal introduction to characteristic functions and their essential properties. We will focus on the definition and the convolution formula.

Please read sections '7.1 Definition' and '7.3 Convolution Formula'. This will formalize the concepts we just discussed and demonstrate how the characteristic function of a sum of independent variables is derived.


2. The Bridge: Lévy's Continuity Theorem

The central pillar connecting characteristic functions to the CLT is Lévy's Continuity Theorem. It provides the rigorous justification for our entire approach.

Theorem (Lévy's Continuity): A sequence of random variables converges in distribution to a random variable if and only if the characteristic function converges pointwise to the characteristic function for every .

In simple terms, to prove that our standardized sum converges to a normal distribution, we "only" need to show that its characteristic function converges to . This transforms a problem about probability distributions into a problem of analyzing the limit of a sequence of functions.

For a formal statement of this powerful theorem, refer to the same notes.

Probability Theory - Lévy's Convergence Theorem

This section of the notes formally states Lévy's Convergence Theorem, which is the key link we need for our proof.

Read Section '8.7 Characterization via the Characteristic Function'. Focus on the statement of Theorem 8.20 and its implication: proving convergence of distributions can be achieved by proving pointwise convergence of their characteristic functions.


3. The Engine: Taylor Expansion of a Characteristic Function

Our goal is to analyze the limit of , where is a standardized random variable. Since the argument becomes very small as , a Taylor series expansion around is the natural tool.

If a random variable has finite moments, we can relate them to the derivatives of its characteristic function at zero. Specifically, if and , then the Taylor expansion of around is:

Using the property that , we get:

Substituting these in gives the crucial approximation:

where is a term that goes to zero faster than .

The following video provides a detailed, step-by-step derivation of this expansion, which is essential for understanding the mechanics of the CLT proof.

Master Program: Probability Theory - Lecture 9: The Lévy continuity theorem

This lecture from IMPA provides a rigorous derivation of the Taylor expansion for characteristic functions. This is the most technically detailed part of our lesson, but it directly addresses your interest in formal proofs.

Watch the segment from 07:08 to 27:37. The goal is to understand how the moments of a random variable (mean and variance) determine the coefficients of the Taylor series of its characteristic function around zero. You don't need to memorize every step, but follow the logic of how the expansion is constructed.


4. Assembling the Proof of the Central Limit Theorem

We now have all the necessary components. Let's assemble them to prove the CLT.

Statement: Let be i.i.d. random variables with mean and variance . Let . Then the standardized sum

converges in distribution to a standard normal random variable .

Proof Outline:

  1. Standardize: Define . These are i.i.d. with and . Our standardized sum becomes .

  2. Find the Characteristic Function of : Using the properties we learned:

  3. Apply the Taylor Expansion: Since and , we use the expansion from the previous section with :

    Substitute :

  4. Take the Limit: We now need to find the limit of as :

    Using the well-known limit identity , we find:

  5. Conclude with Lévy's Theorem: The limit is the characteristic function of a standard normal distribution . By Lévy's Continuity Theorem, since , we conclude that . This completes the proof.

The following resource provides a very clean write-up of this exact sequence of steps.

Probability Theory - Central Limit Theorem Proof

This section from the ETH Zürich notes brings everything together into a concise and elegant proof of the Central Limit Theorem.

Read Section '9.3 Central Limit Theorem'. This section perfectly outlines the argument we just built, from standardizing the variables to taking the limit of the characteristic function.


5. From Theory to Practice: A Visual Demonstration

To connect this abstract proof to a practical result, let's visualize the CLT. The theorem's magic is that it works for any initial distribution. Let's pick a very non-Gaussian one, like the exponential distribution. If we take many samples from it, calculate their mean, and repeat this process thousands of times, the distribution of these means will be Gaussian.

Central Limit Theorem Simulation with Python Histograms
This image demonstrates the CLT. The top histogram shows a skewed initial distribution (like an exponential). The Python code simulates taking many samples, calculating their means, and collecting these means. The bottom histogram shows the distribution of these sample means, which is strikingly bell-shaped, just as the CLT predicts.

Here is a Python script you can run to reproduce this yourself. This directly addresses your preference for hands-on coding exercises.

import numpy as np
import matplotlib.pyplot as plt




# 1. Define the initial (non-normal) distribution
# Let's use an exponential distribution.
# 'scale' is 1/lambda, 'size' is the number of points.
original_pop = np.random.exponential(scale=2.0, size=100000)




# 2. Set up the simulation parameters
sample_size = 50  # How many data points in each sample
num_samples = 10000 # How many times we draw a sample




# 3. Run the simulation
sample_means = []
for _ in range(num_samples):



    # Draw a random sample from the original population
    sample = np.random.choice(original_pop, size=sample_size)



    # Calculate the mean of that sample and store it
    sample_means.append(np.mean(sample))




# 4. Visualize the results
fig, (ax1, ax2) = plt.subplots(2, 1, figsize=(8, 8))




# Plot the original population's distribution
ax1.hist(original_pop, bins=100, density=True, color='skyblue')
ax1.set_title("Original Distribution (Exponential)")
ax1.set_xlim(0, 20)




# Plot the distribution of sample means
ax2.hist(sample_means, bins=50, density=True, color='salmon')
ax2.set_title(f"Distribution of {num_samples} Sample Means (Sample Size = {sample_size})")
ax2.set_xlabel("Value")

plt.tight_layout()
plt.show()




# Theoretical check
pop_mean = np.mean(original_pop)
pop_std = np.std(original_pop)
print(f"Population Mean: {pop_mean:.2f}")
print(f"Mean of Sample Means: {np.mean(sample_means):.2f}")
print("-" * 20)



# According to CLT, the std of sample means should be sigma/sqrt(n)
print(f"Population Std Dev: {pop_std:.2f}")
print(f"Std Dev of Sample Means: {np.std(sample_means):.2f}")
print(f"Theoretical Std Dev of Sample Means (sigma/sqrt(n)): {pop_std/np.sqrt(sample_size):.2f}")

I encourage you to experiment with this code. Try changing the sample_size (e.g., to 2, 10, or 100) and see how the bottom histogram becomes more or less "bell-shaped."


Conclusion

In this lesson, we have constructed a complete and rigorous outline of the proof for the Central Limit Theorem.

Key Takeaways:

  • The CLT states that the standardized sum of i.i.d. random variables converges in distribution to a standard normal distribution.
  • Characteristic functions are the key analytical tool, turning problems of distributional convergence into problems of functional convergence.
  • Lévy's Continuity Theorem is the bridge that formalizes this connection.
  • The core of the proof relies on a Taylor expansion of the characteristic function around zero, which leads to the famous limit: .

Preview of the Next Lesson:

We have just used a powerful technique—characteristic functions—to prove a major theorem. In our next lesson, "Gaussian Combinations and Limiting Distributions," we will continue to leverage this tool. Our first objective will be to prove that a linear combination of independent Gaussian random variables is itself a Gaussian. This is a property that can be demonstrated with remarkable elegance using characteristic functions, providing another excellent application of the theory you've learned today.