The Binomial Distribution
The binomial distribution models the number of successes in a fixed number of independent trials, each with the same probability of success. It lets you calculate the probability of getting exactly, at most or at least a certain number of successes.
Key points
- Conditions: fixed number of trials $n$; each trial is success or failure; trials are independent; constant probability of success $p$.
- Write $X \sim B(n, p)$, where $X$ is the number of successes.
- $P(X = r) = \binom{n}{r} p^r (1 - p)^{n - r}$, where $\binom{n}{r}$ counts the arrangements (from Pascal's triangle or the $^nC_r$ button).
- $P(X \ge 1) = 1 - P(X = 0) = 1 - (1 - p)^n$.
- Expected number of successes $= np$.
Worked example
Question. A seed germinates with probability 0.8. Five seeds are planted. Find the probability that exactly 4 germinate.
- $X \sim B(5, 0.8)$
- $P(X = 4) = \binom{5}{4} \times 0.8^4 \times 0.2^1 = 5 \times 0.4096 \times 0.2$
- $= 0.4096$
Answer. 0.4096
Common mistakes
- Leaving out $\binom{n}{r}$ — there is more than one order in which the successes can happen.
- Using $p$ for the failures as well as the successes.
- Applying the model when the probability changes between trials (e.g. sampling without replacement from a small group).