Example 1 — 3 coin tosses, exactly 2 heads
A fair coin is tossed 3 times. What is the probability of getting exactly 2 heads?
View solution
The sample space for 3 tosses is:
The event "exactly 2 heads" is \( E = \{\text{HHT}, \text{HTH}, \text{THH}\} \), which has 3 outcomes.
Any specific sequence with 2 heads and 1 tail has probability:
\[ P(\text{HHT}) = p \cdot p \cdot (1-p) = p^2(1-p) \]So for a fair coin (\( p = 0.5 \)):
\[ P(E) = 3 \cdot (0.5)^2 (0.5)^1 = 3 \cdot 0.125 = 0.375 \]The coefficient 3 equals \( \binom{3}{2} \) — the number of ways to arrange 2 heads and 1 tail among 3 positions.