$$ \mbox{Consider}\quad \int_{0}^{\infty}{\log\left(x\right) \over \left(\, x + a\,\right)^3} \,\mathrm{d}x\quad \mbox{where}\ a\ \mbox{is}\ positive. $$
- First, we make a branch cut along the negative imaginary axis, and then consider the standard contour with a small semicircle around 0 and a small semicircle centered at $-a$.
- Letting $\,\mathrm{f}\left(z\right)$ be the integrand above with $z$ in place of $x$, the residue at $-a$ is $-1/\left(2a^{2}\right)$.
- I'm able to show that the integral around the big semicircle goes to 0 as the radius goes to infinity and similarly with the arc around 0 as the radius goes to 0, but there's a little trouble with the one around $-a$.
- If $-a$ were a simple pole, then it would just evaluate to $-\pi\mathrm{i}$ times the residue, but I have an order $3$ pole.
Any suggestions ?. I was also thinking of rotating the standard contour by $\pi/2$ so that the pole is inside the contour rather than outside.