For Bernoulli RVs,
$ E[X^2] = E[X] = p \! $
After maximizing the variance equation, we get the result as:
$ Var(X) = p(1-p)\! $
For Bernoulli RVs,
$ E[X^2] = E[X] = p \! $
After maximizing the variance equation, we get the result as:
$ Var(X) = p(1-p)\! $