Coupon Collectorβs Problem
Context: FIT1058_MOC Β· expected trials to see all equally likely outcomes Β· a sum of geometric waits Β· answer via linearity
Quick Revision
π Core
1. The Problem
- Setup β each trial yields one of equally likely outcomes (, with replacement).
- β trials until every outcome has appeared.
- Answer β , .
2. Decompose into Stages
- Stage β after distinct, new with probability .
- Geometric wait β , .
3. Sum by Linearity
- β .
- Growth β βΉ .
Key identities:
When It Flips: another showcase of linearity β a hard distribution's mean via a chain of independent geometric stages. Applications: black-box output coverage, RNG testing, ecology species counts.
π Exam Execution Trace
Manual Execution Trace
coupons:
| Step / State | Stage | success prob | |
|---|---|---|---|
| 0 (Init) | 1 | 1 | 1 |
| 1 | 2 | ||
| 2 | 3 | 2 | |
| 3 | 4 | 4 |
β οΈ Common Mistakes
- π‘ The last coupon dominates β has success probability , so alone β most of the wait chases the final few.
π§ Active Recall
Derive for the coupon collector's problem.
- Hint: Stagewise geometric.
Answer
- Short answer: , ; summing gives .
- Why: Linearity β .
Roughly how many trials, and which stage dominates?
- Hint: ; last coupon.
Answer
- Short answer: (since ); the last coupon averages .
- Why: Rare last β success probability per trial for the final unseen outcome.