Solution

ID: past-exam-of-the-mathematics-course-of-the-year-2-of-the-natural-sciences-course-of-the-university-of-cambridge/2016/paper-2/4/a/ii/solution

For , the upper-bank argument tends to zero, whereas the lower-bank argument tends to . Thus
The analytic function has identical boundary values across this part of the real axis. Hence the branch cut introduces a sign change:
This compares integrand values. When two contour segments traverse opposite banks in opposite directions, their orientation supplies an additional minus sign.

New to topics? Read the docs here!