Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2005 Paper 2 4 Solution Created 2026-10-18 Updated 2026-10-20
A pole of order at has extending holomorphically to a nonzero value there. Its residue is the coefficient of in the Laurent series. The Cauchy integral theorem gives for a closed contour in a simply connected domain of holomorphicity. The residue theorem replaces zero by times the enclosed residues for a positively oriented simple contour avoiding finitely many poles.
For the first integral, use the upper-half-plane semicircle, with a small clockwise upper semicircle excluding the origin. Near zero,There are no poles inside the indented contour. The large arc vanishes because and the integrand there is ; the small arc tends to . Therefore the real-axis complex principal value is . Taking real parts gives the ordinary convergent cosine-difference inverse-square integralThe real numerator cancels to second order at zero, so this final real integral itself needs no principal-value convention.
For , the simple poles are , . Differentiating the denominator givesIntegrate around the rectangle with vertices . It contains only . On the top side , and reversed traversal therefore contributes times the bottom integral. The vertical sides vanish for . The residue theorem gives , so the exponential moment of the hyperbolic secant is
