Coin Flip Probabilities with Four Fair Coins
You flip four fair coins.
- What is the probability of getting exactly 2 heads?
- What is the probability of getting an even number of heads (0, 2, or 4)?
Hints
- Each of the 16 equally likely outcomes has probability /16$. How many of them contain exactly 2 heads?^4 = 16$ equally likely outcomes for 4 fair coins. Intuitively, exactly 2 heads should be the most common single outcome -- there are more ways to get a 50/50 split than any extreme. And an even number of heads should be roughly half the outcomes by symmetry. So we expect something around $6/16$ for part 1 and close to
- For part 2, try computing the count for each case (0, 2, 4 heads) using $\binom{4}{k}$ and summing. Then ask whether the answer surprises you.
- For the general result on even heads, try evaluating $(1+1)^n + (1-1)^n$ and think about what each term contributes to the sum of even-indexed binomial coefficients.
Worked Solution
How to Think About It: Both parts are straightforward binomial counting problems. For part 1, you need to count the ways to choose 2 coins out of 4 to land heads. For part 2, you can grind through the cases -- or notice a slick symmetry argument that makes the answer obvious without any arithmetic. In an interview, seeing that shortcut is what separates a good answer from a great one.
Quick Estimate: There are
/2$ for part 2 -- let's verify.^n$.Approach: Count favorable outcomes using the binomial coefficient $\binom{n}{k}$, then divide by total outcomes
Formal Solution:
Part 1 -- Exactly 2 heads:
There are $\binom{4}{2} = 6$ ways to choose which 2 of the 4 coins land heads. The total number of outcomes is