Question: 1 . ( 1 2 pts ) Use the substitution method to show that each of the following recurrences defined has the asymptotic solution specified:

1.(12 pts) Use the substitution method to show that each of the following recurrences defined has
the asymptotic solution specified:
a. T(n)= T(n-1)+ n has solution T(n)= O(n2).
b. T(n)= T(n/2)+\Theta (1) has solution T(n)= O (lg n).
c. T(n)=2T(n/2)+ n has solution T(n)=\Theta (n lg n).
d. T(n)=2T (n/2+17)+ n has solution T(n)= O (n lg n).
e. T(n)=2T(n/3)+\Theta (n) has solution T(n)=\Theta (n).
f. T(n)=4T(n/2)+\Theta (n) has solution T(n)=\Theta (n2).
2.(8 pts) For each of the following recurrences, sketch its recursion tree, and guess a good
asymptotic upper bound on its solution. Use the substitution method to verify your answer.
a. T(n)= T(n/2)+ n3
b. T(n)=4T(n/3)+ n.
c. T(n)=4T(n/2)+ n.
d. T(n)=3T(n-1)+1.
3.(10 pts) Use the master method to give tight asymptotic bounds for the following recurrences.
a. T(n)=2T(n/4)+1.
b. T(n)=2T(n/4)+.
c. T(n)=2T(n/4)+ lg2 n.
d. T(n)=2T(n/4)+ n.
e. T(n)=2T(n/4)+ n2.
4.(12 pt) Give the asymptotically tight upper and lower bounds for T(n) in each of the following
algorithmic recurrences. Justify your answers.
a. T(n)=2T(n/2)+ n3
b. T(n)= T(8n/11)+ n.
c. T(n)=16T(n/4)+ n2.
 1.(12 pts) Use the substitution method to show that each of

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!