Residues

remark:

On strategy: see https://www.damtp.cam.ac.uk/user/reh10/lectures/nst-mmii-chapter5.pdf

A quick shortcut (?) for the quotient rule: zp(z)q(z)=p(z)q(z)p(z)q(z)q2(z). Useful when taking zz0 with z0 a root of p,p,q.

remark:

Pedantic warning: Resz=p(f) should really be Resz=p(df) for df=f(z)dz, since it’s only an invariant of the 1-form df and not necessarily f itself. We freely abuse notation!

remark:

Check: do you need residues at all?? You may be able to just compute an integral!

  • If the integrand is holomorphic throughout the region enclosed by γ, γf=0

  • If f has a well-defined primitive F on γ, then γf=γF=F(γ(1))F(γ(0))=0.

  • Use Cauchy’s theorem when applicable: γf(z)(za)n=2πif(n1)(a).

  • Compute directly by parameterization: γfdz=baf(z(t))z(t)dtfor z(t) a parameterization of γ,

    • Note: you can parameterize a circle around z0 using z=z0+reiθ.

Residue Formulas

theorem (The residue theorem):

Let f be meromorphic on a region Ω with poles {z1,z2,,zN}. Then for any γΩ{z1,z2,,zN}, 12πiγf(z)dz=Nj=1nγ(zj)Resz=zjf. If γ is a toy contour with winding number 1 about each pole, then 12πiγfdz=Nj=1Resz=zjf.

theorem (The residue formula):

If f has a pole z0 of order n, then Resz=z0f=limzz01(n1)!(z)n1(zz0)nf(z).

As a special case, if z0 is a simple pole of f, then Resz=z0f=limzz0(zz0)f(z).

corollary (Residue formula: rational function formula for simple poles):

If additionally f=g/h where h(z0)=0 and h(z0)0, Resz=z0g(z)h(z)=g(z0)h(z0).

Note that if f(z)=1/h(z) and z0 is a simple pole, this reduces to Resz=z01h(z)=1h(z0).

warnings:

Note that only the denominator gets differentiated, not the numerator! To remember this, just rederive the equation from L’Hopital’s rule and use the product rule on (zz0)g(z).

proof (Of derivative formula for simple poles):

Apply L’Hopital: (zz0)g(z)h(z)=(zz0)g(z)h(z)LH=g(z)+(zz0)g(z)h(z)zz0g(z0)h(z0).

theorem (Residue formula: poles at infinity):

Resz=f(z)=Resz=0g(z)g(z):=1z2f(1z).

Note on where this weird formula comes from: residues are associated not to function f but to differential forms f(z)dz, and inversion sends f(z)dzf(1/z)d(1/z)=f(1/z)1z2dz. This residue can alternatively be calculated for f by taking γ a contour enclosing all singularities of f and computing Resz=f(z)=12πγf(z)dz.

theorem (Residue formula: fractional residues):

If z0 is an order 1 pole of f and γε,θ is an arc of the circle Cε:={|zz0|=ε} subtending an angle of θ, then limε0γε,θf(z)dz=iθResz=z0f(z).

figures/2021-12-22_05-13-02.png

proof (?):

figures/2021-12-22_05-13-27.png

Exercises

Avoiding Residue Formulas

exercise (Integrating $z^k$ around $S^1$ is the source of residue theory):

