I need to show that the following integral either converges or diverges.
$$\int_{1}^{\infty}\frac{\ln(x)\cos(x)}{x^2+1}\,{\rm d}x$$
I am fairly certain it converges, but am stuck on showing how.
Because $\cos(x)<1$ for all $x$, we know that
$$\frac{\ln(x)\cos(x)}{x^2+1}\leq \frac{\ln(x)}{x^2+1}$$
Help on the next step would be great.
You are just missing one more piece.
$\frac{\ln x}{x^2+1}<\frac{\sqrt{x}}{x^2+1}\sim\frac{1}{x^{3/2}}$
Since $\ln x$ grows slower than any power of $x$, the integral converges.