Variance of Bernoulli Distribution/Proof 1

Proof 1
From the definition of variance:
 * $\var X = \expect {\paren {X - \expect X}^2}$

From the Expectation of Bernoulli Distribution, we have $\expect X = p$.

Then by definition of Bernoulli distribution: