The master method only applies to a particular family of recurrences of the form:
Where:
(problem should get smaller)
for ( is asymptotically positive)
There are 3 main cases to consider when using the master method:
If
If
If
In other words, the average case (see Big-Theta Notation) can be directly known by solving which of these three cases a recurrence falls into.
Here
, , , and .
Sincefor , case 1 of the master theorem applies.
So the solution is.
Here
, ,