Answer to Question 1.10

Question. To within a constant factor, what is a solution to recurrence T(n) = 4T(n/2) + n2?

Answer. Here, a = 2, b = 4, logb(a) = 2 and f(n) = n2. Since f(n) is Θ(n2), this falls under the second case of the Master Theorem. The solution is T(n) = Θ(n2lg(n)).