Master Theorem
-
The Master Theorem provides us a way to solve recurrences of a very special form.
-
Let , where and is asymptotically positive (positive for large as increases). If , then
-
Let’s demonstrate the Master Theorem using a few examples.
-
.
We see that . The conditions of the Master Theorem are satisfied, so we can use it.
We apply case 1, since . So .
-
.
We see that . The conditions of the Master Theorem are satisfied, so we can use it.
We apply case 2, since . So .
-
.
We see that . The conditions of the Master Theorem are satisfied, so we can use it.
We apply case 3, since . So .
-
.
We see that . The conditions of the Master Theorem are not satisfied, so we cannot proceed to use it.
-