Residue calculus and real integrals
Reduce suitable contour integrals to local coefficients and justify the limiting arcs needed for real integrals.
On this page
The question for today
What you’ll understand
- Apply the residue theorem to a pole-free boundary with finitely many interior poles.
- Calculate simple and higher-order pole residues.
- Justify a real-integral contour by estimating its auxiliary arc.
A residue is local information: one Laurent coefficient at an isolated singularity. The residue theorem turns a contour integral into the sum of those local contributions, weighted by how the contour surrounds them. Evaluating a real integral adds another step. The chosen contour must include the real segment of interest, and every auxiliary part must be evaluated or shown to vanish in a justified limit. Listing poles and multiplying by 2πi does not remove that analytic obligation.
A contour collects local negative first powers
For a simple positively oriented piecewise smooth closed contour, assume f is meromorphic on an open neighborhood of the enclosed closed region, has no pole on the contour, and has only finitely many poles inside. Remove small disjoint circles around those poles. Cauchy's theorem on the remaining region relates the outer integral to the small-circle integrals. In each local Laurent series, every power except the negative first power integrates to zero, leaving 2πi times the residue.
The contour need not pass near a pole to register its contribution; the integral records enclosure. A reversed contour changes the sign. More general closed curves require winding numbers and appropriate domain hypotheses rather than counting every pole once. A singularity lying exactly on the integration path is excluded from the ordinary theorem. A principal-value prescription or an indented contour is a different problem whose extra contribution and limiting interpretation must be stated explicitly.
Compute the right local coefficient
At a simple pole a, multiply by z−a and take the limit. If f is a quotient p/q with holomorphic numerator and denominator, q(a)=0, and q′(a)≠0, the residue is p(a)/q′(a). This formula assumes the denominator zero is simple; using it at a double zero would divide by zero and miss the needed expansion. Cancellation can also remove a proposed pole, so check the numerator before assigning an order.
For a pole of order m, write f as a holomorphic numerator h divided by . The residue is the coefficient of degree m−1 in h's Taylor series, hence its derivative of that order divided by the factorial. This method and direct Laurent expansion are equivalent. A residue can be zero at a genuine higher-order pole, so the contour contribution and the singularity's severity remain distinct quantities.
The closing arc has to disappear for a reason
To integrate a rational function over the whole real line, a large upper semicircle is often useful when no pole lies on the real axis. The closed integral equals the real segment integral plus the arc integral. If the rational function decays like one over the square of the modulus uniformly on the arc, its length grows only linearly, so the arc contribution tends to zero. State the actual denominator bound rather than inferring uniform complex decay from behavior on the real axis.
Exponential factors require particular care: a factor that decays in one half-plane can grow in the other, and an oscillatory real-axis expression does not select its contour by itself. Branch powers require a chosen branch and often a cut contour. In every case, specify the desired real integral's convergence, the contour orientation, enclosed singularities, and auxiliary limits. Residue arithmetic is usually the shortest part of a correct contour argument; the contour choice supplies the bridge to the real quantity.
Work it through
Close an absolutely convergent real integral
Evaluate using an upper semicircle and an explicit arc estimate.
The real integral converges absolutely because its integrand behaves as 1/x² at infinity and has no real singularity. The upper half-plane contains the simple pole a=2i of . Its residue is .
For a semicircle of radius R>2, the reverse triangle inequality gives . The arc integral therefore has modulus at most , which tends to zero.
For every such R the positively oriented closed contour encloses only 2i, so its integral is . Let R tend to infinity and subtract the vanishing arc contribution.
The real integral equals π/2. The residue identifies the closed integral, and the uniform arc estimate justifies replacing it by the real-line limit.
The living notebook
Explore the model
Interactive lab · vectors
Locate a pole and its residue in the complex plane
Pause and Reset; set Angle=90 degrees,Magnitude=2 to display the pole 2i. For a fresh comparison Reset and set Angle=−90 degrees,Magnitude=0.25 to display residue 1/(4i)=−i/4. Predict the sign before inspecting the projections. The vector lab locates these already calculated numbers; it does not discover poles, integrate the semicircle, or establish the large-radius bound.
- x component
- 1.393
- y component
- 0.975
- Magnitude
- 1.7
Playback traces a fixed vector and its projections. Angle and magnitude set the geometry; the moving marker does not change them. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forLocal residue values and global contour estimates play different roles in a real-integral calculation.
Pause & reason
Check your understanding
Your turn
Try it yourself
Evaluate by an upper semicircle. Calculate the double-pole residue and give an arc bound that tends to zero.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
At 2i, use h(z)=1/(z+2i)² and differentiate once. On |z|=R>2, reuse the reverse triangle inequality before squaring it.
Compare with the solution
The residue at 2i is . The arc bound is . The real integral is absolutely convergent, and the upper contour has only that double pole. Thus its limit is . A simple-pole quotient formula would be invalid at this double pole.
Keep the idea
Take it with you
- Residues are local coefficients collected by an appropriate global contour.
- Pole order determines which residue formula is valid.
- A real-integral evaluation must justify every auxiliary contour limit.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.