Let be a closed triangle contained, together with a neighbourhood, in the domain of a holomorphic function . We prove Cauchy theorem for a triangle without assuming continuity of .
Join the edge midpoints to subdivide into four triangles, each with half its diameter and perimeter. Their positively oriented contour integrals sum to the integral around , because the internal edges cancel. At least one subtriangle has integral of modulus at least one quarter of the original. Repeat that choice to obtain nested closed triangles satisfying
Their intersection is a single point , by compactness and shrinking diameter. complex differentiability at a point at gives
The first two terms have polynomial primitives, hence integrate to zero around each triangle. For sufficiently large , on , so the complex line integral estimate gives
Combining the bounds gives . Since is arbitrary,
The orientation can be reversed with no change to the conclusion.
For a positively oriented simple closed contour, the residue theorem states that the integral of a function holomorphic on and inside the contour except at finitely many isolated interior singularities is times the sum of its residues. There must be no singularity on the contour.
Factor the denominator as . For , the upper semicircle encloses the two simple poles
The other two poles are in the lower half-plane. Since ,
Writing and using , , their numerator difference simplifies to
Thus for every the closed-contour integral is
To remove the arc, on we have and . For sufficiently large , the complex line integral estimate gives
The real-line integral is absolutely convergent. Its imaginary part is zero by oddness of . Therefore