✓ Official Syllabus VerifiedStandards & Rigor ↗
18

Binomial Distribution

📌 Binomial Distribution S1  ·  X\sim B(n,p)  ·  P(X=r)=\binom{n}{r}p^r(1-p)^{n-r}  ·  Mean \(np\)  ·  Variance \(np(1-p)\)

Conditions

Fixed number of trials \(n\); each trial has two outcomes (success/failure); constant probability \(p\); trials independent. Then \(X\sim B(n,p)\).

Probability Formula

\(P(X=r)=\dbinom{n}{r}p^r(1-p)^{n-r}\) for \(r=0,1,2,\ldots,n\).

Mean and Variance

\(E(X)=np\), \(\text{Var}(X)=np(1-p)\), \(\sigma=\sqrt{np(1-p)}\).

Cumulative Probabilities

Use tables or calculator: \(P(X\leq r)\). Note: \(P(X\geq r)=1-P(X\leq r-1)\).

Normal Approximation

If \(n\) large and \(p\) close to 0.5: \(X\approx N(np,\,np(1-p))\) with continuity correction.

Finding Unknown n or p

Set up equations using given probabilities and solve. May require trial and error or logarithms for \(n\).

▲ Binomial Distribution — Reference
If \(X\sim B(n,p)\): \(n\) independent trials, each with probability \(p\) of success. \(P(X=r)=\dbinom{n}{r}p^r(1-p)^{n-r}\). Mean: \(E(X)=np\). Variance: \(\text{Var}(X)=np(1-p)\). Use the binomial distribution when: fixed \(n\), trials independent, constant \(p\), only 2 outcomes (success/failure).
● Deep Conceptual Intuition — Binomial Distribution

Probabilistic Normalization & Moment Structure: Every probability model is governed by total probability conservation: \(\sum_x P(X=x) = 1\) for discrete random variables and \(\int_{-\infty}^{\infty} f(x)\,dx = 1\) (with \(f(x) \ge 0\)) for continuous density functions. Expected value \(\mathbb{E}[X]\) acts as a linear operator (\(\mathbb{E}[aX + bY] = a\mathbb{E}[X] + b\mathbb{E}[Y]\)), whereas variance scales quadratically and adds for independent variables: \(\operatorname{Var}(aX \pm bY) = a^2\operatorname{Var}(X) + b^2\operatorname{Var}(Y)\).

Discrete probability mass bars \(P(X = k)\) summing to \(100\%\) across integer counts \(k\).
⊙ Explorer · Binomial Distribution \(X \sim B(n, p)\) Probability Mass Lab
interactive
Modal Probability\({}_{8}C_{3} = 56\)
Expectation \(E(X)\) = np\(\mu = 3.20\)
Variance \(\text{Var}(X) = npq\)\(\sigma = 1.39\)

Inspect the discrete probability bars \(P(X = r)\) = nCr·\(p^{r} \cdot q^{n-r}\) for a Binomial random variable \(X\) ~ \(B(n, p)\).

\(P(X=r)\)
\(\binom{n}{r}p^r(1-p)^{n-r}\)
Mean
\(np\)
Variance
\(np(1-p)\)
Conditions
Fixed \(n\), independent, constant \(p\)
Binomial distribution \(X \sim B(5, 0.4)\) probability distribution across \(r = 0, 1, 2, 3, 4, 5\).
⚠ Common Traps & Exam Pitfalls
Inequality bounds for discrete distributions: Unlike continuous variables, strict inequalities make a critical difference:
• \(P(X \ge r) = 1 - P(X \le r - 1)\) (NOT \(1 - P(X \le r)\))
• \(P(X > r) = 1 - P(X \le r)\)
• \(P(X < r) = P(X \le r - 1)\).

'At least one' complement shortcut: \(P(X \ge 1) = 1 - P(X = 0) = 1 - (1-p)^n\). Always look for this time-saving identity in exam questions.

Four binomial conditions: Cambridge exam questions frequently ask you to state assumptions justifying the binomial model: (1) Fixed number of trials \(n\), (2) Constant probability of success \(p\), (3) Independent trials, (4) Exactly two mutually exclusive outcomes (success/failure).
◆ Why It Works — First-Principles Derivation (Binomial Distribution)

