I'm wondering if the series
$$ \sum^{\infty}_{i=1}\int_{i\pi}^{(i+1)\pi} \dfrac{\sin x}{x} \ \ \ \ \ i\in \mathbb N$$
is convergent or not.
This is my attempt:
I consider the partial sum of it as a sequence, so I let $$I_n=\sum^{n-1}_{i=1}\int_{i\pi}^{(i+1)\pi} \dfrac{\sin x}{x}$$
By the property of integration, this is equal to $$ I_n= \int_{\pi}^{n\pi} \dfrac{\sin x}{x} \ dx $$
Then, by using integration by parts, I can get
$$ I_n=\int_{\pi}^{n\pi} \dfrac{\sin x}{x} \ dx=x^{-1} \cos x\bigg|_{n\pi}^\pi -\int ^{n\pi}_{\pi}\dfrac{\cos x}{x^2} \ dx$$
Thus the series is $$ \lim_{n\to \infty } \int_{\pi}^{n\pi} \dfrac{\sin x}{x} \ dx=\lim_{n\to \infty } x^{-1} \cos x\bigg|_{n\pi}^\pi -\int ^{n\pi}_{\pi}\dfrac{\cos x}{x^2} \ dx$$
Then, the first term is zero, the second term is an improper integration. And since $\left|\dfrac{\cos x}{x^2}\right| \le \dfrac{1}{x^2}$, the second term is convergent.
Thus the series is convergent.
Is this proof right? I strongly doubt my proof. Could you please check this? Thank you very much!