Consider the following recurrence relations:
How many of these recurrences can be directly solved using the standard Master Theorem without falling into its failure cases or requiring a change of variables?
C
Step-by-Step Solution
Key idea: The Master Theorem applies when and the critical function have a polynomial gap, or match exactly with a log factor.
Step 1: For , critical is . matches exactly. Case 2 applies. (Works)
Step 2: For , critical is . matches with . Case 2 applies. (Works)
Step 3: For , critical is . is smaller, but only by a logarithmic factor, not a polynomial one. Master Theorem fails. (Fails)
Step 4: For , critical is . is polynomially larger. Case 3 applies. (Works)
Step 5: Recurrences 1, 2, and 4 work. Total count is 3.
Answer: C