| | | | | |

Asymptotic Relations and Notation

  • Big O:
    g(n) <= O(f(n)) iff there exist positive constants c and n0 such that 0 <= g(n) <= cf(n) for all n >= n0
    "g is asymptotically bounded above by f "
  • Big Omega:
    g(n) >= Ω(f(n)) iff there exist positive constants c and n0 such that 0 <= cf(n) <= g(n) for all n >= n0
    "g is asymptotically bounded below by f "
  • Big Theta:
    g(n) = Θ(f(n)) iff there exist positive constants c1, c2, and n0 such that 0 <= c1f(n) <= g(n) <= c2f(n) for all n >= n0
    "g is asymptotically bounded above and below by f "

| | Top of Page | 3. Introduction to Algorithm Analysis - 15 of 23