Example 1 — Coin toss until first tail
A fair coin is tossed repeatedly until the first tail appears. Here "success" is defined as getting a tail.
- Find the probability that the first tail appears exactly on the 5th toss.
- Calculate the mean and standard deviation of the number of tosses required.
- Plot the probability distribution for the first 10 trials.
View solution
-
\( p = 0.5 \) (success = tail), \( 1 - p = 0.5 \).
\[ P(X = 5) = (0.5)^4 \times 0.5 = (0.5)^5 = \frac{1}{32} = 0.03125 \] - \[ \mu = \frac{1}{0.5} = 2 \text{ tosses}, \qquad \sigma = \sqrt{\frac{0.5}{0.25}} = \sqrt{2} \approx 1.414 \]
-
For \(x = 1, \ldots, 10\), the PMF is \(P(X = x) = (0.5)^x\).
Figure 1 — Geometric distribution for \( p = 0.5 \). The cumulative probability for the first 10 trials is \( \sum_{x=1}^{10} P(X = x) = 1 - 0.5^{10} \approx 0.999 \).