Binomial Mean and Variance
What you'll learn: You'll discover the simple formulas for the mean and variance of a binomial distribution and understand why they flow naturally from the single-trial Bernoulli case.
The Core Idea
Remember that a binomial random variable counts successes in n independent Bernoulli trials, each with success probability p. Instead of deriving these formulas from scratch (which involves messy algebra), we can use a beautiful shortcut: linearity of expectation.
Think of it this way: If you flip a coin 10 times, the total number of heads is just the sum of 10 individual Bernoulli trials. Each trial contributes its own mean and variance, and these add up predictably.
The Formulas
For a binomial random variable X ~ Binomial(n, p):
- Mean (Expected Value): E(X) = np
- Variance: Var(X) = np(1 − p)
Why These Make Sense
From your earlier lesson, a single Bernoulli trial has:
- Mean = p
- Variance = p(1 − p)
When you perform n independent Bernoulli trials:
- The means add up: n trials × p per trial = np
- The variances add up (for independent trials): n trials × p(1 − p) per trial = np(1 − p)
Intuition: If you expect 3 heads in 10 fair coin flips (10 × 0.5 = 5 — oops, actually 5!), that's just each flip contributing its 0.5 probability, added up 10 times. The spread (variance) similarly accumulates from each independent trial.
Key Takeaway: The binomial mean E(X) = np and variance Var(X) = np(1 − p) are simply the Bernoulli formulas scaled up by n independent trials, making them easy to remember and apply.