Skip to content

Cauchy's Theorem

In this lesson you’ll state Cauchy’s theorem, see why it is Green’s theorem plus the Cauchy–Riemann equations, learn contour deformation as a computational tool, and handle domains with holes.

Cauchy’s theorem. If ff is analytic on a simply connected domain DD, then for every closed contour CC in DD

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

Two hypotheses are doing work. Analytic is expected. Simply connected is the one people forget, and forgetting it produces wrong answers immediately: z=1dzz=2πi0\oint_{|z|=1}\frac{dz}{z} = 2\pi i \ne 0, and 1/z1/z is analytic on its contour. What fails there is not analyticity but the topology of the domain.

The commonly used version, sometimes called the Cauchy–Goursat theorem, requires only analyticity - no assumption that ff' is continuous, which Goursat showed is unnecessary.

The quickest route uses Green’s theorem from Calculus 3. Write f=u+ivf = u+iv and dz=dx+idydz = dx+i\,dy, so

Cfdz=C(udxvdy)+iC(vdx+udy)\oint_C f\,dz = \oint_C (u\,dx - v\,dy) + i\oint_C(v\,dx+u\,dy)

Green’s theorem converts each to a double integral over the enclosed region RR:

=R(vxuy)dA+iR(uxvy)dA= \iint_R\left(-v_x-u_y\right)dA + i\iint_R\left(u_x-v_y\right)dA

Now apply the Cauchy–Riemann equations: ux=vyu_x = v_y makes the second integrand vanish, and uy=vxu_y = -v_x makes the first vanish. Both integrals are zero. ∎

That is the whole proof, and it is worth appreciating what it says: Cauchy’s theorem is the Cauchy–Riemann equations integrated. The differential condition from lesson 5 and this global statement are the same fact seen at two scales.

The proof as given assumes continuous partials so Green’s theorem applies. Goursat’s refinement removes that, at the cost of a longer argument by subdivision of triangles.

Path independence. If γ1\gamma_1 and γ2\gamma_2 share endpoints and lie in a simply connected domain where ff is analytic, then γ1f=γ2f\int_{\gamma_1}f = \int_{\gamma_2}f. Traverse one forward and the other backward to make a closed contour, apply the theorem, and rearrange.

Antiderivatives exist. On a simply connected domain an analytic ff has an analytic antiderivative F(z)=z0zf(w)dwF(z) = \int_{z_0}^z f(w)\,dw, well defined precisely because the integral does not depend on the path.

Deformation invariance. A closed contour can be continuously deformed without changing the integral, provided it never crosses a singularity.

This last one is the practical tool. It means you may replace an awkward contour with a convenient circle, which is how essentially every contour integral in the rest of the section gets evaluated.

When the domain is not simply connected, the theorem is replaced by a bookkeeping statement.

Deformation / multiply connected form. Let CC be a closed contour and C1,,CnC_1,\ldots,C_n be disjoint closed contours inside CC, all positively oriented, with ff analytic on the region between them. Then

Cfdz=k=1nCkfdz\oint_C f\,dz = \sum_{k=1}^n\oint_{C_k}f\,dz

In words: an outer contour equals the sum of small contours around each hole. Shrink each CkC_k to a tiny circle around its singularity and you have the residue theorem in embryo. The whole of the second half of this section is that idea made systematic.

Deformation invariance means the integral only depends on how the contour sits relative to the singularities, and the precise measure of that is the winding number:

n(C,z0)=12πiCdzzz0n(C, z_0) = \frac{1}{2\pi i}\oint_C\frac{dz}{z-z_0}

an integer counting signed loops of CC around z0z_0. Counterclockwise once gives 1, clockwise once gives 1-1, twice around gives 2, and a contour not enclosing z0z_0 gives 0. So the general statement is

Cdzzz0=2πin(C,z0)\oint_C\frac{dz}{z-z_0} = 2\pi i\, n(C,z_0)

The integral counts topology. That an analytic computation returns an integer is the first hint that complex analysis and topology are closely tied.

Example 1: Evaluate z=1ezdz\oint_{|z|=1}e^z\,dz.

Solution. eze^z is entire, and the unit disc is simply connected, so Cauchy’s theorem applies directly:

z=1ezdz=0\oint_{|z|=1}e^z\,dz = 0

Example 2: Evaluate Cdzz3\oint_C \frac{dz}{z-3} where CC is the unit circle.

Solution. The only singularity is at z=3z=3, which is outside z=1|z|=1. So the integrand is analytic on a disc of radius, say, 2 containing the contour, and that disc is simply connected.

