Asymptotic Behaviour and Big O Notation

  • In simple terms, given , we analyse its response to large inputs — in terms of a simpler function .
  • When we say is as approaches infinity, it means that there exists a constant (positive) s.t. does not grow faster than for a sufficiently large .
  • indicating sets as the upper bound on in the […].

The figure plots growth classes against (increasing steepness): , , , , poly-log , , .

  1. log-log:
    • Extremely slow growth
    • Specialised computational geometry problems
  2. log:
    • Highly efficient
    • E.g. binary search
  3. Sublinear:
  4. Linear:
  5. Polynomial:
  6. Poly log:
  7. Exponential:
  8. Factorial:
  9. Hyperexponential: