I am trying to figure out how to prove the following (where $a$ is a positive real number): $$\int_0^\infty \frac{x \sin ax}{x^2+1} dx=\frac{\pi}{2}e^{-a}$$
This integral comes up in solving the 3D screened Poisson equation, and the link there suggests it may be evaluated using a complex contour integral. But as best I can tell, a contour integral around the pole at $x=i$ would evaluate to $\frac{\pi}{2}(e^{-a}-e^a)$, and I can't see what contour to take that would allow cancellation of the part of the result proportional to $e^a$.
How can one perform this integral?