← Math|93 of 100
Complex Analysis

Contour Integration

Master contour integrals, Cauchy's theorem, Cauchy's integral formula, and their applications.

📂 Integration📖 Lesson 93 of 100🎓 Free Course

Advertisement

Why It Matters

â„šī¸ Why It Matters

Contour integration is the computational heart of complex analysis. It transforms the problem of evaluating difficult or impossible real integrals into a routine procedure: find singularities, compute residues, sum them up. Cauchy's integral theorem reveals that for analytic functions, the integral depends only on the endpoints (not the path), while Cauchy's integral formula reconstructs a function's value at any interior point purely from its boundary values — a remarkable result with no real-variable analog. These tools evaluate integrals like âˆĢ−∞∞cos⁥xx2+1dx\int_{-\infty}^{\infty} \frac{\cos x}{x^2+1}dx in minutes, solve boundary value problems in physics, and form the basis of the residue theorem that underpins all of advanced complex analysis. Without contour integration, Fourier analysis, quantum field theory, and much of mathematical physics would lack their most elegant computational methods.


Core Definitions

DfContour (Path)

A contour Îŗ\gamma is a piecewise smooth curve in C\mathbb{C}, parameterized as z(t)=x(t)+iy(t)z(t) = x(t) + iy(t) for a≤t≤ba \leq t \leq b. The curve is smooth if z′(t)z'(t) is continuous and z′(t)≠0z'(t) \neq 0. A contour is closed if z(a)=z(b)z(a) = z(b), and simple (non-self-intersecting) if it crosses itself at most at the endpoints.

DfContour Integral

The integral of ff along a contour Îŗ:z(t)\gamma: z(t), a≤t≤ba \leq t \leq b, is:

âˆĢÎŗf(z) dz=âˆĢabf(z(t)) z′(t) dt\int_\gamma f(z)\,dz = \int_a^b f(z(t))\,z'(t)\,dt

This reduces complex line integration to a real definite integral.

DfSimply Connected Domain

A domain DD is simply connected if every closed curve in DD can be continuously deformed to a point without leaving DD. Equivalently, DD has no "holes." The complement of a disk C∖D(a,r)‾\mathbb{C} \setminus \overline{D(a,r)} is not simply connected; the interior of a circle is.

DfWinding Number (Index)

The winding number of a closed contour Îŗ\gamma around a point z0z_0 not on Îŗ\gamma is:

IndâĄÎŗ(z0)=12Ī€iâˆŽÎŗdzz−z0\operatorname{Ind}_\gamma(z_0) = \frac{1}{2\pi i}\oint_\gamma \frac{dz}{z - z_0}

It counts how many times Îŗ\gamma winds around z0z_0 (positive = counterclockwise).

DfRemovable Singularity

A singularity z0z_0 of ff is removable if lim⁡z→z0(z−z0)f(z)=0\lim_{z \to z_0} (z - z_0)f(z) = 0. In this case, ff can be redefined at z0z_0 to be analytic.

DfSimple Pole

A singularity z0z_0 of ff is a simple pole if lim⁡z→z0(z−z0)f(z)=c≠0\lim_{z \to z_0} (z - z_0)f(z) = c \neq 0. The residue is this limit: Res⁡(f,z0)=c\operatorname{Res}(f, z_0) = c.


Key Formulas

Contour Integral Definition

âˆĢÎŗf(z) dz=âˆĢabf(z(t)) z′(t) dt\int_\gamma f(z)\,dz = \int_a^b f(z(t))\,z'(t)\,dt

Here,

  • z(t)z(t)=Parameterization of the contour
  • z′(t)z'(t)=Derivative of parameterization (velocity)

Cauchy's Integral Theorem

∮Cf(z) dz=0\oint_C f(z)\,dz = 0

Here,

  • ff=Analytic inside and on closed contour C
  • CC=Closed contour in a simply connected domain

Cauchy's Integral Formula

f(z0)=12Ī€i∎Cf(z)z−z0 dzf(z_0) = \frac{1}{2\pi i}\oint_C \frac{f(z)}{z - z_0}\,dz

Here,

  • z0z_0=Interior point of contour C
  • ff=Analytic on and inside C

Generalized Cauchy Integral Formula

f(n)(z0)=n!2Ī€i∎Cf(z)(z−z0)n+1 dzf^{(n)}(z_0) = \frac{n!}{2\pi i}\oint_C \frac{f(z)}{(z - z_0)^{n+1}}\,dz

