Big-O-/Asymptotic-Notation, Landau-Symbols
- Big-O-/Asymptotic-Notation, Landau-Symbols
- Big-O-Notation
- Omega-Notation
- Theta-Notation
- Useful Theorems when Working with Asymptotic Notation
Big-O-/Asymptotic-Notation, Landau-Symbols
Big-O-Notation
π‘ For ,
is called the order of .
If a function is on the order of we write or equivalently .
Omega-Notation
π‘ For ,
We write or .
Theta-Notation
π‘ For ,
We write or .
Useful Theorems when Working with Asymptotic Notation
π LβHΓ΄pitalβs Rules: Let and be two differentiable functions. Then
π Let and . Then
- If , then and .
- If , then , , and .
- If , then , and .
π Let . If and , then
- For every constant , .
- .
Notice that for all real numbers , (where is a positive constant). Hence . So bases of logarithms do not have any impact in asymptotic notation and one can just write .
π‘ In general exponential runtime is regarded as bad, and polynomial runtime as good, i.e., is bad and for example is good.
π‘ Counterintuitive facts: