The Union Bound
Statement
Boole’s inequality (Union Bound): For any events :
The probability of at least one event occurring is at most the sum of their individual probabilities.
For infinitely many events:
Proof
By inclusion-exclusion:
since .
By induction: assume true for events. Then:
When is Equality Achieved?
Equality holds when all are mutually exclusive: when for all , the intersection terms vanish and the bound becomes exact.
Why the Union Bound Matters
The union bound provides a simple upper bound when:
- Exact probabilities are hard to compute
- We need to prove something is “small enough”
- Events may be dependent (union bound doesn’t require independence)
It is often used in algorithm analysis and error bounds.
Example: Hash Collisions
A hash table has buckets. We insert keys. Let be the event that key collides with some earlier key.
The probability of at least one collision satisfies:
If each key lands uniformly: . Then:
This is the birthday problem bound.
Example: Error Bounds
A system makes independent trials, each with error probability . Let = “error on trial ”.
If , then .
This is useful in probabilistic analysis: if each step has small error, the total error is bounded.
Frechet Inequalities
Related bounds for intersections:
The upper bound follows from monotonicity: for each , so .
Bonferroni Correction
The union bound motivates multiple testing corrections. If we run hypothesis tests, each at significance level , the probability of at least one false positive is at most .
To ensure overall error rate , use threshold for each test.
Comparing with Exact Calculation
| Scenario | Exact | Union Bound |
|---|---|---|
| Mutually exclusive | (tight) | |
| Independent | (loose when not tiny) | |
| General case | Inclusion-exclusion |
The union bound is loosest when probabilities are large and events overlap significantly.
Summary
- Union bound:
- Equality when: events are mutually exclusive
- Useful for: simpler analysis, error bounds, algorithm correctness proofs
- Limitation: can be very loose for large probabilities and dependent events