Here,

  • nn=Order of derivative
  • z0z_0=Interior point of C

Residue Definition (Simple Pole)

Res⁡(f,z0)=lim⁡z→z0(z−z0)f(z)\operatorname{Res}(f, z_0) = \lim_{z \to z_0} (z - z_0)f(z)

Here,

  • z0z_0=Simple pole of f

Residue Theorem

∎Cf(z) dz=2Ī€i∑k=1nRes⁥(f,zk)\oint_C f(z)\,dz = 2\pi i \sum_{k=1}^{n} \operatorname{Res}(f, z_k)

Here,

  • zkz_k=Singularities inside contour C
  • Res⁥(f,zk)\operatorname{Res}(f, z_k)=Residue of f at z_k

Residue for P/Q at Simple Pole

Res⁡(PQ,z0)=P(z0)Q′(z0)\operatorname{Res}\left(\frac{P}{Q}, z_0\right) = \frac{P(z_0)}{Q'(z_0)}

Here,

  • P(z)P(z)=Analytic (or polynomial) numerator
  • Q(z)Q(z)=Analytic denominator with simple zero at z_0

Residue for Pole of Order n

Res⁡(f,z0)=1(n−1)!lim⁡z→z0dn−1dzn−1[(z−z0)nf(z)]\operatorname{Res}(f, z_0) = \frac{1}{(n-1)!}\lim_{z \to z_0} \frac{d^{n-1}}{dz^{n-1}}\left[(z-z_0)^n f(z)\right]

Here,

  • nn=Order of the pole
  • z0z_0=Location of the pole

Parameterization of Standard Contours

CR:z=Reiθ,0≤θ≤2Ī€(circle of radius R)C_R: z = Re^{i\theta}, \quad 0 \leq \theta \leq 2\pi \quad \text{(circle of radius R)}

Here,

  • RR=Radius of the circle
  • θ\theta=Angle parameter from 0 to 2Ī€

Important Theorems

ThCauchy's Integral Theorem (Simple Form)

If ff is analytic inside and on a simple closed contour CC, and the domain interior to CC is simply connected, then:

∮Cf(z) dz=0\oint_C f(z)\,dz = 0

Proof Sketch: By Green's theorem, ∮Cu dx−v dy+i∮Cv dx+u dy\oint_C u\,dx - v\,dy + i\oint_C v\,dx + u\,dy. The Cauchy-Riemann equations make both integrands have zero curl, so both contour integrals vanish. □\square

General version (Goursat): The theorem holds even without assuming f′f' is continuous — analyticity alone suffices.

ThCauchy's Integral Formula

If ff is analytic inside and on a simple closed contour CC, and z0z_0 is interior to CC, then:

f(z0)=12Ī€i∎Cf(z)z−z0 dzf(z_0) = \frac{1}{2\pi i}\oint_C \frac{f(z)}{z - z_0}\,dz

Proof Sketch: Define g(z)=f(z)−f(z0)z−z0g(z) = \frac{f(z) - f(z_0)}{z - z_0} for z≠z0z \neq z_0 and g(z0)=f′(z0)g(z_0) = f'(z_0). Then gg is analytic inside CC. By Cauchy's theorem, ∮Cg(z) dz=0\oint_C g(z)\,dz = 0. Expanding and rearranging yields the formula. □\square

Geometric meaning: The value of an analytic function at an interior point is completely determined by its values on the boundary.

ThResidue Theorem

If ff is analytic inside and on a simple closed contour CC except at isolated singularities z1,z2,â€Ļ,znz_1, z_2, \ldots, z_n inside CC, then:

∎Cf(z) dz=2Ī€i∑k=1nRes⁥(f,zk)\oint_C f(z)\,dz = 2\pi i \sum_{k=1}^{n} \operatorname{Res}(f, z_k)

Proof Sketch: For each singularity zkz_k, draw a small circle Îŗk\gamma_k around it. By Cauchy's theorem applied to the multiply connected region (deforming the contour), the integral over CC equals the sum of integrals over the small circles. Each integral over Îŗk\gamma_k equals 2Ī€iRes⁥(f,zk)2\pi i \operatorname{Res}(f, z_k) by the Laurent series expansion. □\square

ThDeformation of Contour

If ff is analytic in a region between two simple closed contours C1C_1 and C2C_2 (with C2C_2 inside C1C_1), and ff has no singularities between them, then:

∮C1f(z) dz=∮C2f(z) dz\oint_{C_1} f(z)\,dz = \oint_{C_2} f(z)\,dz

provided both contours are oriented the same way (counterclockwise).

Significance: You can deform contours to pass around singularities conveniently, as long as you don't cross any singularities.

ThEstimation Lemma (ML Inequality)

If âˆŖf(z)âˆŖâ‰¤M|f(z)| \leq M on a contour Îŗ\gamma of length LL, then:

âˆŖâˆĢÎŗf(z) dzâˆŖâ‰¤ML\left|\int_\gamma f(z)\,dz\right| \leq ML

Application: This is used to show that integrals over large arcs vanish as the arc radius R→∞R \to \infty, which is essential for improper real integrals.

ThJordan's Lemma

If g(z)g(z) is analytic in the upper half-plane and âˆŖg(z)âˆŖâ†’0|g(z)| \to 0 uniformly as âˆŖzâˆŖâ†’âˆž|z| \to \infty in the upper half-plane, then for a>0a > 0:

lim⁥R→∞âˆĢCRg(z)eiaz dz=0\lim_{R \to \infty} \int_{C_R} g(z)e^{iaz}\,dz = 0

where CRC_R is the upper semicircle of radius RR.

Application: Justifies discarding the semicircular arc when evaluating Fourier-type integrals âˆĢ−∞∞f(x)eiax dx\int_{-\infty}^{\infty} f(x)e^{iax}\,dx.


Worked Examples

📝Example 1: Direct Parameterization

Evaluate ∎Cdzz\oint_C \frac{dz}{z} where CC is the unit circle âˆŖzâˆŖ=1|z| = 1, oriented counterclockwise.

Step 1: Parameterize: z=eiθz = e^{i\theta}, dz=ieiθ dθdz = ie^{i\theta}\,d\theta, 0≤θ≤2Ī€0 \leq \theta \leq 2\pi.

Step 2: Substitute:

∎Cdzz=âˆĢ02Ī€ieiθeiθ dθ=iâˆĢ02Ī€dθ=2Ī€i\oint_C \frac{dz}{z} = \int_0^{2\pi} \frac{ie^{i\theta}}{e^{i\theta}}\,d\theta = i\int_0^{2\pi} d\theta = 2\pi i

Alternatively: By the residue theorem, z=0z = 0 is inside CC with Res⁥(1/z,0)=1\operatorname{Res}(1/z, 0) = 1. So ∎=2Ī€i⋅1=2Ī€i\oint = 2\pi i \cdot 1 = 2\pi i. ✓

📝Example 2: Cauchy's Integral Formula

Evaluate âˆŽâˆŖzâˆŖ=2ezz−1 dz\oint_{|z|=2} \frac{e^z}{z - 1}\,dz.

Step 1: Identify: f(z)=ezf(z) = e^z is entire (analytic everywhere), and z0=1z_0 = 1 is inside âˆŖzâˆŖ=2|z| = 2.

Step 2: Apply Cauchy's integral formula: âˆŽâˆŖzâˆŖ=2ezz−1 dz=2Ī€i⋅f(1)=2Ī€i⋅e1=2Ī€ei\oint_{|z|=2} \frac{e^z}{z-1}\,dz = 2\pi i \cdot f(1) = 2\pi i \cdot e^1 = 2\pi e i.

Verification: The function ez/(z−1)e^z/(z-1) has a simple pole at z=1z = 1 with residue e1=ee^1 = e. The residue theorem gives 2Ī€i⋅e2\pi i \cdot e. ✓

📝Example 3: Generalized Cauchy Formula

Evaluate âˆŽâˆŖzâˆŖ=3sin⁥z(zâˆ’Ī€)3 dz\oint_{|z|=3} \frac{\sin z}{(z - \pi)^3}\,dz.

Step 1: f(z)=sin⁥zf(z) = \sin z is entire, z0=Ī€z_0 = \pi is inside âˆŖzâˆŖ=3|z| = 3, n=2n = 2 (since denominator is (zâˆ’Ī€)2+1(z-\pi)^{2+1}).

Step 2: By the generalized Cauchy formula:

∎sin⁥z(zâˆ’Ī€)3 dz=2Ī€i2!f′′(Ī€)=Ī€i⋅(−sinâĄĪ€)=Ī€i⋅0=0\oint \frac{\sin z}{(z-\pi)^3}\,dz = \frac{2\pi i}{2!} f''(\pi) = \pi i \cdot (-\sin\pi) = \pi i \cdot 0 = 0

Alternatively: Res⁥(sin⁥z(zâˆ’Ī€)3,Ī€)=12!lim⁥zâ†’Ī€d2dz2[sin⁥z]=12(−sinâĄĪ€)=0\operatorname{Res}\left(\frac{\sin z}{(z-\pi)^3}, \pi\right) = \frac{1}{2!}\lim_{z\to\pi}\frac{d^2}{dz^2}[\sin z] = \frac{1}{2}(-\sin\pi) = 0.

📝Example 4: Residue at a Simple Pole — Rational Function

Evaluate âˆŽâˆŖzâˆŖ=2z(z−1)(z+1) dz\oint_{|z|=2} \frac{z}{(z-1)(z+1)}\,dz.

Step 1: Singularities at z=1z = 1 and z=−1z = -1, both inside âˆŖzâˆŖ=2|z| = 2. Both are simple poles.

Step 2: Residue at z=1z = 1:

Res⁡(f,1)=lim⁡z→1(z−1)z(z−1)(z+1)=lim⁡z→1zz+1=12\operatorname{Res}(f, 1) = \lim_{z\to 1}(z-1)\frac{z}{(z-1)(z+1)} = \lim_{z\to 1}\frac{z}{z+1} = \frac{1}{2}

Step 3: Residue at z=−1z = -1:

Res⁡(f,−1)=lim⁡z→−1(z+1)z(z−1)(z+1)=lim⁡z→−1zz−1=−1−2=12\operatorname{Res}(f, -1) = \lim_{z\to-1}(z+1)\frac{z}{(z-1)(z+1)} = \lim_{z\to-1}\frac{z}{z-1} = \frac{-1}{-2} = \frac{1}{2}

Step 4: Apply residue theorem:

∎=2Ī€i(12+12)=2Ī€i⋅1=2Ī€i\oint = 2\pi i\left(\frac{1}{2} + \frac{1}{2}\right) = 2\pi i \cdot 1 = 2\pi i

📝Example 5: Residue at a Pole of Order 2

Evaluate âˆŽâˆŖzâˆŖ=2ezz2 dz\oint_{|z|=2} \frac{e^z}{z^2}\,dz.

Step 1: z=0z = 0 is a pole of order 2 (double pole) inside âˆŖzâˆŖ=2|z| = 2.

Step 2: Use the formula for a pole of order n=2n = 2:

Res⁡(f,0)=1(2−1)!lim⁡z→0ddz[z2⋅ezz2]=lim⁡z→0ddz[ez]=lim⁡z→0ez=1\operatorname{Res}(f, 0) = \frac{1}{(2-1)!}\lim_{z\to 0}\frac{d}{dz}\left[z^2 \cdot \frac{e^z}{z^2}\right] = \lim_{z\to 0}\frac{d}{dz}[e^z] = \lim_{z\to 0} e^z = 1

Step 3: ∎=2Ī€i⋅1=2Ī€i\oint = 2\pi i \cdot 1 = 2\pi i.

Alternatively: Use the generalized Cauchy formula with f(z)=ezf(z) = e^z, z0=0z_0 = 0, n=1n = 1: 1!2Ī€i∎ezz2 dz=f′(0)=1\frac{1!}{2\pi i}\oint \frac{e^z}{z^2}\,dz = f'(0) = 1, so ∎=2Ī€i\oint = 2\pi i. ✓

📝Example 6: Contour Deformation

Evaluate âˆŽâˆŖzâˆŖ=3dzz2+1\oint_{|z|=3} \frac{dz}{z^2 + 1} by deforming to small circles around the singularities.

Step 1: z2+1=(z−i)(z+i)z^2 + 1 = (z-i)(z+i), so poles at z=iz = i and z=−iz = -i, both inside âˆŖzâˆŖ=3|z| = 3.

Step 2: Deform: draw small circles Îŗ1\gamma_1 around ii and Îŗ2\gamma_2 around −i-i. By the deformation principle:

âˆŽâˆŖzâˆŖ=3=âˆŽÎŗ1+âˆŽÎŗ2\oint_{|z|=3} = \oint_{\gamma_1} + \oint_{\gamma_2}

Step 3: Res⁡(f,i)=lim⁡z→iz−i(z−i)(z+i)=12i\operatorname{Res}(f, i) = \lim_{z\to i}\frac{z-i}{(z-i)(z+i)} = \frac{1}{2i}

Res⁡(f,−i)=lim⁡z→−iz+i(z−i)(z+i)=1−2i=−12i\operatorname{Res}(f, -i) = \lim_{z\to -i}\frac{z+i}{(z-i)(z+i)} = \frac{1}{-2i} = -\frac{1}{2i}

Step 4: ∎=2Ī€i(12i−12i)=2Ī€i⋅0=0\oint = 2\pi i\left(\frac{1}{2i} - \frac{1}{2i}\right) = 2\pi i \cdot 0 = 0

Verification: Since 1/(z2+1)1/(z^2+1) is analytic at z=∞z = \infty (behaves like 1/z21/z^2), and the sum of all residues including the residue at infinity is zero, the residues at ±i\pm i cancel. ✓


Practice Problems

📝Problem 1: Evaluate a Contour Integral

Evaluate âˆŽâˆŖzâˆŖ=2z+1z(z−1) dz\oint_{|z|=2} \frac{z+1}{z(z-1)}\,dz.

💡Solution

Step 1: Singularities at z=0z = 0 (inside âˆŖzâˆŖ=2|z|=2) and z=1z = 1 (inside âˆŖzâˆŖ=2|z|=2). Both are simple poles.

Step 2: Residue at z=0z = 0:

Res⁡(f,0)=lim⁡z→0z+1z−1=1−1=−1\operatorname{Res}(f, 0) = \lim_{z\to 0}\frac{z+1}{z-1} = \frac{1}{-1} = -1

Step 3: Residue at z=1z = 1:

Res⁡(f,1)=lim⁡z→1z+1z=21=2\operatorname{Res}(f, 1) = \lim_{z\to 1}\frac{z+1}{z} = \frac{2}{1} = 2

Step 4: ∎=2Ī€i(−1+2)=2Ī€i\oint = 2\pi i(-1 + 2) = 2\pi i

📝Problem 2: Cauchy Formula for Derivatives

Evaluate âˆŽâˆŖzâˆŖ=3cos⁥z(zâˆ’Ī€/2)2 dz\oint_{|z|=3} \frac{\cos z}{(z - \pi/2)^2}\,dz.

💡Solution

Step 1: f(z)=cos⁥zf(z) = \cos z is entire, z0=Ī€/2z_0 = \pi/2 is inside âˆŖzâˆŖ=3|z| = 3, n=1n = 1.

Step 2: Generalized Cauchy formula:

1!2Ī€i∎cos⁥z(zâˆ’Ī€/2)2 dz=f′(Ī€/2)=−sin⁥(Ī€/2)=−1\frac{1!}{2\pi i}\oint \frac{\cos z}{(z-\pi/2)^2}\,dz = f'(\pi/2) = -\sin(\pi/2) = -1

Step 3: ∎=2Ī€i⋅(−1)=−2Ī€i\oint = 2\pi i \cdot (-1) = -2\pi i

📝Problem 3: Residue at a Pole of Order 3

Find the residue of f(z)=ez(z−1)3f(z) = \frac{e^z}{(z-1)^3} at z=1z = 1.

💡Solution

Step 1: Pole of order n=3n = 3.

Step 2: Apply formula:

Res⁡(f,1)=12!lim⁡z→1d2dz2[(z−1)3⋅ez(z−1)3]=12lim⁡z→1d2dz2[ez]=12e1=e2\operatorname{Res}(f, 1) = \frac{1}{2!}\lim_{z\to 1}\frac{d^2}{dz^2}\left[(z-1)^3 \cdot \frac{e^z}{(z-1)^3}\right] = \frac{1}{2}\lim_{z\to 1}\frac{d^2}{dz^2}[e^z] = \frac{1}{2}e^1 = \frac{e}{2}

📝Problem 4: Integral Over a Semicircular Contour

Evaluate âˆĢ−∞∞dxx2+4\int_{-\infty}^{\infty} \frac{dx}{x^2 + 4} using contour integration.

💡Solution

Step 1: Consider f(z)=1z2+4=1(z+2i)(z−2i)f(z) = \frac{1}{z^2 + 4} = \frac{1}{(z+2i)(z-2i)}. Close the contour in the upper half-plane with a large semicircle CRC_R.

Step 2: For the arc: âˆŖf(z)âˆŖâ‰¤1R2−4|f(z)| \leq \frac{1}{R^2 - 4} for âˆŖzâˆŖ=R|z| = R, so âˆŖâˆĢCRâˆŖâ‰¤Ī€RR2−4→0\left|\int_{C_R}\right| \leq \frac{\pi R}{R^2 - 4} \to 0 as R→∞R \to \infty.

Step 3: Only z=2iz = 2i is in the upper half-plane. Res⁥(f,2i)=14i\operatorname{Res}(f, 2i) = \frac{1}{4i}.

Step 4: By residue theorem:

âˆĢ−∞∞dxx2+4=2Ī€i⋅14i=Ī€2\int_{-\infty}^{\infty}\frac{dx}{x^2+4} = 2\pi i \cdot \frac{1}{4i} = \frac{\pi}{2}

📝Problem 5: Sum of Residues

Evaluate âˆŽâˆŖzâˆŖ=4z2(z−1)(z−2)(z−3) dz\oint_{|z|=4} \frac{z^2}{(z-1)(z-2)(z-3)}\,dz.

💡Solution

Step 1: All three poles z=1,2,3z = 1, 2, 3 are inside âˆŖzâˆŖ=4|z| = 4. All are simple poles.

Step 2: Residues (using P(z)/Q′(z)P(z)/Q'(z) with Q(z)=(z−1)(z−2)(z−3)Q(z) = (z-1)(z-2)(z-3)):

Q′(z)=(z−2)(z−3)+(z−1)(z−3)+(z−1)(z−2)Q'(z) = (z-2)(z-3) + (z-1)(z-3) + (z-1)(z-2)Res⁡(f,1)=12(1−2)(1−3)=1(−1)(−2)=12\operatorname{Res}(f, 1) = \frac{1^2}{(1-2)(1-3)} = \frac{1}{(-1)(-2)} = \frac{1}{2}Res⁡(f,2)=4(2−1)(2−3)=4(1)(−1)=−4\operatorname{Res}(f, 2) = \frac{4}{(2-1)(2-3)} = \frac{4}{(1)(-1)} = -4Res⁡(f,3)=9(3−1)(3−2)=9(2)(1)=92\operatorname{Res}(f, 3) = \frac{9}{(3-1)(3-2)} = \frac{9}{(2)(1)} = \frac{9}{2}

Step 3: Sum of residues: 12−4+92=1−8+92=22=1\frac{1}{2} - 4 + \frac{9}{2} = \frac{1 - 8 + 9}{2} = \frac{2}{2} = 1

Step 4: ∎=2Ī€i⋅1=2Ī€i\oint = 2\pi i \cdot 1 = 2\pi i


Common Mistakes

MistakeCorrectionExample
Forgetting the 2Ī€i2\pi i factor in the residue theoremThe residue theorem states ∎=2Ī€i∑Res⁥\oint = 2\pi i \sum \operatorname{Res}, not just ∑Res⁥\sum \operatorname{Res}∎dzz=2Ī€i\oint \frac{dz}{z} = 2\pi i, not 11
Using the wrong orientationCounterclockwise is positive; clockwise gives a minus sign∎clockwise=−2Ī€i∑Res⁥\oint_{clockwise} = -2\pi i \sum \operatorname{Res}
Including singularities outside the contourOnly sum residues of singularities inside CCIf z0∉int⁡(C)z_0 \notin \operatorname{int}(C), don't include it
Wrong residue formula for higher-order polesFor order nn: 1(n−1)!lim⁥dn−1dzn−1[(z−z0)nf]\frac{1}{(n-1)!}\lim \frac{d^{n-1}}{dz^{n-1}}[(z-z_0)^n f], not just the limitNeed the derivative for nâ‰Ĩ2n \geq 2
Forgetting the ML inequalityLarge arcs vanish only if âˆŖfâˆŖâ‹…L→0|f| \cdot L \to 0; must verify the arc contribution vanishesCheck âˆŖf(z)âˆŖ=O(1/Rp)|f(z)| = O(1/R^p) with p>0p > 0
Incorrect parameterizationdz=z′(t)dtdz = z'(t)dt, not just dz=dtdz = dtFor z=Reiθz = Re^{i\theta}: dz=iReiθdθdz = iRe^{i\theta}d\theta
Misidentifying pole orderFactor the denominator carefully; check the limit1(z−1)2(z+1)\frac{1}{(z-1)^2(z+1)} has a pole of order 2 at z=1z=1

Interview / Exam Questions

Q1: State Cauchy's integral theorem. What are its hypotheses, and why is the simply connected condition important?

A1: Cauchy's theorem states: if ff is analytic inside and on a simple closed contour CC, and the interior of CC is simply connected, then ∎Cf(z) dz=0\oint_C f(z)\,dz = 0. The simply connected condition ensures there are no singularities "hidden" inside the contour. For example, âˆŽâˆŖzâˆŖ=1dzz=2Ī€i≠0\oint_{|z|=1} \frac{dz}{z} = 2\pi i \neq 0 because 1/z1/z has a pole at z=0z = 0 inside the contour — the domain C∖{0}\mathbb{C} \setminus \{0\} is not simply connected. The theorem holds because the Cauchy-Riemann equations make the integrand's "curl" vanish, and Green's theorem converts the contour integral to a double integral of this zero curl.


Q2: Why does Cauchy's integral formula imply that analytic functions are infinitely differentiable?

A2: Cauchy's formula f(z0)=12Ī€i∎Cf(z)z−z0dzf(z_0) = \frac{1}{2\pi i}\oint_C \frac{f(z)}{z - z_0}dz expresses ff as an integral of an analytic integrand. Differentiating under the integral sign (justified by analyticity) gives f′(z0)=12Ī€i∎Cf(z)(z−z0)2dzf'(z_0) = \frac{1}{2\pi i}\oint_C \frac{f(z)}{(z-z_0)^2}dz, and repeated differentiation yields the generalized formula for f(n)f^{(n)}. Since this works for all nn, ff is infinitely differentiable. In real analysis, a function can be differentiable once but not twice (e.g., f(x)=x3/2f(x) = x^{3/2}). Complex differentiability is far more restrictive.


Q3: How do you compute the residue of f(z)=P(z)Q(z)f(z) = \frac{P(z)}{Q(z)} at a simple pole z0z_0?

A3: If z0z_0 is a simple zero of Q(z)Q(z) (i.e., Q(z0)=0Q(z_0) = 0 but Q′(z0)≠0Q'(z_0) \neq 0), and P(z0)≠0P(z_0) \neq 0, then:

Res⁡(f,z0)=P(z0)Q′(z0)\operatorname{Res}(f, z_0) = \frac{P(z_0)}{Q'(z_0)}

This comes from f(z)=P(z)Q′(z0)(z−z0)+analytic termsf(z) = \frac{P(z)}{Q'(z_0)(z-z_0)} + \text{analytic terms} near z0z_0, so the residue (coefficient of 1/(z−z0)1/(z-z_0)) is P(z0)/Q′(z0)P(z_0)/Q'(z_0).

Example: Res⁥(z2z4+1,eiĪ€/4)=eiĪ€/24e3iĪ€/4=eiĪ€/24e3iĪ€/4=e−iĪ€/44\operatorname{Res}\left(\frac{z^2}{z^4+1}, e^{i\pi/4}\right) = \frac{e^{i\pi/2}}{4e^{3i\pi/4}} = \frac{e^{i\pi/2}}{4e^{3i\pi/4}} = \frac{e^{-i\pi/4}}{4}.


Q4: Explain the deformation of contour principle and give an example.

A4: If ff is analytic in a region between two simple closed contours C1C_1 (outer) and C2C_2 (inner), and ff has no singularities between them, then ∮C1f dz=∮C2f dz\oint_{C_1} f\,dz = \oint_{C_2} f\,dz (both counterclockwise). This is because the region between C1C_1 and C2C_2 is multiply connected, but Cauchy's theorem applied to this annular region shows the two contour integrals are equal.

Example: To compute âˆŽâˆŖzâˆŖ=3dzz(z−1)\oint_{|z|=3} \frac{dz}{z(z-1)}, we can deform to two small circles: one around z=0z = 0 and one around z=1z = 1, each giving 2Ī€i2\pi i times the local residue.


Q5: When is the residue theorem more useful than direct parameterization?

A5: The residue theorem is superior when: (1) The contour encloses singularities — you only need the residues, not the full parameterization. (2) The integral has multiple poles — the theorem converts integration to algebra (summing residues). (3) You need to evaluate integrals over large contours (as R→∞R \to \infty) — residues capture the essential behavior while the contour contribution vanishes. Direct parameterization is simpler for elementary functions with no singularities inside the contour (where the integral is zero by Cauchy's theorem) or for very simple cases like ∮dzz\oint \frac{dz}{z}.


Q6: What is the ML inequality, and when do you use it?

A6: The ML inequality states: if âˆŖf(z)âˆŖâ‰¤M|f(z)| \leq M on a contour Îŗ\gamma of length LL, then âˆŖâˆĢÎŗf(z) dzâˆŖâ‰¤ML\left|\int_\gamma f(z)\,dz\right| \leq ML. It's used to bound contour integrals and show that contributions from arcs vanish. For example, to show âˆĢCReizz2+1dz→0\int_{C_R} \frac{e^{iz}}{z^2+1}dz \to 0 as R→∞R \to \infty (where CRC_R is a semicircle): on CRC_R, âˆŖeizâˆŖ=e−Rsin⁡θ≤1|e^{iz}| = e^{-R\sin\theta} \leq 1 and âˆŖz2+1âˆŖâ‰ĨR2−1|z^2+1| \geq R^2 - 1, so âˆŖfâˆŖâ‰¤1R2−1|f| \leq \frac{1}{R^2-1} and L=Ī€RL = \pi R. Thus âˆŖâˆĢCRâˆŖâ‰¤Ī€RR2−1→0\left|\int_{C_R}\right| \leq \frac{\pi R}{R^2-1} \to 0.


Quick Reference

📋Formula Summary

FormulaExpressionNotes
Contour integralâˆĢÎŗf dz=âˆĢabf(z(t))z′(t)dt\int_\gamma f\,dz = \int_a^b f(z(t))z'(t)dtParameterize and integrate
Cauchy's theorem∮Cf dz=0\oint_C f\,dz = 0ff analytic on/inside simply connected CC
Cauchy's formulaf(z0)=12Ī€i∎Cf(z)z−z0dzf(z_0) = \frac{1}{2\pi i}\oint_C \frac{f(z)}{z-z_0}dzReconstruct interior value from boundary
Generalized Cauchyf(n)(z0)=n!2Ī€i∎Cf(z)(z−z0)n+1dzf^{(n)}(z_0) = \frac{n!}{2\pi i}\oint_C \frac{f(z)}{(z-z_0)^{n+1}}dzDerivatives from boundary values
Residue theorem∎Cf dz=2Ī€i∑Res⁥(f,zk)\oint_C f\,dz = 2\pi i\sum \operatorname{Res}(f, z_k)Sum of residues × 2Ī€i2\pi i
Simple pole residueRes⁡(f,z0)=lim⁡z→z0(z−z0)f(z)\operatorname{Res}(f, z_0) = \lim_{z\to z_0}(z-z_0)f(z)Or P(z0)/Q′(z0)P(z_0)/Q'(z_0) for P/QP/Q
Pole of order nnRes⁡=1(n−1)!lim⁡z→z0dn−1dzn−1[(z−z0)nf]\operatorname{Res} = \frac{1}{(n-1)!}\lim_{z\to z_0}\frac{d^{n-1}}{dz^{n-1}}[(z-z_0)^n f]Need (n−1)(n-1)-th derivative
ML inequalityâˆĨâˆĢÎŗf dzâˆĨ≤ML\|\int_\gamma f\,dz\| \leq MLM=max⁥âˆĨfâˆĨM = \max\|f\|, L=L = length of Îŗ\gamma
Winding numberIndâĄÎŗ(z0)=12Ī€iâˆŽÎŗdzz−z0\operatorname{Ind}_\gamma(z_0) = \frac{1}{2\pi i}\oint_\gamma \frac{dz}{z-z_0}Counts loops around z0z_0
Deformation∮C1f dz=∮C2f dz\oint_{C_1} f\,dz = \oint_{C_2} f\,dzIf no singularities between C1C_1 and C2C_2

Cross-References

  • 091 - Complex Numbers — Polar form and De Moivre's theorem are used to parameterize circular contours.
  • 092 - Complex Functions — Analyticity and singularity classification (from 092) determine which residues to compute.
  • 094 - Residue Theory Applications — The residue theorem applied to specific integral types (trigonometric, improper, keyhole).
  • 095 - Applications — Fourier transform inversion uses contour integration; Green's functions in physics are built from Cauchy integrals.
  • Vector Calculus (Topic 19): Green's theorem connects real line integrals to complex contour integrals; Stokes' theorem generalizes these ideas.
  • Differential Equations — Cauchy integral formula provides solutions to differential equations via integral representations.
Lesson Progress93 / 100