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

  • 🎯 Objective: trials until all outcomes seen βž” .
  • πŸ“¦ Core Components: stagewise geometric waits βž” summed by linearity.
  • ⚑ Key Constraint: so ; the last coupons dominate.

πŸ“ 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 / StateStage success prob
0 (Init)111
12
232
344

⚠️ Common Mistakes

  • πŸ’‘ The last coupon dominates βž” has success probability , so alone β€” most of the wait chases the final few.

🧠 Active Recall