Expectation of Binomial Distribution/Proof 3

Proof
From the Probability Generating Function of Binomial Distribution, we have:
 * $\displaystyle \Pi_X \left({s}\right) = \left({q + ps}\right)^n$

where $q = 1 - p$.

From Expectation of Discrete Random Variable from PGF, we have:
 * $\displaystyle E \left({X}\right) = \Pi'_X \left({1}\right)$

We have:

Plugging in $s = 1$:
 * $\displaystyle\Pi'_X \left({1}\right) = n p \left({q + p}\right)$

Hence the result, as $q + p = 1$.