So, if I'm working in spherical coordinates, how would I evaluate the following integral? I know that I'm supposed to use contour integration and Jordan's lemma, but the fact that the singularity is located on the real axis is really throwing me off. Any advice for solving this improper integral via contour integration only?
$$\int_0^\infty{\frac{r \sin{(r\rho)}}{r^2-\alpha^2}} dr$$ where alpha is a real number
Hint: begin by noting that $$ \int_0^\infty{\frac{r \sin{(r\rho)}}{r^2-\alpha^2}}\,dr = \Im\left\{ \int_0^\infty{\frac{r e^{(ir\rho)}}{r^2-\alpha^2}}\,dr \right\} $$
For the indentation contour around $\alpha$: let $\gamma_\epsilon$ be a semicircle of radius $\epsilon$ that goes counterclockwise around $\alpha$. We wish to evaluate $$ \int_{\gamma_\epsilon} \frac{z e^{(iz\rho)}}{z^2-\alpha^2}\,dz = \int_{\gamma_\epsilon} \frac{1}{z - \alpha} \cdot \frac{z e^{(iz\rho)}}{z+\alpha}\,dz $$ Noting that $g(z) = \frac{z e^{(iz\rho)}}{z+\alpha}$ is continuous around $z = \alpha$, we can take $\epsilon$ sufficiently small so that $g(z) \approx g(\alpha)$ when $|z- \alpha| < \epsilon$. We conclude $$ \lim_{\epsilon \to 0^+} \int_{\gamma_\epsilon} \frac{g(z)}{z-\alpha}\,dz = \int_{\gamma_\epsilon} \frac{g(\alpha)}{z-\alpha}\,dz = \pi i g(\alpha) $$