Solution

ID: past-exam-of-the-mathematics-course-of-the-year-2-of-the-natural-sciences-course-of-the-university-of-cambridge/2015/paper-2/4/b/solution

Choose a branch of the complex logarithm with , placing its branch cut down the negative imaginary axis. Thus for , while on the negative real axis for .
Integrate around an upper semicircle, with a small clockwise semicircular indentation above zero. The large arc contributes , and the small arc contributes . The only enclosed pole is , with
Writing for the required integral, the negative real segment contributes . Hence the residue theorem gives
The imaginary terms cancel, leaving
The integral converges at both endpoints because is integrable near zero and is integrable at infinity. As a real-variable check, scaling reduces the result to the vanishing first logarithmic moment at , one of the logarithmic moments of the Cauchy kernel.

New to topics? Read the docs here!