retagged by
970 views

1 Answer

Best answer
3 votes
3 votes
Here, first term in the right hand side, $(x+1)\log (x^2 + 1) = O(x \log x)$
now, second term is $O(x^2)$
$x^{2} > x \log x$ for $\forall$ x > $n_0$ where $n_0$ is positive constant
so,
f(x) = $O(x^2)$
edited by
Answer:

Related questions

0 votes
0 votes
1 answer
3
deepti asked Jul 31, 2016
493 views
It is given in CLRS book chapter 3, page no. 56 that lg^k(n) = (lg n)^k. Can somebody please give me an example or check if my example is correct? Shoudn't lg^k(n) be { l...