Key ideas

  • E(X) = Σ x P(X = x); Var(X) = E(X²) − [E(X)]².
  • E(aX + b) = aE(X) + b; Var(aX + b) = a²Var(X).

Binomial distribution X ~ B(n, p)

Conditions:

  1. A fixed number n of trials.
  2. Each trial has two outcomes: success or failure.
  3. Probability of success p is constant.
  4. Trials are independent.
Formula
P(X = r)ⁿCᵣ pʳ (1 − p)ⁿ⁻ʳ
E(X)np
Var(X)np(1 − p)

Worked example

X ~ B(10, 0.3).
P(X = 2) = ¹⁰C₂ (0.3)² (0.7)⁸ ≈ 0.233
P(X ≤ 2) ≈ 0.383 (use the GC: binomcdf)
E(X) = 3; Var(X) = 2.1

Common mistakes

  • Using a binomial model when trials are not independent (e.g. drawing without replacement from a small population).
  • Confusing P(X < 3) with P(X ≤ 3).

Try these

  1. State two conditions needed for X ~ B(n, p) in context.
  2. X ~ B(8, 0.5). Find P(X = 4).
  3. X ~ B(n, 0.2) has mean 4. Find n and Var(X).
Show answers
  1. Any two, stated in context: fixed number of trials; constant probability of success; independent trials; two outcomes
  2. ⁸C₄ (0.5)⁸ = 70/256 ≈ 0.273
  3. n = 20; Var(X) = 20 × 0.2 × 0.8 = 3.2