The deformation principle: if is analytic on a domain (possibly with holes — as long as remains analytic everywhere on ), and a closed contour is continuously deformed to another closed contour entirely within , then

In short: closed-contour integrals of analytic functions are invariant under continuous deformation through the analytic region.

Why this is true

The annular region between and is bounded by (counterclockwise) and (clockwise, or equivalently counterclockwise). Connect them with thin corridors traversed in both directions. The composite contour bounds a region where is analytic, so by Cauchy’s theorem applied to that region:

since the corridor contributions cancel pairwise. Rearranging gives the deformation principle.

How this is used

Shrinking around a singularity. If encloses an isolated singularity of , deform to a small circle of radius around . On the small circle, the integral can be computed by direct parameterization. The full result holds for any enclosing , regardless of shape and size.

Example. for any closed contour enclosing once. Deform to , parameterize , integrate: get . Holds for any contour by deformation.

Splitting around multiple singularities. If encloses singularities , split into the sum of contours, each enclosing one singularity, plus a contour with no singularities inside (which contributes zero by Cauchy’s theorem). Combined with the Cauchy integral formula or Residue theorem, this reduces complicated contour integrals to a sum of simple ones.

Deforming to large semicircles. For real improper integrals with extending to a rational function decaying at infinity: close the real-axis contour with a large semicircle in the upper half-plane. The semicircle contribution vanishes by the ML estimate (or Jordan’s lemma for -type integrands). The original real integral equals the closed-contour integral, which equals times sum of residues in the upper half-plane.

Vector-calculus parallel

The same idea appeared in vector calculus. The 2D rotational field has zero curl away from origin; on an annulus between two closed curves both enclosing the origin, Green’s theorem gives zero net contribution from the annulus, so the circulation is the same around either curve. Line integrals can be moved between curves enclosing the same set of singularities.

This is the deformation principle of 2D vector calculus, ancestrally the same as the complex-analytic version. See Conservative vector field and Green’s theorem.

In context

The deformation principle is the practical workhorse of complex contour integration. Combined with:

every closed-contour integral collapses to algebra at the singularities.