The limit lemma prescribes a way to compare order of function growth, which is useful for algorithm runtime analysis. To compare 2 algorithm runtimes, take the limit of one runtime over the other like so:
- if , then , i.e., grows asymptotically slower than
- if and is finite, then , i.e., grows roughly as fast as
- if , then , i.e., grows asymptotically faster than