(Note: for a Bernoulli variable, X2=X since X only takes values 0 and 1.)
Var(X)=E(X2)−[E(X)]2=p−p2=p(1−p)=pq
Substituting p=0.3, q=0.7:
Var(X)=0.3×0.7=0.21
Why This Works
The variance formula Var(X)=pq has a nice intuitive interpretation. When p=0 or p=1, the outcome is certain (no randomness), so variance = 0. Maximum variance occurs at p=0.5 (most uncertainty), giving Var=0.25.
For p=0.3: Var=0.21, which is less than 0.25 — reflecting that success (30%) is less likely than failure (70%), making the distribution somewhat more predictable.
For a Binomial distributionB(n,p) (which is n independent Bernoulli trials): Mean = np, Variance = npq. These are simply the Bernoulli mean and variance multiplied by n. If n=1, you get the Bernoulli case. This scaling property is useful for JEE statistics problems.
Common Mistake
Students sometimes compute Var(X)=p2+q2 or just p2 — both are wrong. The correct formula is Var(X)=p−p2=pq. Remember: variance uses E(X2)−[E(X)]2, not just [E(X)]2. Always use the two-step approach: find E(X) and E(X2) separately, then subtract.
Want to master this topic?
Read the complete guide with more examples and exam tips.