Question
Let and , where is a positive integer. Which of the following statements is/are correct?
I.
II.
Official answer and solution
- Official answer
- D
- From
- Official GATE 2015 answer key
Solution
Analyze the asymptotic behavior of f(n) and g(n) under the oscillating term sin(n).
We are given and for positive integers .
The function oscillates continuously in the interval as :
- For values of where , the exponent is , so . Here .
Because is unbounded as , there is no constant such that for all large . Thus, , and Statement I is false.
- For values of where , the exponent is , so . Here .
Because , there is no positive constant such that for all large . Thus, , and Statement II is false.
Because neither asymptotic relation holds, the answer is Neither I nor II (Option D).
D
Averaging the sine function to 0 and assuming g(n) = n, ignoring that asymptotic bounds must hold for all sufficiently large n.
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
- 52 of 65, printed as CS Q.42
- 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.