Below are the two integrals under consideration. I know that for both integrals the 'problem areas' are at $x = 0$ and $x = \infty$. For integrals that are are more simple, I usually check that the power of $x$ in the numerator should be less than $1$ for the interval $x = 0$ to $x = 1$ and greater than $1$ for the interval $x = 1$ to $x = ∞$, but I am unsure what exactly to do here. Thank you
$$\int_0^\infty \frac{\arctan(x)}{x(1+x^2)^{1/2}}\ \,dx$$
$$\int_0^\infty x\sin\left(\frac{1}{x^{3/2}}\right) \,dx$$
The first one converges, since at $0$ the limit is $1,$ while at infinity $\arctan(x)$ goes to $\pi/2,$ while the denominator decays quadratically.
The second one diverges, since $\sin(x^{-3/2})$ behaves like $x^{-3/2}$ at infinity, so the integrand decays like $1/\sqrt{x},$ not fast enough.