Why Variance Scales as \(a^2\) and Independent Variances Always Add: By definition, \(\operatorname{Var}(Y) = \mathbb{E}[(Y - \mu_Y)^2]\). For \(Y = aX - bW\) with independent \(X, W\), subtracting its mean \(\mu_Y = a\mu_X - b\mu_W\) gives:

\[ \operatorname{Var}(aX - bW) = \mathbb{E}\!\left[(a(X - \mu_X) - b(W - \mu_W))^2\right] = a^2\mathbb{E}[(X-\mu_X)^2] - 2ab\,\operatorname{Cov}(X,W) + b^2\mathbb{E}[(W-\mu_W)^2] \]

Because independence implies \(\operatorname{Cov}(X, W) = 0\), the cross term vanishes and \((-b)^2 = +b^2\), proving \(\operatorname{Var}(aX - bW) = a^2\operatorname{Var}(X) + b^2\operatorname{Var}(W)\). Uncertainty compounds whether random variables are added or subtracted.

Worked example 1 — Exact probability
Problem. \(X\sim B(8,0.3)\). Find (a) \(P(X=3)\), (b) \(P(X\leq1)\).
▸ Show step-by-step solution

(a) \(P(X=3)=\binom{8}{3}(0.3)^3(0.7)^5=56\times0.027\times0.16807\approx0.2541\).

(b) \(P(X=0)=(0.7)^8\approx0.0576\); \(P(X=1)=8(0.3)(0.7)^7\approx0.1977\). \(P(X\leq1)\approx0.2553\).

Worked example 2 — Finding \(n\) from mean
Problem. The mean of \(X\sim B(n,0.4)\) is 6. Find \(n\) and the standard deviation.
▸ Show step-by-step solution
\[np=6\Rightarrow n=15.\quad\sigma=\sqrt{15\times0.4\times0.6}=\sqrt{3.6}\approx1.90.\]
Worked Example \(C\) — Binomial Distribution (Medium Application)
Problem. A factory produces light bulbs. The probability that a randomly selected light bulb is defective is \(p\). The number of defective light bulbs in a random sample of \(n\) bulbs follows a binomial distribution \(X \sim B(n, p)\). It is known that the mean number of defective bulbs in a sample of \(n=25\) is \(2\). \\ (i) Calculate the value of \(p\). \\ (ii) For a sample of \(n=50\) bulbs, calculate the probability of finding exactly \(k\) defective bulbs, where \(k\) is the smallest integer such that \(P(X \le k) > 0.9\). \\ (iii) If a sample of \(n=50\) bulbs is taken, find the smallest value of \(n'\) such that the probability of observing at least one defective bulb is greater than \(0.999\).
▸ Show step-by-step solution

Part (i): For a binomial distribution \(X \sim B(n, p)\), the mean is given by \(E(X) = np\). \\ We are given \(n=25\) and \(E(X)=2\). \\ So, \(25p = 2\), which gives \(p = \frac{2}{25} = 0.08\). \\ Part (ii): Now, \(n=50\) and \(p=0.08\). The number of defective bulbs follows \(X \sim B(50, 0.08)\). \\ We need to find the smallest integer \(k\) such that \(P(X \le k) > 0.9\). \\ We can use a binomial cumulative distribution table or a calculator. \\ Let's calculate a few values: \(P(X \le 3) = P(X=0) + P(X=1) + P(X=2) + P(X=3)\) Using a binomial CDF calculator or table for \(B(50, 0.08)\): \\ \(P(X \le 3) \approx 0.4503 \) \(P(X \le 4) \approx 0.6333 \) \(P(X \le 5) \approx 0.7918 \) \(P(X \le 6) \approx 0.8941 \) \(P(X \le 7) \approx 0.9575 \) The smallest integer \(k\) for which \(P(X \le k) > 0.9\) is \(k=7\). \\ Part (iii): We have \(n=50\) and \(p=0.08\). We want to find the smallest value of \(n'\) such that the probability of observing at least one defective bulb is greater than \(0.999\). \\ The probability of observing at least one defective bulb is \(P(X \ge 1) = 1 - P(X=0)\). \\ For a binomial distribution, \(P(X=0) = \binom{n'}{0} p^0 (1-p)^{n'} = (1-p)^{n'}\). \\ So we need \(1 - (1-p)^{n'} > 0.999\). \\ Substituting \(p=0.08\), we get \(1 - (0.92)^{n'} > 0.999\). \\ This means \((0.92)^{n'} < 1 - 0.999 = 0.001\). \\ Taking the natural logarithm of both sides: \(n' \ln(0.92) < \ln(0.001)\). \\ Since \(\ln(0.92)\) is negative, we must reverse the inequality sign when dividing: \(n' > \frac{\ln(0.001)}{\ln(0.92)}\). \\ \(n' > \frac{-6.907755...}{-0.083381...}\) \(n' > 82.847...\) The smallest integer value of \(n'\) is \(83\). \\ The question asks for the smallest value of \(n'\) for a sample of size \(n=50\). This part of the question seems to imply a re-sampling or a different scenario for \(n'\). Assuming \(n'\) refers to the sample size for a new calculation of the probability of at least one defective bulb.

