Characteristic Functions and Moment Generating Functions
Characteristic functions and moment generating functions are integral transforms of a probability distribution that encode all its information in a single function. The characteristic function always exists; the moment generating function may not. They linearize convolution (sums of independent variables become products), generate moments by differentiation, and uniquely determine the distribution. Used everywhere in probability theory, statistics, and the proof of the Central Limit Theorem; developed by Lyapunov, Lévy, and others in the late 19th–early 20th century.
A probability distribution is fully captured not only by its density or CDF but by any one of several transforms. By replacing the variable with or and taking expectations, we convert convolution into multiplication and moments into derivatives. This is exactly why these transforms are the natural tool for studying sums of independent random variables — the engine behind limit theorems.
Formal Statement
For a random variable , the moment generating function is
Derivation hint: Apply the Law of the Unconscious Statistician (LOTUS) to the function , summing or integrating against the distribution. Here , is the probability mass function, and is the probability density function. The MGF is defined only for those where the sum/integral converges; we require convergence on an open interval containing .
For any random variable , the characteristic function is
Derivation hint: Use Euler's formula and split the expectation into real and imaginary parts. Here . Because , the integrand is bounded, so exists and is finite for every and every distribution.
If exists in a neighborhood of , then has finite moments of all orders and
Derivation hint: Differentiate under the expectation times to bring down a factor , then set so . Equivalently, the Taylor series holds. For the characteristic function, when ,
Derivation hint: Differentiate to pull down each time; after derivatives the prefactor is , so divide by it.
Uniqueness. The characteristic function determines the distribution uniquely: if then and have the same distribution. The same holds for the MGF when it exists on an open interval around .
Convolution / Independence. If and are independent, then for the sum ,
Derivation hint: ; independence factors the expectation of a product into a product of expectations.
Linear transformation. For constants ,
Derivation hint: ; pull the constant exponent out and rescale the argument.
Why It Holds / Derivation
We justify equation [3], assuming converges in for some .
Step 1. Write the definition .
Step 2. Expand the exponential in its power series: .
Step 3. Convergence of on an open interval permits interchanging expectation and summation (dominated convergence / Fubini):
Step 4. This is a power series in . A power series equals the Taylor series of the function it represents, so the coefficient of is .
Step 5. Matching coefficients: , hence .
∎We justify equation [5] for independent .
Step 1. By definition, .
Step 2. Algebra of exponents: .
Step 3. Since and are independent, the functions and are independent, so the expectation of the product factors:
Step 4. Recognize each factor: . The identical argument with in place of proves the MGF version.
∎Paul Lévy was the central architect of the modern theory of characteristic functions. Building on Lyapunov's use of them in proving the Central Limit Theorem, Lévy established the continuity theorem (pointwise convergence of CFs corresponds to convergence in distribution), developed the inversion formula in full generality, and classified the infinitely divisible and stable distributions through their characteristic functions. His 1925 Calcul des probabilités made the characteristic function the standard tool of rigorous probability. Lévy also pioneered stochastic processes (Lévy processes, Brownian motion), and his name is attached to a vast range of probabilistic objects.
Building Intuition
Think of a probability distribution as a "signal" — a shape spread over the real line. The characteristic function is its Fourier transform: it re-expresses the same information in terms of frequencies rather than positions . Two facts then become intuitive. First, why sums become products. Adding independent random variables means convolving their densities (smearing one shape over the other). The Fourier transform turns convolution into ordinary multiplication — so in the transform domain, addition of variables is just multiplication of functions. This is the same principle that makes Fourier analysis so useful in signal processing. Second, why derivatives give moments. Near , . Taking expectations, the coefficients are precisely The local behavior of the transform at the origin encodes the moments — small probes large-scale features (mean, variance) of the distribution. The MGF does the same thing but along the real axis, which is why it can diverge: grows without bound, so heavy-tailed distributions overwhelm it. The CF's merely rotates on the unit circle, never growing, so it is always tame.
```svg
```
Worked Examples
Given: with density for , .
Step 1 — Set up the MGF.
Step 2 — Evaluate (converges only for ).
Step 3 — First derivative for the mean.
Step 4 — Second derivative for .
Step 5 — Variance and numbers with :
Given: with density .
Step 1 — Set up the CF.
Step 2 — Complete the square in the exponent.
Step 3 — Integrate (the shifted Gaussian integrates to ):
Step 4 — Apply to a sum. Let be i.i.d. and . By the convolution property [5],
Step 5 — Recognize the result. is the CF of (a normal with variance ). For : variance , standard deviation .
Common Misconceptions
The MGF need not exist. Many students assume every distribution has an MGF. It does not. The MGF requires on an open interval around , which fails for heavy-tailed distributions. The Cauchy distribution, the log-normal, and any distribution with infinitely many infinite-or-undefined moments have no MGF (or only the degenerate value at ). The characteristic function, by contrast, always exists — this is its primary advantage and the reason rigorous probability theory prefers it. A second pitfall: equation [3] gives moments only if the MGF is finite in a neighborhood of . Finiteness at a single point (where trivially) tells you nothing.
A common belief is that "knowing all the moments determines the distribution." This is false without an analyticity condition. The classic counterexample uses the log-normal distribution. Let be log-normal. There exist densities of the form
which are genuine probability densities (different for different ) yet share exactly the same moments of every order as the log-normal. Since they have identical moment sequences but different distributions, the moment sequence does not determine the law. The reason: the log-normal's MGF does not exist (its tails are too heavy), so its moments grow too fast for the Carleman condition to hold. The characteristic functions of these distributions do differ — and the CF, unlike the moment sequence, always determines the law uniquely.
Connections
The characteristic function is, up to sign conventions, the Fourier transform of the density: . This ties probability directly to harmonic analysis — the inversion formula, Parseval/Plancherel identities, and convolution theorems all carry over. See Fourier Transform. The MGF is the two-sided Laplace transform of the density evaluated along the real axis, linking it to Laplace Transform methods used in differential equations and queueing theory. The cumulant generating function generates cumulants and is additive for independent sums, connecting to Cumulants. The whole apparatus is the proof engine behind the Central Limit Theorem: standardizing a sum and showing its CF converges to , then invoking Lévy's continuity theorem and Convergence in Distribution. The closely related probability generating function serves integer-valued variables; see Probability Generating Function.
Real-World Applications
Historical Development
Subtleties & Limits
The moment problem. Given a sequence , when is it the moment sequence of some distribution, and is that distribution unique? The Hamburger, Stieltjes, and Hausdorff moment problems address existence on , , and respectively. Uniqueness (determinacy) is delicate: the Carleman condition is sufficient but not necessary, and there is no simple necessary-and-sufficient closed criterion. Constructing explicit non-uniqueness families (as for the log-normal) remains an active area.
Reconstructing the distribution from a truncated transform. In practice one knows the CF only on a bounded range or with noise. Stable numerical inversion (regularized Fourier inversion, the Gil-Pelaez formula in practice) is genuinely hard for heavy-tailed or oscillatory CFs, and quantifying optimal recovery rates is an ongoing statistical question.
Characterizing characteristic functions. Bochner's theorem describes CFs abstractly (positive-definite functions), but deciding whether a given explicit function is a CF — and reconstructing the law efficiently — can be subtle, with Pólya-type sufficient conditions filling part of the gap.
See Also
Fourier Transform · Laplace Transform · Probability Generating Function · Cumulants · Central Limit Theorem · Convergence in Distribution · Moment Problem · Normal Distribution