GATE / CS ARCHIVE

GATE CSE 2003 / QUESTION 20

Polynomial shifts and exponential bounds

Algorithms · Asymptotic Analysis & Recurrences · Full GATE CSE 2003 paper

GATE 2003, Q20 1 mark · MCQ
Report issue

Asymptotic Analysis & Recurrences

Question 20, GATE 2003: Which asymptotic claims are correct? I. (n+k)^m=Θ(n^m) for fixed constants k,m; II. 2^(n+1)=O(2^n); III. 2^(2n)=O(2^n) in GFG; GateForum instead shows 2^(2n+1)=O(2^n). Both claims have the same false truth value. A. I and II; B. I and III; C. II and III; D. I, II and III.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. Test big-O claims by ratios. A bounded positive ratio suffices for O; a ratio bounded away from zero as well establishes Θ. Doubling the exponent is not multiplying the result by a constant: 22n=(2n)². This is the specific error behind claim III.

2. For fixed k,m, ((n+k)m)/(nm)=(1+k/n)m tends to 1, so I holds.2n+1=2·2n, so II holds. But 22 n/2n=2n is unbounded, so III fails. Thus I and II only, A.

Original paper, page 3