Each cereal box has one of $n$ uniformly random coupons. How many boxes until you've seen all $n$? The trick is decomposing the total wait into stages indexed by how many distinct coupons you've already collected.
β Intro Β· expand
Try first (productive failure)
Before the worked example: spend 60 seconds taking your best shot at this.
A guess is fine β being briefly wrong about a problem makes the explanation
land harder when you read it. This appears once per tutorial; skip
if you already know the trick.
60s
β Try first Β· expand
Worked example
Cereal boxes contain one of $n = 4$ different prize coupons, each equally likely and independent across boxes. Let $T$ be the number of boxes you buy until you've collected all $4$ distinct coupons. Compute $E[T]$.
β Worked example Β· expand
Practice 1 of 3Type a fraction, decimal, or expression β mathjs parses it.
β Practice Β· expand
Reflection
Why does linearity of expectation let us sum the stage waits even though the stage durations are dependent on the (random) collection history? What changes if coupons aren't equally likely?