Cauchy's theorem
Cauchy's theorem
If \(f\) is analytic on a simply connected region \(U\) (one with no holes), then
\[ \oint_\gamma f(z)\,dz = 0 \]for every closed path \(\gamma\) in \(U\).
Equivalently, integrals of \(f\) between two points don't depend on the route, and \(f\) has an antiderivative on \(U\): fix a base point \(p\) and let \(F(z) = \int_p^z f\) along any path.
The hypothesis "no holes" matters. \(\frac1z\) is analytic on \(\mathbb C \setminus \{0\}\), but that region has a hole at 0, and \(\oint\frac{dz}{z} = 2\pi i\) around it. The theorem is about the function and the shape of the region together.
Why it's true
The quickest explanation uses Green's theorem from vector calculus, if we assume \(f'\) is continuous. Write \(f = u + iv\) and \(dz = dx + i\,dy\). For a loop \(\gamma\) bounding a region \(D\),
\[ \oint_\gamma f\,dz = \oint_\gamma (u\,dx - v\,dy) + i\oint_\gamma (v\,dx + u\,dy) = \iint_D (-v_x - u_y)\,dA + i\iint_D (u_x - v_y)\,dA. \]Both integrands are exactly zero by the Cauchy–Riemann equations. The theorem is Cauchy–Riemann, integrated.
Goursat's proof, with no extra assumptions
In 1900 Goursat proved the theorem assuming only that \(f'\) exists, using a beautiful subdivision argument. Start with a triangle \(T\) and suppose \(\left|\oint_T f\right| = c\).
Join the midpoints to cut \(T\) into four triangles. The integrals over the four add up to the integral over \(T\), because the inner edges are traversed twice in opposite directions and cancel. So one of the four, \(T_1\), has \(\left|\oint_{T_1} f\right| \ge \frac c4\). Repeat: \(T_n\) has perimeter \(2^{-n}\) times the original, and \(\left|\oint_{T_n} f\right| \ge \frac{c}{4^n}\).
The nested triangles shrink to a point \(a\) (completeness again). Near \(a\), \(f(z) = f(a) + f'(a)(z - a) + \varepsilon(z)(z - a)\) with \(\varepsilon \to 0\). The first two terms have antiderivatives, so they integrate to 0 around \(T_n\). The last is at most \(\max|\varepsilon| \cdot \text{perimeter}^2 \sim \max|\varepsilon|\cdot 4^{-n}\). So \(\frac{c}{4^n} \le \text{small}\cdot 4^{-n}\), forcing \(c = 0\). ∎ From triangles, the theorem extends to any loop in a simply connected region.
Deforming paths
A consequence that you'll use constantly: you can move a path freely, as long as it doesn't cross a point where \(f\) fails to be analytic. The integral doesn't change.
So for any loop \(\gamma\) winding once around 0, \(\oint_\gamma\frac{dz}z = 2\pi i\): just shrink \(\gamma\) to a circle. All the interesting behaviour of an integral is concentrated at the points where the function breaks down.
Cauchy's integral formula
Apply the deformation idea to \(\frac{f(z)}{z - a}\), which is analytic except at \(a\). Shrink the loop to a tiny circle around \(a\). On a tiny circle, \(f(z) \approx f(a)\), so the integral is about \(f(a)\oint\frac{dz}{z - a} = 2\pi i\,f(a)\). And since the integral doesn't depend on the size of the circle, "about" must be "exactly":
Cauchy's integral formula
If \(f\) is analytic on and inside a simple closed loop \(\gamma\), traversed anticlockwise, and \(a\) is inside \(\gamma\), then
\[ f(a) = \frac{1}{2\pi i}\oint_\gamma \frac{f(z)}{z - a}\,dz. \]Proof
By deformation, the integral equals the integral over the circle \(|z - a| = r\), for any small \(r\). Write it as
\[ f(a)\oint\frac{dz}{z - a} + \oint\frac{f(z) - f(a)}{z - a}\,dz = 2\pi i f(a) + \oint\frac{f(z) - f(a)}{z - a}\,dz. \]By continuity, \(|f(z) - f(a)| \le \varepsilon(r) \to 0\) on the circle, so by the ML estimate the last integral is at most \(\frac{\varepsilon(r)}{r}\cdot 2\pi r = 2\pi\varepsilon(r) \to 0\). But it doesn't depend on \(r\), so it is 0. ∎
This is extraordinary. The values of \(f\) on the loop determine its value at every point inside. Nothing like it holds for real functions: knowing a smooth function on the boundary of a region tells you nothing about its values in the middle.
Examples
\(\displaystyle\oint_{|z| = 2}\frac{e^z}{z - 1}\,dz = 2\pi i\,e^1 = 2\pi ie\), with \(f = e^z\), \(a = 1\).
\(\displaystyle\oint_{|z| = 2}\frac{dz}{z^2 + 1}\): write \(\frac1{z^2 + 1} = \frac{1}{2i}\left(\frac1{z - i} - \frac1{z + i}\right)\). Each piece gives \(2\pi i\), so the total is \(\frac1{2i}(2\pi i - 2\pi i) = 0\).
The mean value property
Take \(\gamma\) to be the circle \(z = a + re^{it}\). Then \(dz = ire^{it}dt\) and \(z - a = re^{it}\), and the formula becomes
\[ f(a) = \frac{1}{2\pi}\int_0^{2\pi} f(a + re^{it})\,dt. \]The value at the centre of any circle is the average of the values on the circle. Taking real parts, the same holds for harmonic functions: the temperature at the centre of a disc in a steady state is the average temperature around its edge.
Maximum modulus principle
A non-constant analytic function on a region cannot attain its maximum modulus \(|f|\) at an interior point.
If \(|f(a)|\) were a maximum, it would be an average of values no bigger than itself, so all of those values would have to equal it; spreading out, \(f\) would be constant. So \(|f|\) on a closed disc is always largest on the boundary circle.
Infinitely many derivatives
Differentiate Cauchy's formula with respect to \(a\), under the integral sign. Only \(\frac{1}{z - a}\) depends on \(a\):
Theorem
If \(f\) is analytic on an open set, then \(f'\) is analytic there too. So \(f\) has derivatives of every order, all of them analytic.
Compare with real analysis, where \(x|x|\) has one derivative but not two. In the complex world, one derivative buys all of them. The reason is that complex differentiability is a condition on a whole neighbourhood at once (rotate-and-scale everywhere), and Cauchy's formula turns it into an integral, and integrals are smooth.
Example
\(\displaystyle\oint_{|z| = 1}\frac{\cos z}{z^3}\,dz = \frac{2\pi i}{2!}\cos''(0) = \pi i\cdot(-1) = -\pi i\).
A converse
Morera's theorem
If \(f\) is continuous on a region and \(\oint_T f = 0\) for every triangle \(T\) in it, then \(f\) is analytic.
The zero integrals give an antiderivative \(F\) on each disc, and \(F\) is analytic with \(F' = f\); by the theorem above, \(F'\) is analytic. Morera's theorem is the easiest way to show that limits behave well: a uniform limit of analytic functions is analytic, because integrals pass to uniform limits (real analysis, Unit 11). Contrast this with the Weierstrass function, a uniform limit of smooth real functions that is differentiable nowhere.
History
Cauchy announced the theorem in 1825 and the integral formula in 1831, assuming continuous derivatives. Riemann used Green's theorem in 1851. Goursat removed the extra assumption in 1900, and Morera proved his converse in 1886.
Practice set
Mixed questions covering the whole unit. Try each one before opening the answer.
1. Compute \(\displaystyle\oint_{|z| = 1}\frac{e^{z^2}}{z^2 + 4}\,dz\).
Show answer
The zeros of \(z^2 + 4\) are \(\pm2i\), outside the unit circle. The integrand is analytic on and inside it, so by Cauchy's theorem the integral is 0.
2. Compute \(\displaystyle\oint_{|z| = 3}\frac{\sin z}{z - \pi}\,dz\).
Show answer
\(\pi\) is inside \(|z| = 3\). Cauchy's formula gives \(2\pi i\sin\pi = 0\).
3. Compute \(\displaystyle\oint_{|z| = 1}\frac{e^{2z}}{z^4}\,dz\).
Show answer
Use the derivative formula with \(n = 3\): \(\frac{2\pi i}{3!}\cdot\frac{d^3}{dz^3}e^{2z}\big|_0 = \frac{2\pi i}{6}\cdot8 = \frac{8\pi i}3\).
4. Why can't Cauchy's theorem be applied to \(\oint_{|z| = 1}\bar z\,dz\)?
Show answer
\(\bar z\) isn't analytic anywhere. Indeed the integral is \(2\pi i\), not 0 (Unit 7).
5. Find the maximum of \(|z^2 + 1|\) on the closed unit disc.
Show answer
By the maximum modulus principle, it's attained on \(|z| = 1\). There \(|z^2 + 1| \le |z|^2 + 1 = 2\), with equality at \(z = \pm1\). The maximum is 2.
6. Let \(f\) be analytic on and inside \(|z| = R\) with \(|f| \le M\) on the circle. Show \(|f'(0)| \le \frac MR\).
Show answer
\(f'(0) = \frac1{2\pi i}\oint\frac{f(z)}{z^2}dz\). By ML, \(|f'(0)| \le \frac1{2\pi}\cdot\frac{M}{R^2}\cdot2\pi R = \frac MR\). This is Cauchy's estimate, used in Unit 9 to prove Liouville's theorem.
Summary and glossary
- Cauchy's theorem: loop integrals of analytic functions vanish on regions without holes. It is the Cauchy–Riemann equations integrated.
- Paths can be deformed freely across regions where \(f\) is analytic, without changing the integral.
- Cauchy's integral formula: \(f(a) = \frac1{2\pi i}\oint\frac{f(z)}{z - a}dz\). Boundary values determine everything inside.
- Mean value property and maximum modulus: \(|f|\) peaks on the boundary.
- Analytic functions have derivatives of every order, given by \(\frac{n!}{2\pi i}\oint\frac{f(z)}{(z - a)^{n+1}}dz\).
- Simply connected
- A region without holes, where every loop can be shrunk to a point.
- Deformation principle
- Moving a path without crossing singularities doesn't change the integral.
- Cauchy's integral formula
- \(f(a)\) as a loop integral of \(\frac{f(z)}{z - a}\).
- Maximum modulus principle
- Non-constant analytic functions have no interior maximum of \(|f|\).
- Morera's theorem
- Zero triangle integrals imply analyticity.