Residue theorem and contour integration
The residue theorem says the integral of a function around a closed contour equals 2πi times the sum of its residues — a single number attached to each isolated singularity enclosed by the path — turning integrals that are hard or impossible by real-variable methods into an algebra problem of finding a handful of residues.
Practise this conceptA function that's perfectly well-behaved (holomorphic) everywhere except at a handful of isolated points can still be integrated around a closed path that avoids those points, and the residue theorem says the answer only depends on what happens at the enclosed singularities: ∮f(z)dz = 2πi · Σ(residues inside the contour). Everywhere the function is holomorphic contributes nothing at all — deforming the contour through a holomorphic region never changes the integral, which is exactly why the singularities are the only thing that matters.
The residue itself is a single complex number extracted from the function's Laurent series at that point — for the common case of a simple pole, it's just the limit, as z approaches z₀, of (z − z₀)f(z): the coefficient that survives when you cancel the pole and take the limit. Higher-order poles need a derivative-based generalisation of that formula, which is exactly the kind of detail that matters for computing a residue correctly but has no bearing on whether a pole counts at all: any pole strictly inside the contour contributes its residue, full stop, regardless of its order.
This machinery turns real integrals that resist ordinary calculus — many integrals of rational or trigonometric functions over the whole real line — into a two-step recipe: close the real-axis path with a large semicircular arc, show the arc's contribution vanishes as its radius grows, and read off the answer as 2πi times the sum of the residues enclosed. The real integral was never computed directly; it fell out as the by-product of a complex one.
Key ideas
Requires: Functions of a complex variable
Common misconceptions
- Believes every pole enclosed by the contour contributes to the integral in the same way regardless of its order, missing that a pole of order n needs a derivative-based residue formula, not just the simple-pole limit trick.
- Includes singularities that lie outside the contour, or on it, in the residue sum, rather than restricting the sum strictly to the poles the closed path actually encloses.
- Forgets the factor of 2πi and treats the contour integral as simply equal to the sum of the residues, rather than 2πi times that sum.
Resources
Part of these UT courses
This concept is mapped as covering part of the following course(s) in the University of Tartu curriculum.
- Functions of a complex variable in physicsLTFY.04.015