Landau Sets (Big-O, Θ, Ω)
Asymptotic notation done right
Landau sets (named after Edmund Landau) are classes of functions that
capture asymptotic growth. Three flavours:
Big-O — the upper bound:
" grows no faster than , up to a constant".
Big-Ω — the lower bound:
" grows at least as fast as , up to a constant".
Big-Θ — both bounds:
" grows at the same rate as , up to a constant".
The constants and absorb multiplicative and finite-input noise —
we only care about behavior "in the limit".
Examples:
- : take . For , .
- : bounded above and below by .
- : any is eventually beaten by .
- : bounded by .
The notation (with ) is abuse but extremely common. Strictly
— but everyone writes "".
Some Landau-set inclusions are proved by induction on a natural number. The classic: .
Theorem. For every , for all sufficiently large (i.e. ).
Proof by induction on .
- Base : for all . So works. ✓
- Base : . We need for large . For , , so works. ✓
- Step (with ): Assume for large (IH). Then . We need , i.e. . For , this holds. So works (or just is bounded by some constant past the threshold).
Wait — that's not quite right. Let me redo more carefully:
by IH.
For : (since grows faster than ). So .
So for . This is in . ✓
Reading. The trick: use as a separate bound, then combine. This is a general technique: when proving polynomial vs exponential, isolate the 'extra' polynomial factor and bound it by another exponential.
Generalisation. The same proof technique shows for any .