please don't mark this as a replicated post, nobody is answering me on the old one.
Can anyone explain what to look for next:
Find the values of $p>0$ for which the following integral exists:$$I =\int^{\infty}_{1} x^{-p}\sin{(x)} dx$$ which has an infinite bound so let $$I_{t}=\int^{t}_{1} x^{-p}\sin{(x)} dx$$ now if $f(x) = \frac{\sin{(x)}}{x^{p}}$ and let $g(x) = \frac{1}{x^{p}}$ such that $f(x)\le g(x)$. So for $p>1$ we have that $f(x)$ converges.
If $p=1$ we have $$I =\int^{\infty}_{1} \frac{\sin{(x)}}{x} dx$$ which also converges.
So we now know it converges for $p\ge 1$ now how do I analyse $p<1$?