Asymptotic Representations

  • Example: and are asymptotically the same

Bounds

  • If function is faster than , we may say that is upper bounded (not tightly) by , mathematically represented as .
    • I.e. is faster than or at least equal to , akin to in terms of time
  • Tight Bound: both functions are equal to each other; none is faster than the other. We may then express both functions as of each other
    • E.g. and
    • Then

Mathematical Definition

  • For some constants

Comparison

  • Compare each function by comparing representative elements, from slowest to fastest
    1. Exponential
    2. Polynomial
    3. Log
    4. Constant