Worked Example \(D\) — Binomial Distribution (Hard Application)
Problem. A fair coin is tossed 3 times. Let X be the number of heads obtained. What is the probability that X = 2?
▸ Show step-by-step solution

This is a binomial distribution scenario. The number of trials is \(n=3\) (the number of coin tosses). The probability of success (getting a head) in a single trial is \(p = \frac{1}{2}\), and the probability of failure (getting a tail) is \(q = 1-p = \frac{1}{2}\). We want to find the probability of getting exactly \(k=2\) heads. The binomial probability formula is \(P(X=k) = \binom{n}{k} p^k q^{n-k}\). Substituting the values: \(P(X=2) = \binom{3}{2} (\frac{1}{2})^2 (\frac{1}{2})^{3-2}\) \(P(X=2) = \binom{3}{2} (\frac{1}{2})^2 (\frac{1}{2})^1\) First, calculate the binomial coefficient \(\binom{3}{2}\). This represents the number of ways to choose 2 heads from 3 tosses: \(\binom{3}{2} = \frac{3!}{2!(3-2)!} = \frac{3!}{2!1!} = \frac{3 \times 2 \times 1}{(2 \times 1) \times 1} = 3\). Now, substitute this back into the probability formula: \(P(X=2) = 3 \times (\frac{1}{4}) \times (\frac{1}{2})\) \(P(X=2) = 3 \times \frac{1}{8}\) \(P(X=2) = \frac{3}{8}\). Alternatively, we can list all possible outcomes for 3 coin tosses (H for heads, T for tails): HHH, HHT, HTH, THH, HTT, THT, TTH, TTT. There are \(2^3 = 8\) total possible outcomes. The outcomes with exactly 2 heads are: HHT, HTH, THH. There are 3 such outcomes. Therefore, the probability of getting exactly 2 heads is \(\frac{\text{Number of favorable outcomes}}{\text{Total number of outcomes}} = \frac{3}{8}\).

Error Diagnosis — Common Student Traps vs. Exam-Board Method (Binomial Distribution)
Common Student TrapWhy It Fails MathematicallyCorrect Exam-Board Method
Writing \(\operatorname{Var}(X - Y) = \sigma_X^2 - \sigma_Y^2\)Produces smaller or even negative variance for the difference of independent variables.Always add variances of independent variables: \(\sigma_{X-Y}^2 = \sigma_X^2 + \sigma_Y^2\).
Using \(\sigma / n\) instead of \(\sigma / \sqrt{n}\) for \(\bar{X}\)Confuses the variance of the sample mean \(\sigma^2/n\) with its standard error.Take the square root: \(\text{SE}(\bar{X}) = \sigma / \sqrt{n}\).
Accepting \(H_0\) with certainty when \(p > \alpha\)Absence of sufficient evidence against \(H_0\) does not prove \(H_0\) is true.Write in context: "There is insufficient evidence at the \(\alpha\) level to reject \(H_0\)."
▲ Exam Pacing & Verification Strategy — Binomial Distribution

Exam Marking Tip (Cambridge International AS Level (9709 Paper 1 / Paper 4 / Paper 5)): Always state the distribution parameters explicitly (e.g., \(X \sim \operatorname{N}(\mu, \sigma^2)\) or \(\bar{X} \sim \operatorname{N}(\mu, \sigma^2/n)\)) and sketch a quick shaded bell curve before standardizing to \(z = \dfrac{x - \mu}{\sigma}\). This secures the method mark even if a rounding slip occurs later.

