Expectation of Geometric Distribution/Formulation 1/Proof 2

Proof
From the Probability Generating Function of Geometric Distribution, we have:


 * $\map {\Pi_X} s = \dfrac q {1 - ps}$

where $q = 1 - p$.

From Expectation of Discrete Random Variable from PGF, we have:


 * $\map E X = \map {\Pi'_X} 1$

We have:

Plugging in $s = 1$:

Hence the result.