How do you prove $\int^{\infty}_0e^{-ax}\frac{1-\cos(x)}{x^2}\mathrm{d}x=\arctan\frac{1}{a}-\frac{a}{2}\ln(a^2+1)$, where $a>0$?
I have no idea how to start.
How do you prove $\int^{\infty}_0e^{-ax}\frac{1-\cos(x)}{x^2}\mathrm{d}x=\arctan\frac{1}{a}-\frac{a}{2}\ln(a^2+1)$, where $a>0$?
I have no idea how to start.
The following answer assumes a proposed correction to the problem statement.
Let $f(a):=\int_0^\infty\frac{1-\cos x}{x^2}\exp -ax dx$ so $$f''(a)=\int_0^\infty (1-\cos x)\exp -ax dx=\frac{1}{a}-\frac{a}{a^2+1}.$$Thus constants $B,\,C$ exist with $$f(a)=-\frac{a}{2}\ln (a^{-2}+1)-\arctan a+Ba+C.$$Since $f(\infty)=0\implies B=0,\,C=\frac{\pi}{2}$ and $\arctan\frac{1}{a}=\frac{\pi}{2}-\arctan a$, we're done.