How can I show the given improper integral $\int_{0}^{\infty} \frac{dx}{1+x^{2}\sin^{2}(x)}$ is divergent?
Approach: \begin{align*} x^{2}\sin^{2}(x) \le x^2 \\ 1+x^{2}\sin^{2}(x) \le 1+ x^2 \\ \frac{1}{1+x^{2}\sin^{2}(x)} \ge \frac{1}{1+x^{2}} \end{align*}
but this inequality is not useful as $\int_{0}^{\infty}\frac{1}{1+x^{2}}dx$ is convergent.
There are intervals either side of $n\pi$ where $(x\sin x)^2\lt 1/2$. Add up their lengths.