Expectation of Gaussian Distribution/Proof 1

Proof
From the definition of the Gaussian distribution, $X$ has probability density function:


 * $f_X \left({x}\right) = \dfrac 1 {\sigma \sqrt{2 \pi} } \, \exp \left({-\dfrac { \left({x - \mu}\right)^2} {2 \sigma^2} }\right)$

From the definition of the expected value of a continuous random variable:


 * $\displaystyle \mathbb E \left[{X}\right] = \int_{-\infty}^\infty x f_X \left({x}\right) \rd x$

So: