Solution

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

Let . The useful identity on the square contour is
On the vertical edges the first term equals one; on the horizontal edges and . Thus on every edge. Also and the contour has length , so the estimation lemma gives
At every nonzero integer , the residue is . At zero the Laurent series is
so the residue there is . The positive orientation and the residue theorem therefore give
Letting yields the alternating reciprocal-square sum

New to topics? Read the docs here!