The math optional, made finite. Daily Practice

Residues: computation at poles of various orders

At a Glance

Why This Chapter Matters

Residue computation is the workhorse of complex integration. All three questions are 15-mark problems in Section A, and each tests a different facet: 2019 asks for the theoretical proof that pole order mm is equivalent to the ϕ/(zz0)m\phi/(z-z_0)^m form and derives the residue formula; 2024 requires locating poles (including a subtle order-2 pole at z=0z=0 where two denominator factors vanish simultaneously), determining orders, and computing residues; 2025 requires evaluating a contour integral by finding residues at both a second-order and a third-order pole using the derivative formula. Mastering the 1(m1)!dm1dzm1[(zz0)mf(z)]\frac{1}{(m-1)!} \frac{d^{m-1}}{dz^{m-1}}[(z-z_0)^m f(z)] formula for arbitrary mm covers all three.

Minimum Theory

Residue at an isolated singularity. The residue of ff at an isolated singularity z0z_0 is the coefficient a1a_{-1} in the Laurent expansion f(z)=an(zz0)nf(z) = \sum a_n (z-z_0)^n.

Residue formula for a pole of order mm. If z0z_0 is a pole of order m1m \ge 1:

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}}\!\left[(z-z_0)^m f(z)\right].

For a simple pole (m=1m=1): Res=limzz0(zz0)f(z)\operatorname{Res} = \lim_{z \to z_0}(z-z_0)f(z). For a simple zero of the denominator qq when numerator p(z0)0p(z_0) \ne 0: Res=p(z0)/q(z0)\operatorname{Res} = p(z_0)/q'(z_0).

Residue theorem. If ff is analytic inside and on a simple closed positively-oriented contour CC except at finitely many poles z1,,zkz_1, \ldots, z_k inside CC:

Cf(z)dz=2πij=1kResz=zjf.\oint_C f(z)\,dz = 2\pi i \sum_{j=1}^k \operatorname{Res}_{z=z_j} f.

Pole-order characterisation. An isolated singularity z0z_0 is a pole of order mm if and only if f(z)=ϕ(z)/(zz0)mf(z) = \phi(z)/(z-z_0)^m where ϕ\phi is analytic at z0z_0 and ϕ(z0)0\phi(z_0) \ne 0. The residue is then ϕ(m1)(z0)/(m1)!\phi^{(m-1)}(z_0)/(m-1)!.

Residue computation anatomy: pole of order m at z=a with formula \operatorname{Res} = \frac{1}{(m-1)!}\frac{d^{m-1}}{dz^{m-1}}[(z-a)^m f(z)] evaluated at z=a

Question Archetypes

ArchetypeRecognition
residue-theory-proof”show that z0z_0 is a pole of order mm iff …”; must prove both directions and derive the residue formula
poles-and-residues”locate poles, find their orders, find residues” for a function with multiple singularity types
residue-evaluation”evaluate Cfdz\oint_C f\,dz” where ff has higher-order poles; both residues needed

residue-theory-proof (1 question(s); 2019)

Recognition Cues — The problem says “show that” or “prove” an equivalence between a pole of order mm and the ϕ/(zz0)m\phi/(z-z_0)^m representation. Expect both directions (\Rightarrow and \Leftarrow) and a separate derivation of the residue formula. This is a pure proof question, not a computation.

Solution Template

  1. State the definition: z0z_0 is a pole of order mm iff Laurent series starts at (zz0)m(z-z_0)^{-m} with nonzero coefficient.
  2. (\Rightarrow) Multiply the Laurent series by (zz0)m(z-z_0)^m to obtain ϕ\phi; show ϕ\phi extends analytically to z0z_0 and ϕ(z0)=am0\phi(z_0) = a_{-m} \ne 0.
  3. (\Leftarrow) Taylor-expand ϕ\phi at z0z_0, divide by (zz0)m(z-z_0)^m; the lowest power is m-m with coefficient ϕ(z0)0\phi(z_0) \ne 0, confirming a pole of order exactly mm.
  4. Read off a1a_{-1} (the residue) as the Taylor coefficient at k=m1k = m-1: a1=ϕ(m1)(z0)/(m1)!a_{-1} = \phi^{(m-1)}(z_0)/(m-1)!.

Worked Example

2019 Paper 2, 2019-P2-Q2d (15 marks)

Show that an isolated singular point z0z_0 of f(z)f(z) is a pole of order mm if and only if f(z)=ϕ(z)(zz0)mf(z) = \dfrac{\phi(z)}{(z-z_0)^m} where ϕ(z)\phi(z) is analytic and non-zero at z0z_0. Moreover Resz=z0f(z)=ϕ(m1)(z0)(m1)!\operatorname{Res}_{z=z_0} f(z) = \dfrac{\phi^{(m-1)}(z_0)}{(m-1)!} if m1m \ge 1.

