Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2018/ii/paper-2/7b/solution

Integration by parts is legitimate after symmetrically excluding a neighborhood of zero; the boundary terms vanish because at zero and is bounded at infinity. Hence
The standard Dirichlet integral, obtained by closing the contour for in the upper half-plane and indenting above its pole at zero, is
Therefore

New to topics? Read the docs here!