Complex AnalysisContour Integrals and Cauchy's Theorem

Cauchy's Theorem

If f is analytic on and inside a simple closed contour C, then ∮_C f(z) dz = 0.

Not started Jump to practice

When $f$ has an antiderivative, closed integrals vanish. Cauchy's theorem says much more: analyticity alone is enough, with no antiderivative in sight, as long as $f$ is analytic inside the contour too. The proof joins Green's theorem with the Cauchy–Riemann equations, and the result is the backbone of the rest of the course.

Key idea

Cauchy's theorem. If $f$ is analytic on and inside a simple closed contour $C$, then $$\oint_C f(z)\,dz = 0.$$ "Inside" matters: one point inside $C$ where $f$ is not analytic (such as $0$ for $\frac{1}{z}$) can make the integral nonzero.

Why it works

Write $f = u + iv$ and $dz = dx + i\,dy$. Then $f\,dz = (u\,dx - v\,dy) + i(v\,dx + u\,dy)$. Apply Green's theorem, $\oint P\,dx + Q\,dy = \iint (Q_x - P_y)\,dA$, to each part (assuming continuous partials): $$\oint_C f\,dz = \iint_D (-v_x - u_y)\,dA + i\iint_D (u_x - v_y)\,dA.$$ Both integrands are $0$ by the Cauchy–Riemann equations $u_y = -v_x$ and $u_x = v_y$. (Goursat later showed the theorem holds without assuming continuous partials.)
$f(z) = \frac{1}{z - 2}$ is analytic everywhere except at $2$. Drag the circle around: the integral is $0$ while $2$ stays outside, and jumps to $2\pi i$ the moment $2$ is inside.

Worked examples

Worked example: An entire integrand

Compute $\displaystyle\oint_{|z - 1| = 3} e^{z^2}\cos z\,dz$.
  1. $e^{z^2}\cos z$ is entire: analytic on and inside every contour.
  2. By Cauchy's theorem, the integral is $0$. No parametrization needed (and none would be easy).

Answer: $0$

Worked example: A singular point outside

Compute $\displaystyle\oint_{|z| = 1} \frac{e^z}{z - 3}\,dz$.
  1. The only point where the integrand fails to be analytic is $z = 3$.
  2. $|3| = 3 > 1$, so it lies outside the circle; the integrand is analytic on and inside $C$.
  3. The integral is $0$.

Answer: $0$

Worked example: Counting the bad points

Which points where $f(z) = \dfrac{1}{(z^2 + 4)(z - 3)}$ is not analytic lie inside $|z - i| = 2$?
  1. $f$ fails at $2i$, $-2i$ and $3$.
  2. Distances from $i$: $|2i - i| = 1$, $|-2i - i| = 3$, $|3 - i| = \sqrt{10}$. Only $2i$ is within $2$.
  3. So Cauchy's theorem does not apply here; the integral is not automatically $0$ (later: it is $2\pi i$ times a residue at $2i$).

Answer: only $2i$

  • List the points where $f$ is not analytic (zeros of denominators, cuts of logarithms, anywhere $\overline{z}$ or $|z|$ appears).
  • Check which of them lie inside or on $C$.
  • If none does, the integral is $0$. If some do, the residue methods later in the course compute it.

Common mistake

Applying the theorem with a bad point inside. $\frac{1}{z}$ is analytic on the circle $|z| = 1$, yet $\oint_{|z| = 1}\frac{dz}{z} = 2\pi i$, because $0$ is inside. The hypothesis is "analytic on and inside $C$". Before writing $0$, list the points where $f$ is not analytic and check each one: inside or outside? Also check that $f$ is analytic at all; $\oint_{|z| = 2}\overline{z}\,dz = 8\pi i$, since $\overline{z}$ is not analytic anywhere.

Practice

Pass with 3 right answers, the last 2 in a row. Each right answer earns 2 XP.

Loading practice…

Builds on

Leads to

Sources and further reading

  • Beck, Marchesi, Pixton and Sabalka, A First Course in Complex Analysis, chapter 4 (Integration)
  • MIT OpenCourseWare 18.04, Complex Variables with Applications (Spring 2018), course notes: line integrals and Cauchy's theorem
@teddyrookbook GitHub