$$\int_{0}^{\infty} \frac{\cos(x)}{(1+x^2)^2} dx$$
The main problem here is to choose the smart contour integral, but i don't see how. I think i am supposed to do this:
note our integral is: $$\frac{1}{2} \int_{-\infty}^{\infty} \frac{\cos(x)}{(1+x^2)^2} dx$$
if we use the contour of a half circle $[-R,R]$ and $\gamma_R = Re^{it}$ with $t \in [0,\pi]$ we see that $$\int_{-R}^{R} \frac{\cos(x)}{(1+x^2)^2} dx = \int_{-R}^{R} \frac{e^{iz}}{(1+z^2)^2} dz$$
With the ML inequality the integral: $$\int_{gaR} \frac{e^{iz}}{(1+z^2)^2} dz = 0$$
Am I supposed to calculate the residuals and take the real part then?