Asymptotic Analysis & Recurrences

Your answer
Answer & solution
Official answer: D
1. The ratio g(n)/f(n)=nsin n.
2. Since1/(2π) is irrational, integer n modulo 2π is dense, and every tail is dense. There are therefore arbitrarily large n with sin n≥1/2 and arbitrarily large n with sin n≤−1/2. Along the former subsequence g/f≥sqrt(n) is unbounded, ruling out f=Ω(g); along the latter f/g≥sqrt(n) is unbounded, ruling out f=O(g). Thus neither statement holds, D, with sine in radians.