CS Wiki | Cedric Schwyter

Big-O-/Asymptotic-Notation, Landau-Symbols

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

  1. For every constant , .
  2. .

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:

This project is maintained by D3PSI