Moment-Generating and Characteristic Functions
Handed a probability distribution, a physicist wants one object that stores everything about it — every moment, how it behaves when independent copies pile up, and enough to reconstruct the distribution itself. Two closely related integral transforms do exactly this. The moment-generating function is the Laplace-type expectation ; the characteristic function is the Fourier-type expectation . Both are the expectation operator acting on a one-parameter family of test weights, or , and both turn hard questions about distributions into easy questions about a single smooth function of . Three facts organize everything that follows. First, these transforms generate moments: expand , take expectations, and the -th derivative at the origin hands you . Second, they linearize convolution: for independent variables the transform of a sum is the product of transforms, so summing variables becomes multiplying functions instead of nesting integrals. Third, the characteristic function is universal and faithful: because it converges for every distribution — even heavy-tailed laws like the Cauchy, where the MGF diverges — and by Fourier inversion it pins the distribution down uniquely. Take the logarithm and you get the cumulant-generating function, whose Taylor coefficients — the cumulants — simply add over independent variables and vanish beyond second order precisely for the Gaussian. That single fact is why the characteristic function is the engine of the limit theorems: the asymptotics of a normalized sum follow from the local Taylor behaviour of near , exactly where the low moments live. This article builds the definitions, the convergence subtleties, the inversion and uniqueness theorems, the transforms of the standard laws, and the characteristic-function proof of the Central Limit Theorem.
- The moment-generating function (MGF) stores all moments: its -th derivative at returns — for an Exponential of rate , this gives mean and variance .
- The characteristic function (CF) always exists (the integrand has modulus one), is the Fourier transform of the density, and by inversion determines the distribution uniquely.
- Both transforms turn convolution into multiplication: for independent variables the transform of a sum is the product of transforms.
- The logarithm is the cumulant-generating function ; cumulants add over independent variables, with , , and for only for the Gaussian.
- Lévy's continuity theorem promotes pointwise CF convergence into convergence in distribution, delivering the Central Limit Theorem from the one-line limit .
- The MGF can diverge (Cauchy, log-normal, any power-law tail) whereas the CF is universal — which is why probabilists reach for .
- Key idea: replace a distribution by the integral transform or — derivatives at the origin yield moments, the logarithm yields cumulants, products correspond to sums of independent variables, and inversion of the characteristic function recovers the distribution uniquely.
Replace a probability distribution by the integral transform or : derivatives at the origin yield moments, the logarithm yields cumulants, products correspond to sums of independent variables, and (for the characteristic function) inversion recovers the distribution uniquely.
Where this lives today
The transform is a working tool across physics and its quantitative neighbours. In statistical mechanics the moment-generating function is the partition-function-like object , its logarithm is a free energy, and the Legendre transform of the cumulant-generating function is the large-deviation rate function of the Gärtner–Ellis theorem — the object that governs exponentially rare fluctuations of currents, magnetizations, and energies. In particle and photon counting, the fact that independent Poisson streams add to a Poisson (Worked Example 3) underlies estimates of coincidence backgrounds and dark-count rates. In signal processing and quantitative finance the characteristic function is inverted numerically by fast Fourier transform to price options and fit heavy-tailed or Lévy-stable models where no MGF exists. Cumulants feed the Edgeworth expansions that correct the Gaussian approximation, and the saddle-point evaluation of an inverse transform — expanding near its stationary point — is a standard asymptotic method in statistical physics. Open problems remain: characterizing which moment sequences determine a law (the moment problem) and controlling the rate of CLT convergence (Berry–Esseen and beyond) bear directly on how far a Gaussian approximation can be trusted.
The physical picture
Think of as a continuum of unit-modulus weights indexed by the frequency . Averaging them over the distribution produces one complex number per ; the whole function is a fingerprint of the law. Small probes the bulk — the low moments — while large probes fine structure and the tails. Because the weights never grow, the average is always well-defined: and for every distribution, no matter how heavy its tail — the structural advantage over the moment-generating function, whose weights blow up. The first figure shows the cleanest case, a law whose fingerprint is a copy of itself.
The second fact is the one that makes limit theorems tractable. The density of a sum of independent variables is a convolution, and the Fourier transform of a convolution is a product — so summing variables is just raising a single function to the -th power. Watching what that repeated multiplication does to the shape of a distribution is the whole story of the Central Limit Theorem: convolving a law with itself and rescaling, over and over, grinds every bump smooth and drives the shape toward the one fixed point, the Gaussian. The second figure shows this collapse for the humblest starting law.
The core equations
The two definitions are a single idea — average an exponential weight — differing only in whether the exponent is real or imaginary. The real weight generates moments most transparently; the imaginary weight buys unconditional convergence and faithful inversion.
where: — moment-generating function, defined only where the integral converges (some neighbourhood of , possibly just the point ); — probability density of (replace the integral by in the discrete case); — real transform variable. Reading: sweep the weight across the distribution and record the average for each .
where: — characteristic function; exists for all and every distribution because , with and ; — imaginary unit. This is literally the Fourier transform of the density, so all of Fourier analysis is available to probability. Differentiating either transform at the origin extracts moments; the imaginary unit in the CF version is absorbed by a factor .
where: — -th raw moment; — bookkeeping factor converting CF derivatives back to real moments. The transform is a generating function whose Taylor coefficients are the moments divided by factorials. The logarithm repackages moments into cumulants — the quantities that add over independent variables.
where: — cumulant-generating function; — -th cumulant, with (mean), (variance), (third central moment). Cumulants strip the combinatorial redundancy out of moments, so only the connected information survives. Independence turns the transform of a sum into a product — the property that makes the whole machine run.
where: — statistical independence; — sum whose density is the convolution . Reading: multiplication of transforms is the convolution theorem in probabilistic dress; cumulants therefore add, . Scaling and shifting a variable acts on its CF by a phase and an argument rescaling.
where: — real constants (a scaling and a shift). This is the tool that reduces any Gaussian to the standard one and supplies the rescaling in the CLT. Because the CF is a Fourier transform, it is invertible: the distribution is recovered uniquely.
where: — recovered density, valid when ; a more general inversion formula recovers the cumulative distribution for any law. Reading: two distributions with the same CF are identical — this is the uniqueness theorem that licenses "recognize the transform, name the law". The standard laws have compact, memorable transforms — the Gaussian above all.
where: — Gaussian mean and variance; — Poisson rate (equal to both mean and variance); — binomial trial count and success probability. Reading: each closed form is a lookup key for inversion — and the Gaussian's CF is again a Gaussian, the fixed-point structure behind the CLT.
The goal is to justify the name "moment-generating function" rigorously: to show that the single analytic function carries the entire sequence of raw moments as the coefficients of its Taylor series, so that repeated differentiation at the origin reads them off one by one. We expand the exponential weight, exchange the sum with the expectation under the convergence hypothesis, and identify the Taylor coefficients — then note where the same argument survives for the characteristic function.
Step 1. Expand the weight as a power series in : since converges for every value of the random variable, we may write as an identity between random variables. Why: the moments are hidden inside the powers , and the exponential is the generating device that exposes all of them at once.
Step 2. Take expectations term by term: . The interchange of the infinite sum and the expectation is legitimate precisely when exists in a neighbourhood of the origin, i.e. when for some , by dominated convergence. Why: this is the exact point where "the MGF exists" does real work — for a Cauchy or log-normal law the interchange fails and the series is meaningless.
Step 3. Match Taylor coefficients. The coefficient of in is , so differentiating times and setting kills every other term and leaves . For the characteristic function the identical expansion of gives , hence . Why: this converts an analytic operation, differentiation, into a probabilistic one, moment extraction — and it works for the CF whenever the moment exists, without needing the whole series to converge. *Verified: for the Exponential-rate-2 law, gives , so mean , , variance — matching and (Worked Example 1).*
Go deeper · Derivation B · 1 minThe characteristic function of the Gaussian is again a Gaussian
The goal is to compute for from the definition and to establish the self-reproducing form — the single most consequential transform in probability, the fixed point that every finite-variance sum flows toward. We standardize with the affine rule, complete the square in the complex exponent, shift the contour of a Gaussian integral, reassemble, then confirm the first two moments.
Step 1. Standardize. Write with ; the affine rule (6) gives , reducing the problem to the standard normal. Why: the shift contributes only a phase and the scale only rescales the argument, so all the work is a single standard integral.
Step 2. Write the standard-normal integral with : . Why: this is the Fourier transform of the Gaussian kernel, the one integral that reproduces itself.
Step 3. Complete the square in the exponent: . Why: pulling out the -independent factor leaves a pure Gaussian in the shifted variable .
Step 4. Shift the contour and integrate: , the shift from the real axis to the line being justified because is entire and decays in the strip. Hence . Why: the normalization of the Gaussian is exactly what makes the transform reproduce the same functional form.
Step 5. Collect factors: substitute and multiply by the phase, . Why: this closed form is the lookup key for every Gaussian sum and the target of the CLT limit. *Verified: gives mean ; gives , hence variance . Since is exactly quadratic, , , and all higher cumulants vanish.*
Go deeper · Derivation C · 1 minThe Central Limit Theorem from a Taylor expansion of the characteristic function
The goal is to prove that the standardized sum of independent, identically distributed variables with finite variance converges in distribution to a standard Gaussian, using nothing but the product rule and a two-term Taylor expansion of the characteristic function near the origin — the cleanest known route, which sidesteps convolving densities. We expand to second order, raise it to the -th power under the standardizing rescaling, take the limit, and invoke Lévy's continuity theorem to convert CF convergence into convergence in distribution.
Step 1. Localize. Assume mean and variance ; then as , the linear term absent because the mean vanishes. Why: only two moments are needed — this is why the CLT holds for laws with no moments beyond the second, and why the variance is the sole scale that enters.
Step 2. Factorize the standardized sum. With and , the product rule (5) plus the affine rule (6) give . Why: independence has turned an -fold convolution into an -th power, and the is exactly the scaling that keeps the variance fixed at one.
Step 3. Insert the expansion. Substituting into Step 1, the cancels and . Why: the rescaling has tuned the quadratic term to size , precisely the regime where -fold powers converge to an exponential.
Step 4. Take the limit using : . Why: the higher-order terms vanish in the limit, leaving exactly the standard-normal CF derived above.
Step 5. Convert to distribution. By Lévy's continuity theorem, pointwise convergence of characteristic functions to a limit that is continuous at implies convergence in distribution, so . Why: the continuity theorem is the bridge that makes the CF a proof tool and not merely a bookkeeping device. *Verified: the limit is identically the standard-normal CF of the previous derivation, confirming Gaussian universality; equivalently , so every cumulant of order is suppressed by a power of .*
Limiting cases
The behaviour of encodes the regularity and tail structure of at a glance:
| Case | Result | Meaning |
|---|---|---|
| Origin, moments exist | if exists then is -times differentiable at , and its Taylor coefficients are the moments | |
| Heavy tail (Cauchy) | , while for | CF exists but is non-differentiable at (no finite mean); the MGF does not exist at all |
| Smooth density, large | as | Riemann–Lebesgue: an integrable density has a decaying CF, and faster decay means a smoother density |
| Lattice variable | for some | periodicity of signals a discrete law supported on a lattice |
Worked examples
1 · Reading moments off an Exponential MGF (confidence builder)
Let be Exponential with rate , density for . Find its moment-generating function, then extract the mean and variance by differentiation, and confirm against the closed forms.
Step 1. Assemble the MGF from the definition: , valid for . The restriction is the neighbourhood-of-origin convergence in action — push up to the rate and the integral diverges. , defined for .
Step 2. First derivative for the mean: , so . This is , exactly.
Step 3. Second derivative for the second moment: , so . Then the variance is . Both match the standard Exponential results and . Mean 0.5, variance 0.25 — read off in two derivatives.
2 · A Central Limit estimate for a sum of uniforms
A classic random-number recipe adds twelve independent variables and subtracts to manufacture an approximate standard normal. Justify it with characteristic functions and estimate , where .
Step 1. Fix the moments. A single has mean and variance . By additivity of cumulants (equivalently, the product rule for CFs), the sum of twelve independent copies has mean and variance . Subtracting centres it; the variance is already , which is why this recipe needs no rescaling.
Step 2. Justify the Gaussian shape. Each uniform has CF , so the centred sum has CF with . Near the origin , so the twelfth power is — the standard-normal CF. Twelve is already large enough that over the central range.
Step 3. Estimate the probability. with . From the standard normal tail, — roughly one draw in six exceeds , obtained without convolving twelve densities, purely by recognizing the limiting CF. , and .
3 · Adding two independent Poissons by multiplying transforms
Let and be independent. Identify the law of and compute .
Step 1. Multiply the characteristic functions. Each Poisson has , so by the product rule . This is the CF of , so — closure in one line by uniqueness of the CF.
Step 2. Evaluate the pmf. . With and , the product is . and .
Physics of the portrait
The characteristic function is where two centuries of probability meet the Fourier analysis of physics: a device Laplace used to sum errors, that Cauchy used to exhibit a monster with no mean, and that Lévy finally forged into the exact tool for the limit theorems.
Origins · 1 minPaul Lévy and how this was discovered
Paul Lévy was the figure who turned the characteristic function from a computational trick into a complete theory. Trained as an engineer at the École Polytechnique — where he would later teach analysis for decades — he came to probability comparatively late, and reshaped it. His 1925 monograph Calcul des probabilités set out the characteristic function as the central object of the subject and proved the result that bears his name: the continuity theorem, which states that if a sequence of characteristic functions converges pointwise to a function continuous at the origin, then the corresponding distributions converge, and the limit is itself a characteristic function. This is the theorem that makes the CF a genuine instrument of proof — without it the limit would be only suggestive. Lévy went on to characterize the full class of limit laws for sums of independent variables (the stable and infinitely divisible distributions, several of which now carry his name), to found the modern theory of Brownian motion, and to introduce the martingale ideas his student Doob would systematize — much of the language physicists now use for diffusion and noise. The Fourier transform of a probability law, certain to determine it, is his lasting monument.
Going further
Texts. Feller, An Introduction to Probability Theory and Its Applications, Vol. 2, Chs. XV–XVI (characteristic functions and the CLT) · Grimmett & Stirzaker, Probability and Random Processes, Ch. 5 · Stone & Goldbart, Mathematics for Physics, chapter on probability and Fourier methods · Arfken, Weber & Harris, Mathematical Methods for Physicists, probability chapter · Riley, Hobson & Bence, Mathematical Methods for Physics and Engineering, statistics chapter.
Provenance. The definitions and the moment/cumulant relations follow Feller Vol. 2 and Stone & Goldbart; the Gaussian CF , the Poisson CF , the binomial CF , and the Cauchy CF are standard textbook values (Grimmett & Stirzaker; Feller Vol. 2). A verifier should: (1) re-derive the Gaussian CF by completing the square and confirm , ; (2) check the Exponential-rate-2 MGF gives mean , variance ; (3) confirm the CLT limit and the uniform-sum estimate ; (4) verify Poisson additivity by multiplying CFs and . The inversion and Lévy continuity theorems are as in Feller Vol. 2.
Prerequisites. Expectation, Variance and Moments · Random Variables and Probability Distributions · Cumulative Distribution Functions and Change of Variables · Axioms of Probability. Leads to. Central Limit Theorem · Laws of Large Numbers and Convergence of Random Variables · Gaussian (Normal) Distribution · Poisson Distribution.
Ask the tutor: Ask me to invert a characteristic function you are stuck on, or to show step by step how the cumulants of your favourite distribution collapse under the Central Limit Theorem.
When should I use the characteristic function instead of the moment-generating function?
Use the characteristic function whenever existence or uniqueness could be in doubt — which, in practice, is most of the time. The MGF is often handier for hand computation because it avoids the imaginary unit, and for light-tailed laws (Gaussian, Poisson, exponential, bounded variables) it is perfectly reliable. But the moment you touch a heavy-tailed law — Cauchy, log-normal, any power-law tail — the MGF diverges and is useless, while the CF sails through because its integrand has modulus one. Since the CF also guarantees uniqueness of inversion, probabilists adopt it as the default and treat the MGF as a shortcut valid only when it exists near the origin.
Do moments always determine a distribution uniquely?
No, and this is a genuine trap. Having a full sequence of finite moments is not enough to pin down a law. The classic counterexample is the log-normal distribution: an entire family of distinct laws share its every moment, so the moment problem is "indeterminate" there. A sufficient condition for determinacy is that the MGF exists in a neighbourhood of the origin (Carleman's condition is weaker but similar in spirit) — which is why light-tailed laws are safe. The characteristic function sidesteps the whole issue: two laws with the same CF are always identical, because the CF is an invertible Fourier transform. If you need certainty, match characteristic functions, not moments.
What is the difference between a moment and a cumulant, and why prefer cumulants?
Moments are the raw averages of powers; cumulants are their "connected" repackaging, the Taylor coefficients of rather than of . The first two agree with the familiar quantities — is the mean, the variance — and the third is the central third moment, but from the fourth on they differ. The decisive advantage is additivity: for independent variables cumulants simply add, , whereas moments mix through cross-terms. This makes cumulants the natural language for sums, for the CLT, and for perturbative expansions in physics.
Why does the Central Limit Theorem single out the Gaussian and nothing else?
Because the Gaussian is the fixed point of the operation "add independent copies and rescale". In cumulant language the reason is transparent: standardizing a sum of variables divides the -th cumulant by , so every cumulant beyond the second is driven to zero as , leaving only the mean (set to ) and the variance (set to ). A law whose cumulants vanish beyond second order is exactly a Gaussian — and Marcinkiewicz's theorem confirms no other has a polynomial cumulant-generating function. At the level of the characteristic function this is the statement that for every finite-variance law, independent of the details of beyond its curvature at the origin.
The characteristic function is complex-valued — how do I read information off it?
Its value at the origin is always (total probability) and its modulus never exceeds . The behaviour near carries the moments: the slope encodes the mean, the curvature the second moment, and so on through equation (3). Symmetry about zero makes real and even; a shift multiplies by a pure phase . The decay of at large reports the smoothness of the density (Riemann–Lebesgue), while any persistence of at nonzero signals a lattice-supported discrete law. To recover the density itself you invert — equation (7).
Is the characteristic function really the same object as the Fourier transform used in physics?
Yes — up to a sign and normalization convention. The characteristic function is precisely the Fourier transform of the probability density, with the probabilist's convention placing the in the inversion integral (7). Every theorem you know from physics carries over: the convolution theorem becomes the product rule for sums; the uncertainty principle becomes the trade-off between a concentrated density and a slowly decaying CF. This is not an analogy but an identity, and it is why the entire apparatus of Fourier analysis — fast transforms, saddle points, causality relations — is directly available to probability and statistical physics.