SECTION 1
Historical Context & Motivation
Probability theory advanced rapidly in the eighteenth and nineteenth centuries, but mathematicians repeatedly encountered a fundamental challenge: how does one efficiently extract all moments of a distribution, prove that sums of independent random variables follow particular laws, or establish that a sequence of distributions converges to a limiting form? Direct integration of probability densities was often intractable, especially for sums of random variables where convolutions quickly become unwieldy. The idea of transforming a distribution into a different mathematical object — one that is easier to manipulate algebraically — provided a powerful resolution. The moment generating function (MGF) and the characteristic function (CF) are two such transforms, each encoding a distribution's complete information in a single analytic or continuous function of a real or complex parameter.
1812 • Laplace's Generating Functions
1894 • Characteristic Functions Formalized
1920s • Lévy Continuity Theorem
1930s–40s • Cramér–Wold and Uniqueness Theorems
Modern Era • Computational & Theoretical Applications
The central question these transforms answer is deceptively simple: given a random variable X, can we construct a single function that faithfully encodes all information about its distribution — its moments, its shape, its behavior under summation — in a form that converts difficult integral operations into simple algebraic ones? The MGF and CF each provide an affirmative answer, with important differences in their domains of applicability and mathematical properties.
SECTION 2
Core Principles & Definitions
Both the moment generating function and the characteristic function belong to the broader family of distributional transforms — functions of a parameter that capture the entire probability structure of a random variable. Their utility rests on several foundational principles that govern when they exist, how they encode moments, and why they uniquely determine distributions.
Transform as Expectation
Moment Extraction via Differentiation
Uniqueness Theorem
Convolution Becomes Multiplication
Existence & Domain
KEY TAKEAWAY
SECTION 3
Visual Explanation: How Transforms Encode Distributions
The following diagram illustrates the core pipeline: a probability distribution is passed through either the MGF or CF transform, yielding a function in the transform domain. From that function, moments can be extracted by differentiation, sums of independent variables are computed by multiplication, and the original distribution can be recovered through inversion. The diagram also highlights the critical difference in existence between the two transforms.
Notice the structural symmetry: both transforms serve as algebraic encodings of the distribution, but the CF's use of complex exponentials guarantees boundedness (since |eitX| = 1 for all real X and t), whereas the MGF's real exponential etX can grow without bound, causing the expectation to diverge for heavy-tailed distributions.
SECTION 4
Mathematical Framework
Moment Generating Function
MGF DEFINITION
where t ∈ ℝ, f(x) is the PDF (or replace the integral with a sum for discrete X). The MGF exists if this expectation is finite on some open interval (−h, h) with h > 0.
The power of the MGF lies in its Taylor expansion. Expanding etX and exchanging expectation with summation (justified when the MGF exists in a neighborhood of zero), we obtain MX(t) = Σ E[Xn] tⁿ / n!. This immediately shows that the n-th derivative at t = 0 yields the n-th raw moment.
MOMENT EXTRACTION
The n-th derivative of (t) evaluated at t = 0 gives the n-th raw moment. In particular, M'(0) = E[X] and M''(0) = E[X²], so Var(X) = M''(0) − [M'(0)]².
Characteristic Function
CF DEFINITION
where i = √(−1) and t ∈ ℝ. This is the Fourier transform of f(x) (with a sign convention common in probability). Since || = 1 for all real x and t, the expectation is always finite — the CF exists for every random variable.
The CF is complex-valued: φX(t) = E[cos(tX)] + i E[sin(tX)]. Its real part captures even moments and its imaginary part captures odd moments. The relationship between the CF and moments is given by φ(n)X(0) = in E[Xn], provided the n-th moment exists.
INDEPENDENCE & SUMS
For independent random variables X and Y. This property extends to any finite collection of mutually independent variables and is the algebraic manifestation of convolution becoming multiplication under the transform.
Inversion Theorem
SECTION 5
Transforms of Common Distributions
To build fluency with transforms, it is essential to know the MGFs and CFs of standard distributions. The following table provides a reference for the most important families. Notice how the functional form of the transform often reveals structural properties: the normal distribution's MGF is itself an exponential of a quadratic in t, the Poisson's is an exponential of a shifted exponential, and the Cauchy distribution — notably — has no MGF at all.
| Distribution | MGF M(t) | CF φ(t) | Domain of MGF |
|---|---|---|---|
| N(μ, σ²) | exp(μt + σ²t²/2) | exp(iμt − σ²t²/2) | All t ∈ ℝ |
| Exp(λ) | λ / (λ − t) | λ / (λ − it) | t < λ |
| Poisson(λ) | exp(λ( − 1)) | exp(λ( − 1)) | All t ∈ ℝ |
| Gamma(α, β) | t < β | ||
| Bernoulli(p) | 1 − p + | 1 − p + | All t ∈ ℝ |
| Cauchy(0,1) | Does not exist | — |
MGFs and CFs of standard distributions
The visual behavior of the CF is deeply tied to the tail properties of the distribution. Distributions with lighter tails (like the normal) produce CFs that decay rapidly, while heavy-tailed distributions (like the Cauchy) have CFs that decay slowly. The smoothness of the CF at the origin directly reflects how many moments the distribution possesses: a CF that is n-times differentiable at zero corresponds to a distribution with finite n-th moment.
SECTION 6
Worked Example: Deriving the Distribution of a Sum
One of the most powerful applications of the MGF is proving that the sum of independent normal random variables is itself normal. Let X ~ N(μ₁, σ₁²) and Y ~ N(μ₂, σ₂²) be independent. We wish to find the distribution of S = X + Y.
Sum of Independent Normals via MGF
- 1
Step 1 — Write the MGFs of X and Y
From the table of standard MGFs, we have (t) = exp(μ₁t + σ₁²t²/2) and (t) = exp(μ₂t + σ₂²t²/2). Both exist for all t ∈ ℝ.(t) = exp(μ₁t + σ₁²t²/2), (t) = exp(μ₂t + σ₂²t²/2) - 2
Step 2 — Apply the multiplication property for independent sums
Since X and Y are independent, the MGF of S = X + Y is the product (t) = (t) · (t). We multiply the two exponentials by adding their exponents.(t) = exp(μ₁t + σ₁²t²/2) · exp(μ₂t + σ₂²t²/2) - 3
Step 3 — Combine exponents
Adding the exponents: (μ₁t + σ₁²t²/2) + (μ₂t + σ₂²t²/2) = (μ₁ + μ₂)t + (σ₁² + σ₂²)t²/2. This produces a single exponential whose exponent has the same functional form as a normal MGF.(t) = exp((μ₁ + μ₂)t + (σ₁² + σ₂²)t²/2) - 4
Step 4 — Identify the distribution by uniqueness
By the uniqueness theorem, the MGF exp((μ₁ + μ₂)t + (σ₁² + σ₂²)t²/2) is exactly the MGF of a N(μ₁ + μ₂, σ₁² + σ₂²) random variable. Since the MGF determines the distribution, we conclude S follows this normal distribution.S = X + Y ~ N(μ₁ + μ₂, σ₁² + σ₂²) - 5
Step 5 — Numerical verification
If X ~ N(3, 4) and Y ~ N(−1, 9), then S ~ N(3 + (−1), 4 + 9) = N(2, 13). The mean of S is 2 and the variance is 13, so the standard deviation is √13 ≈ 3.606. We can verify: E[S] = E[X] + E[Y] = 3 + (−1) = 2 ✓, and Var(S) = Var(X) + Var(Y) = 4 + 9 = 13 ✓ (using independence).S ~ N(2, 13) with σ_S ≈ 3.606
Why Not Convolution?
SECTION 7
MGF vs. Characteristic Function: Strengths & Limitations
While the MGF and CF share the same algebraic structure — both are expectations of exponential functions — their domains, existence conditions, and analytical properties differ substantially. The choice between them depends on the problem at hand: if the MGF exists, it is often more convenient for moment calculations and identifying distributions; if it does not, the CF is the indispensable alternative.
| Property | MGF M(t) | CF φ(t) |
|---|---|---|
| Existence | May not exist (requires E[] < ∞ near t = 0) | Always exists for every random variable |
| Range | Real-valued, M(t) ≥ 1 near t = 0 | Complex-valued, |φ(t)| ≤ 1 with φ(0) = 1 |
| Moment extraction | M⁽ⁿ⁾(0) = E[Xⁿ] directly | φ⁽ⁿ⁾(0) = iⁿE[Xⁿ] (factor of iⁿ) |
| Uniqueness | Yes, if it exists in a neighborhood of 0 | Yes, always (by inversion theorem) |
| Convergence theorems | If (t) → M(t) for t in neighborhood of 0, and M is an MGF, then convergence in distribution | Lévy continuity theorem: pointwise convergence of CFs ↔ convergence in distribution (to a proper distribution if limit is continuous at 0) |
| Heavy-tailed distributions | Fails (e.g., Cauchy, log-normal in general) | Works perfectly for all distributions |
| Connection to transforms | Two-sided Laplace transform of f(x) | Fourier transform of f(x) |
Comparison of MGF and CF properties
KEY TAKEAWAY
SECTION 8
Connections to Advanced Theory
The MGF and CF are not isolated constructs; they are embedded in a rich network of related transforms and advanced theorems that underpin modern probability theory and mathematical statistics. Understanding these connections elevates one's ability to apply transform methods in research-level problems.
| Related Concept | Connection to MGF / CF | Key Application |
|---|---|---|
| Cumulant Generating Function (CGF) | K(t) = log M(t). Cumulants κₙ = K⁽ⁿ⁾(0); κ₁ = mean, κ₂ = variance, κ₃ = related to skewness. | Saddlepoint approximations, Edgeworth expansions, exponential family theory. |
| Probability Generating Function (PGF) | G(z) = E[] for non-negative integer-valued X. Related to MGF by G(z) = M(log z). | Branching processes, queueing theory, discrete distribution families. |
| Central Limit Theorem via CF | The CF of the standardized sample mean converges pointwise to , the CF of N(0,1), establishing the CLT via Lévy continuity. | The most elegant proof of the CLT; generalizations to non-identically distributed summands. |
| Large Deviations (Cramér's Theorem) | The rate function I(x) = sup_t {tx − log M(t)} is the Legendre–Fenchel transform of the CGF. | Quantifying exponentially rare events, insurance risk theory, information theory. |
| Multivariate Extensions | M(t₁,...,tₖ) = E[exp(t₁X₁ + ··· + tₖXₖ)] and φ(t₁,...,tₖ) = E[exp(i(t₁X₁ + ··· + tₖXₖ))]. | Joint distributions, Cramér–Wold theorem, multivariate CLT, copula characterization. |
Advanced connections from MGF and CF theory
Looking forward, the cumulant generating function K(t) = log M(t) deserves special mention because cumulants have an additive property for independent variables (κₙ(X + Y) = κₙ(X) + κₙ(Y)), which makes them natural parameters for exponential families and central objects in saddlepoint approximation theory. The Cramér–Wold theorem extends CF methods to multivariate settings by asserting that a random vector's distribution is determined by the CFs of all its one-dimensional projections. These tools collectively form the analytical backbone of modern mathematical statistics.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Summary & Review
Summary
The moment generating function M(t) = E[etX] and the characteristic function φ(t) = E[eitX] are distributional transforms that convert probability distributions into functions of a single parameter. Both encode all moments (extractable by differentiation at zero), convert convolution of independent sums into multiplication, and uniquely determine their distributions. The critical distinction is that the MGF may fail to exist for heavy-tailed distributions, while the CF always exists because |eitX| = 1.
Key applications include proving that sums of independent normals are normal (via MGF multiplication), deriving the Central Limit Theorem (via CF convergence and the Lévy continuity theorem), and computing rate functions in large deviations theory through the cumulant generating function K(t) = log M(t). Mastery of these transforms provides the analytical foundation for virtually all of modern probability theory and mathematical statistics.