To find the maximum variance of a Bernoulli RV first find the variance equation.

$ Var(X) = E[X^2] - (E[X])^2 \! $

We know that for Bernoulli RVs

$ E[X^2] = p \! $

$ E[X] = p \! $

Plug these values into the variance equation, differentiate with respect to p, set equal to 0 and find the value of p that results in the largest value for the variance.

Alumni Liaison

Ph.D. 2007, working on developing cool imaging technologies for digital cameras, camera phones, and video surveillance cameras.

Buyue Zhang