1. An integral records both a path and its orientation
A piecewise curve is a continuous map that is continuously differentiable on finitely many subintervals, with one-sided derivatives at the joins. It is closed when . Its length is . A contour integral of continuous along it is
with real and imaginary parts integrated separately. The differential includes the direction of motion; replacing it by would define a different integral.
A piecewise increasing change of parameter preserving endpoints leaves the integral unchanged by substitution. Reversal changes its sign. Concatenating two compatible curves adds their integrals. These statements also allow zero-speed pieces. They do not require the curve to be injective.
Estimation lemma. If on the curve, then
Indeed, the modulus of a real-parameter integral is at most the integral of the modulus, and . This simple inequality is the main tool for showing that auxiliary arcs contribute nothing in a limit.
Worked example. On the positively oriented circle , , with ,
For the integrand times is . Otherwise it is , whose integral vanishes. The answer for is independent of radius, but changes sign if orientation is reversed.
Worked example 2.1.1
(An arc estimate that tends to zero, and one that cannot)
Let be the upper semicircle , , with . On it the reverse triangle inequality gives
so on the arc, and the arc has length . The estimation lemma yields
For the bound is ; as it tends to . The condition is used twice: it keeps the zeros of off the arc and makes the lower bound positive.
The same lemma applied to on gives only , which does not shrink. Here no better estimate exists, because the integral itself does not shrink: with ,
for every . A bound tends to zero only when the integrand decays faster than the arc length grows.
2. Primitives turn path integrals into endpoint differences
A primitive of on an open set is a holomorphic function there with . The real chain rule applied on each smooth piece gives
for every contour in . Hence a function with a primitive has zero integral around every closed contour in .
Conversely, on a domain , suppose continuous has zero integral around every closed contour. Open connected subsets of the plane are polygonally connected. Fix and define as the integral from to along any polygonal path in . Closed-path cancellation makes it path independent. For sufficiently small , the final straight segment from to stays in , and
by continuity. Thus . The same construction works if polygonal closed paths alone have zero integrals; the resulting primitive then handles all contours.
Warning. Holomorphic does not automatically mean globally possessing a primitive on any domain. The function is holomorphic on but its integral around the unit circle is . On the slit plane of the previous chapter, however, is a primitive of . The domain is mathematical data.
Worked example 2.1.2
(A primitive for a branch of )
On the slit domain use the branch and put . Since , the chain rule gives
where was used. Thus is a primitive on , and for every contour in from to ,
Check along the quarter circle , , which lies in . There , so the integrand is , and
The two computations agree. The endpoint formula is available only for contours that stay in : a path from to that winds clockwise through the negative real axis crosses the cut, where this branch is not even continuous.
3. Goursat's triangle argument: no continuity of the derivative assumed
Theorem. If is holomorphic on an open set containing a closed triangle , then its integral around the positively oriented boundary of is zero.
Proof. Subdivide by joining side midpoints into four triangles. Interior edge integrals cancel, so the outer integral is the sum of four child integrals. At least one child has integral modulus at least . Repeat inside such a child, obtaining nested closed triangles , diameter , perimeter , and
Compactness and shrinking diameters give one common point . Differentiability at says
The constant and linear terms have primitives, so contribute zero on the triangle boundary. For any , eventually throughout . Since , the estimation lemma gives
Thus . As is arbitrary, . No continuity of was used. ∎
Corollary: a primitive on each disk. If is holomorphic on a disk , fix its centre and set . For sufficiently close, the triangle with vertices lies in . The triangle theorem gives . The limit calculation of §2 yields . Consequently all closed-contour integrals in the disk vanish. The same argument works on any open convex set.
Polygonal boundary version. Suppose a compact polygonal region, possibly with finitely many polygonal holes, and a neighbourhood of it lie in the holomorphy set of . Triangulate the region into finitely many triangles. Summing the triangle theorem cancels every interior edge. The outer boundary is counterclockwise and hole boundaries clockwise, so their oriented total integral is zero. A region containing a hole is not the same as the region with that hole filled in.
Proof X-ray
Why the factor four to the n is harmless
Choosing the worst child at each stage costs a factor per step, so after steps the original integral is at most times a small one. The proof survives because the small integral is smaller by exactly that factor and a little more: its integrand is times something of size at most the diameter, over a path of length the perimeter, and both halve at each step. The constant and linear parts of disappear because they have primitives. Differentiability is used at one point only, the common point , which is why no continuity of is required.
Counterexample mode
A smooth function that is not holomorphic fails the triangle theorem
Is the triangle theorem really about complex differentiability, or would any smooth function do? Take , which is real-linear, hence real differentiable everywhere, and the triangle with vertices , , , traversed positively. On , and the integral is . On , , and ; since , the integrand is , with integral . On , , and , giving . The boundary integral is . In the proof, the first-order approximation at would be , and its linear part has no primitive, so the step that discards the linear term collapses. Complex differentiability at the single point is exactly what makes that linear term integrable to zero.
4. Homotopy and what “no hole” actually means
A fixed-endpoint homotopy between paths is a continuous map with , , and constant in . It deforms one path into the other without leaving . A domain is simply connected if every closed path can be contracted to its basepoint by such a homotopy.
Homotopy invariance. If is holomorphic on , and two piecewise paths in are fixed-endpoint homotopic there, their integrals agree.
Proof using only local primitives. The compact image of is covered by finitely many disks on which has primitives. By the Lebesgue-number property and uniform continuity, subdivide the parameter square into a fine rectangular grid so that the image of each closed cell lies in one such disk. Join the images of adjacent grid vertices by straight segments. For each cell these segments lie in its disk because disks are convex. Its polygonal boundary integral is zero by its primitive. Sum over cells: internal segments cancel with their reversals. On the bottom and top edges, each original path subarc and its replacing straight segment lie in the same disk and have the same endpoints, hence the same integral by the local primitive. The side segments vanish because endpoints were fixed. What remains is the bottom integral minus the top integral. This proves the claim even if the homotopy's intermediate paths are not differentiable. ∎
Cauchy theorem on a simply connected domain. Every holomorphic function on such a domain has zero integral on every closed contour and hence has a primitive. Contract the contour and apply homotopy invariance; then use §2. Simple connectivity is sufficient, not necessary for a particular function to have a primitive. The function has primitive even on a punctured domain.
The often-used phrase “inside the curve” requires care for self-intersecting curves or domains with holes. For this chapter, the safe usable versions are a disk, a convex domain, a simply connected domain with all curves contained in it, or an explicitly oriented region whose closure has a holomorphic neighbourhood.
5. Practical contour choices
Before using Cauchy theorem, list singular or undefined points and identify the actual domain. Then decide whether an endpoint primitive is available, whether a deformation stays in the domain, or whether a direct parameterization is shorter.
Worked example: two routes, one forbidden deformation. The upper and lower semicircles from to , both traversed in that direction, give
Parameterize with angles and . Their difference is . Therefore the two paths cannot be fixed-endpoint homotopic in the punctured plane. A drawing that slides one through zero is not a permitted homotopy.
For any contour from to , because is a global primitive. For , by contrast, Cauchy theorem is unavailable: is nowhere holomorphic. On the unit circle , so its integral is , a nonzero result obtained without contradiction.
Worked example 2.1.3
(Two paths from to that tell and apart)
Let be the segment and the parabola, ; both run from to , with and .
For , which has the primitive , the endpoint formula predicts on every path. On the parabola directly,
For , the segment gives , while the parabola gives
The two values differ, so has no primitive on any open set containing both paths. Equivalently, the closed contour "parabola, then segment backwards" has integral . One pair of paths with different integrals is enough to rule out a primitive; agreement on a pair of paths would prove nothing.
Quick check
(Evaluate for an arbitrary contour from to .)
Find a primitive on .
Solution · Answer
The polynomial is a primitive on , so the integral is , whatever the contour.
Quick check
(Evaluate with positive orientation.)
Use the circle integrals of from section 1 term by term.
Solution · Answer
Only the exponent contributes, and it contributes per unit coefficient; the terms and integrate to zero. The integral is .
Quick check
(Evaluate with positive orientation. The circle is not centred at .)
Look for a primitive on an open set containing the circle.
Solution · Answer
The function is holomorphic on and has derivative . The circle lies in this set, and a function with a primitive has zero integral around every closed contour there. The integral is ; neither the centre nor the radius of the circle matters.
6. Graded exercises
P01 — Foundation. Integrate along the line segment from to , directly and using a primitive.
P02 — Foundation. Evaluate for clockwise traversal.
P03 — Core. Evaluate for the straight segment from zero to , and for the broken path .
P04 — Core. Show that has a primitive on the right half-plane, but not on the punctured plane.
P05 — Core. If on a circular arc of radius subtending angle , bound the modulus of its integral.
P06 — Proof. If continuous functions converge uniformly to on a contour of finite length, show that their integrals converge to the integral of .
P07 — Diagnosis. A student says a holomorphic function integrates to zero around any closed contour because the curve has a compact interior. Explain the missing assumption using a concrete example.
P08 — Extension. Let be a domain and continuous have a path-independent contour integral. Prove that any two primitives differ by a constant, and explain what changes if is disconnected.
7. Full solutions
P01. Parameterize , . The integral is . The primitive gives the same endpoint difference.
P02. Counterclockwise traversal gives by §1. Reversal gives . The radius and location do not change this result.
P03. On the segment , , giving . On , the integral is . On , put , so , giving . Total: . Path dependence proves there is no primitive on any domain containing these paths and their comparison loop.
P04. The principal logarithm is holomorphic on the right half-plane and has derivative . If a primitive existed on the punctured plane, its integral on the unit circle would be zero, whereas direct integration gives .
P05. The arc length is . Thus the modulus is at most . This is a bound, not an assertion that equality holds.
P06. Linearity and the estimation lemma give . Pointwise convergence alone does not give this estimate with a vanishing supremum.
P07. Holomorphy must hold on a neighbourhood of the region filled by the contour, or another valid topological version must apply. For on the punctured plane, the unit circle is a closed contour but zero is missing from its interior holomorphy set. The integral is , despite the closed disk being compact. Compactness is not holomorphy.
P08. The construction in §2 gives a primitive. If are primitives, has complex derivative zero, hence real derivative zero. Along a polygonal path in , the real chain rule gives a constant value on every segment, so has the same value at any two points. On a disconnected open set, the difference is constant on each connected component, with no requirement that component constants agree.
8. Summary
Contours are oriented parameterized objects. Primitives imply endpoint evaluation; zero closed integrals imply primitives for continuous functions on domains. Goursat's subdivision establishes local Cauchy theory directly from differentiability. Local primitives then yield homotopy invariance and the simply connected version of Cauchy theorem. All domain and orientation hypotheses must survive a contour deformation. The next chapter uses these results to recover values and derivatives from boundary integrals.