MathClario
← Back to High school
High school🎲Probability●●○○○· 3 min
🎯

Expectation of binomial: E(X) = np, V(X) = np(1−p)

Over n trials with success probability p, expect np successes. Two formulas, one intuition.

The 3 formulas to remember

For X∼B(n,p)X \sim \mathcal{B}(n, p):

E(X)=npE(X) = n p

V(X)=np(1−p)V(X) = n p (1 - p)

σ(X)=np(1−p)\sigma(X) = \sqrt{n p (1 - p)}

The intuition

  • Over nn trials with pp success probability, expect npnp successes on average.
  • Spread is maximal when p=0.5p = 0.5 (most uncertain results).

Example: 100 coin flips (p=0.5p = 0.5).

  • E(X)=100×0.5=50E(X) = 100 \times 0.5 = 50 heads expected.
  • σ(X)=100×0.25=5\sigma(X) = \sqrt{100 \times 0.25} = 5 (variability of 5 heads around 50).

Sanity checks

  • 1 coin flip: E=1×0.5=0.5E = 1 \times 0.5 = 0.5. Correct (average between 0 and 1).
  • Rolling “6” on 6 dice throws: p=1/6p = 1/6, E=6×1/6=1E = 6 \times 1/6 = 1. Expect 1 six.

Practical use

Quality tester: on 1000 items with 2 % defects (p=0.02p = 0.02), expect E=1000×0.02=20E = 1000 \times 0.02 = 20 defects. Std dev σ=1000×0.02×0.98≈4.4\sigma = \sqrt{1000 \times 0.02 \times 0.98} \approx 4.4.

Why these formulas?

Because a B(n,p)\mathcal{B}(n, p) is a sum of nn independent Bernoulli variables with parameter pp:

  • Bernoulli: E=pE = p, V=p(1−p)V = p(1-p).
  • Sum of nn: E=npE = np, V=np(1−p)V = np(1-p) (variance is additive for independent).

Common mistakes

  1. Writing E(X)=pE(X) = p (missing nn).
  2. Writing V(X)=npV(X) = np (missing (1−p)(1-p)).
  3. Confusing std dev and variance (mind the \sqrt{}).
  4. Using it for without-replacement (that’s hypergeometric).
?À toi de jouer

X ~ B(50, 0.3). E(X) = ?

Mini-quiz

Question 1 / 3

X ~ B(20, 0.5). V(X) = ?

#binomial#expectation#variance#grade 12

You might also like