For what values of $\gamma\geq 0$ does the improper integral $$\int_0^\infty \frac{\sin(t)}{t^\gamma} \mathrm{d}t$$ converge?
In order to avoid two "critical points" $0$ and $+\infty$ I've thought that it would be easier to test the convergence of the sum (is this coherent?): $$ \int_0^1 \frac{\sin(t)}{t^\gamma}\mathrm{d}t + \int_1^\infty \frac{\sin(t)}{t^\gamma}\mathrm{d}t. $$ For the second integral, it converges if $\gamma > 1$ (comparision) and also converges if $0 <\gamma \leq 1$. I'm stuck on proving the last part and the fact that the first integral converges for $\gamma < 2$. Any help would be appreciated. Thanks in advance.
PD: I've checked the answers for this question but I would not like to solve this integral using $(n\pi,(n+1)\pi)$ intervals.