A fair coin is tossed 10 times. Find the probability of getting (a) exactly 6 heads, (b) fewer than 3 heads.
💡 Hint 1 of 3
(a) \(\binom{10}{6}(0.5)^{10} = 210\times\tfrac{1}{1024}\).
💡 Hint 2 of 3
(b): \(P(X\leq2) = P(0)+P(1)+P(2)\). Substitute and simplify: \(P(X\leq2) = \tfrac{1+10+45}{1024}\).
💡 Hint 3 of 3
Compute the final value from: \(\tfrac{1+10+45}{1024}\).
(a) \(\binom{10}{6}(0.5)^{10}=210\times\tfrac{1}{1024}\approx0.2051\). (b) \(P(X\leq2)=P(0)+P(1)+P(2)=\tfrac{1+10+45}{1024}=\tfrac{56}{1024}\approx0.0547\).
In a manufacturing batch, 5% of components are defective. A sample of 12 components is inspected. Find the probability that at least 2 components are defective.
💡 Hint 1 of 3
Let \(X \sim B(12, 0.05)\).
💡 Hint 2 of 3
We need \(P(X \ge 2) = 1 - [P(X = 0) + P(X = 1)]\). \(P(X = 0) = (0.95)^{12} \approx 0.5404\). \(P(X = 1) = 12(0.05)(0.95)^{11}\).
💡 Hint 3 of 3
Thus, \(P(X \ge 2) = 1 - (0.5404 + 0.3413) = 1 - 0.8817\) (3 s.f.).
Let \(X \sim B(12, 0.05)\). We need \(P(X \ge 2) = 1 - [P(X = 0) + P(X = 1)]\). \(P(X = 0) = (0.95)^{12} \approx 0.5404\). \(P(X = 1) = 12(0.05)(0.95)^{11} \approx 0.3413\). Thus, \(P(X \ge 2) = 1 - (0.5404 + 0.3413) = 1 - 0.8817 = 0.118\) (3 s.f.).
[Practice 3 · Easy] Simplify \( \sqrt{99} \), giving your answer in the form \( a\sqrt{b} \) with \(b\) as small as possible.
💡 Hint 1 of 3
Solve \(\sqrt{99}\) over the specified interval using reference angles and quadrant symmetry.
💡 Hint 2 of 3
Rewrite and simplify to obtain: \( 99=3^2\times 11 \).
💡 Hint 3 of 3
Count the total number of distinct solutions that lie within the given domain.
\( 99=3^2\times 11 \), so \( \sqrt{99}=\sqrt{3^2\times11}=3\sqrt{11} \).
[Practice 4 · Medium] Express \( x^2+10x-8 \) in the form \( (x+p)^2+q \).
💡 Hint 1 of 3
Half of \(10\) is \(5\).
💡 Hint 2 of 3
So: \(x^2+10x-8\). Rewrite and substitute: \(x^2+10x-8 = (x+5)^2-25-8\).
💡 Hint 3 of 3
Evaluate \((x+5)^2-25-8\) to obtain the final answer.
Half of \(10\) is \(5\), so \( x^2+10x-8=(x+5)^2-25-8=(x+5)^2-33 \).

Binomial Distribution — 8-Mark Structured Problem

