GATE / CS ARCHIVE

GATE CSE 1996 / QUESTION 1.11

Comparing slowly growing functions

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

GATE 1996, Q1.11 1 mark · MCQ
Report issue

Asymptotic Analysis & Recurrences

Question 1.11, GATE 1996: Which asymptotic claim is false: (A) 100n log n=O(n log n/100); (B) sqrt(log n)=O(log log n); (C) for fixed 0<x<y, n^x=O(n^y); (D) 2^n is not O(n^k) for fixed k?
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

Put t=log n. Then sqrt(log n)/(log log n)=sqrt(t)/log t tends to infinity, so no constant bounds the numerator by a multiple of the denominator eventually. Hence B is false. Multiplying n log n by fixed nonzero constants does not change its big-O class. For fixed x<y, nx/ny=nx−y tends to zero. Finally 2n eventually dominates every fixed-degree polynomial nk: the logarithm of their ratio is n log 2−k log n, which tends to infinity. Thus D is true, not the false statement sought.

Original paper, page 2