Unless otherwise stated, circles and simple boundaries are positively oriented.
1. The one coefficient that survives integration
For an isolated singularity , the residue is the coefficient in its Laurent expansion on a punctured neighbourhood. Termwise circle integration gives
for sufficiently small positive . Other negative powers integrate to zero. Thus a pole of order two can have zero residue, as does; residue is not pole order.
Residue theorem, region version. Let be a bounded region with a positively oriented piecewise smooth simple outer boundary, or finitely many such boundary components with holes oriented clockwise. Suppose is holomorphic on a neighbourhood of except at finitely many isolated singularities in , with none on its boundary. Then
For the boundary-cancellation proof, remove small disjoint disks around the singularities. On the remaining compact region is holomorphic on a neighbourhood. Cut it into simply connected pieces, or use a finite sufficiently fine subdivision with local primitives; internal edges and cut sides cancel. The boundary total is the original boundary minus the positively oriented small circles, and equals zero. Each small-circle integral is the residue contribution. This proves the theorem without assuming poles rather than essential singularities.
A more general closed-curve version uses winding numbers as multiplicities. It requires the appropriate cycle to bound within the holomorphy domain. We do not replace those hypotheses by the vague phrase “sum all poles inside” for arbitrary self-intersecting contours.
2. Efficient residue calculations
For a pole of order at most , let extend holomorphically near . Its Taylor expansion gives
The formula remains valid if cancellations make the actual order smaller. For a simple pole, it reduces to .
If with holomorphic, and , then
Factor with to prove it. If the singularity is removable and the residue is zero; checking cancellation first may be simplest.
Worked examples. At , has residue . At zero, has residue one, although it has no finite-order pole. For , every root of the denominator is simple and its residue is , because .
3. Rational real integrals: locate poles, estimate the arc, then take limits
Consider
The real integral is absolutely convergent. Close with the upper semicircle, taking . The upper poles are and . Their sum is , so the residue sum is . On the semicircle,
Consequently
Evenness gives .
For a rational function without real poles and with denominator degree at least two more than numerator degree, a similar large-semicircle estimate usually vanishes. One must still check actual decay after cancellation, the finite poles enclosed, and absolute convergence on the real axis. A real pole requires indentation or a principal-value statement, not direct use of this recipe.
4. Exponential factors and a Fourier-type integral
Let and . On the upper half-plane, . For ,
The only enclosed pole is , with residue . Therefore
The imaginary part vanishes by oddness; the real part gives the cosine integral. For , close in the lower half-plane, whose contour is clockwise, or use the real integral's symmetry in . The general answer is . Choosing the wrong half-plane would make the exponential grow rather than decay.
This example needs no separate Jordan lemma because the rational factor already decays as . It is important not to cite a stronger asymptotic tool when the elementary bound suffices.
5. Trigonometric integrals become rational contour integrals
Set , so and . For real and ,
Write . The roots are . Their product is one, and
The residue at is . The result is
For , the integral is , agreeing with the formula. The condition keeps the real denominator strictly positive and the contour poles off the unit circle. Other parameter regimes require a different analysis.
6. Principal value is not the same as an ordinary improper integral
For a real singularity at zero, the symmetric Cauchy principal value is
when these indicated limits exist. Other simultaneous limit conventions must be stated explicitly. The ordinary improper integral requires separate one-sided convergence at every singular endpoint and at each infinity. Symmetric cancellation can exist when those separate limits do not.
Worked indentation: . Use the upper semicircle, with a small upper semicircle around zero traversed clockwise from to . The enclosed region contains no pole. The small arc tends to , since there and .
The large arc does vanish, but the crude estimate gives only , not a vanishing bound. Parameterization gives instead
Here on , and symmetry handles the other half. The contour equation yields
Its real part, , has no ordinary integral across zero; its symmetric principal value is zero. The imaginary part extends continuously at zero and has convergent tails: integration by parts bounds by for . Hence its ordinary improper integral exists and
The continuous extension at zero and tail convergence, not the principal-value notation by itself, justify this final ordinary integral.
7. Exercises
P01 - Foundation. Find residues of at and .
P02 - Core. Find the residue at zero of .
P03 - Core. Evaluate counterclockwise.
P04 - Core. Use a semicircle to evaluate , including its arc estimate.
P05 - Core. Evaluate and verify that its denominator never vanishes.
P06 - Diagnosis. Why does a double pole not automatically contribute a nonzero contour integral? Give an example.
P07 - Proof. If is holomorphic near , prove that the residue of its derivative at is zero. Extend the assertion to a derivative of a function holomorphic on a punctured disk.
P08 - Extension. For , evaluate and explain the permitted half-plane.
P09 - Diagnosis. Explain why does not prove that the ordinary improper integral exists.
8. Full solutions
P01. At either simple zero of , the ratio formula gives .
P02. , so the residue is . Its pole order is three.
P03. The enclosed simple poles are zero and one. Their residues are and . The integral is .
P04. The upper pole is with residue . On the upper arc , giving an arc bound . Thus the integral is . The real integrand is continuous and behaves as , proving ordinary absolute convergence.
P05. The denominator is at least one, since . The formula gives .
P06. Integration detects the coefficient, not every negative coefficient. The function has a double pole and residue zero; its integral on a small positively oriented circle is zero. It even has primitive on the punctured plane.
P07. If is a Laurent series, its derivative is on compact subannuli. A term would require , but its coefficient is . This proves the punctured-disk assertion and includes the holomorphic case.
P08. Use in the upper half-plane, where its modulus is at most one. The upper pole is , residue , and the arc estimate is . Taking real parts yields . Closing in the lower half-plane without changing the exponential would introduce growth and invalidate this estimate.
P09. The symmetric truncated sum cancels exactly. But and . Separate finite one-sided limits fail; an undefined sum of infinities is not an ordinary integral.
9. Summary
Residues compress a contour integral into local Laurent data. A valid real-integral calculation must also establish which poles are enclosed, their orientation, vanishing auxiliary arcs and the correct real convergence notion. The next chapter applies residues of logarithmic derivatives to count zeros rather than integrate explicitly.