Sub topic 11
Repeated Independent Trials
Assume you know basic fractions, combinations, and the multiplication rule for independent events. This chapter uses those ideas to solve questions in which the same experiment is repeated several times.
What makes trials independent?
A trial is one performance of an experiment, such as one coin toss or one die roll. Trials are independent when the result of one trial does not change the probabilities on later trials.
For example, repeated rolls of a fair die are independent. The probability of a six remains \(1/6\) after every roll. Drawing cards without replacement is not independent because the first card changes the deck.
If one outcome has probability \(p\), its opposite outcome has probability
\[ q=1-p. \]
For independent trials, multiply probabilities when a particular sequence is required. For example, the probability of getting three heads in three tosses of a fair coin is
\[ \left(\frac12\right)^3=\frac18. \]
The binomial model
The binomial model applies when all four conditions hold:
- There is a fixed number \(n\) of trials.
- Each trial has only two relevant outcomes, such as success and failure.
- The trials are independent.
- The probability of success \(p\) is the same on every trial.
The probability of exactly \(k\) successes is
\[ P(X=k)=\binom{n}{k}p^k(1-p)^{n-k}. \]
Here, \(\binom{n}{k}\) counts the possible positions of the \(k\) successes. The term \(p^k\) gives the probability of those successes, and \((1-p)^{n-k}\) gives the probability of the failures.
Worked example
A fair die is rolled four times. What is the probability of getting exactly two sixes?
A six is a success, so \(p=1/6\). There are \(n=4\) trials and \(k=2\) successes.
\[ P(X=2)=\binom42\left(\frac16\right)^2\left(\frac56\right)^2 \]
\[ =6\cdot\frac1{36}\cdot\frac{25}{36} =\frac{25}{216}. \]
The factor \(\binom42=6\) matters. The two sixes could occur in positions 1 and 2, 1 and 3, 1 and 4, 2 and 3, 2 and 4, or 3 and 4.
from math import comb
from fractions import Fraction
# Exactly 2 sixes in 4 rolls of a fair die.
probability = Fraction(comb(4, 2) * 1**2 * 5**2, 6**4)
print(probability) # 25/216Exactly, at least, and at most
The wording determines which probabilities to add.
| Wording | Required probabilities |
|---|---|
| Exactly 2 successes | \(P(X=2)\) |
| At least 2 successes | \(P(X=2)+P(X=3)+\cdots+P(X=n)\) |
| At most 2 successes | \(P(X=0)+P(X=1)+P(X=2)\) |
For “at least one,” the complement is usually faster:
\[ P(X\geq1)=1-P(X=0). \]
Suppose a question asks for at least one six in four die rolls. The complement is getting no sixes:
\[ P(\text{at least one six}) =1-\left(\frac56\right)^4. \]
This avoids adding four separate cases.
A visual method
The binomial formula groups many possible sequences that have the same number of successes.
Common traps and CAT strategy
First check independence. A draw without replacement usually does not fit the binomial model. Next identify whether the question asks for exactly, at least, or at most. Then choose between direct addition and the complement.
A quick reasonableness check helps. If \(p\) is small, many successes should have a small probability. Every final probability must lie between 0 and 1.
Exercise
A fair coin is tossed 5 times. What is the probability of getting at least 4 heads?
Show answer
Let X be the number of heads. P(X ≥ 4) = P(X = 4) + P(X = 5) = C(5,4)(1/2)^5 + C(5,5)(1/2)^5 = 6/32 + 1/32 = 7/32.