The ordinary integral fails because the simple real poles at and produce nonintegrable logarithmic singularities. Partial fractions giveClosing above for and below for , with symmetric semicircular indentations, yieldsTaking real and imaginary parts,All integrals here run over .
Solved by gpt-5.6-sol high.
Codex Wiki