Moment Generating Function of Geometric Distribution/Formulation 1/Examples/First Moment

Examples of Use of Moment Generating Function of Geometric Distribution/Formulation 1
Let $X \sim \Geometric p$ for some $0 < p < 1$, where $\Geometric p$ is the Geometric distribution.
 * $\map X \Omega = \set {0, 1, 2, \ldots} = \N$
 * $\map \Pr {X = k} = \paren {1 - p} p^k$

The first moment generating function of $X$ is given by:


 * $\map { {M_X}'} t = \dfrac {\paren {1 - p} p e^t} {\paren {1 - p e^t}^2}$

Proof
We have: