Solution

ID: past-exam-of-the-algebra-analysis-and-differential-equations-2-course-of-the-university-of-oxford/2004/5/i/solution

Integrate around the real segment from to and the counterclockwise upper semicircle, with . The only enclosed pole is , whose residue is . On the semicircle, and , so its integral has magnitude at most .
The residue theorem thus gives . The line integral converges absolutely, so taking its real part is justified:

New to topics? Read the docs here!