Asymptotic Notation

  • -, -, and - notations.
  • Big-theta and big-omega notations are advocated by Knuth to correct the practice of using big-oh for both upper and lower bound.
  • All functions must be asymptotically nonnegative, i.e. nonnegative when large enough.
  • When asymptotic notations are on the right side, the equal sign means membership
  • We can say:
    • The worst-case running time of insertions sort is , or
    • The running time of insertion sort is
  • We cannot say: The running time of insertion sort is . Since the best-case time is