The master theorem (or master method) is a “cookbook” method for finding the asymptotic bounds of recurrences of the form:

where and are constants, and is a driving function. A recurrence that looks like this is called a master recurrence.

There are three conditions associated with the master theorem.

  1. If for some positive constant , then .
  2. If , then .
  3. If for some positive constant , and for , then .

Each term in the theorem is intentional. We don’t need a tight big-Θ bound for cases 1 and 3, and in these cases a possible solution may not involve only minor algebraic manipulations.

Any time all three conditions aren’t satisfied, we must turn to more complicated hand-proofs, like the substitution method.