The Collector's Last Coupon โ A Waiting Time Surprise
You have a fair, well-shuffled deck of cards: exactly red cards and black cards. You flip cards one at a time until you have seen at least one card of each color.
Question: What is the expected number of cards you must flip?
(For concreteness, try and first to build intuition.)
Answer: The Collector's Last Coupon
Key Idea / Intuition
The game ends the moment the second color appears for the first time โ equivalently, it ends at the flip that breaks the initial "all one color" run. The first card is always some color. We then wait until the first card of the opposite color appears. By symmetry, what matters is only the position of the first card of the minority color among a deck of cards. This turns into a clean question about the position of a specific card type in a random ordering.
Formal Proof / Solution
Setup. After flipping the first card (say it's red, by symmetry the argument is identical for black), we need the first black card among the remaining cards, of which exactly are black.
Key observation. Consider the positions of the black cards among the remaining slots. By symmetry, the first black card is equally likely to be in any of the positions โ but that's not quite right. We need the minimum order statistic of uniform draws without replacement from .
Expected position of the first black card. If we pick items uniformly at random (without replacement) from , the expected value of the minimum is:
This uses the standard result: for the minimum of items chosen without replacement from ,
Here , so .
Total expected flips. We flip the first card (1 flip always), then wait more flips to see the first opposite-color card:
Sanity checks:
-
: deck has 1 red, 1 black. You always flip exactly 2 cards. Formula gives . โ
-
: deck has 2 red, 2 black. Formula gives .
Manual check: P(stop at flip 2) = P(second card differs from first) = ; P(stop at flip 3) = (second card same, third must differ). . โ
The elegant formula:
As , this approaches โ a beautiful limit saying that in a very large balanced deck, you expect to flip only about 3 cards before seeing both colors.
Why the limit is 3: In a huge deck, the probability the second card already differs from the first is . If not, the third card differs with probability , and so on. This geometric-like structure gives via a geometric series argument (expectation of a geometric with , shifted).
Source: Folklore / classical probability; related to Mosteller's 'Fifty Challenging Problems in Probability'