The Big-O notation gives an upper bound on the growth rate of a function. Given functions and , we say that is , if there are positive constants and such that for .
In general, if is a polynomial of degree then is .
- Drop lower-order terms.
- Drop constant factor in highest order term.
Examples:
- is
- is
- is
- is