Description:

  • is if there exist constants and such that for all
    • where denotes the worst-case running time
    • ie. only

Common mistake:

  • and
  • but

Properties:

  • Reflexivity: is
  • Constants: if is and , then is
  • Products: if is and is then is
  • Transitivity: if is and is then f is

With multiple variables:

  • is if there exist constants and
  • such that for all
    • ex: is both and
    • is if there is condition that implies
    • is neither nor