Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2002 Paper 2 5 a Solution Created 2026-10-18 Updated 2026-10-20
Choose . The inverse integrand is . Because , the exponential factor decays towards the left. Closing the Bromwich contour to the left and using the residue theorem picks up just the simple pole at , with residue . HenceIts defining integral checks both the answer and its convergence condition:
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2003 Paper 2 3 Solution Created 2026-10-18 Updated 2026-10-20
Choose the square root of one minus z squared with : explicitly with principal square roots. It is single valued and holomorphic away from the two specified exterior real branch cuts. If for , its boundary values areFor example, above the right cut approaches the negative real axis from below, selecting ; above the left cut approaches it from above, selecting . Continuing once around either branch point changes the sign, which explains the need for cuts.
Apply the residue theorem to on a large disk slit along both cuts, with small arcs excluding . The only enclosed pole is at zero, and its residue is . On the positively oriented boundary of the slit domain, the upper right lip runs from one to , and the lower right lip returns from to one. The jump in gives their combined integral as , where . The left lips similarly give after the substitution .
The small arcs contribute because the branch singularities have order . The large arc contributes because . Taking limits therefore yields , and henceThe real substitution independently reduces the integral to , confirming its value and sign.
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2004 Paper 2 4 Solution Created 2026-10-18 Updated 2026-10-20
The residue theorem states that a positively oriented simple closed contour enclosing isolated poles and none on the contour has integral times the sum of their residues, provided the function is holomorphic elsewhere inside. Near a simple zero of , . HenceFor , this gives for every integer .
To evaluate the real integral, integrate around an upper semicircle, with a small upper semicircular indentation excluding zero. Use the branch real on the positive axis and with argument between zero and in the upper half-plane. The large arc tends to zero as and the small arc as . The only enclosed pole is , whose contribution isOn the negative real axis the upper boundary value is . The two real segments therefore contributeComparing real parts yieldsThe integral is absolutely convergent at both zero and infinity, so no principal-value interpretation is needed.
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
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2006 Paper 2 4 Solution Created 2026-10-18 Updated 2026-10-20
For a pole of order at , the residue is . For the rational integral, close the real-axis contour with an upper semicircle. The poles are double at and simple at , withThe arc integral vanishes as . By the residue theorem the whole real-axis integral is , and evenness givesFor the second calculation, reciprocal expansion of the sine gives . Multiplying by yields . ThereforeAt every nonzero integer , has a simple pole with residue one, giving residue after division by .
The cotangent contour summation uses the positively oriented square of half-side . Its length is and on its boundary. The supplied cotangent bound implies . Its enclosed residues sum to . The residue theorem therefore proves the Basel problem value
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2007 Paper 2 4 Solution Created 2026-10-18 Updated 2026-10-20
The residue theorem states that the contour integral of a meromorphic function around a positively oriented simple closed contour equals times the sum of its enclosed residues, provided there are no singularities on the contour. The roots of are , . They are simple poles, with residues .
Use the sector contour of angle , running outward along the positive axis and inward along the rotated ray. It encloses only . The large-arc contribution is , hence vanishes. With , the two ray contributions giveSince ,For the second integral, use on a branch continuous across the sector away from zero, with a small inner arc of radius . Its large arc is and its small arc is , both vanishing for . On the rotated ray, changes by , so the two radial contributions add rather than subtract. The enclosed residue is . ConsequentlyBoth answers are instances of the Mellin integral of a reciprocal binomial. The direct contour argument also tracks the branch needed when is odd.
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2008 Paper 2 4 Solution Created 2026-10-18 Updated 2026-10-20
For a simple pole, the residue is , the coefficient of its Laurent series. On an anticlockwise circle , integration of each Laurent term is zero except , whose integral is . This proves the stated single-pole residue theorem.
For , the only pole inside the rectangle of height is , with residue . The residue theorem therefore gives . The upper edge is traversed from right to left and satisfies , so the two horizontal contributions sum to .
On the right edge the modulus is bounded by , and on the left by . Multiplying by the fixed edge length shows that both contributions tend to zero because . ThusUsing yieldsThis rectangular contour for an exponential beta integral also gives the ordinary beta integral after the substitution .
Past exam of the mathematics course of the year 2 of the natural sciences course of the University of Cambridge 2008 Paper 2 5 Solution Created 2026-10-18 Updated 2026-10-20
Use . Jordan's lemma says that for , if a function has maximum modulus on upper semicircles, then ; a bound is . For use lower semicircles instead. The rational factors here meet this decay condition, so the residue theorem evaluates their inverse transforms.
For , only the upper half-plane contains a pole, at . Its residue after multiplication by is . The lower contour encloses no pole. ThereforeHere is the Heaviside step function, with midpoint value for symmetric Fourier inversion.
For , the upper-pole residue is when , while the clockwise lower contour gives the matching expression for . ThusThe final rational factor has double poles at . At the upper pole,The upper inverse integral is times that residue. The lower contour for negative supplies , and the value at zero is zero. Consequently
Split the Fourier transform integral at zero:By Fourier inversion applied to this pair, or by the residue theorem, the other transform isFor example, inversion with gives ; evenness supplies the desired sign convention.
Take the spatial Fourier transform of the Laplace equation. For it gives . Removing the exponentially growing solution and matching the boundary givesAt this formula is interpreted by continuity; a single transform value does not alter the inverse integral. The previous transform pair identifiesthe Poisson kernel for the upper half-plane. The convolution theorem therefore gives the Poisson integralThis is the bounded harmonic solution for bounded decaying data, or the corresponding solution in an appropriate Fourier class. Such a growth condition matters if vertical decay is interpreted only pointwise: the nonzero harmonic function vanishes on the real axis and tends to zero for fixed as , but grows rapidly in and has no ordinary spatial Fourier transform. It can be excluded by requiring boundedness; the stated pointwise limits alone would not establish uniqueness.
For the interval data, direct integration gives the Poisson extension of interval boundary dataAs it approaches for , zero for , and at . At those jump points the prescribed isolated values cannot be attained by a continuous extension; they do not affect the integral. The solution decays vertically, with for fixed and large .
Put and . The denominator of the complex rational function becomesThe quadratic formula gives its two zeros, hence the two poles:Their product is , so . To locate them one also needs to exclude the possibility of both lying on the unit circle. Here their moduli are explicit:Both are simple poles: takes the nonzero values and at them. In particular their residues are and .
For the real integral, use the change of variables . As runs from to , this traverses the unit circle once counterclockwise, andThus . Only is enclosed. The residue theorem, or Cauchy integral formula after subtracting its simple-pole part, givesThe real denominator is positive because . As an independent check, write ; a period shift reduces the answer to the existing reciprocal affine sine integral.
For a positively oriented simple closed contour , with no pole on and with holomorphic inside except at finitely many poles, the residue theorem statesFor a more general closed contour, each residue is multiplied by its winding number about the pole.
The powers must be defined using the same branch of the complex logarithm as the numerator. A branch suitable for both requested calculations isThe branch cut is a ray just below the positive real axis, and . Since , the displayed choice of is possible. It includes the required upper half-plane and the sector used below. The origin remains an excluded branch point.
In , all zeros of areEach is a simple pole, since . Its residue isThe strict inequality matters if a root lies on the negative real axis, which is outside the specified region.
To evaluate the two improper integrals, write them as for the logarithmic numerator and for numerator one, and set , . Use a counterclockwise annular sector with and . It encloses precisely . The outward positive-axis segment contributes in the limit. On the inward segment , the logarithm is and , so that segment contributes .
The small arc is , and the large arc is ; both vanish. These estimates follow from the arc lengths and . The real integrals also converge absolutely at both endpoints for . The residue theorem now givesAfter division by , the real and imaginary parts areSince , . Hence the logarithmic beta integral from a sector contour yieldsFor the sector angle exceeds . This is why choosing the principal complex logarithm on the whole sector would be invalid; the displaced cut above handles that range as well as .
For , use . The interval traverses once counterclockwise, , and . ThusPut . The two simple poles areTheir moduli are and , so exactly is enclosed, for either sign of . Its residue isThe residue theorem yieldsThis also follows from the reciprocal affine sine integral after an angular shift. At , the original integral is directly , agreeing with the boxed formula. The displayed two-pole formulas require : at zero the contour integrand reduces to with a single pole. Thus the source's claim of two simple poles has this removable special-case exception.
The integrand has simple poles at and . Only the first is inside the upper contour, and its residue isThe residue theorem therefore gives, for every ,On the upper semicircle, and . The estimation lemma bounds the arc contribution by . Hence the real-axis integral has the same limit, and taking its real part givesThe imaginary part vanishes independently because is odd. The real integral converges absolutely, since the denominator grows quadratically.
The only possible singularity of inside the contour is at , with residue . It is at most a simple pole; when , it is removable. Thus the residue theorem gives the Cauchy integral formula,for a counterclockwise simple contour containing once, with analytic on a neighbourhood of the contour and its interior. More generally the answer is , where the winding number accounts for multiple turns or reversed orientation. A clockwise simple contour has the opposite sign.
Use the principal branch of the complex logarithm for . Its branch cut is the ray , , lying below the real axis. Thus it is analytic in the upper half-plane, where the only pole of the integrand is .
Close the real interval by a large upper semicircle. The estimation lemma bounds the arc integral by , so it vanishes. The simple-pole residue isThe residue theorem then givesFor real , . Taking real parts and then using evenness of the real integrand yieldsBoth endpoints converge: the integrand is near zero and at infinity. This also agrees with the logarithmic parameter integral with Cauchy weight at parameter one.
Put . The two roots areSince , their moduli are and . Thus exactly one root is inside the unit circle, and neither lies on it.
For the real integral use , so and . The change of variables givesThe contour is counterclockwise. At its single interior simple pole, the residue isBy the residue theorem, the reciprocal affine sine integral is thereforeThe condition also makes the real denominator strictly positive, consistent with the positive answer and the absence of contour poles on the unit circle.
Close the interval with an upper semicircle, traversed counterclockwise. On its large arc,so the estimation lemma bounds the arc integral by . The enclosed residues are those at and , whose sum is . The residue theorem therefore givesThe positive sign agrees with the nonnegative real integrand.
Let be meromorphic on and inside a positively oriented simple closed contour , with finitely many isolated poles inside and none on . The residue theorem statesThe positive orientation is counterclockwise. A clockwise contour reverses the sign, and the residue is the coefficient of in the local Laurent series.
Choose a branch of the complex logarithm with , placing its branch cut down the negative imaginary axis. Thus for , while on the negative real axis for .
Integrate around an upper semicircle, with a small clockwise semicircular indentation above zero. The large arc contributes , and the small arc contributes . The only enclosed pole is , withWriting for the required integral, the negative real segment contributes . Hence the residue theorem givesThe imaginary terms cancel, leavingThe integral converges at both endpoints because is integrable near zero and is integrable at infinity. As a real-variable check, scaling reduces the result to the vanishing first logarithmic moment at , one of the logarithmic moments of the Cauchy kernel.
Use the branch from part (i) and close the real-axis path with a large upper semicircle, indenting clockwise around and . On the segment between them, take the upper-bank value of the branch cut. This is an instance of square-root endpoint integrals by an upper-half-plane contour.
Upper-half-plane contour, clockwise endpoint indentations, and the two enclosed poles; indentation sizes are exaggerated
. Details. The contributions can be controlled separately. Since , the large arc contributes . Near either branch point, , so an arc of length contributes . On the upper bank of ,which is odd in , so its integral is zero. On the exterior real intervals , while the rational numerator is odd. Hence and the two exterior contributions sum to .




