Description
1. First use the iteration method to solve the recurrence, draw the recursion tree to analyze.
π(π) = π(
π
2
) + π(
π
3
) + π
Then use the substitution method to verify your solution.
2. Use the substitution method to prove that π(π) = 2π( is .
π
2
) + πππππ
2
π π(π(πππ
2
π)
2
)
3. Solving the recurrence:
π(π) = 3π(
3
π ) + πππ
2
π
(Hint: Making change of variable)
4. You have three algorithms to a problem and you do not know their efficiency, but fortunately, you
find the recurrence formulas for each solution, which are shown as follows:
A: π(π) = 3π(
π
3
) + ΞΈ(π)
B: π(π) = 2π(
9π
10
) + ΞΈ(π)
C:π(π) = 3π(
π
3
) + ΞΈ(π
2
)
Please give the running time of each algorithm (In ΞΈ notation), and which of your algorithms is the
fastest (You probably can do this without a calculator)?
5. Can the master theorem be applied to recurrence of π(π) = π( ? Why does it work or π
2
) + π
2
πππ
not? Provide the asymptotic upper bound for this recurrence.

