Residue

Consider a function f holomorphic in B(z0,r)−{z0}, the point z0 being a (possibly removable) isolated singularity. We call residue of f at z0, denoted by Res(f,z0), to the term b1 in the corresponding Laurent series.

Residue Calculation for Poles

For a pole of order m:

f(z)=bm(z−z0)m+⋯+b2(z−z0)2+b1z−z0+a0+⋯

Multiply to cancel the singularity:

(z−z0)mf(z)=bm+bm−1(z−z0)+⋯+b1(z−z0)m−1+a0(z−z0)m+⋯

Differentiate (m−1) times:

dm−1dzm−1[(z−z0)mf(z)]=(m−1)!b1+terms with (z−z0)

Evaluate at z=z0:

b1=1(m−1)!limz→z0dm−1dzm−1[(z−z0)mf(z)]

Since Res(f,z0)=b1:

Res(f,z0)=1(m−1)!limz→z0dm−1dzm−1[(z−z0)mf(z)]

Special Cases

Simple Pole (m=1)

Res(f,z0)=limz→z0(z−z0)f(z)

Double Pole (m=2)

Res(f,z0)=limz→z0ddz[(z−z0)2f(z)]