Question
Consider the equality and the following choices for
The equality above remains correct if is replaced by
Official answer and solution
- Official answer
- C
- From
- Official GATE 2015 answer key
Solution
Determine the closed form of the sum of cubes and test the validity of each asymptotic relation.
The sum of the first cubes has the well-known closed form:
As , the highest degree term dominates, so:
Now evaluate the four candidate choices for :
- Choice I: . Since the sum is a degree-4 polynomial, is an asymptotically tight bound. Correct.
- Choice II: . The growth rate is degree 4, not degree 5, so it cannot be . Incorrect.
- Choice III: . The big-O notation denotes an asymptotic upper bound. Since for all , any function in is also in . Correct.
- Choice IV: . The big-Omega notation denotes an asymptotic lower bound. Since for all , any function in is also in . Correct.
Thus, the equality remains correct if is replaced by I, III, or IV, but not II. This matches Option C.
C
Assuming equality in asymptotic notation means only tight Theta bounds can replace X, forgetting that Big-O and Big-Omega statements are also valid sets containing Theta(n^4).
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2015 Computer Science and Information Technology (CS) Session 3
- Question
- 14 of 65, printed as CS Q.4
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.