Show the worked solutionFor non-negative \(f\) and \(g\):\[\boxed{\max(f,g)\le f+g\le 2\max(f,g)}\]so \(f(n)+g(n)=\Theta(\max(f(n),g(n)))\).(A), (B) The product \(f\cdot g\) is in general much larger than either function (e.g. \(n\cdot n=n^2\)) — incorrect.(C) The sum is never asymptotically below the larger function — incorrect.(D) Correct.Answer: D
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com