The master theorem is used to calculate the worst case complexity of Recurrence Equations of the form:

Where and and is an asymptotically positive function.

Note

It is important to note that is not always an integer. This is why it is usually in form .

It can be used on three cases:

  1. (Big-Oh Notation), where .
  2. (Big-Theta Notation), then
  3. (Big-Omega Notation), where .