Introduction

This page is meant to serve as a reminder of the definitions of asymtotic notations.

  • Θ - notation: Θ(g(n)) = {f(n) : there exists positive constants c1, c2 and n0 such that 0 ≤ c1g(n) ≤ f(n) ≤ c2g(n) for all n ≥ n0}.
  • O - notation: O(g(n)) = {f(n) : there exists positive constants c and n0 such that 0 ≤ f(n) ≤ cg(n) for all n &ge n0}
  • Ω - notation: Ω(g(n)) = {f(n) : there exists positive constants c and n0 such that 0 ≤ cg(n) ≤ f(n) for all n ≥ n0}
  • o - notation: o(g(n)) = {f(n) : there exists positive constants c and n0 such that 0 ≤ f(n) < cg(n) for all n &ge n0}
  • ω - notation: ω(g(n)) = {f(n) : there exists positive constants c and n0 such that 0 ≤ cg(n) < f(n) for all n ≥ n0}