8 pts Calculator Active
For Binomial Distribution, consider the linear-rate relationship \(f(x) = 3x + 5\) on \(x \ge 0\) together with the quadratic auxiliary \(g(x) = x^2 - 6x + 5\).
  1. (a)2 pts
    Find the initial value \(f(0)\) and the slope \(f'(x)\).
    Scoring Guideline & Justification
    • [M1] Evaluates f(0) and reads gradient coefficient (1 pt)
    • [A1] Obtains f(0) = 5 and slope = 3 (1 pt)
  2. (b)3 pts
    Determine the vertex \((h, k)\) and minimum value of \(g(x)\).
    Scoring Guideline & Justification
    • [M1] Finds axis of symmetry x = 3 (2 pt)
    • [A1] Evaluates minimum k = -4 (1 pt)
  3. (c)3 pts
    Compute the average rate of change of \(g(x)\) from \(x = 0\) to \(x = 5\).
    Scoring Guideline & Justification
    • [M1] Applies (g(5) - g(0)) / 5 (2 pt)
    • [A1] Simplifies to -1 (1 pt)
Complete Worked Solution
(a) \(f(0)=5\), gradient \(3\). (b) Completing the square gives \(g(x)=(x-3)^2+-4\), minimum \(-4\) at \(x=3\). (c) Average rate \(= (x_1+x_2-6) = -1\).
A factory produces light bulbs. The probability that a randomly selected light bulb is defective is \(p\). The number of defective light bulbs in a random sample of \(n\) bulbs follows a binomial distribution \(X \sim B(n, p)\). It is known that the mean number of defective bulbs in a sample of \(n=25\) is \(2\). \\ (i) Calculate the value of \(p\). \\ (ii) For a sample of \(n=50\) bulbs, calculate the probability of finding exactly \(k\) defective bulbs, where \(k\) is the smallest integer such that \(P(X \le k) > 0.9\). \\ (iii) If a sample of \(n=50\) bulbs is taken, find the smallest value of \(n'\) such that the probability of observing at least one defective bulb is greater than \(0.999\).
💡 Hint 1 of 3
Part (i): For a binomial distribution \(X \sim B(n, p)\), the mean is given by \(E(X) = np\).
💡 Hint 2 of 3
We are given \(n=25\) and \(E(X)=2\). So, \(25p = 2\), which gives \(p = \frac{2}{25}\).
💡 Hint 3 of 3
The question asks for the smallest value of \(n'\) for a sample of size \(n=50\). This part of the question seems to imply a re-sampling or a different scenario for \(n'\). Assuming \(n'\) refers to the sample size for a new calculation of the probability of at least one defective bulb.
Part (i): For a binomial distribution \(X \sim B(n, p)\), the mean is given by \(E(X) = np\). \\ We are given \(n=25\) and \(E(X)=2\). \\ So, \(25p = 2\), which gives \(p = \frac{2}{25} = 0.08\). \\ Part (ii): Now, \(n=50\) and \(p=0.08\). The number of defective bulbs follows \(X \sim B(50, 0.08)\). \\ We need to find the smallest integer \(k\) such that \(P(X \le k) > 0.9\). \\ We can use a binomial cumulative distribution table or a calculator. \\ Let's calculate a few values: \(P(X \le 3) = P(X=0) + P(X=1) + P(X=2) + P(X=3)\) Using a binomial CDF calculator or table for \(B(50, 0.08)\): \\ \(P(X \le 3) \approx 0.4503 \) \(P(X \le 4) \approx 0.6333 \) \(P(X \le 5) \approx 0.7918 \) \(P(X \le 6) \approx 0.8941 \) \(P(X \le 7) \approx 0.9575 \) The smallest integer \(k\) for which \(P(X \le k) > 0.9\) is \(k=7\). \\ Part (iii): We have \(n=50\) and \(p=0.08\). We want to find the smallest value of \(n'\) such that the probability of observing at least one defective bulb is greater than \(0.999\). \\ The probability of observing at least one defective bulb is \(P(X \ge 1) = 1 - P(X=0)\). \\ For a binomial distribution, \(P(X=0) = \binom{n'}{0} p^0 (1-p)^{n'} = (1-p)^{n'}\). \\ So we need \(1 - (1-p)^{n'} > 0.999\). \\ Substituting \(p=0.08\), we get \(1 - (0.92)^{n'} > 0.999\). \\ This means \((0.92)^{n'} < 1 - 0.999 = 0.001\). \\ Taking the natural logarithm of both sides: \(n' \ln(0.92) < \ln(0.001)\). \\ Since \(\ln(0.92)\) is negative, we must reverse the inequality sign when dividing: \(n' > \frac{\ln(0.001)}{\ln(0.92)}\). \\ \(n' > \frac{-6.907755...}{-0.083381...}\) \(n' > 82.847...\) The smallest integer value of \(n'\) is \(83\). \\ The question asks for the smallest value of \(n'\) for a sample of size \(n=50\). This part of the question seems to imply a re-sampling or a different scenario for \(n'\). Assuming \(n'\) refers to the sample size for a new calculation of the probability of at least one defective bulb.
📝 Chapter Quiz