Let z0z_0 be an isolated singularity of ff, with Laurent expansion on 0<zz0<R0 < |z-z_0| < R:

f(z)=n=an(zz0)n.f(z) = \sum_{n=-\infty}^{\infty} a_n (z-z_0)^n.

By definition, z0z_0 is a pole of order mm (m1m \ge 1) iff am0a_{-m} \ne 0 and an=0a_n = 0 for all n<mn < -m.

Step 1 — (\Rightarrow) Pole of order mm implies the form ϕ/(zz0)m\phi/(z-z_0)^m.

If z0z_0 is a pole of order mm, the above Laurent series starts at n=mn = -m. Multiply by (zz0)m(z-z_0)^m:

ϕ(z):=(zz0)mf(z)=k0akm(zz0)k.\phi(z) := (z-z_0)^m f(z) = \sum_{k \ge 0} a_{k-m}(z-z_0)^k.

This is a convergent power series on 0<zz0<R0 < |z-z_0| < R, hence defines an analytic function on the full disc zz0<R|z-z_0| < R (the singularity is removed), with ϕ(z0)=am0\phi(z_0) = a_{-m} \ne 0. Thus f(z)=ϕ(z)/(zz0)mf(z) = \phi(z)/(z-z_0)^m with ϕ\phi analytic at z0z_0 and ϕ(z0)0\phi(z_0) \ne 0.

Step 2 — (\Leftarrow) The form ϕ/(zz0)m\phi/(z-z_0)^m implies a pole of order mm.

Suppose f(z)=ϕ(z)/(zz0)mf(z) = \phi(z)/(z-z_0)^m with ϕ\phi analytic at z0z_0 and ϕ(z0)0\phi(z_0) \ne 0. Taylor-expand ϕ\phi:

ϕ(z)=k0ϕ(k)(z0)k!(zz0)k.\phi(z) = \sum_{k \ge 0} \frac{\phi^{(k)}(z_0)}{k!}(z-z_0)^k.

Then:

f(z)=k0ϕ(k)(z0)k!(zz0)km.f(z) = \sum_{k \ge 0} \frac{\phi^{(k)}(z_0)}{k!}(z-z_0)^{k-m}.

The lowest power is (zz0)m(z-z_0)^{-m} with coefficient ϕ(z0)0\phi(z_0) \ne 0, and there are no powers below m-m. So the principal part has exactly mm nonzero terms: z0z_0 is a pole of order exactly mm. \blacksquare

Step 3 — Residue formula.

The residue is a1a_{-1}, i.e. the coefficient of (zz0)1(z-z_0)^{-1} in the last display. This occurs at km=1k - m = -1, i.e. k=m1k = m-1:

Resz=z0f=a1=ϕ(m1)(z0)(m1)!.\operatorname{Res}_{z=z_0} f = a_{-1} = \frac{\phi^{(m-1)}(z_0)}{(m-1)!}.

Since ϕ=(zz0)mf\phi = (z-z_0)^m f, this is equivalently 1(m1)!limzz0dm1dzm1 ⁣[(zz0)mf(z)]\dfrac{1}{(m-1)!}\lim_{z \to z_0} \dfrac{d^{m-1}}{dz^{m-1}}\!\left[(z-z_0)^m f(z)\right].

z0 pole of order m    f=ϕ(z)(zz0)m, ϕ analytic, ϕ(z0)0;Resz=z0f=ϕ(m1)(z0)(m1)!.\boxed{z_0 \text{ pole of order } m \iff f = \frac{\phi(z)}{(z-z_0)^m},\ \phi \text{ analytic},\ \phi(z_0) \ne 0;\quad \operatorname{Res}_{z=z_0} f = \frac{\phi^{(m-1)}(z_0)}{(m-1)!}.}

Common Traps

poles-and-residues (1 question(s); 2024)

Recognition Cues — “Locate the poles and their order; find the residue.” The function has several factors in the denominator, each potentially vanishing at different points. The key challenge is counting multiplicity correctly when two factors vanish at the same point.

Solution Template

  1. Identify all zeros of the denominator by setting each factor to zero.
  2. At each singularity, determine whether it is a zero of the denominator of multiplicity 2\ge 2 (from coinciding zeros of different factors).
  3. Compute the residue using the formula appropriate to the pole order: limit formula for simple poles; derivative formula for order 2.
  4. For simple poles where the denominator has a simple zero: use Res=numerator/(denominator)\operatorname{Res} = \text{numerator}/(\text{denominator}') evaluated at the pole.

Worked Example

2024 Paper 2, 2024-P2-Q3a (15 marks)

Locate the poles and their order for the function f(z)=1z(sinπz)(z+12)f(z) = \dfrac{1}{z(\sin\pi z)\bigl(z+\tfrac{1}{2}\bigr)} and find the residue of f(z)f(z) at these poles.

Step 1 — Identify singularities. The denominator vanishes when:

At z=0z = 0: both zz and sinπz\sin \pi z vanish (each with a simple zero), so the pole is order 2. At z=1/2z = -1/2: only z+1/2z + 1/2 vanishes (order 1), and sinπ(1/2)=10\sin\pi(-1/2) = -1 \ne 0 and 1/20-1/2 \ne 0. Simple pole. At z=nz = n, n0n \ne 0 integer: only sinπz\sin\pi z vanishes (order 1), and n0n \ne 0, n+1/20n + 1/2 \ne 0. Simple pole.

Step 2 — Residue at z=0z = 0 (order 2). Using Resz=0f=limz0ddz[z2f(z)]\operatorname{Res}_{z=0} f = \lim_{z\to 0} \frac{d}{dz}[z^2 f(z)]:

z2f(z)=z(sinπz)(z+1/2).z^2 f(z) = \frac{z}{(\sin\pi z)(z+1/2)}.

Near z=0z = 0: sinπz=πz(1π2z2/6+)\sin\pi z = \pi z(1 - \pi^2 z^2/6 + \cdots), so z/sinπz=(1/π)(1+π2z2/6+)z/\sin\pi z = (1/\pi)(1 + \pi^2 z^2/6 + \cdots). Thus

z2f(z)=1π(z+1/2) ⁣(1+π2z26+).z^2 f(z) = \frac{1}{\pi(z+1/2)}\!\left(1 + \frac{\pi^2 z^2}{6} + \cdots\right).

Differentiating at z=0z = 0 (the O(z2)O(z^2) correction contributes an O(z)O(z) term that vanishes at 0):

Resz=0f=ddz ⁣[1π(z+1/2)]z=0=1π(z+1/2)2z=0=1π1/4=4π.\operatorname{Res}_{z=0} f = \frac{d}{dz}\!\left[\frac{1}{\pi(z+1/2)}\right]_{z=0} = \left.\frac{-1}{\pi(z+1/2)^2}\right|_{z=0} = -\frac{1}{\pi \cdot 1/4} = -\frac{4}{\pi}.

Step 3 — Residue at z=1/2z = -1/2 (simple pole).

Resz=1/2f=limz1/2(z+12)f(z)=1(1/2)sin(π/2)=1(1/2)(1)=2.\operatorname{Res}_{z=-1/2} f = \lim_{z \to -1/2} (z+\tfrac12) f(z) = \frac{1}{(-1/2)\sin(-\pi/2)} = \frac{1}{(-1/2)(-1)} = 2.

Step 4 — Residue at z=nz = n, nZ{0}n \in \mathbb{Z} \setminus \{0\} (simple pole). Writing the denominator as (sinπz)[z(z+1/2)](\sin\pi z) \cdot [z(z+1/2)] and applying the simple-zero formula:

Resz=nf=1/[n(n+1/2)](sinπz)z=n=1n(n+1/2)π(1)n=(1)n2πn(2n+1).\operatorname{Res}_{z=n} f = \frac{1/[n(n+1/2)]}{(\sin\pi z)'\big|_{z=n}} = \frac{1}{n(n+1/2) \cdot \pi(-1)^n} = \frac{(-1)^n \cdot 2}{\pi n(2n+1)}.

Resz=0=4π,Resz=1/2=2,Resz=n=(1)n2πn(2n+1),  nZ{0}.\boxed{\operatorname{Res}_{z=0} = -\frac{4}{\pi}, \quad \operatorname{Res}_{z=-1/2} = 2, \quad \operatorname{Res}_{z=n} = \frac{(-1)^n \cdot 2}{\pi n(2n+1)}, \; n \in \mathbb{Z}\setminus\{0\}.}

Common Traps

residue-evaluation (1 question(s); 2025)

Recognition Cues — “Evaluate Cf(z)dz\oint_C f(z)\,dz” where ff has explicit higher-order poles and the contour is a circle of radius large enough to enclose both. The method is: identify poles and their orders, verify which are inside CC, compute residues using the derivative formula, sum and multiply by 2πi2\pi i.

Solution Template

  1. Factorise the denominator and list the poles with their orders.
  2. Check which poles lie strictly inside the contour CC.
  3. For each enclosed pole of order mm: compute 1(m1)!dm1dzm1[(zz0)mf(z)]\frac{1}{(m-1)!}\frac{d^{m-1}}{dz^{m-1}}[(z-z_0)^m f(z)] evaluated at z=z0z = z_0.
  4. Sum residues and multiply by 2πi2\pi i.

Worked Example

2025 Paper 2, 2025-P2-Q3a (15 marks)

Evaluate the integral Cezz2(z+1)3dz\displaystyle\oint_C \dfrac{e^z}{z^2(z+1)^3}\,dz, C:z=2C : |z| = 2.

Step 1 — Poles. The denominator z2(z+1)3z^2(z+1)^3 gives:

Both 0=0<2|0| = 0 < 2 and 1=1<2|-1| = 1 < 2, so both lie inside CC.

By the residue theorem:

Cezz2(z+1)3dz=2πi ⁣[Resz=0+Resz=1].\oint_C \frac{e^z}{z^2(z+1)^3}\,dz = 2\pi i\!\left[\operatorname{Res}_{z=0} + \operatorname{Res}_{z=-1}\right].

Step 2 — Residue at z=0z = 0 (order 2).

Resz=0=11!limz0ddz ⁣[ez(z+1)3].\operatorname{Res}_{z=0} = \frac{1}{1!}\lim_{z \to 0} \frac{d}{dz}\!\left[\frac{e^z}{(z+1)^3}\right].

Using the quotient rule:

ddzez(z+1)3=ez(z+1)33ez(z+1)2(z+1)6=ez(z2)(z+1)4.\frac{d}{dz}\frac{e^z}{(z+1)^3} = \frac{e^z(z+1)^3 - 3e^z(z+1)^2}{(z+1)^6} = \frac{e^z(z-2)}{(z+1)^4}.

At z=0z = 0: e0(02)/14=2e^0(0-2)/1^4 = -2.

Resz=0=2.\operatorname{Res}_{z=0} = -2.

Step 3 — Residue at z=1z = -1 (order 3).

Resz=1=12!limz1d2dz2 ⁣[ezz2].\operatorname{Res}_{z=-1} = \frac{1}{2!}\lim_{z \to -1} \frac{d^2}{dz^2}\!\left[\frac{e^z}{z^2}\right].

Let h(z)=ezz2h(z) = e^z z^{-2}. Differentiate twice:

h(z)=ezz22ezz3=ez ⁣(1z22z3).h'(z) = e^z z^{-2} - 2e^z z^{-3} = e^z\!\left(\frac{1}{z^2} - \frac{2}{z^3}\right).

h(z)=ez ⁣(1z22z3)+ez ⁣(2z3+6z4)=ez ⁣(1z24z3+6z4).h''(z) = e^z\!\left(\frac{1}{z^2} - \frac{2}{z^3}\right) + e^z\!\left(-\frac{2}{z^3} + \frac{6}{z^4}\right) = e^z\!\left(\frac{1}{z^2} - \frac{4}{z^3} + \frac{6}{z^4}\right).

At z=1z = -1: e1(14/(1)+6/1)=e1(1+4+6)=11e1e^{-1}(1 - 4/(-1) + 6/1) = e^{-1}(1 + 4 + 6) = 11e^{-1}.

Resz=1=1211e1=112e.\operatorname{Res}_{z=-1} = \frac{1}{2} \cdot 11e^{-1} = \frac{11}{2e}.

Step 4 — Combine.

Cezz2(z+1)3dz=2πi ⁣(2+112e)=2πi114e2e=πi(114e)e.\oint_C \frac{e^z}{z^2(z+1)^3}\,dz = 2\pi i\!\left(-2 + \frac{11}{2e}\right) = 2\pi i \cdot \frac{11 - 4e}{2e} = \frac{\pi i(11 - 4e)}{e}.

z=2ezz2(z+1)3dz=πi(114e)e=πi ⁣(11e4)0.147i.\boxed{\oint_{|z|=2} \frac{e^z}{z^2(z+1)^3}\,dz = \frac{\pi i(11 - 4e)}{e} = \pi i\!\left(\frac{11}{e} - 4\right) \approx 0.147\,i.}

Common Traps

Marks-Aware Writing

All three questions are 15 marks. The examiner expects: (a) explicit identification of each pole and its order with justification, (b) the residue formula written out before substitution, (c) all differentiation steps shown (quotient rule or product rule), and (d) arithmetic shown cleanly. For the proof question (2019), both directions of the iff must be clearly separated and labelled; omitting either direction loses about 5 marks. For the evaluation questions (2024, 2025), verify that poles are inside the contour before applying the residue theorem.

Practice Set

We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.