Not all random variables have moment-generating functions, however, it is an alternative specification of probability distribution of a random variable.
In probability theory, the moment=generating function of a random variable X is defined as
wherever expectation of it exists. Therefore it has a value 1 when t is equal to zero.
Here we need a function that is absolutely integrable. More generally, an n-dimensional random vector is applied as,
with
.
Then we can expand exponential function into the series,
So:
and mi is ith moment.
If we have a probability density function, ƒ(x), and cumulative distribution funcion ,F , then we have a moment-generating function which is Riemann-Stieltjes integral
.
Now, trasmform this equation into two-sided Laplace transform of ƒ(x),
In the case of Normal(gaussian) distribution, we have MGF as .
For the last, we have a characteristic function of random variable is,
. and
Hence CF always exist.