So we have the following improper integral and we have to prove that it converges(if it converges then find its value). $$\int_0^\infty \frac{\sin x(1-\cos x)}{x^2}dx$$
I tried the feynman approach of letting $f(a)$ as: $$f(a)=\int_0^\infty \frac{\sin(ax)(1-\cos(ax))}{x^2}dx$$ $$f(a)=\int_0^\infty \frac{\sin(ax)-\sin(2ax)/2}{x^2}dx$$ Differentiating twice, wrt $a$: $$f''(a)=-\int_0^\infty \sin(ax)-2\sin(2ax)dx$$ But then I run into a trap because of limits, I have to let $\lim_{x\rightarrow \infty}(\cos(ax))=\alpha;\,\,\,[-1<\alpha<1]$, but it is fruitless, and I can't solve it further. So I need help after this stage or could anyone suggest a better method? Thanks in advance.
We can rewrite as $$I = \int_{0}^{\infty}\frac{\sin{(x)}(1 - \cos{(x)})}{x^{2}} \ dx = \int_{0}^{\infty}\left(\frac{\sin{x}}{x} - \frac{\sin{2x}}{2x}\right)\frac{1}{x}\ dx$$ This is of the form of a Frullani Integral where $f(x) = \frac{\sin{x}}{x}$ for $x > 0$ and $f(x) = 1$ for $x = 0$. We have that $f(0) = 1$ and $f(\infty) = 0$. Then, $$I = (f(\infty) - f(0))\ln\frac{1}{2} = (0 - 1)\ln\frac{1}{2} = \ln{2}$$