For all ,
Assume that for all , and .
Which one of the following options is correct?
A
Step-by-Step Solution
Key idea: This is a system of recurrence relations, recognizable because depends on the solution of .
Why this method applies: We must solve the recurrences sequentially, starting from the one that is self-contained (), find its asymptotic bound, and then substitute that bound into the other recurrence ().
Step 1: Solve using the Master Theorem.
Step 2: Identify . The critical exponent is .
Step 3: Compare the driving function with . Since grows strictly slower than any positive polynomial power of , for some .
Step 4: By Case 1 of the Master Theorem, .
Step 5: Substitute this into the first recurrence: .
Step 6: Apply the Master Theorem to . Here, . The critical exponent is .
Step 7: Compare the new driving function with . Since , we have for .
Step 8: By Case 1 of the Master Theorem again, the root dominates, so .
Answer: Option A is correct.