For constants and , consider the following recurrence defined on the non-negative integers:
Which one of the following options is correct about the recurrence ?
GATE CSE 2021Algorithms › Recursion & Recurrence RelationsVerified
(C) If f ( n ) f(n) f ( n ) is O ( n log b ( a ) − ϵ ) O(n^{\log_b(a)-\epsilon}) O ( n l o g b ( a ) − ϵ ) for some ϵ > 0 \epsilon >0 ϵ > 0 , then T ( n ) T(n) T ( n ) is Θ ( n log b ( a ) ) \Theta(n^{\log_b(a)}) Θ ( n l o g b ( a ) )
Apply the Master Theorem to T(n)=aT(n/b)+f(n). Option C exactly matches case 1: when f(n) is polynomially smaller than $n^{\log_b a}, T(n)=\Theta(n^{\log_b a})$. Option D confuses case 1 with case 2, which has an extra $\log n$ factor. Options A and B propose bounds independent of a and b and are not universally true.
Option C correctly states Master Theorem case 1. Option D is the common case-2 error (missing log n factor); A and B are invalid because they assert bounds that ignore the constants a and b and are not universally true.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.