Cdzz3=0\oint_C\frac{dz}{z-3} = 0

Location of the singularity relative to the contour is the whole question. Same integrand around z=4|z|=4 would give 2πi2\pi i.

Example 3: Evaluate Cdzz\oint_C\frac{dz}{z} where CC is the square with vertices ±1±i\pm1\pm i, counterclockwise.

Solution. The integrand is singular only at 0, which is inside. Deform the square to the unit circle - no singularity is crossed during the deformation - and use the standard computation:

Cdzz=z=1dzz=2πi\oint_C\frac{dz}{z} = \oint_{|z|=1}\frac{dz}{z} = 2\pi i

Nobody parametrises the square. Deformation is the point of the theorem.

Example 4: Evaluate Cdzz21\oint_C\frac{dz}{z^2-1} where CC is the circle z=2|z|=2.

Solution. Poles at z=±1z = \pm1, both inside. Split by partial fractions:

1z21=12(1z11z+1)\frac{1}{z^2-1} = \frac{1}{2}\left(\frac{1}{z-1}-\frac{1}{z+1}\right)

Each term is 2πi2\pi i times the winding number, which is 1 for both poles:

12(2πi2πi)=0\frac12\left(2\pi i - 2\pi i\right) = 0

Zero, but not because Cauchy’s theorem applies - it does not, since there are poles inside. The two contributions cancel, which is a genuinely different reason and worth distinguishing.

Example 5: Use the multiply connected form.

ff is analytic on the annulus 1<z<51<|z|<5 and z=2fdz=7i\oint_{|z|=2}f\,dz = 7i. Find z=4fdz\oint_{|z|=4}f\,dz.

Solution. The two circles bound an annulus on which ff is analytic, so the outer integral equals the inner one:

z=4fdz=7i\oint_{|z|=4}f\,dz = 7i

Nothing about ff beyond analyticity in the annulus was needed. The value is a property of the hole, not of the radius.

Example 6: Compute a winding number.

A contour winds three times counterclockwise around z0=2z_0=2. Evaluate Cdzz2\oint_C\frac{dz}{z-2}.

Solution. The winding number is 3, so

Cdzz2=2πi3=6πi\oint_C\frac{dz}{z-2} = 2\pi i\cdot 3 = 6\pi i

Example 7: Show path independence explicitly.

Evaluate γezdz\int_\gamma e^z\,dz from 0 to iπi\pi along (a) the straight segment and (b) a path through 1.

Solution. eze^z is entire, so we may just use the antiderivative:

γezdz=eiπe0=11=2\int_\gamma e^z\,dz = e^{i\pi}-e^0 = -1-1 = -2

for both paths, and indeed for any path from 0 to iπi\pi. ∎

When Cauchy’s theorem applies, the contour is irrelevant and only the endpoints survive. Compare the zˉ\bar z example from last lesson, where no such simplification exists.

Conservative fields. A force field derived from a potential does zero net work around any closed loop, and in two dimensions that statement is Cauchy’s theorem. Whether a field is conservative is the same question as whether the domain has holes.

Circulation around obstacles. The lift on an aerofoil comes from a nonzero circulation integral, which is possible only because the region outside the wing is not simply connected. The topology is doing real physical work here.

Electromagnetic induction. The line integral of the electric field around a loop is zero in electrostatics and nonzero when flux changes through the loop. The distinction is exactly the simply-connected hypothesis.

Numerical contour integration. Deformation invariance lets an algorithm move a contour onto a circle where the trapezoid rule converges exponentially fast. This is the basis of modern contour-integral methods for eigenvalue problems and matrix functions.

Winding numbers in algorithms. Point-in-polygon tests, mesh validity checks, and topological path planning all compute a winding number, which is this lesson’s integral evaluated discretely.

Phase and vortices. In superconductors and superfluids, the phase change around a loop must be an integer multiple of 2π2\pi, giving quantized flux and quantized circulation. That quantization is the winding number being an integer.

What does Cauchy's theorem state?
Which two ingredients combine to prove Cauchy's theorem?
What is ∮_{|z|=1} dz/(z − 3)?
What does deformation invariance let you do?
For a multiply connected region, what replaces Cauchy's theorem?
What does the winding number n(C, z₀) measure?
Why is ∮_{|z|=2} dz/(z² − 1) equal to zero?
If f is analytic on the annulus 1 < |z| < 5 and ∮_{|z|=2} f dz = 7i, what is ∮_{|z|=4} f dz?