Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2018/ib/paper-1/13a/a/solution

The integrand
has one pole inside the rectangle, at , with residue . The residue theorem therefore gives . The vertical-side integrals tend to zero as .
On the horizontal sides, direct substitution , with the upper side oppositely oriented, shows that their sum is
Taking the limit and comparing with gives

New to topics? Read the docs here!