Chapter 2: Q3E (page 83)
Section 2.2 describes a method for solving recurrence relations which is based on analyzing the recursion tree and deriving a formula for the work done at each level. Another (closely related) method is to expand out the recurrence a few times, until a pattern emerges. For instance, let’s start with the familiar . Think of as being role="math" localid="1658920245976" for some constant , so: . By repeatedly applying this rule, we can bound in terms of , then , then , and so on, at each step getting closer to the value of we do know, namely .
.
.
.
A pattern is emerging... the general term is
Plugging in , we get .
(a)Do the same thing for the recurrence . What is the general th term in this case? And what value of should be plugged in to get the answer?(b) Now try the recurrence , a case which is not covered by the master theorem. Can you solve this too?
Short Answer
answer is not given by the question.