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 z→z0 with z0 a root of p,p′,q′.
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!
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)(z−a)n=2πif(n−1)(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
Let f be meromorphic on a region Ω with poles {z1,z2,⋯,zN}. Then for any γ∈Ω∖{z1,z2,⋯,zN}, 12πi∫γf(z)dz=N∑j=1nγ(zj)Resz=zjf. If γ is a toy contour with winding number 1 about each pole, then 12πi∫γfdz=N∑j=1Resz=zjf.
If f has a pole z0 of order n, then Resz=z0f=limz→z01(n−1)!(∂∂z)n−1(z−z0)nf(z).
As a special case, if z0 is a simple pole of f, then Resz=z0f=limz→z0(z−z0)f(z).
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).
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 (z−z0)g(z).
proof (Of derivative formula for simple poles):
Apply L’Hopital: (z−z0)g(z)h(z)=(z−z0)g(z)h(z)LH=g(z)+(z−z0)g′(z)h′(z)z→z0⟶g(z0)h′(z0).
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)dz→f(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.
If z0 is an order 1 pole of f and γε,θ is an arc of the circle Cε:={|z−z0|=ε} subtending an angle of θ, then limε→0∫γε,θf(z)dz=iθResz=z0f(z).
proof (?):
Exercises
Avoiding Residue Formulas
Show that ∫S1zkdz={2πik=−10else., and thus ∫∑k≥−Mckzk=∑k≥−M∫ckzk=2πic−1, i.e. the integral picks out the c−1 coefficient in a Laurent series expansion.
solution:
∫γzkdz=∫2π0eikθieiθdθ=i∫2π0ei(k+1)θdθ={2πik=−10else.
Compute the following integrals: ∫|z−1|=11z2−1dz∫|z−0|=21z2−1dz. Compute the 2nd integral by finding a primitive.
solution:
For the first integral: ∫γ1z2−1dz=12∫γ1z−1+1z+1dz=12∫γ1z−1=12⋅2πiResz=1f(z)=12⋅2πi⋅1=πi, using that f(z)=1z−1 is already an expansion of f about z=1 since it is a Laurent series in (z−1)k, so the residue is 1.
For the second integral: attempt to define a primitive F(z):=12log(z−1z+1)⟹F′(z)=1z2−1. 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)=z−1z+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.
solution:
Write f(z)=2sinh(z)=ez−e−z and apply the generalized Cauchy formula: f(n−1)(0)=(n−1)!2πi∫S1f(z)(z−0)ndz⟹∫S1f(z)zndz=2πi(n−1)!f(n−1)(0)=2πi(n−1)!2⋅(ez−(−1)n−1ez2)|z=0=2πi(n−1)!2⋅(1+(−1)n2)={2πi(n−1)!n even 0n odd ..
Compute ∫γz2+1z(z2+4)dz for
- A circle of radius 1,
- A circle of radius 2+ε,
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+cz−2i, and use PFD/cover-up method/finding residues:
- a=(z2+1z2+4)|z=0=14
- b=(z2+1z(z−2i))|z=−2i=−4+1−2i(−4i)=38
- c=(z2+1z(z+2i))|z=2i=−4+12i(4i)=38
Thus ∫γf(z)dz=∫γ(1/4z+3/8z+2i+3/8z−2i)dz=2πi(14+38+38).
Find all residues of the following function by writing it as a sum of principal parts at its poles: f(z)=z3z2+1.
solution:
Use polynomial long division to write z3=z(z2+1)−z⟹z3z2+1=z−zz2+1. Factor the latter part: zz2+1=az+i+bz−i⟹a(z−i)+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)=z−1/2z+i−1/2z−i=P∞+P−i+Pi, yielding poles at ±i with residues Resz=∞f(z)=−1Resz=if(z)=−1/2Resz=−if(z)=−1/2.
Use a direct Laurent expansion to show Resz=01z−sin(z)=3!5⋅4.
Note the necessity: one doesn’t know the order of the pole at zero, so it’s unclear how many derivatives to take.
solution:
Expand: 1z−sin(z)=z−1(1−z−1sin(z))−1=z−1(1−z−1(z−13!z3+15!z5−⋯))−1=z−1(1−(1−13!z2+15!z4−⋯))−1=z−1(13!z2−15!z4+⋯)−1=z−1⋅3!z−2(1−15!/3!z2+⋯)−1=3!z3(11−(15⋅4z2+⋯))=3!z3(1+(15⋅4z2)+(15⋅4z2)2+⋯)=3!z−3+3!5⋅4z−1+O(z).
solution:
First expand (sin(z))−1: 1sin(z)=(z−13!z3+15!z5−⋯)−1=z−1(1−13!z2+15!z4−⋯)−1=z−1(1+(13!z2−15!z4+⋯)+(13!z2−⋯)2+⋯)=z−1(1+13!z2±O(z4)), using that (1−x)−1=1+x+x2+⋯.
Thus z−2(sin(z))−1=z−2⋅z−1(1+13!z2±O(z4))=z−3+13!z−1+O(z).
Applying the formulas
Use the rational function formula to compute the residues at z=±i of f(z):=1z2+1.
solution:
Applying the rational function formula: Resz=z011+z2=12z|z=z0⟹Resz=if(z)=12i=−i2Resz=−if(z)=−12i=i2.
Find the residue at ωn:=eπin of f(z)=1zn+1.
solution (?):
Check that ∂∂zzn+1=nzn−1≠0 for z≠0, 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=1nzn−1|z=ωn=1nωn−1n=ω1−nnn=−ωnn, which follows from expanding ω1−nn=eiπ(1−n)n=eiπne−iπnn=eiπn⋅(−1)=−ωn. .
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 z−2f(1/z) about z=0 to obtain 1z2e1z=z−2∑k≥0z−k/k!=∑k≥0z−k−2/k!=z−2+z−3+12!z−4+O(z−5), so the residue is zero.
-
For z+1z−1:
- Integral formula: Resz=∞=−12π∫|z|=2z−1z+1dz=−Resz=−1z−1z+1=−(−2)=2.
- Inversion formula: 1z2z−1−1z−1+1=z−21−z1+z=z−2(z−1)∑k≥0(−z)k=z−2+2z−1−2+2z−O(z2), which has residue 2.