# MGFs, the Normal, and the CLT

Let $Z$ be standard normal. Then the mgf of $Z$ is given by

To see this, just work out the integral:

because the integral is 1. It is the normal $(t, 1)$ density integrated over the whole real line.

### Normal $(\mu, \sigma^2)$

It’s a good idea to first note that moment generating functions behave well under linear transformations.

Since a normal $(\mu, \sigma^2)$ variable can be written as $\sigma Z + \mu$ where $Z$ is standard normal, its m.g.f. is

Details aside, what this formula is saying is that if a moment generating function is $\exp(c_1t + c_2t^2)$ for any constant $c_1$ and any positive constant $c_2$, then it is the moment generating function of a normally distributed random variable.

### Sums of Independent Normal Variables

We can now show that sums of independent normal variables are normal.

Let $X$ have normal $(\mu_X, \sigma_X^2)$ distribution, and let $Y$ independent of $X$ have normal $(\mu_Y, \sigma_Y^2)$ distribution. Then

That’s the m.g.f. of the normal distribution with mean $\mu_X + \mu_Y$ and variance $\sigma_X^2 + \sigma_Y^2$.

### “Proof” of the Central Limit Theorem

Another important reason for studying mgf’s is that they can help us identify the limit of a sequence of distributions.

The main example of convergence that we have seen is the Central Limit Theorem. Now we can indicate a proof.

Let $X_1, X_2, \ldots$ be i.i.d. random variables with expectation $\mu$ and SD $\sigma$. For every $n \ge 1$ let $S_n = X_1 + X_2 + \cdots + X_n$.

The Central Limit Theorem says that for large $n$, the distribution of the standardized sum

is approximately standard normal.

To show this, we will assume a major result whose proof is well beyond the scope of this class. Suppose $Y_1, Y_2, \ldots $ are random variables and we want to show that the the distribution of the $Y_n$’s converges to the distribution of some random variable $Y$. The result says that it is enough to show that the mgf’s of the $Y_n$’s converge to the mgf of $Y$.

The result requires a careful statement and the proof requires considerable attention to detail. We won’t go into that in this course. Instead we’ll just point out that it should seem reasonable. Since mgf’s determine distributions, it’s not difficult to accept that if two mgf’s are close to each other then the corresponding distributions should also be close to each other.

Let’s use this result to “prove” the CLT. The quotes are because we will use the above result without proof, and also because the argument below involves some hand-waving about approximations.

First, write the standardized sum in terms of the standardized $X$’s.

where for each $i$, the random variable $X_i^*$ is $X_i$ in standard units.

The random variables $X_i^*$ are i.i.d., so let $M_{X^*}$ denote the mgf of any one of them. By the linear transformation property proved above, the mgf of each $\frac{1}{\sqrt{n}}X_i^*$ is given by

Therefore

by ignoring small terms and using the fact that for any standardized random variable $X^*$ we have $E(X^*) = 0$ and $E({X^*}^2) = 1$.

Thus for large $n$,

The limit is the moment generating function of the standard normal distribution.