Expectation of Geometric Distribution/Proof 1

Proof
From the definition of expectation:


 * $\displaystyle \expect X = \sum_{x \mathop \in \Omega_X} x \map \Pr {X = x}$

By definition of geometric distribution:


 * $\displaystyle \expect X = \sum_{k \mathop \in \Omega_X} k p^k \paren {1 - p}$

Let $q = 1 - p$: