Skip to content

The Residue Theorem

In this lesson you’ll state the residue theorem, learn the formulas for computing residues at simple and higher-order poles, and use them to evaluate contour integrals that would be hopeless by parametrisation.

Residue theorem. Let CC be a positively oriented simple closed contour, and let ff be analytic on and inside CC except at finitely many isolated singularities z1,,znz_1,\ldots,z_n inside CC. Then

Cf(z)dz=2πik=1nResz=zkf\oint_C f(z)\,dz = 2\pi i\sum_{k=1}^{n}\operatorname{Res}_{z=z_k}f

The residue at zkz_k is the Laurent coefficient c1c_{-1} of the expansion about that point.

This is the culmination of the section, and everything in it has been preparation. From Cauchy’s theorem we know the contour can be shrunk onto small circles around each singularity. From Laurent series we know each such circle contributes 2πic12\pi i c_{-1}. Put those together and the theorem is immediate.

A global integral has become a finite sum of local data. Note what has been discarded: the shape of the contour, the behaviour of ff away from the singularities, everything except one number per enclosed pole.

The figure checks it. A circle of radius 2.4 encloses two of the three poles of 1(z1)(z+1)(z4)\frac{1}{(z-1)(z+1)(z-4)}; the residues at those two are computed from the formula, and the contour integral is computed numerically. They agree to numerical precision, and the excluded pole contributes nothing.

You almost never build the Laurent series. Use these instead.

Simple pole.

Resz=z0f=limzz0(zz0)f(z)\operatorname{Res}_{z=z_0}f = \lim_{z\to z_0}(z-z_0)f(z)

Simple pole of a quotient. If f=pqf = \frac{p}{q} with p(z0)0p(z_0)\ne0 and qq having a simple zero at z0z_0, then

Resz=z0pq=p(z0)q(z0)\operatorname{Res}_{z=z_0}\frac{p}{q} = \frac{p(z_0)}{q'(z_0)}

This is the most useful formula in the lesson. It avoids all factoring, and it works beautifully for things like 1sinz\frac{1}{\sin z} where you cannot factor at all.

Pole of order mm.

Resz=z0f=1(m1)!limzz0dm1dzm1[(zz0)mf(z)]\operatorname{Res}_{z=z_0}f = \frac{1}{(m-1)!}\lim_{z\to z_0}\frac{d^{m-1}}{dz^{m-1}}\Big[(z-z_0)^mf(z)\Big]

The differentiation gets unpleasant for large mm; for m3m \ge 3 it is often faster to expand the series directly.

Essential singularity. No formula exists. Expand the Laurent series and read off c1c_{-1}.

Order and residue are independent. A pole of order 5 can have residue 0, as sinzz3\frac{\sin z}{z^3} showed last lesson with order 2 and residue 0.

Removable singularities have residue 0, so they can be ignored entirely.

Residues can cancel. z=2dzz21=0\oint_{|z|=2}\frac{dz}{z^2-1} = 0 because the two residues are 12\frac12 and 12-\frac12. Zero does not imply no poles.

Only enclosed singularities matter. This bears repeating because it is the most common source of error: locate every singularity, then check each one against the contour.

Sometimes it is faster to work from outside. Define

Resz=f=Resw=0[1w2f ⁣(1w)]\operatorname{Res}_{z=\infty}f = -\operatorname{Res}_{w=0}\left[\frac{1}{w^2}f\!\left(\frac1w\right)\right]

Then the sum of all residues, including the one at infinity, is zero for any rational function. So a contour enclosing many poles can be evaluated by computing the single residue at infinity, which is often much less work.

Example 1: Find the residue of ezz2\frac{e^z}{z-2} at z=2z=2.

Solution. Simple pole, so multiply and take the limit:

Res=limz2(z2)ezz2=e2\operatorname{Res} = \lim_{z\to2}(z-2)\cdot\frac{e^z}{z-2} = e^2

Example 2: Evaluate z=3dzz2+1\displaystyle\oint_{|z|=3}\frac{dz}{z^2+1}.

Solution. Poles at ±i\pm i, both inside z=3|z|=3. Use the quotient formula with p=1p=1, q=z2+1q=z^2+1, q=2zq'=2z:

Resz=i=12i,Resz=i=12i\operatorname{Res}_{z=i} = \frac{1}{2i}, \qquad \operatorname{Res}_{z=-i} = \frac{1}{-2i}

Sum: 12i12i=0\frac{1}{2i}-\frac{1}{2i} = 0, so

z=3dzz2+1=0\oint_{|z|=3}\frac{dz}{z^2+1} = 0

Zero by cancellation, not by absence of poles.

Example 3: Evaluate zi=1dzz2+1\displaystyle\oint_{|z-i|=1}\frac{dz}{z^2+1}.

Solution. This contour is a small circle about ii, so only that pole is enclosed - i-i is at distance 2 from the centre.

2πi12i=π2\pi i\cdot\frac{1}{2i} = \pi

Same integrand, different contour, different answer. The contour is doing all the work.

Example 4: Find the residue of ezz3\frac{e^z}{z^3} at 0.

Solution. Pole of order 3, so use m=3m=3:

Res=12!limz0d2dz2[z3ezz3]=12limz0d2dz2ez=12\operatorname{Res} = \frac{1}{2!}\lim_{z\to0}\frac{d^2}{dz^2}\left[z^3\cdot\frac{e^z}{z^3}\right] = \frac{1}{2}\lim_{z\to0}\frac{d^2}{dz^2}e^z = \frac12

Matching the series computation from the Laurent lesson. ✓

Example 5: Find the residue of 1sinz\frac{1}{\sin z} at z=nπz=n\pi.

Solution. Simple pole, so use the quotient formula with p=1p=1 and q=sinzq=\sin z, q=coszq' = \cos z:

Resz=nπ1sinz=1cos(nπ)=(1)n\operatorname{Res}_{z=n\pi}\frac{1}{\sin z} = \frac{1}{\cos(n\pi)} = (-1)^n

No factoring was possible here, which is exactly why the p/qp/q' formula matters.

Example 6: Evaluate z=1coszz2(z3)dz\displaystyle\oint_{|z|=1}\frac{\cos z}{z^2(z-3)}\,dz.

Solution. Singularities at z=0z=0 (order 2) and z=3z=3 (simple). Only 0 is inside.

Resz=0=limz0ddz[coszz3]\operatorname{Res}_{z=0} = \lim_{z\to0}\frac{d}{dz}\left[\frac{\cos z}{z-3}\right]

By the quotient rule,

ddzcoszz3=sinz(z3)cosz(z3)2\frac{d}{dz}\frac{\cos z}{z-3} = \frac{-\sin z(z-3)-\cos z}{(z-3)^2}

At z=0z=0 this is 019=19\frac{0-1}{9} = -\frac19. So

=2πi(19)=2πi9\oint = 2\pi i\left(-\frac19\right) = -\frac{2\pi i}{9}

Example 7: Evaluate z=1z3e1/zdz\displaystyle\oint_{|z|=1}z^3e^{1/z}\,dz.

Solution. Essential singularity at 0, so no formula applies - expand instead:

z3e1/z=z3(1+1z+12z2+16z3+124z4+)z^3e^{1/z} = z^3\left(1+\frac1z+\frac{1}{2z^2}+\frac{1}{6z^3}+\frac{1}{24z^4}+\cdots\right) =z3+z2+z2+16+124z+= z^3+z^2+\frac{z}{2}+\frac16+\frac{1}{24z}+\cdots

The coefficient of 1z\frac1z is 124\frac{1}{24}, so

z=1z3e1/zdz=2πi24=πi12\oint_{|z|=1}z^3e^{1/z}\,dz = \frac{2\pi i}{24} = \frac{\pi i}{12}

You never had to understand the singularity, only to locate one coefficient in the series. That is the practical power of the whole method.

Inverse Laplace transforms. Recovering a time response from a transfer function is a contour integral evaluated by residues, with each pole contributing one exponential term. This is what produces the familiar sums of decaying exponentials in step responses.

Partial fraction expansion. The coefficients in a partial fraction decomposition are residues, so every time an engineer expands a transfer function they are computing residues, usually without calling them that.

Summing series. Sums like 1/n2\sum 1/n^2 and 1/(n2+a2)\sum 1/(n^2+a^2) are evaluated by applying the residue theorem to a function with poles at the integers, typically πcot(πz)\pi\cot(\pi z). This is a standard technique in analytic number theory.

Feynman integrals. Loop integrals in quantum field theory are performed by closing a contour and summing residues, with each residue corresponding to a particle going on shell. The physics interpretation of a residue is standard vocabulary in the field.

Modal analysis. In structural and acoustic engineering, a system’s response is decomposed into modes, and each mode’s contribution is the residue at the corresponding pole. Measured frequency-response data is fitted by estimating those residues.

Filter and antenna design. Residues at poles determine the weight of each resonance in a network’s response, so shaping a filter is largely choosing pole locations and residues.

What does the residue theorem state?
What is the residue at a simple pole z₀?
What is the residue of 1/sin z at z = nπ?
What is ∮_{|z|=3} dz/(z² + 1)?
What is ∮_{|z−i|=1} dz/(z² + 1)?
How do you compute the residue at a pole of order m?
What is the residue of z³e^(1/z) at 0?
Which statement is true about poles and residues?