Cauchy's Theorem
Suppose a function is complex-differentiable at every point of a region. Does that alone force integrals of the function around closed loops to vanish? This holds no matter how wildly the loop bends and winds. This question sits at the heart of complex analysis. The surprising answer — yes, provided the domain has no holes — is Cauchy's theorem. It is surprising because the analogous statement in real analysis is false. A real differentiable function need not have any special integral-vanishing property over closed curves. Even in the plane, smooth vector fields routinely have nonzero circulation. Holomorphy is a far stronger constraint than real differentiability. Cauchy's theorem is the first place this strength becomes visible. It appears as a global, geometric fact rather than a local, algebraic one. The result matters because it is the hinge on which the rest of classical complex analysis turns. From it flows Cauchy's integral formula. This formula recovers the values of a holomorphic function inside a curve from its values on the curve. From that flows the fact that holomorphic functions are automatically analytic. They are infinitely differentiable and rigid in ways real functions never are. Path independence of contour integrals, the existence of primitives, and the residue calculus all trace back to this. Liouville's theorem and the maximum modulus principle also trace back to this single vanishing statement. The big picture is topological as well as analytic. Cauchy's theorem is really a statement about an interaction. It concerns the local condition of holomorphy — captured by the Cauchy-Riemann equations — and the global shape of the domain, captured by simple connectedness. A holomorphic function on an annulus can have nonzero integral around a loop encircling the hole. The same function, restricted to a simply connected piece of that annulus, cannot. This dichotomy is what makes complex analysis feel like geometry and analysis in the same breath. It is the reason winding numbers, homotopy, and residues all enter the subject through the same door. This article gives the precise definition of the objects involved. It states and completely proves Cauchy's theorem for continuously differentiable holomorphic functions via Green's theorem. It builds the geometric intuition with figures, works two nontrivial examples, and shows exactly what breaks when simple connectedness or holomorphy fails. It closes by connecting the theorem to Cauchy's Integral Formula and to Antiderivatives and Path Independence.
- Cauchy's theorem says: if is holomorphic on a simply connected domain , then for every closed contour in .
- The proof (in the smooth case) reduces the complex line integral to two real line integrals and applies Green's theorem, using the Cauchy–Riemann equations to kill both resulting double integrals.
- Simple connectedness is essential: on domains with holes, holomorphic functions like can have nonzero integral around a loop encircling the hole.
- The theorem is purely topological in its hypothesis on the domain but purely analytic in its hypothesis on the function — both are needed.
- It immediately yields path-independence of contour integrals and the existence of holomorphic antiderivatives on simply connected domains.
- It is the direct ancestor of Cauchy's integral formula, the residue theorem, and the entire machinery of contour integration.
- Key idea: holomorphy plus no holes forces every closed-loop integral to vanish, because Cauchy–Riemann makes the relevant circulation and flux integrands identically zero.
Where this lives today
Cauchy's theorem is the foundation of the residue theorem, which turns contour integration into a bookkeeping device for evaluating real definite integrals (improper integrals, Fourier transforms, inverse Laplace transforms) by summing residues at enclosed poles — a technique used constantly in engineering signal processing and control theory. In physics, contour integration via Cauchy's theorem underlies dispersion relations in quantum field theory (Kramers–Kronig relations), the evaluation of Green's functions and propagators, and stability analysis of dynamical systems through the Nyquist criterion, which literally counts encirclements of a point by a contour image — a direct descendant of the winding-number ideas that Cauchy's theorem makes rigorous. In pure mathematics, it underlies the proof that holomorphic functions are analytic (via Cauchy's Integral Formula, obtained by applying the theorem to a specially chosen auxiliary contour), the theory of conformal mapping in geometry, and analytic number theory, where contour shifting arguments used to prove the prime number theorem rely on Cauchy's theorem to justify moving integration paths across the complex plane without changing certain integral's values, as long as no singularities (poles of the Riemann zeta function, for instance) are crossed. It also underlies Antiderivatives and Path Independence: on a simply connected domain, Cauchy's theorem is exactly what guarantees that is well-defined independent of path, allowing construction of a holomorphic antiderivative with .
Ask the tutor: How does Goursat's triangle-bisection argument prove the theorem without assuming is continuous?
Let be an open set.
Domain. is called a domain if it is open and connected.
Simply connected. is simply connected if it is connected and every closed curve in can be continuously shrunk to a point within ; equivalently (and this is the form used constructively below), has no "holes" — every closed curve in bounds a region entirely contained in . Formally, is simply connected if it is path-connected and every loop with is null-homotopic in : there is a continuous with , constant, and for all .
Holomorphic function. is holomorphic if it is complex-differentiable at every point of , i.e. for each ,
exists. Writing with , holomorphy at a point implies (and, together with continuity of the partials, is equivalent to) the Cauchy–Riemann equations
holding at that point.
Contour and contour integral. A contour is a piecewise continuously differentiable path. It is closed if . The contour integral of along is
Cauchy's theorem (statement to be proved). If is simply connected and is holomorphic on , then for every closed contour in ,
Intuition
Think of as encoding two real planar vector fields at once. Writing and ,
The real part is the line integral of the vector field , and the imaginary part is the line integral of . Green's theorem converts each of these closed-loop line integrals into a double integral, over the region enclosed, of a specific combination of partial derivatives. For the real part that combination is ; for the imaginary part it is . The Cauchy–Riemann equations say precisely that both of these combinations vanish identically. So both double integrals are integrals of the zero function, hence zero, and the whole contour integral is zero. This is the entire content of the theorem in the smooth case: holomorphy is exactly the condition that makes these two circulation integrands cancel. The role of simple connectedness is to guarantee that Green's theorem applies — that the closed curve actually bounds a region lying inside , where is holomorphic and the partials behave. If has a hole and the curve loops around it, the "enclosed region" is not entirely in ; may fail to be holomorphic (or even defined) at the missing point, and the cancellation argument breaks down. This is exactly the case of around a hole at the origin, worked out below.
Let be a simply connected domain, and let be holomorphic on with continuous partial derivatives (i.e. as a function of , which holds in particular whenever is continuous on ). Then for every piecewise closed contour lying in ,
Let be a region whose boundary is a piecewise simple closed curve, positively (counterclockwise) oriented, and let be on an open set containing . Then
This is a standard result of real multivariable calculus and is taken as known here (it is proved independently of complex analysis, so its use is not circular).
We give the classical proof, due to Cauchy (with the regularity hypothesis later removed by Goursat; we address that removal explicitly in the Scope section). The technique is: reduce the complex integral to real line integrals, apply Green's theorem, and use the Cauchy–Riemann equations to annihilate the resulting double integrals.
Step 1: Reduce to a Jordan curve bounding a region in . Since is a closed contour in the simply connected domain , and is open and connected, can be decomposed (by standard results on closed curves, which we take as given at this level) into a finite union of simple closed sub-loops, each of which bounds a region contained in ; this is precisely what simple connectedness guarantees — no sub-loop can encircle a point outside , because such a point would obstruct contracting the loop within . It therefore suffices to prove the theorem when is itself a simple closed piecewise curve bounding a region with , since is then the sum of such vanishing pieces. (If is not simple, one applies this to each simple sub-loop and sums; each sub-loop integral vanishes by the argument below, and the algebraic sum reconstructs because shared edges are traversed in opposite directions and cancel.) Assume WLOG is positively oriented; if not, reverse orientation, which only flips the sign of the integral.
Step 2: Decompose the complex integral into real and imaginary parts. Write where are the real and imaginary parts, and write , so . Parametrize , . Then
Expanding the product and collecting real and imaginary parts,
By definition of real line integrals along , this is
This identity is purely algebraic (expanding a product of complex numbers) and holds for any piecewise closed curve and any with continuous; no holomorphy has been used yet.
Step 3: Apply Green's theorem to each real integral. Since is holomorphic on and, by hypothesis, has continuous partial derivatives, and are on , hence on an open neighborhood of (as and is open). The curve is a piecewise positively oriented simple closed curve. Thus Green's Theorem, as used here applies to both integrals in . For the first integral, take , :
For the second integral, take , :
Step 4: Apply the Cauchy–Riemann equations. Because is holomorphic at every point of , and in particular at every point of , the Cauchy–Riemann equations hold throughout :
(This is the standard fact that complex differentiability at a point forces these two real partial-differential relations at that point; it follows by computing the complex derivative along the real and imaginary axis directions and equating the two resulting expressions, a fact assumed known as a prerequisite property of holomorphic functions.) Substitute into the two double integrals from Step 3:
So the integrands are identically zero on , hence
Step 5: Conclude. Combining Steps 3 and 4 with :
This proves the theorem for a simple closed curve bounding a region inside , and by Step 1's decomposition, for every closed contour in the simply connected domain .
∎If is simply connected, holomorphic on , and are closed contours in that are homotopic within (in particular, if is simply connected, any two closed contours are homotopic to a point), then
This follows because the region "swept out" between and lies in , and Cauchy's theorem applied to the closed loop followed by the reverse of gives their integrals are equal.
Worked examples
Example 1: A polynomial times an exponential, over a non-circular contour. Let , which is entire (holomorphic on all of , since it is built from polynomials and by products, both of which preserve holomorphy). Let be the boundary of the triangle with vertices , , and , positively oriented — an asymmetric, non-circular closed contour. Since is simply connected (any loop in the plane can be contracted to a point through the plane itself) and is holomorphic on all of for , Cauchy's Theorem (Cauchy–Goursat, smooth case) applies directly with . Hence
regardless of the specific triangle chosen, its side lengths, or its orientation details beyond sign. No computation of the antiderivative or parametrization of the three edges is needed — the vanishing is immediate from holomorphy on a simply connected domain containing and its interior. To see the mechanism explicitly (as a check), note and vanish pointwise by Cauchy–Riemann as proved in Step 4 above; this is what makes the triangle's specific shape irrelevant. Contrast this with a real vector field like , whose circulation around any triangle containing the origin is twice its area — never zero. The vanishing here is special to holomorphic integrands, not a generic feature of smooth planar integrands.
Example 2: Where the theorem does not directly apply, and how to fix the domain. Let and let be the rectangle with vertices , , , (positively oriented), a rectangle centered at the origin. The function is holomorphic wherever , i.e. on . The point lies outside the rectangle (since the rectangle only reaches height ), but also lies outside. So in fact both singularities are outside 's interior. Let be the open rectangle minus nothing — since neither lies in (as is exactly the boundary height of ; choose slightly smaller in imaginary extent, say height strictly less than , e.g. , to keep safely). This is simply connected (a rectangle is convex, hence simply connected), is holomorphic on , and with its interior in . Cauchy's theorem gives
Now modify the contour: let be the rectangle with vertices , which does enclose (and ). Here no simply connected domain containing and its interior avoids both singularities, so this instance of Cauchy's theorem as stated does not apply to on such a domain — the integral is in fact generally nonzero and is computed instead by the residue theorem (a direct descendant of Cauchy's theorem, covered under Cauchy's Integral Formula and its generalizations), giving
This second computation is not itself a proof of Cauchy's theorem; it illustrates precisely the boundary of the theorem's applicability — when a singularity is enclosed, one must either shrink the domain to exclude it (making the integral zero on the smaller region, vacuously not applying to ) or leave holomorphy's simply-connected hypothesis behind and compute via residues.
Let , the punctured plane, and let , which is holomorphic on all of (it is a quotient of holomorphic functions with nonvanishing denominator on ). The domain is connected but not simply connected: the unit circle, traversed once, cannot be continuously contracted to a point without passing through the missing point . Let , , the unit circle traversed counterclockwise, a closed contour entirely within . Compute directly:
So the conclusion of Cauchy's theorem fails: is holomorphic on , is a closed contour in , yet . The only hypothesis violated is simple connectedness of — is perfectly holomorphic throughout , with no singularity anywhere in itself. This shows simple connectedness cannot be dropped from the theorem: it is not a technical convenience but a load-bearing hypothesis. Diagnosing this via the proof: Green's theorem, as invoked in Step 3, requires where is the region enclosed by . Here is the open unit disk, and but , so — the hypothesis of the Green's theorem lemma fails to be verifiable, because (via ) is not even defined, let alone , at the missing point that lies inside the loop. The proof's Step 1 (decomposing into simple loops each bounding a region in ) is precisely where simple connectedness was used, and it fails here: bounds the disk , but .
Scope, edge cases & common traps
| Situation | What happens | Why |
|---|---|---|
| simply connected, holomorphic on | for all closed | Full theorem applies |
| has a hole, loop encircles it | integral generally | Green's theorem region exits ; see counterexample |
| simply connected, holomorphic except at finitely many points enclosed by | integral generally , computed via residues | Domain of holomorphy is minus those points, no longer simply connected around |
| only real-differentiable (not holomorphic) on simply connected | integral generally | Cauchy–Riemann equations fail, double integrals in Step 4 do not vanish |
| merely exists (not assumed continuous) | theorem still holds (Goursat's refinement) but the proof above (via Green's theorem) does not directly apply | Goursat's proof avoids Green's theorem via a triangle-bisection argument; see below |
| passes through a singularity of | contour integral may be improper/undefined | not defined at points of itself |
A remark on rigor: the proof given uses Green's theorem, which additionally requires , i.e. continuous. Goursat proved in 1900 that continuity of is not needed — complex differentiability alone suffices — via a clever bisection argument that shrinks any triangle on which the integral is nonzero to a point, deriving a contradiction with the definition of the derivative at the limiting point. That argument is independent of Green's theorem and is the reason the result is often called the Cauchy–Goursat theorem. It is not reproduced here in full, but readers should know the hypothesis in the theorem above is a genuine (removable) restriction of this particular proof, not of the theorem's true scope.
The mathematician behind it
Origins · 1 minAugustin-Louis Cauchy and how this was discovered
Cauchy was among the principal architects of modern analysis, rigorizing calculus with epsilon-delta style limit arguments and founding complex analysis as an independent discipline with a systematic theory of contour integration. Trained as an engineer before turning to mathematics, he brought an insistence on rigor that was unusual for his era, reacting against the looser 18th-century style of Euler and Lagrange. He was extraordinarily prolific, publishing over 800 papers, and politically inflexible — his royalist sympathies led to two periods of exile from French academic positions. Cauchy's theorem on contour integrals, first announced around 1814 and developed over subsequent decades, became the cornerstone on which he and later mathematicians built the residue calculus, the theory of power series representations of holomorphic functions, and the modern treatment of complex integration.
Why does Cauchy's theorem fail for merely real-differentiable functions?
The proof crucially uses the Cauchy–Riemann equations to force the two double integrals produced by Green's theorem to vanish identically. A function that is differentiable as a map but does not satisfy , has no reason for those integrands to cancel. For example, (complex conjugation) is real-differentiable everywhere with continuous partials, but gives , violating Cauchy–Riemann. Indeed , confirming the vanishing genuinely depends on holomorphy, not mere smoothness.
Does the theorem require the contour to be simple (non-self-intersecting)?
No. The statement holds for any closed piecewise- contour, simple or not, as long as it lies in the simply connected domain. The proof handles the general case by decomposing an arbitrary closed contour into finitely many simple closed sub-loops (using simple connectedness to guarantee each sub-loop bounds a region inside the domain), proving the vanishing for each simple piece via Green's theorem, and summing; shared edges traversed in opposite directions cancel algebraically, reconstructing the original integral as a sum of zeros.
Is simple connectedness of the domain the same as the contour being contractible?
They are related but distinct. Simple connectedness is a property of the domain : every loop in is contractible within . Given that, any particular closed contour in is automatically contractible, because itself has this property. One does not need to check contractibility contour-by-contour; simple connectedness of the ambient domain guarantees it for all contours at once, which is why the theorem's hypothesis is stated on rather than on .
Can Cauchy's theorem be used even when has singularities, as long as they're outside the contour?
Yes, and this is the typical situation in applications. One restricts attention to a simply connected sub-domain that contains and its interior but excludes the singularities; is holomorphic on this , and the theorem applies directly, giving a vanishing integral. The key technical point, illustrated in Example 2, is verifying that a suitable simply connected can be found — typically by choosing a disk or rectangle small enough to avoid the singular points while still containing the contour and its interior.
How does Cauchy's theorem lead to path-independence of contour integrals?
If is simply connected and is holomorphic on , take any two paths in from to . The concatenation of with the reverse of is a closed contour in , so by Cauchy's theorem its integral is zero. Splitting that integral into the two pieces (the second with a sign flip from reversal) shows . Hence the integral from to depends only on the endpoints, not the path, which is exactly Antiderivatives and Path Independence.
Why is Goursat's version of the theorem considered stronger, and is it still "the same theorem"?
Cauchy's original argument (and the proof given above) assumes is continuous, which is a real extra hypothesis needed to invoke Green's theorem. Goursat showed in 1900 that this hypothesis is unnecessary: complex differentiability alone, with no continuity assumption on the derivative, still forces the integral to vanish, via a self-contained triangle-bisection argument that never invokes Green's theorem. It is the same conclusion under a weaker hypothesis, so it is a genuine strengthening; the combined statement is often named the Cauchy–Goursat theorem to credit both contributions.
Does Cauchy's theorem generalize to domains that are not simply connected?
Yes, via the notion of winding number. On a general domain (possibly with holes), if is a closed contour that is null-homologous in (meaning its winding number around every point outside is zero), then still holds for holomorphic on . This homological form of Cauchy's theorem includes the simply connected case as a special instance, since in a simply connected domain every closed contour automatically has winding number zero around every excluded point.