The Binomial Random Variable
A pharmaceutical company tests a new vaccine on 50 volunteers, each with an 80% chance of developing immunity. How likely is it that exactly 42 develop immunity? A genetics researcher predicts that 1 in 4 offspring will show a recessive trait — in 16 offspring, what is the chance that exactly 5 show it? These questions all have one universal answer: the binomial PMF, $P(X=k) = \binom{n}{k}p^k(1-p)^{n-k}$.
A fair coin is flipped 4 times. Before any formula — how many distinct sequences of 4 flips give exactly 2 heads? List a few of them. Why is this counting question essential before you can talk about $P(X = 2)$?
Every binomial problem rewards two habits: identify $n$, $p$, $k$ exactly, then apply the PMF in three pieces (the combination, the success probability raised to $k$, and the failure probability raised to $n-k$). Skipping either step is the most common cause of arithmetic and method errors.
The extract-and-apply strategy: (1) read the wording carefully and write down $n$ (trials), $p$ (success probability), $k$ (target number of successes), (2) write the PMF in three labelled pieces — ways, successes, failures — (3) substitute and simplify carefully.
$P(X=k) = \binom{n}{k} \cdot p^k \cdot (1-p)^{n-k}$ · $X \sim \mathrm{Bin}(n,p)$, $k \in \{0,1,\dots,n\}$
Key facts
- Binomial notation: $X \sim \mathrm{Bin}(n,p)$ where $X$ is the count of successes
- The binomial PMF: $P(X=k) = \binom{n}{k}p^k(1-p)^{n-k}$ for $k = 0, 1, \ldots, n$
- $\binom{n}{k} = \dfrac{n!}{k!(n-k)!}$ counts the orderings of $k$ successes in $n$ trials
Concepts
- Why each piece of the PMF (combination, $p^k$, $(1-p)^{n-k}$) is needed
- Why the binomial PMF only applies when the four Bernoulli conditions hold
- How the PMF probabilities sum to 1 across $k = 0, 1, \ldots, n$
Skills
- Identify $n$, $p$, $k$ from the wording of an HSC problem
- Compute $P(X = k)$ using the binomial PMF, with exact or decimal answers
- Recognise when a setup is suitable for the binomial PMF and when it is not
Given a Bernoulli process with parameters $n$ and $p$, the number of successes $X$ has the probability mass function:
The formula has three pieces, each with a clear meaning:
- $\binom{n}{k}$ — the number of orderings of $k$ successes among $n$ trials (e.g. for "3 heads in 5 flips", $\binom{5}{3} = 10$ sequences).
- $p^k$ — the probability that those $k$ chosen positions are all successes.
- $(1-p)^{n-k}$ — the probability that the remaining $n-k$ positions are all failures.
Worked through the hook: Coin with $P(\text{H}) = 0.7$, flipped 5 times, find $P(X=3)$.
- $n = 5$, $p = 0.7$, $k = 3$, so $n - k = 2$.
- $\binom{5}{3} = \dfrac{5!}{3!\,2!} = 10$ — there are 10 different orderings of 3 heads in 5 flips.
- $P(X = 3) = 10 \cdot (0.7)^3 \cdot (0.3)^2 = 10 \cdot 0.343 \cdot 0.09 = 0.3087$.
So roughly a 30.87% chance of exactly 3 heads — not just $0.7^3 = 0.343$, because we have to count all 10 orderings AND multiply by the failure probability for the other 2 flips.
Binomial PMF: $P(X=k)=\binom{n}{k}p^k(1-p)^{n-k}$ for $k=0,1,\ldots,n$. Three factors: $\binom{n}{k}$ = number of arrangements; $p^k$ = probability of $k$ successes; $(1-p)^{n-k}$ = probability of $n-k$ failures.
Pause — copy the binomial PMF $P(X=k)=\binom{n}{k}p^k(1-p)^{n-k}$ and explain in one sentence what each of the three factors represents into your book.
Quick check: If $X \sim \mathrm{Bin}(8, 0.4)$, which expression correctly gives $P(X = 3)$?
We just saw that $P(X=k)=\binom{n}{k}p^k(1-p)^{n-k}$ where $\binom{n}{k}$ counts arrangements, $p^k$ is the probability of $k$ successes, and $(1-p)^{n-k}$ the probability of $n-k$ failures. That raises a question: after deriving the formula, how do you verify the four Bernoulli conditions before using it, and what are the common setups where it does not apply? This card answers it → always run BINS first: without-replacement sampling, variable $n$, and unequal $p$ each invalidate the model.
The PMF is a powerful tool, but only inside the domain where it is valid. Always run the four-condition check before substituting.
- Use $\mathrm{Bin}(n,p)$ when: $n$ fixed in advance, two outcomes per trial, constant $p$, trials independent.
- Do NOT use when: trials are dependent, $p$ varies, $n$ is determined by the experiment, or there are more than two effective outcomes per trial without a meaningful dichotomy.
Quick contrast. Compare two scenarios:
- "A bag contains 50 marbles, 20 red. You draw 6 marbles WITH replacement. Find $P(\text{exactly 2 red})$." ⇒ Bernoulli holds. $X \sim \mathrm{Bin}(6, 0.4)$. $P(X=2) = \binom{6}{2}(0.4)^2(0.6)^4 = 15 \cdot 0.16 \cdot 0.1296 = 0.31104$. ✓
- "Same setup but WITHOUT replacement." ⇒ $p$ changes. Bernoulli fails. The binomial PMF is wrong here.
The PMF is a powerful tool, but only inside the domain where it is valid. Always run the four-condition check before substituting.
Pause — copy the four-condition validity checklist (BINS) and three common disqualifying setups (without replacement, variable $n$, non-constant $p$) into your book.
Did you get this? True or false: for $X \sim \mathrm{Bin}(10, 0.3)$, the exponents in $P(X=4)$ are $p^4$ and $(1-p)^6$, summing to 10.
Worked examples · 3 in a row, reveal as you go
A biased coin lands heads with probability $0.4$. It is flipped 6 times. Let $X$ be the number of heads. Find $P(X = 2)$, giving an exact answer.
A multiple-choice test has 10 questions, each with 4 equally likely options. A student guesses every answer. Find the probability that the student gets at least 1 question correct.
A genetic trait appears in offspring with probability $\tfrac{1}{4}$. A family has 8 children, considered independent. Find the probability that exactly 3 children show the trait.
Fill the gap: If $X \sim \mathrm{Bin}(7, 0.5)$, then $P(X = 4) = \binom{7}{}(0.5)^{}(0.5)^{}$.
Misconceptions to fix · the 3 traps that cost marks
Did you get this? True or false: if $X \sim \mathrm{Bin}(10, 0.2)$, then $P(X = 0) = (0.8)^{10}$.
Activities · practice with the ideas
Let $X \sim \mathrm{Bin}(5, 0.3)$. Find $P(X = 2)$, leaving your answer correct to 4 decimal places.
A fair die is rolled 12 times. Find the probability of getting exactly 4 sixes. Use $X \sim \mathrm{Bin}(12, \tfrac{1}{6})$.
A salesman makes calls; each call results in a sale with probability $0.2$, independent of other calls. He makes 10 calls. Find $P(X \geq 1)$ using the complement.
$X \sim \mathrm{Bin}(4, 0.5)$. Verify that $\displaystyle\sum_{k=0}^4 P(X=k) = 1$ by computing each probability and summing.
A vaccine has an 85% success rate (immunity per dose, independent). It is given to 20 people. Write down (do not evaluate) the expression for $P(\text{exactly 17 develop immunity})$, clearly stating $n$, $p$ and $k$.
Odd one out: Three of these statements about $X \sim \mathrm{Bin}(n, p)$ are correct. Which one is NOT?
Earlier you were asked how many sequences of 5 flips contain exactly 3 heads, and why $P(X = 3)$ is not just $0.7^3$.
The answer to the count is $\binom{5}{3} = 10$ — that is, ten distinct orderings such as HHHTT, HHTHT, HTHTH, … The probability $P(X = 3)$ is NOT just $0.7^3$ because $0.7^3$ alone is the probability of just ONE such sequence (say HHHTT). We must multiply by the number of orderings AND by $(0.3)^2$ for the two tails. So $P(X=3) = 10 \cdot (0.7)^3 \cdot (0.3)^2 = 0.3087$. The three pieces of the PMF correspond to: count of orderings, success probabilities, failure probabilities.
Pick your answer, then rate your confidence — that tells the system what to drill next. Each retry pulls a fresh mix from the bank.
Q1. Let $X \sim \mathrm{Bin}(6, 0.5)$. Find $P(X = 4)$ as an exact fraction. (2 marks)
Q2. A multiple-choice test has 15 questions, each with 4 options. A student guesses randomly. Find the probability that the student gets exactly 5 questions correct. Give the answer correct to 4 decimal places. (3 marks)
Q3. A pharmaceutical trial gives a drug to 12 patients independently. Each patient has a $0.7$ probability of responding favourably. Find the probability that at least 10 patients respond favourably. (3 marks)
Comprehensive answers (click to reveal)
Activity answers:
1. $P(X = 2) = \binom{5}{2}(0.3)^2(0.7)^3 = 10 \cdot 0.09 \cdot 0.343 = 0.3087$.
2. $P(X = 4) = \binom{12}{4}\left(\tfrac{1}{6}\right)^4\left(\tfrac{5}{6}\right)^8 = 495 \cdot \tfrac{1}{1296} \cdot \tfrac{390625}{1679616} \approx 0.0888$.
3. $P(X \geq 1) = 1 - (0.8)^{10} = 1 - 0.1074 \approx 0.8926$.
4. $\binom{4}{k}$ for $k = 0,1,2,3,4$ are $1, 4, 6, 4, 1$. With $p = 0.5$: $P(X=k) = \binom{4}{k}/16$. Sum $= (1+4+6+4+1)/16 = 16/16 = 1$ ✓.
5. $n = 20$, $p = 0.85$, $k = 17$. $P(X = 17) = \binom{20}{17}(0.85)^{17}(0.15)^3 = 1140 \cdot (0.85)^{17} \cdot (0.15)^3$.
Q1 (2 marks): $P(X = 4) = \binom{6}{4}(0.5)^4(0.5)^2 = 15 \cdot \tfrac{1}{16} \cdot \tfrac{1}{4}$ [1] $= \tfrac{15}{64}$ [1].
Q2 (3 marks): $X \sim \mathrm{Bin}(15, 0.25)$ [1]. $P(X = 5) = \binom{15}{5}(0.25)^5(0.75)^{10} = 3003 \cdot 0.0009766 \cdot 0.05631$ [1] $\approx 0.1651$ [1].
Q3 (3 marks): $X \sim \mathrm{Bin}(12, 0.7)$ [0.5]. $P(X \geq 10) = P(X=10) + P(X=11) + P(X=12)$ [0.5]. $P(X=10) = \binom{12}{10}(0.7)^{10}(0.3)^2 = 66 \cdot 0.02825 \cdot 0.09 \approx 0.1678$ [0.5]. $P(X=11) = 12 \cdot (0.7)^{11}(0.3) \approx 0.0712$ [0.5]. $P(X=12) = (0.7)^{12} \approx 0.0138$ [0.5]. Total $\approx 0.2528$ [0.5].
Five timed questions applying the binomial PMF: state $n$, $p$, $k$; compute $P(X=k)$; handle "at least" and "at most" via complements. Beat the boss to bank a tier — gold (90% + speed), silver (75%), or bronze (50%). Replays welcome.
⚔ Enter the arenaClimb platforms by computing binomial probabilities. Lighter alternative to the boss.
Mark lesson as complete
Tick when you've finished the practice and review.