Show that S1zkdz={2πik=10else., and thus kMckzk=kMckzk=2πic1, i.e. the integral picks out the c1 coefficient in a Laurent series expansion.

#complex/exercise/completed

solution:

γzkdz=2π0eikθieiθdθ=i2π0ei(k+1)θdθ={2πik=10else.

exercise (Primitive in the complement of a branch cut):

Compute the following integrals: |z1|=11z21dz|z0|=21z21dz. Compute the 2nd integral by finding a primitive.

#complex/exercise/completed

solution:

For the first integral: γ1z21dz=12γ1z1+1z+1dz=12γ1z1=122πiResz=1f(z)=122πi1=πi, using that f(z)=1z1 is already an expansion of f about z=1 since it is a Laurent series in (z1)k, so the residue is 1.

For the second integral: attempt to define a primitive F(z):=12log(z1z+1)F(z)=1z21. If this primitive is well-defined on γ, the integral will vanish because this is a closed curve. Choose the branch cut C(,0] and define g(z)=z1z+1, so that F(z)=12log(g(z)). Then then g(z)(,0]z[1,1], and this is well-defined on γ since [1,1] does not intersect γ.

Thus for γ any parameterization of |z|=2, |z|=2f(z)dz=|z|=2F(z)dz=F(γ(0))F(γ(1))=0.

exercise (Cauchy formula and $\sinh$):

Compute S12sinh(z)zndz.

#complex/exercise/completed

solution:

Write f(z)=2sinh(z)=ezez and apply the generalized Cauchy formula: f(n1)(0)=(n1)!2πiS1f(z)(z0)ndzS1f(z)zndz=2πi(n1)!f(n1)(0)=2πi(n1)!2(ez(1)n1ez2)|z=0=2πi(n1)!2(1+(1)n2)={2πi(n1)!n even 0n odd ..

exercise (Cauchy formula and principal parts):

Compute γz2+1z(z2+4)dz for

  • A circle of radius 1,
  • A circle of radius 2+ε,

#complex/exercise/completed

solution:

For the smaller circle, use Cauchy’s formula |z|=1f(z)dz=|z|=1z2+1z2+4zdz=2πi(z2+1z2+4)|z=0=iπ2. .

For the larger circle, break into principal parts. Write z2+1z(z2+4)=az+bz+2i+cz2i, and use PFD/cover-up method/finding residues:

  • a=(z2+1z2+4)|z=0=14
  • b=(z2+1z(z2i))|z=2i=4+12i(4i)=38
  • c=(z2+1z(z+2i))|z=2i=4+12i(4i)=38

Thus γf(z)dz=γ(1/4z+3/8z+2i+3/8z2i)dz=2πi(14+38+38).

exercise (Residues using partial fractions/principal parts):

Find all residues of the following function by writing it as a sum of principal parts at its poles: f(z)=z3z2+1.

#complex/exercise/completed

solution:

Use polynomial long division to write z3=z(z2+1)zz3z2+1=zzz2+1. Factor the latter part: zz2+1=az+i+bzia(zi)+b(z+i)=z, evaluate at z=i to get b=1/2, and at z=i to get a=1/2. Thus f(z)=z1/2z+i1/2zi=P+Pi+Pi, yielding poles at ±i with residues Resz=f(z)=1Resz=if(z)=1/2Resz=if(z)=1/2.

exercise (Residue from Laurent expansion: $1/(z - \sin(z))$):

Use a direct Laurent expansion to show Resz=01zsin(z)=3!54.

Note the necessity: one doesn’t know the order of the pole at zero, so it’s unclear how many derivatives to take.

#complex/exercise/completed

solution:

Expand: 1zsin(z)=z1(1z1sin(z))1=z1(1z1(z13!z3+15!z5))1=z1(1(113!z2+15!z4))1=z1(13!z215!z4+)1=z13!z2(115!/3!z2+)1=3!z3(11(154z2+))=3!z3(1+(154z2)+(154z2)2+)=3!z3+3!54z1+O(z).

exercise (Computing residues: $1/z^2\sin(z)$):

Compute Resz=01z2sin(z).

#complex/exercise/completed

solution:

First expand (sin(z))1: 1sin(z)=(z13!z3+15!z5)1=z1(113!z2+15!z4)1=z1(1+(13!z215!z4+)+(13!z2)2+)=z1(1+13!z2±O(z4)), using that (1x)1=1+x+x2+.

Thus z2(sin(z))1=z2z1(1+13!z2±O(z4))=z3+13!z1+O(z).

Applying the formulas

exercise (Residue of $1/z^2 + 1$):

Use the rational function formula to compute the residues at z=±i of f(z):=1z2+1.

#complex/exercise/completed

solution:

Applying the rational function formula: Resz=z011+z2=12z|z=z0Resz=if(z)=12i=i2Resz=if(z)=12i=i2.

exercise (Residue of $1/z^n+1$):

Find the residue at ωn:=eπin of f(z)=1zn+1.

#complex/exercise/completed

solution (?):

Check that zzn+1=nzn10 for z0, so this has no repeated roots since z=0 is not a root. Thus all of the poles are simple, so apply the rational function formula: Resz=ζm1zn+1=1nzn1|z=ωn=1nωn1n=ω1nnn=ωnn, which follows from expanding ω1nn=eiπ(1n)n=eiπneiπnn=eiπn(1)=ωn. .

exercise (Residues at $\infty$):

Compute Resz=ezResz=z1z+1.

#complex/exercise/completed

solution:

In parts:

  • For ez:
    • Integral formula: Resz=f(z)=12πγf(z)dz where γ encloses all singularities of f, but ez is entire, so this integral is zero and thus the residue is zero.
    • Inversion formula: expand z2f(1/z) about z=0 to obtain 1z2e1z=z2k0zk/k!=k0zk2/k!=z2+z3+12!z4+O(z5), so the residue is zero.
  • For z+1z1:
    • Integral formula: Resz==12π|z|=2z1z+1dz=Resz=1z1z+1=(2)=2.
    • Inversion formula: 1z2z11z1+1=z21z1+z=z2(z1)k0(z)k=z2+2z12+2zO(z2), which has residue 2.
#complex/exercise/completed