Two distributions have the same mean and variance but differ in the third moment. The MGF captures all moments at once, and if two random variables share the same MGF, they have the same distribution. Period.
The moment generating function of a random variable is:
For a discrete random variable: . For a continuous random variable: .
The MGF must converge for all in some open interval containing 0. If the integral diverges for all , the MGF does not exist. Heavy-tailed distributions like the Cauchy and lognormal have no MGF.
HIGH-FREQUENCY: The MGF identifies the distribution uniquely. If you can compute and recognize its form, you know the distribution, no further work needed.
Differentiate the MGF and evaluate at :
Common mistakes
- Forgetting to evaluate at after differentiating. The first moment is , not . Leaving in the expression gives a function, not a number. Trap: reporting an expression in as the expected value.
- Adding MGFs instead of multiplying them. The MGF of a sum of independents is the product of the MGFs, not the sum. . Adding gives a meaningless quantity.
- Confusing scale and rate parametrizations. The exponential MGF is with scale (mean = ), or with rate . Mixing them produces the wrong moments. Trap: using mean 2 for Gamma() when scale = 2 means mean = 6.
Bottom line
- MGF definition: , and it must exist in a neighborhood of
- k-th moment: , differentiate k times then evaluate at zero
- Variance shortcut: , faster than the raw definition
- Uniqueness: if for all near 0, then and share the same distribution
Exam shortcut
When you see an unfamiliar MGF, compare it to the standard forms: (normal), (gamma), (Poisson), (binomial). Pattern-matching is faster than differentiating. "MGFs multiply for sums." Multiply, recognize, read off parameters. This is the single fastest technique for distribution identification on Exam P.
The full lesson (about 1,862 words, 12 min read) adds 2 worked examples, all 5 common mistakes, a self-check, free in the app.
Learning objectives
- 2a
- 2b
- 2c
- 2d
- 2e
- 2f
Browse all free Exam P lessons or jump into free Exam P practice questions.