Consider the recurrence function
Then in terms of notation is
View worked solution
Answer: B
To solve the given recurrence relation:
We can use the change of variables method. Let , which implies .
Substituting this into the recurrence:
Let . The recurrence relation becomes:
We can now apply the Master Theorem for divide-and-conquer recurrences of the form :
- Here, , , and .
- Compare with .
- Since for , we fall into Case 1 of the Master Theorem.
Thus, the solution for is:
Substituting back :
Therefore, the correct option is B.
Free practice · Your answers on this page are not saved.
