I really need help with this proof for my analysis class. I have to prove the following inequality :
$$(\forall x \in \mathbb R^*_+) \qquad \quad x\cdot \ln^2(x)\leq(x-1)^2$$
I tried, with a simple calculus approach, to compute $f'(x)=[(x-1)^2-x \cdot \ln^2(x)]'$, yet it is too long and I guess it is not the best way to prove it. ( I have to compute $f''(x)$ and $f'''(x)$). Any help ?
Since our inequality does not depend on replacing $x$ on $\frac{1}{x},$
it's enough to prove that $f(x)\geq0,$ for $x\geq1$, where $$f(x)=\sqrt{x}-\frac{1}{\sqrt{x}}-\ln{x}.$$
Indeed, $$f'(x)=\frac{(\sqrt{x}-1)^2}{2\sqrt{x^3}}\geq0,$$ which says $$f(x)\geq f(1)=0$$ and we are done.