Solution

ID: past-exam-of-the-short-options-paper-shared-by-prelims-and-parts-a-and-b-of-the-physics-course-of-the-university-of-oxford/2018/s1/2/a/solution

Integrate around an upper semicircle, indenting the origin by a small upper semicircle traversed clockwise. The integrand is holomorphic inside the indented contour. The large arc vanishes by Jordan's lemma, and the small arc contributes , so
Taking imaginary and real parts yields
The first integrand has a removable singularity at zero and its tails converge conditionally by Dirichlet test for improper integrals. The second integral needs a principal value at zero; its zero also follows from oddness with symmetric exclusion. One must not assign an ordinary convergent integral to its singularity.

New to topics? Read the docs here!