Skip to content

MGF of an Independent Sum

Theorem

If XX and YY are independent (X⊥YX\perp Y), then for every tt at which both MGFs are finite,

MX+Y(t)=MX(t)⋅MY(t).\begin{aligned} M_{X+Y}(t)=M_X(t)\cdot M_Y(t). \end{aligned}

Independence is essential.

Use the Moment Generating Function definition to write MX+Y(t)=E[etXetY]M_{X+Y}(t)=\mathbb{E}[\mathrm{e}^{tX}\mathrm{e}^{tY}]. Independence factors this expectation into the two MGFs.


Interpretation

Adding independent variables corresponds to multiplying their MGFs. Since an MGF that is finite near zero determines the distribution, this often identifies the distribution of a sum directly, without working out its PMF or density value by value.

Probability bar charts of Poisson(2), Poisson(3) and their independent sum, which is Poisson(5) and lies further right with a wider spread.

The figure shows X∼Pois⁡(2)X\sim\operatorname{Pois}(2), an independent Y∼Pois⁡(3)Y\sim\operatorname{Pois}(3) and their sum, which lies further right and is more spread out. Multiplying the Poisson MGFs gives e2(et−1)e3(et−1)=e5(et−1)\mathrm{e}^{2(\mathrm{e}^t-1)}\mathrm{e}^{3(\mathrm{e}^t-1)}=\mathrm{e}^{5(\mathrm{e}^t-1)}, the MGF of Pois⁡(5)\operatorname{Pois}(5), so by uniqueness the sum is Pois⁡(5)\operatorname{Pois}(5).

For independent XX and YY the MGF of X+YX+Y is the product of the two curves, which identifies the distribution of the sum.

The product comes from et(X+Y)=etXetY\mathrm{e}^{t(X+Y)}=\mathrm{e}^{tX}\mathrm{e}^{tY}: for independent XX and YY the factors etX\mathrm{e}^{tX} and etY\mathrm{e}^{tY} are independent, and the expectation of a product of independent variables is the product of the expectations. Without independence this step fails. For Y=XY=X with X∼Bern⁡(12)X\sim\operatorname{Bern}(\tfrac{1}{2}), the sum 2X2X has MGF 12(1+e2t)\tfrac{1}{2}(1+\mathrm{e}^{2t}), whereas MX(t)2=14(1+et)2M_X(t)^2=\tfrac{1}{4}(1+\mathrm{e}^t)^2; the difference is (et−1)2/4(\mathrm{e}^t-1)^2/4, which is positive for every t≠0t\neq0.

For i.i.d. variables the product becomes a power. Thus nn independent Bern⁡(p)\operatorname{Bern}(p) variables give (1−p+pet)n(1-p+p\mathrm{e}^t)^n, the MGF of the binomial distribution, and rr independent Exp⁡(λ)\operatorname{Exp}(\lambda) variables give (λ/(λ−t))r(\lambda/(\lambda-t))^r for t<λt<\lambda, the MGF of the gamma distribution with shape rr and rate λ\lambda.


Key Results

  • For independent X1,…,XnX_1,\ldots,X_n, M∑iXi(t)=∏iMXi(t)\displaystyle M_{\sum_iX_i}(t)=\prod_iM_{X_i}(t).
  • For i.i.d. variables, M∑iXi(t)=MX1(t)n\displaystyle M_{\sum_iX_i}(t)=M_{X_1}(t)^n.

Examples

  • The sum of independent Poisson variables with parameters 22 and 33 has MGF exp⁡(5(et−1))\exp(5(\mathrm{e}^t-1)), so it is Pois⁡(5)\operatorname{Pois}(5).
  • The sum of two independent Exp⁡(1)\operatorname{Exp}(1) variables has MGF (1−t)−2(1-t)^{-2} for t<1t<1, identifying Gamma⁡(2,1)\operatorname{Gamma}(2,1) in rate notation.

Prerequisites

Sources

Aliases: MGF of a sum of independent random variables, moment generating function of an independent sum Symbols: lambda, product, sum

Last updated: 20 October 2026 19:41