A levels Mathematics · Statistics
The binomial distribution
1Discrete random variables
A random variable $X$ takes numerical values by chance. A discrete random variable takes separate values (such as 0, 1, 2, …).
Its probability distribution lists each value with its probability. The probabilities must add up to 1:
$$\sum P(X = x) = 1$$
Finding a constant
- $P(X = x) = kx$ for $x = 1, 2, 3, 4$.
- $k(1 + 2 + 3 + 4) = 1$, so $k = \frac{1}{10}$.
- $P(X \geq 3) = \frac{3}{10} + \frac{4}{10} = 0.7$.
A discrete uniform distribution gives every value the same probability, like the score on a fair die.
Check yourself
P(X = x) = k for x = 1, 2, 3, 4, 5. What is k?
Show the answer
1/5
The five probabilities must sum to 1.
2Conditions for a binomial model
$X \sim B(n, p)$ counts the number of successes in $n$ trials when:
- there is a fixed number of trials $n$;
- each trial has two outcomes (success or failure);
- the probability of success $p$ is the same for each trial;
- the trials are independent.
Is it binomial?
- Rolling a die 20 times and counting sixes: yes, $B(20, \frac{1}{6})$.
- Drawing 5 cards without replacement and counting hearts: no, because $p$ changes and trials are not independent.
- Rolling a die until a six appears: no, because the number of trials is not fixed.
Check yourself
Why is counting hearts in 5 cards drawn without replacement not binomial?
Show the answer
The probability changes from trial to trial
Each draw changes what is left.
3Binomial probabilities
For $X \sim B(n, p)$:
$$P(X = r) = \binom{n}{r}p^r(1 - p)^{n - r}$$
where $\binom{n}{r} = \dfrac{n!}{r!(n - r)!}$ counts the number of ways to arrange $r$ successes among $n$ trials.
An exact probability
- $X \sim B(10, 0.3)$. Find $P(X = 3)$.
- $\binom{10}{3}(0.3)^3(0.7)^7 = 120 \times 0.027 \times 0.08235 = 0.2668$.
B(10, 0.3) peaks near its mean of 3 and is positively skewed, because p < 0.5.
Check yourself
What does C(n, r) count in the binomial formula?
Show the answer
The number of orders in which r successes can occur
For example, C(10, 3) = 120.
4Cumulative probabilities
Calculators (and tables) give cumulative probabilities $P(X \leq r)$. Convert other forms:
- $P(X < r) = P(X \leq r - 1)$
- $P(X \geq r) = 1 - P(X \leq r - 1)$
- $P(X > r) = 1 - P(X \leq r)$
- $P(a \leq X \leq b) = P(X \leq b) - P(X \leq a - 1)$
Cumulative
- $X \sim B(10, 0.3)$.
- $P(X \leq 2) = 0.3828$.
- $P(X \geq 4) = 1 - P(X \leq 3) = 1 - 0.6496 = 0.3504$.
Write the inequality with the correct integers before using the calculator: most errors come from the "$\geq$" conversions.
Check yourself
How do you write P(X ≥ 5) using a cumulative probability?
Show the answer
1 − P(X ≤ 4)
X ≥ 5 is the complement of X ≤ 4.
5Mean and variance
For $X \sim B(n, p)$:
$$E(X) = np \qquad \text{Var}(X) = np(1 - p)$$
Mean and spread
- A multiple-choice test has 40 questions, each with 4 options. A student guesses every answer.
- $X \sim B(40, 0.25)$: $E(X) = 10$, $\text{Var}(X) = 40 \times 0.25 \times 0.75 = 7.5$.
- Standard deviation $= \sqrt{7.5} \approx 2.74$.
The distribution is symmetrical when $p = 0.5$, positively skewed when $p < 0.5$, and negatively skewed when $p > 0.5$.
Check yourself
What is the mean of B(50, 0.2)?
Show the answer
10
np = 50 × 0.2.
6Using the binomial model
In context
- 15% of seeds fail to grow. A packet has 20 seeds. Find the probability that at most 2 fail.
- $X \sim B(20, 0.15)$: $P(X \leq 2) = 0.4049$.
- Find the probability that more than 4 fail: $P(X > 4) = 1 - P(X \leq 4) = 1 - 0.8298 = 0.1702$.
Criticising the model: seeds in one packet may share conditions (such as storage), so failures might not be independent.
Finding n
- How many seeds must be planted so that the probability of at least one failure exceeds 0.95?
- $1 - 0.85^n > 0.95$, so $0.85^n < 0.05$.
- $n > \dfrac{\ln 0.05}{\ln 0.85} = 18.4$, so $n = 19$.
Check yourself
Why might seeds in one packet fail to be independent?
Show the answer
They share storage conditions
A shared cause links outcomes.
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera