Mathematics Asked by Damian Kowalski on January 23, 2021
I am trying to solve an inequality which includes a logarithm. This is to show for what input one algorithms is faster than another. I do not know how to change the inequality so that I can solve it. The problem is as follows:
$8nlog(2n) > n^2$
Thank you for your help.
Since $n>0$, divide both sides and consider the function $$f(x)=8log(2x)-x$$ for which $$f'(x)=frac{8}{x}-1 qquad text{and} qquad f''(x)=-frac{8}{x^2}<0 quad forall x$$ The first derivative cancels at $x=8$ and by the second derivative test, this is a maximum.
Since $f(8)=32 log (2)-8 sim 14.18$, then, if $n$ is a natural number, the inequality holds for $1 leq n leq 14$.
Answered by Claude Leibovici on January 23, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP