Let $a\in \mathbb{C}, Im(a)\neq 0.$ Show that $\frac{2a}{\pi}\int_{0}^\infty 1/(t^2+a^2)dt$ converges and find its value.
I have idea how to approach this problem if $a$ is real number, but how can we do this one if $a\in \mathbb{C}$? I tried to write $a=x+iy, $ where $x,y\in \mathbb{R}, y\neq0$. Separating the original integral by real part and imagine part, and then trying to integral each of them by using contour integral. However, it becomes very complicated. Is there any good way to solve it? Thank you.