Constructing Moment-Generating Functions for Discrete Probability Distributions

Construct moment-generating functions (MGFs) for common discrete distributions -- Bernoulli, Binomial, Poisson, and Discrete Uniform -- by applying the definition MX(t)=E[etX]M_X(t)=E[e^{tX}] and using algebraic identities (the binomial theorem and the Taylor series of the exponential).

Step 1 of 157%

Tutorial

The MGF of a Discrete Random Variable

The moment-generating function (MGF) of a discrete random variable XX with probability mass function pXp_X is defined as

MX(t)=E[etX]=xetxpX(x),M_X(t) = E[e^{tX}] = \sum\limits_{x} e^{tx}\, p_X(x),

where the sum runs over every xx in the support of X.X.

Notice that MX(t)M_X(t) is a function of the real variable tt alone -- the random variable XX has been summed out.

For example, suppose XX takes values 0,0, 1,1, and 22 with probabilities 12,\dfrac{1}{2}, 13,\dfrac{1}{3}, and 16,\dfrac{1}{6}, respectively. Then

MX(t)=e0t12+e1t13+e2t16=12+et3+e2t6.\begin{align*} M_X(t) &= e^{0\cdot t}\cdot\dfrac{1}{2} + e^{1\cdot t}\cdot\dfrac{1}{3} + e^{2t}\cdot\dfrac{1}{6} \\[3pt] &= \dfrac{1}{2} + \dfrac{e^{t}}{3} + \dfrac{e^{2t}}{6}. \end{align*}

To construct the MGF of a named distribution, we plug its pmf into this sum and simplify.

navigate · Enter open · Esc close · ⌘K/Ctrl K toggle