I need to determine if the following integral diverges or converges, and if it is convergent then whether it is absolutely convergent. $$\int _1^{\infty }\sin^2 \left(\frac{3}{x} \right)dx$$
I used the formula of $\cos(2\alpha)=1-2\sin^2(\alpha)$ hence I get to : $$\int _1^{\infty }\sin^2 \left(\frac{3}{x}\right)dx=\int _1^{\infty }\frac{1}{2}dx - \frac{1}{2}\int _1^{\infty }\cos\left(\frac{6}{x}\right)$$
but $\int _1^{\infty }\frac{1}{2}dx$ is divergent so how is it possible that $\int _1^{\infty }\sin^2\left(\frac{3}{x}\right)dx$ converges if it has one divergent integral in its sum? Am I doing something wrong in my assumption?