Expectation of Gaussian Distribution/Proof 2

Proof
By Moment Generating Function of Gaussian Distribution, the moment generating function of $X$ is given by:


 * $M_X \left({t}\right) = \exp \left({\mu t + \dfrac 1 2 \sigma^2 t^2}\right)$

From Moment in terms of Moment Generating Function:


 * $\mathbb E \left[{X}\right] = M'_X \left({0}\right)$

We have:

Setting $t = 0$: