Skip to content

Cauchy's Integral Formula

In this lesson you’ll meet the formula that reconstructs an analytic function from its boundary values, use it to evaluate contour integrals immediately, and see the four major theorems that fall out of it.

Cauchy’s integral formula. If ff is analytic on and inside a positively oriented simple closed contour CC, and z0z_0 is inside CC, then

f(z0)=12πiCf(z)zz0dzf(z_0) = \frac{1}{2\pi i}\oint_C\frac{f(z)}{z-z_0}\,dz

Read that again in words: the values of ff on the contour determine its value at every interior point. Nothing in real analysis resembles this. A real function on [a,b][a,b] can be anything at all in the middle regardless of its endpoint values.

Taking CC to be a circle of radius rr centred at z0z_0 and parametrising, the 1zz0\frac{1}{z-z_0} and the dzdz combine to leave

f(z0)=12π02πf(z0+reit)dtf(z_0) = \frac{1}{2\pi}\int_0^{2\pi}f\big(z_0+re^{it}\big)\,dt

which is the mean value property: f(z0)f(z_0) is the plain average of ff over any circle around it. The figure checks this numerically for f(z)=z3+2z+4f(z)=z^3+2z+4 at z0=1+iz_0=1+i, where f(z0)=4+4if(z_0)=4+4i, and all three radii reproduce it to numerical precision.

Deform CC to a small circle CρC_\rho of radius ρ\rho about z0z_0; the deformation is legitimate because the integrand is analytic between the two contours. Then split:

Cρf(z)zz0dz=f(z0)Cρdzzz0+Cρf(z)f(z0)zz0dz\oint_{C_\rho}\frac{f(z)}{z-z_0}dz = f(z_0)\oint_{C_\rho}\frac{dz}{z-z_0} + \oint_{C_\rho}\frac{f(z)-f(z_0)}{z-z_0}dz

The first integral is 2πi2\pi i, the computation from lesson 8. For the second, continuity of ff makes f(z)f(z0)|f(z)-f(z_0)| small on a small circle, and the ML inequality bounds the whole integral by roughly 2πρερ=2πε2\pi\rho\cdot\frac{\varepsilon}{\rho} = 2\pi\varepsilon, which tends to 0. So the second term vanishes and the first gives the formula. ∎

The 2πi2\pi i came from dzz\oint\frac{dz}{z}, as promised.

Differentiating with respect to z0z_0 under the integral sign gives an infinite family of formulas:

f(n)(z0)=n!2πiCf(z)(zz0)n+1dzf^{(n)}(z_0) = \frac{n!}{2\pi i}\oint_C\frac{f(z)}{(z-z_0)^{n+1}}\,dz

This is where the section’s most surprising fact comes from. The right-hand side makes sense for every nn as soon as ff is analytic, so:

If ff is analytic on a domain, then ff has derivatives of all orders there, and each is analytic.

One derivative gives you all of them. Compare the real case, where x4/3x^{4/3} has one derivative and not two. This single consequence is why complex analysis is so much stronger than real analysis, and it all comes from being able to write derivatives as integrals.

Liouville’s theorem. A bounded entire function is constant.

Proof. Apply the n=1n=1 formula on a circle of radius RR about any z0z_0. If fM|f|\le M everywhere, the ML inequality gives

f(z0)12πMR22πR=MR|f'(z_0)| \le \frac{1}{2\pi}\cdot\frac{M}{R^2}\cdot 2\pi R = \frac{M}{R}

Let RR\to\infty: f(z0)=0f'(z_0) = 0 for every z0z_0, so ff is constant. ∎

Fundamental theorem of algebra. Every non-constant polynomial has a complex root.

Proof. If pp had no root, 1/p1/p would be entire. Since p(z)|p(z)|\to\infty as z|z|\to\infty, the function 1/p1/p is bounded, hence constant by Liouville, hence pp is constant. Contradiction. ∎

Three lines, for a theorem that resisted algebraic proof for centuries. Every proof of it uses some analysis or topology; this is the shortest.

Maximum modulus principle. If ff is analytic and non-constant on a domain, f|f| has no interior maximum. It follows from the mean value property: a value that was strictly largest could not equal the average of the surrounding values.

Morera’s theorem. The converse of Cauchy’s theorem. If ff is continuous on a domain and Cfdz=0\oint_C f\,dz=0 for every closed contour, then ff is analytic. So vanishing integrals are not just a consequence of analyticity, they characterize it.

In practice the formula is most often read from right to left, as a way to evaluate integrals:

Cf(z)zz0dz=2πif(z0),Cf(z)(zz0)n+1dz=2πin!f(n)(z0)\oint_C\frac{f(z)}{z-z_0}\,dz = 2\pi i\,f(z_0), \qquad \oint_C\frac{f(z)}{(z-z_0)^{n+1}}\,dz = \frac{2\pi i}{n!}f^{(n)}(z_0)

Given an integral, factor the denominator, check which zeros are inside CC, and identify what plays the role of ff. That recipe handles most contour integrals you will meet before residues arrive.

Example 1: Evaluate z=2ezzdz\displaystyle\oint_{|z|=2}\frac{e^z}{z}\,dz.

Solution. Write the integrand as f(z)z0\frac{f(z)}{z-0} with f(z)=ezf(z)=e^z, which is entire, and z0=0z_0=0 is inside the contour.

z=2ezzdz=2πif(0)=2πie0=2πi\oint_{|z|=2}\frac{e^z}{z}\,dz = 2\pi i\,f(0) = 2\pi i\,e^0 = 2\pi i

Example 2: Evaluate z=3z2z1dz\displaystyle\oint_{|z|=3}\frac{z^2}{z-1}\,dz.

Solution. Here f(z)=z2f(z)=z^2 and z0=1z_0=1, which is inside z=3|z|=3.

2πif(1)=2πi1=2πi2\pi i\,f(1) = 2\pi i\cdot 1 = 2\pi i

Around z=12|z|=\frac12 instead, the point 1 would be outside and the answer would be 0 by Cauchy’s theorem. Always check whether the singularity is enclosed.

Example 3: Evaluate z=1coszz3dz\displaystyle\oint_{|z|=1}\frac{\cos z}{z^3}\,dz.

Solution. Match f(z)(zz0)n+1\frac{f(z)}{(z-z_0)^{n+1}} with n+1=3n+1=3, so n=2n=2, z0=0z_0=0, f(z)=coszf(z)=\cos z.

coszz3dz=2πi2!f(0)\oint\frac{\cos z}{z^3}dz = \frac{2\pi i}{2!}f''(0)

Since f(z)=coszf''(z) = -\cos z, we get f(0)=1f''(0)=-1, so the integral is

2πi2(1)=πi\frac{2\pi i}{2}(-1) = -\pi i

Example 4: Evaluate z=3dz(z1)(z2)\displaystyle\oint_{|z|=3}\frac{dz}{(z-1)(z-2)}.

Solution. Both poles are inside. Split by partial fractions:

1(z1)(z2)=1z1+1z2\frac{1}{(z-1)(z-2)} = \frac{-1}{z-1}+\frac{1}{z-2}

Each piece is handled by the formula with f1f\equiv1:

2πi+2πi=0-2\pi i + 2\pi i = 0

Example 5: Evaluate z1=12dz(z1)(z2)\displaystyle\oint_{|z-1|=\frac12}\frac{dz}{(z-1)(z-2)}.

Solution. This contour is a small circle about 1, so only the pole at 1 is enclosed. Write the integrand as f(z)z1\frac{f(z)}{z-1} with

f(z)=1z2f(z) = \frac{1}{z-2}

which is analytic on and inside this contour, since 2 is outside. Then

2πif(1)=2πi112=2πi2\pi i\,f(1) = 2\pi i\cdot\frac{1}{1-2} = -2\pi i

Absorbing the other factor into ff is the standard trick, and it works exactly when the other singularity is outside the contour.

Example 6: Apply the mean value property.

ff is entire and f(z)=3+4if(z) = 3+4i at every point of the circle z2=1|z-2|=1. What is f(2)f(2)?

Solution. By the mean value property, f(2)f(2) is the average of ff over that circle, and the average of a constant is that constant:

f(2)=3+4if(2) = 3+4i

In fact the identity theorem then forces f3+4if \equiv 3+4i everywhere. Constant on a circle means constant, period.

Example 7: Use Liouville’s theorem.

Show that if ff is entire and f(z)5z|f(z)|\le 5|z| for all zz, then f(z)=czf(z)=cz for some constant cc with c5|c| \le 5.

Solution. The bound gives f(0)=0f(0)=0, so g(z)=f(z)/zg(z) = f(z)/z has a removable singularity at 0 and extends to an entire function. On C\mathbb{C},

g(z)=f(z)z5|g(z)| = \frac{|f(z)|}{|z|}\le 5

so gg is bounded and entire, hence constant by Liouville. Writing gcg\equiv c gives f(z)=czf(z)=cz, and c5|c|\le5. ∎

Growth bounds pin down entire functions completely, and this style of argument generalizes: f(z)Mzn|f(z)| \le M|z|^n forces ff to be a polynomial of degree at most nn.

Numerical differentiation. Computing f(n)f^{(n)} by the integral formula, with the circle discretized by the trapezoid rule, is far more accurate than finite differences and does not suffer catastrophic cancellation. It is the standard method for high-order derivatives of analytic functions.

Matrix functions. Defining eAe^A, logA\log A, or A\sqrt{A} for a matrix AA is done by the Cauchy integral formula with AA in place of z0z_0, integrating around a contour enclosing the spectrum. This is how modern libraries compute matrix exponentials for stiff differential equations.

Boundary element methods. Solving a PDE from boundary data alone is possible because the solution inside is determined by the boundary, which for Laplace’s equation is exactly this formula. It reduces a 2D problem to a 1D one.

Eigenvalue counting. Contour-integral eigensolvers count and locate eigenvalues in a region by integrating a resolvent around its boundary. Large-scale electronic structure calculations use this.

Filter reconstruction. Recovering a system’s response inside a region of the complex plane from measurements on a contour is the same reconstruction problem, used in system identification.

Tomography, by analogy. The idea that interior values are determined by boundary measurements is the organizing principle of imaging, and complex analysis provides the cleanest exact instance of it.

What does Cauchy's integral formula say?
What is ∮_{|z|=2} e^z/z dz?
What is the mean value property?
Why does analyticity imply infinite differentiability?
What is ∮_{|z|=1} cos z / z³ dz?
How does Liouville's theorem follow from the integral formula?
How is the fundamental theorem of algebra proved here?
What does Morera's theorem state?