I'm practising some residue calculations, and there's a few questions that require me to integrate from $-\infty$ to $\infty$. Usually this is fine, I do it over the big semicircle and let R go to infinity and sum the residues in the upper half plane. But in this question the $x$ term has a zero at zero.
$$\int^\infty_{-\infty} \frac{sin(mx)}{x(a^2 +x^2)} dx \ \text{for} \ a>0 $$
I thought about using partial fractions but I can't get it to split. Can anyone offer help or a diagram of where to begin?
Thanks
$$\frac{\sin(mx)}{x(a^2+x^2)}=\sin(mx)\frac{1}{x(a^2+x^2)}=\left(\frac{\sin(mx)}{a^2x}-\frac{x\sin(mx)}{a^2(a^2+x^2)}\right)$$
But more simply, treating $z=x+0i$
$$\frac{\sin(mz)}{z(a^2+z^2)}=\frac{\sin(mz)}{z(z+ai)(z-ai)}$$
which has poles of order $1$ at $z=\pm ai$