User:Kimaaron/Sandbox

A place to try things first without worrying too much about other people changing it as happens on the main page sandbox and without having the material deleted 12 hours later.

Why the moment-generating function is defined this way
The reason for defining this function is that it can be used to find all the moments of the distribution. The series expansion of $$e^{tX}$$ is



\begin{align}

e^{tX} & = 1 + tX + \frac{t^2X^2}{2!} ++ \frac{t^3X^3}{3!} \cdots

\end{align} $$

Hence



\begin{align}

M(t) & = E(e^{tX}) & = 1 + tm_1 + \frac{t^2m_2}{2!} + \frac{t^3m_3}{3!}+\cdots,

\end{align} $$

where mi is the ith moment.

If we differentiate M(t) i times with respect to t and then set $$t=0$$ we shall therefore obtain the ith moment about the origin, mi. This is summarized more compactly below in the section entitled Calculations of moments, but the more detailed explanation here gives a little more insight.