Cauchy's integral formula
Statement
Let \( \Omega \subseteq \mathbb{C} \) be open, let \( f : \Omega \to \mathbb{C} \) be holomorphic on \( \Omega \), and let \( \overline{D}(a,r) = \{ z \in \mathbb{C} : |z-a| \le r \} \) be a closed disc with \( \overline{D}(a,r) \subseteq \Omega \). Let \( \gamma \) be the boundary circle \( |z-a|=r \), traversed once counterclockwise. Then for every point \( w \) in the open disc \( D(a,r) \), \[ f(w) = \frac{1}{2\pi i} \oint_\gamma \frac{f(z)}{z-w}\,dz. \] More generally the same identity holds with \( \gamma \) replaced by the positively oriented boundary of any region whose closure lies in \( \Omega \) and for which \( w \) lies inside, provided \( f \) is holomorphic on \( \Omega \) and the boundary is a finite union of piecewise-\( C^1 \) closed curves null-homotopic in \( \Omega \).
Why it matters
This is the single most consequential formula in complex analysis: it converts a statement about the interior of a region into a statement about its boundary. Once you know \( f \) on a circle, you know \( f \) everywhere inside — a rigidity phenomenon with no counterpart for general differentiable functions of a real variable. Every subsequent pillar of the theory (power series expansions, Liouville's theorem, the maximum modulus principle, the residue calculus) is extracted from this one identity by differentiating or estimating under the integral sign.
It also explains, at a stroke, why holomorphic functions are infinitely differentiable and real-analytic: differentiating the formula under the integral sign produces convergent power series and derivative formulas for free, something that requires no extra hypothesis beyond the single complex derivative existing.
Hypotheses
Proof
Result
Reading. The value of a holomorphic function at any interior point is a weighted average of its values on a surrounding contour, with weight \( \frac{1}{2\pi i(z-w)} \). Knowing \( f \) only on the boundary pins down \( f \) everywhere inside — there is no freedom left.
Scope. Applies to any \( f \) holomorphic on an open set containing a closed region bounded by a positively oriented, piecewise-\( C^1 \), simple (or null-homotopic) closed contour, for any point strictly inside that contour. It does not apply to points on or outside the contour, and requires genuine complex differentiability, not just smoothness in the real sense.
Corollaries & converses
- Differentiating under the integral sign (justified by uniform convergence of difference quotients on compact subsets of \( D(a,r) \)) gives the generalized Cauchy integral formula \( f^{(n)}(w) = \dfrac{n!}{2\pi i}\oint_\gamma \dfrac{f(z)}{(z-w)^{n+1}}\,dz \); hence holomorphic functions are automatically infinitely differentiable, with all derivatives themselves holomorphic.
- Cauchy's inequalities and Liouville's theorem (bounded entire functions are constant) follow immediately by estimating the derivative formula on circles of growing radius.
- The Mean Value Property for holomorphic functions is the special case \( w=a \): \( f(a) = \frac{1}{2\pi}\int_0^{2\pi} f(a+re^{i\theta})\,d\theta \), the average of \( f \) over the circle.
- Existence of local power series (Taylor series) expansions of holomorphic functions, convergent on any disc contained in the domain, follows by expanding \( \frac{1}{z-w} \) as a geometric series in \( \frac{w-a}{z-a} \) inside the integral.
- Converse: there is no useful converse in the sense of "if the averaging formula holds for one contour then \( f \) is holomorphic" being a separate free-standing theorem — rather, Morera's theorem gives a genuine converse to Cauchy's theorem (vanishing of all contour integrals of a continuous function implies holomorphy), and combined with Cauchy's formula this characterizes holomorphic functions completely. The identity itself is an equivalence only in the sense that a continuous function satisfying the mean-value/circle-average property for all discs in its domain can be shown to be holomorphic (this is a genuine and non-trivial converse, sometimes attributed to Morera's approach).
Fails without
- Drop holomorphy (keep only real-differentiability): for \( f(z) = \bar z \) on \( \Omega = \mathbb{C} \), \( \gamma = \{|z|=1\} \), \( w=0 \): direct computation gives \( \frac{1}{2\pi i}\oint_{|z|=1} \bar z \, dz = \frac{1}{2\pi i}\int_0^{2\pi} e^{-it} \cdot ie^{it}\,dt = \frac{1}{2\pi i}\int_0^{2\pi} i\,dt = 1 \ne 0 = f(0)\); the formula gives the wrong value entirely because \( \bar z \) is nowhere holomorphic.
- Drop "\( w \) inside \( \gamma \)" (take \( w \) outside instead): for \( f(z)=z \), \( \gamma=\{|z|=1\} \), \( w=2 \): \( \frac{1}{2\pi i}\oint_{|z|=1} \frac{z}{z-2}\,dz = 0 \) by Cauchy's theorem (integrand holomorphic inside \( |z|\le 1 \)), while \( f(2) = 2 \ne 0 \); the formula's right-hand side silently switches to computing \( 0 \) rather than \( f(w) \) once \( w \) leaves the disc.
- Drop "\( \Omega \) contains the closed disc" (allow a puncture on the boundary): for \( f(z) = \dfrac{1}{z-1} \), \( \Omega = \mathbb{C}\setminus\{1\} \), \( \gamma = \{|z|=1\} \), \( w=0 \) inside: \( f \) is not holomorphic on any open set containing the whole closed disc \( \overline{D}(0,1) \) since it blows up exactly on the boundary at \( z=1 \); the contour integral \( \oint_{|z|=1} \frac{dz}{(z-1)(z-w)} \) is not even a well-posed Riemann/complex line integral along that exact contour, since the integrand is unbounded at the point \( z=1\) on the path itself.
Common errors
- Applying the formula with \( w \) outside the contour and expecting to recover \( f(w) \), rather than realizing the integral is simply \( 0 \) there (by Cauchy's theorem, since the integrand is then holomorphic throughout the enclosed region).
- Forgetting the \( \frac{1}{2\pi i} \) prefactor, or dropping the orientation sign when the contour is traversed clockwise (giving \( -f(w) \) instead of \( f(w) \)).
- Confusing this formula with Cauchy's theorem (\( \oint_\gamma f(z)\,dz = 0\) for \( f \) holomorphic with no pole inside) — the integral formula has an extra factor \( \frac{1}{z-w} \) creating a genuine pole at \( w \), which is precisely the point of the theorem, not an oversight to be "cancelled".
- Using the formula for a contour that winds around \( w \) more than once (or not at all) without inserting the winding number \( n(\gamma,w) \), producing an answer off by an integer factor.
- Trying to apply the formula to functions that are only piecewise holomorphic or holomorphic except at isolated singularities inside the contour, without switching to the residue theorem (the correct generalization once poles are allowed inside \( \gamma \)).
Discussion
Cauchy's integral formula, proved by Augustin-Louis Cauchy in the 1820s as part of his foundational work on complex analysis, is often described as the point where complex analysis definitively parts ways with real analysis. In the real case, knowing a smooth function on the boundary of an interval says essentially nothing about its values or derivatives in the interior — one can prescribe boundary values almost arbitrarily and interpolate. In the complex case, a single complex derivative existing everywhere on an open set is such a strong constraint that the entire function is baked into its boundary values, a phenomenon with no real-variable analogue.
The formula is best understood as an averaging or reproducing-kernel identity: the Cauchy kernel \( \frac{1}{2\pi i(z-w)} \) reproduces holomorphic functions from their boundary data, in exactly the sense that the Poisson kernel reproduces harmonic functions from boundary data (indeed, taking real parts of the Cauchy kernel on a circle recovers the Poisson kernel, linking this theorem directly to the Dirichlet problem and potential theory).
Historically and pedagogically, the formula is the engine that converts Cauchy's theorem (a statement that certain integrals vanish) into a source of new information (a formula for function values). This is a recurring pattern in the subject: vanishing-integral theorems become computational tools once a controlled singularity, here \( \frac{1}{z-w} \), is deliberately introduced into the integrand.
A subtler point, easy to miss on first exposure: the proof above depends critically on Goursat's theorem holding under the weak hypothesis of mere complex differentiability, without assuming a priori that \( f' \) is continuous. Historically, Cauchy's own proof assumed continuity of \( f' \) (via Green's theorem), and it was Goursat who later showed this extra hypothesis is unnecessary. This matters because the corollary that holomorphic functions are automatically \( C^\infty \) would otherwise be circular — one cannot assume continuity of \( f' \) to prove that \( f' \) is continuous.
Common misconception: students sometimes think the formula "assumes \( f \) is analytic (given by a convergent power series)" and is therefore somewhat trivial. In fact the logical order is the reverse — holomorphy (mere existence of a complex derivative) is the hypothesis, and the existence of a local power series expansion is a corollary extracted from this formula, not an input to it.
Worked examples
Problems
- Evaluate \( \displaystyle\oint_{|z|=1} \frac{\sin z}{z}\,dz \).
Solution
\( f(z)=\sin z\) is entire, \( w=0\) is inside \( |z|=1 \). By Cauchy's integral formula, the integral equals \( 2\pi i\, f(0) = 2\pi i \sin 0 = 0 \). - Evaluate \( \displaystyle\oint_{|z-i|=1} \frac{z^2+1}{z-i}\,dz \).
Solution
\( f(z)=z^2+1\) is entire, \( w=i\) is inside \( |z-i|=1\) (it is the center). By the formula the integral equals \( 2\pi i\, f(i) = 2\pi i\,(i^2+1) = 2\pi i\,(0) = 0 \). - Evaluate \( \displaystyle\oint_{|z|=3} \frac{e^{2z}}{(z-1)}\,dz \) and explain why \( |z|=3 \) versus \( |z|=1/2 \) would give different answers.
Solution
For \( |z|=3\): \( w=1\) is inside, \( f(z)=e^{2z}\) entire, so the integral is \( 2\pi i\, e^{2} \). For a contour \( |z|=1/2\): \( w=1\) lies outside, so \( z\mapsto e^{2z}/(z-1)\) is holomorphic throughout the enclosed disc and Cauchy's theorem gives integral \( 0\). The two answers differ because Cauchy's integral formula's right-hand side reproduces \( f(w)\) only when \( w\) is interior to the contour; outside, it collapses to \( 0\) by the plain (non-formula) Cauchy theorem. - Let \( f \) be holomorphic on all of \( \mathbb{C} \) (entire) and suppose \( |f(z)| \le M \) for all \( z \). Use Cauchy's integral formula (differentiated once) to show \( f'(0) \) satisfies \( |f'(0)| \le M/r \) for every \( r\gt0 \), and deduce \( f \) is constant.
Solution
Differentiating Cauchy's formula once gives \( f'(0) = \dfrac{1}{2\pi i}\oint_{|z|=r} \dfrac{f(z)}{z^2}\,dz \). Bounding the integral by (length of contour) \( \times \) (max modulus of integrand): \( |f'(0)| \le \dfrac{1}{2\pi}\cdot 2\pi r \cdot \dfrac{M}{r^2} = \dfrac{M}{r} \). Since \( r \) can be taken arbitrarily large while \( M\) stays fixed (as \(f\) is entire and bounded on the whole plane), letting \( r \to \infty \) forces \( f'(0)=0\). The same argument centered at any point \( a\) gives \( f'(a)=0\) for all \( a\), so \( f\) is constant. (This is Liouville's theorem, derived directly from the differentiated Cauchy formula — the estimate used is Cauchy's inequality.) - Explain, using the formula's proof, exactly which step would fail if \( \gamma \) were the boundary of a square instead of a circle, and why the theorem nonetheless still holds for a square contour.
Solution
The proof step that used circularity explicitly was Step 5, the direct computation \( \oint_\gamma \frac{dz}{z-w} = 2\pi i\) via the parametrization \( \gamma(t)=a+re^{it}\). For a square this exact parametrization and antiderivative bookkeeping changes, but the identity \( \oint_\gamma \frac{dz}{z-w} = 2\pi i \, n(\gamma,w)\) still holds because it depends only on \( \gamma \) being a simple closed piecewise-\(C^1\) curve winding once around \( w\), not on it being a circle — this is the content of Step 8 (the winding-number/homotopy-invariant generalization). All other steps (1–4, 6–7) use only that \( g \) is holomorphic away from \( w \) and continuous at \( w\), plus Cauchy's theorem for null-homotopic curves in \( \Omega\), neither of which references the shape of \( \gamma \) at all. Hence the formula holds verbatim for a square (or any simple closed contour) enclosing \( w \).