I want to show that $\int_{0}^{\infty}\frac{\sin x}{x}dx $ converges. I am facing difficluty in my last step Although there are many proofs regarding this but doubt is hasnt been addressed.
My attempt
Now $\int_{0}^{\infty}\frac{\sin x}{x}dx =\int_{0}^{\pi}\frac{\sin x}{x}dx + \int_{\pi}^{\infty}\frac{\sin x}{x}dx $ The first integral converges as $\frac{\sin x}{x}$ is continuous in $[ 0, \pi]$ and $$\int_{\pi}^{n\pi}\frac{\sin x}{x}dx = -\frac{\cos x}{x}|_{\pi}^{n \pi} - \int_{\pi}^{n\pi}\frac{\cos x}{x^2}dx \\= \frac{(-1)^n}{n\pi} - 1/\pi - \int_{\pi}^{n\pi}\frac{\cos x}{x^2}dx \\ \leq \Bigg|\frac{(-1)^n}{n\pi} - 1/\pi \Bigg| + \int_{\pi}^{n\pi}\frac{1}{x^2}dx $$ Since $\int_{\pi}^{n\pi}\frac{1}{x^2}dx$ is improperly integrable then so is $\int_{\pi}^{n\pi}\frac{\cos x}{x^2}dx$. But there there is a $(-1)^n$ which may cause trouble in convergence.
I feel that I am almost through but I need a good mathematical argument to conclude.