Exercises — Moment generating function (MGF) — definition, use
A quick reminder of the four tools you will keep reaching for — all proven in the parent note:
Level 1 — Recognition
Goal: read an MGF and name the distribution or the moment, no heavy algebra.
L1.1
You are told . Name the distribution and its parameter, and state .
Recall Solution
Match to a known form. In the parent note we derived the Bernoulli MGF . This is exactly that shape, so ==Bernoulli==. Get the mean. Differentiate: , so . Thus . Sanity check: . ✓ (Always .)
L1.2
for . What distribution is this, and for which does it fail to exist? Give when .
Recall Solution
This is the Exponential MGF (parent Example 1). It exists only when the exponent inside the defining integral stays negative, i.e. ; at the denominator hits and the value blows up, and for the integral diverges — no MGF there. Mean: , so . With , .
L1.3
Given , read off and without differentiating.
Recall Solution
The Normal MGF is (parent Example 3). Match term by term:
- Coefficient of : .
- Coefficient of : .
So , i.e. mean , variance , standard deviation .
Level 2 — Application
Goal: turn the differentiation crank you were shown, carefully.
L2.1
For Exponential with , compute .
Recall Solution
Why derivatives? : each derivative "peels off" one more moment. Write and differentiate, using :
Set : . (General pattern: .)
L2.2
is Poisson: , . Find from the definition, then get .
Recall Solution
Set up the sum. By definition . Why regroup? Pull the constant out and merge : Recognize the exponential series. with : Mean. , so . Thus . Check . ✓
L2.3
Bernoulli. Compute the variance from the MGF.
Recall Solution
, so and .
- .
- .
.
Level 3 — Analysis
Goal: combine tools, and track the domain of every time.
L3.1
Let Exponential and with . Find , its domain, and identify .
Recall Solution
Use shift & scale with : . Rewrite to recognize it. Divide top and bottom by : . Set : That is the Exponential MGF with rate , so Exponential. Domain. The original needs , i.e. — matching the new rate's domain, as it must.
L3.2
and . Show is Normal and give its parameters.
Recall Solution
. Apply shift & scale (): Combine exponents (add what's in the exponent): This is the Normal MGF with new mean and new variance . By uniqueness, . A linear map of a Normal is Normal.
L3.3
Does with density (standard Cauchy) have an MGF? Explain via the tail.
Recall Solution
Test finiteness near . For any , look at the right tail of . As , grows exponentially while only decays like . Exponential growth crushes polynomial decay, so the integrand and the integral diverges for every . By symmetry fails on the left tail. So the only where the integral is finite is — but the MGF must be finite on an open interval around . Therefore the Cauchy has no MGF; you must switch to the Characteristic Function , whose keeps the integral finite always.

Level 4 — Synthesis
Goal: build a new distribution's result from parts you already trust.
L4.1
Let be independent Exponential variables and . Find . (This is a Gamma.)
Recall Solution
Sum of independents = product of MGFs. Each factor is (for ): Because all factors are identical, the product is just the -th power. This is the Gamma MGF — obtained without ever integrating the Gamma density. Mean via the shortcut. , so , giving at — as expected from copies each of mean .
L4.2
Poisson, Poisson, independent. Identify the distribution of .
Recall Solution
From L2.2, and . Multiply (independence): That is precisely the Poisson MGF with rate . By uniqueness, Poisson. Poisson rates simply add.

L4.3
, , independent. Show is Normal and give its parameters.
Recall Solution
Multiply the two Normal MGFs (independence): Add exponents: This is the Normal MGF with mean and variance . So . Means add and (for independents) variances add — never standard deviations.
Level 5 — Mastery
Goal: prove something clean, or push a limit all the way.
L5.1 (CLT engine)
Let have mean , variance , and MGF finite near . Let with the i.i.d. copies of . Show as .
Recall Solution
Scale first. Each has MGF (shift & scale, ). By independence the product over copies gives Taylor-expand near (parent note: ). With and : Take the -th power and the limit. Using with : This is the standard Normal MGF. By uniqueness, converges in distribution to — the Central Limit Theorem, driven entirely by the term surviving the scaling.
L5.2 (Cumulants from the log)
Define , the Cumulant Generating Function. Show and .
Recall Solution
Why take a log? The chain rule on turns the messy derivatives of into clean central quantities. First derivative: . At , and , so Second derivative (quotient rule): At : numerator , denominator , so So the log-MGF's first two derivatives at hand you mean and variance directly — cleaner than raw moments.
L5.3 (Uniqueness in action)
An MGF is given as . Recover the full distribution of .
Recall Solution
Read the definition backwards. For a discrete , . So each term says "the value has probability ." Matching:
Probabilities sum to ✓, and ✓. By uniqueness this is the distribution. (It happens to be Binomial: check ✓.) Mean: , so .
Recall Self-test recap (clozed)
The -th moment is ====. For independent : ::: . Poisson MGF ::: . Sum of independent Poissons has rate ::: . gives ::: . Cauchy has no MGF because ::: for every (heavy tails).
Prerequisites drawn on: Expectation and Variance, Taylor Series, Independence (Probability), Probability Distributions.