Bernoulli trials and binomial probability
Bernoulli trials with two outcomes, binomial experiments with repeated independent trials, the binomial probability formula P(X = k) = nCk p^k q^(n−k), and probabilities of at least one and at most one success.
Many questions in probability come down to repeating the same yes-or-no experiment: does a seed germinate, does a free throw go in, is a part faulty? The binomial formula answers all of them at once, and it links probability to the binomial expansion you already know.
Bernoulli trials
A Bernoulli trial is an experiment with exactly two outcomes, called success ($X = 1$) and failure ($X = 0$). We write $P(\text{success}) = p$ and $P(\text{failure}) = q$, where $q = 1 - p$. For example, rolling a die and recording only "is it a $6$?" is a Bernoulli trial with $p = \tfrac16$.
The binomial probability formula
Take $n = 5$ trials and ask for exactly $2$ successes. One way is SSFFF, with probability $p \cdot p \cdot q \cdot q \cdot q = p^2q^3$, using independence. Every other arrangement of $2$ S's and $3$ F's has the same probability, and there are $\binom52 = 10$ arrangements (choose which $2$ of the $5$ places hold the S's). So $P(X = 2) = 10p^2q^3$.
These are exactly the terms of $(q + p)^n$. Since $q + p = 1$, the probabilities add to $1^n = 1$, as they must.
A die is rolled $5$ times. Find the probability of exactly two sixes.
Each bar is P(X = k). Click a bar to get P(X = k), P(X ≤ k) and P(X ≥ k).
For $X \sim \text{Bin}(8, 0.25)$, calculate $P(X = 2)$ with the formula, then click the bar to check. Use the readout to find $P(X \ge 3)$. Then set $p = 0.5$: why is the chart now symmetric?
At least and at most
"At least one" is quickest by the complement: the only way to fail is to get no successes at all, so $P(X \ge 1) = 1 - q^n$. "At most one" means $X = 0$ or $X = 1$, so add those two terms.
An archer hits the target with probability $0.3$ on each shot. In $6$ shots, find the probability of at least one hit.
$10\%$ of items from a machine are faulty. In a box of $8$, find the probability that at most one is faulty.
Each ticket wins a prize with probability $0.2$. How many tickets must you buy for the chance of at least one prize to exceed $95\%$?
Your turn
A student guesses all $10$ questions of a multiple-choice quiz, each with $4$ options. Find the probability of exactly $3$ correct, to $4$ decimal places.
Show the working
$X \sim \text{Bin}\left(10, \tfrac14\right)$. $P(X = 3) = \binom{10}{3}\left(\tfrac14\right)^3\left(\tfrac34\right)^7 = 120 \times \dfrac{1}{64} \times 0.13348 \approx 0.2503$.
Which of these is not a binomial experiment?
Without replacement, the probability of an ace changes after each card, so the trials are not independent with a fixed $p$. The other three are binomial.
A fair coin is tossed $6$ times. Find the probability of exactly $4$ heads, correct to $4$ decimal places.
$\binom64\left(\tfrac12\right)^6 = \dfrac{15}{64} \approx 0.2344$.
$X \sim \text{Bin}(5, 0.4)$. Find $P(X = 0)$, correct to $4$ decimal places.
$P(X = 0) = q^5 = 0.6^5 = 0.07776 \approx 0.0778$.
$X \sim \text{Bin}(4, 0.3)$. Find $P(X = 2)$.
$\binom42(0.3)^2(0.7)^2 = 6 \times 0.09 \times 0.49 = 0.2646$.
For $X \sim \text{Bin}(n, p)$, the probability $P(X = k)$ equals:
Expanding $(q + p)^n$ gives terms $\binom{n}{k}p^k q^{n - k}$, which are the binomial probabilities.
A die is rolled $4$ times. Find the probability of at least one six, correct to $4$ decimal places.
$1 - \left(\tfrac56\right)^4 = 1 - \dfrac{625}{1296} \approx 0.5177$.
Each email is spam with probability $0.05$. Of $10$ emails, find the probability that at most one is spam, correct to $4$ decimal places.
$P(X \le 1) = 0.95^{10} + 10(0.05)(0.95)^9 \approx 0.5987 + 0.3151 = 0.9139$.
A player wins a game with probability $0.1$. What is the least number of games so that the probability of at least one win is at least $0.99$?
$1 - 0.9^n \ge 0.99$, so $0.9^n \le 0.01$. Taking logs and reversing the inequality (as $\ln0.9 \lt 0$): $n \ge \dfrac{\ln0.01}{\ln0.9} \approx 43.7$. So $n = 44$.
Exam style: $X \sim \text{Bin}(6, p)$ and $P(X = 2) = P(X = 3)$. Find $p$, correct to $2$ decimal places.
$\binom62p^2q^4 = \binom63p^3q^3$ gives $15q = 20p$ (dividing by $p^2q^3$). So $15(1 - p) = 20p$, $p = \tfrac{15}{35} = \tfrac37 \approx 0.43$.
Exam style: each seed germinates with probability $0.85$. Find the probability that at least $9$ of $10$ seeds germinate, correct to $4$ decimal places.
$P(X \ge 9) = P(X = 9) + P(X = 10) = 10(0.85)^9(0.15) + 0.85^{10} \approx 0.3474 + 0.1969 = 0.5443$.
Coaching Centre