Contour Integration

Introduction

In real analysis, we integrate functions along the real line, moving from one point to another along a straight path. Complex analysis opens a richer world: we can integrate functions along curves in the complex plane, winding through two-dimensional space in any manner we choose. This freedom to choose different paths—and the remarkable theorems governing how the choice of path affects the integral—lies at the heart of contour integration.

Contour integration extends the familiar concept of integration to complex-valued functions of a complex variable. Given a function f⁡(z) f of z and a curve γ gamma in the complex plane, we compute the integral of f f along γ gamma. The result depends, in general, on both the function and the path taken.

For analytic functions, however, the integral often depends only on the endpoints—or vanishes entirely for closed paths. Cauchy’s theorem and the residue theorem transform difficult real integrals into tractable complex ones and provide powerful tools for evaluating sums, solving differential equations, and understanding global behavior of analytic functions.

Curves in the Complex Plane

A curve in the complex plane is a continuous function from a real interval into C C.

Parametrized Curves

A parametrized curve is a continuous function γ:[a,b]→C gamma colon open bracket a comma b close bracket right arrow C.

We write γ⁡(t)=x⁡(t)+i⁢y⁡(t) gamma of t equals x of t plus i y of t, where x⁡(t) x of t and y⁡(t) y of t are real-valued functions. The point γ⁡(a) gamma of a is the initial point and γ⁡(b) gamma of b the terminal point. If γ⁡(a)=γ⁡(b) gamma of a equals gamma of b, the curve is closed.

Smooth and Piecewise Smooth Curves

A curve γ gamma is smooth if γ⁡(t)′ gamma of t prime exists, is continuous, and never vanishes on (a,b) open paren a comma b close paren.

A curve is piecewise smooth if there exist points a=t0<t1<⋯<tn=b a equals t sub 0 is less than t sub 1 is less than dot dot dot is less than t sub n equals b such that γ gamma is smooth on each subinterval [tk−1,tk] open bracket t sub k minus 1 comma t sub k close bracket.

Contours

A contour is a piecewise smooth curve used as a path of integration. Orientation matters. If γ gamma runs from z0 z sub 0 to z1 z sub 1, then −γ negative gamma denotes the same path traversed in reverse.

Definition of the Contour Integral

Let f f be continuous on a contour γ:[a,b]→C gamma colon open bracket a comma b close bracket right arrow C. The contour integral is defined by ∫γf⁡(z)⁢dz=∫abf⁢(γ⁡(t))⁢γ⁡(t)′⁢dt the integral over gamma of f of z d z equals the integral from a to b of f of gamma of t gamma of t prime d t.

Writing f⁡(z)=u⁡(x,y)+i⁢v⁡(x,y) f of z equals u of open paren x comma y close paren plus i v of open paren x comma y close paren and dz=dx+i⁢dy d z equals d x plus i d y, we obtain ∫γf⁡(z)⁢dz=∫γ(u⁢dx−v⁢dy)+i⁢∫γ(v⁢dx+u⁢dy) the integral over gamma of f of z d z equals the integral over gamma of open paren u d x minus v d y close paren plus i the integral over gamma of open paren v d x plus u d y close paren.

Thus a complex contour integral equals two real line integrals.

Independence of Parametrization

If two parametrizations trace the same curve in the same direction, the integrals agree:

∫γf⁡(z)⁢dz=∫σf⁡(z)⁢dz the integral over gamma of f of z d z equals the integral over sigma of f of z d z.

Properties of Contour Integrals

Linearity

∫γ(α⁢f⁡(z)+β⁢g⁡(z))⁢dz=α⁢∫γf⁡(z)⁢dz+β⁢∫γg⁡(z)⁢dz the integral over gamma of open paren alpha f of z plus beta g of z close paren d z equals alpha the integral over gamma of f of z d z plus beta the integral over gamma of g of z d z.

Additivity

If γ=γ1+γ2 gamma equals gamma sub 1 plus gamma sub 2, ∫γf⁡(z)⁢dz=∫γ1f⁡(z)⁢dz+∫γ2f⁡(z)⁢dz the integral over gamma of f of z d z equals the integral over gamma sub 1 of f of z d z plus the integral over gamma sub 2 of f of z d z.

Reversal

∫−γf⁡(z)⁢dz=−∫γf⁡(z)⁢dz the integral over negative gamma of f of z d z equals negative the integral over gamma of f of z d z.

ML Inequality

If |f⁡(z)|≤M the absolute value of f of z is less than or equal to M on γ gamma and L L is its length,|∫γf⁡(z)⁢dz|≤M⁢L,L=∫ab|γ⁡(t)′|dt the absolute value of the integral over gamma of f of z d z is less than or equal to M L comma L equals the integral from a to b of the absolute value of gamma of t prime d t.

Fundamental Theorems

Cauchy’s Theorem

If f f is analytic on and inside a simple closed contour γ gamma, ∮γf⁡(z)⁢dz=0. the contour integral over gamma of f of z d z equals 0 period

If f f is analytic on a simply connected domain D D, then ∮γf⁡(z)⁢dz=0 the contour integral over gamma of f of z d z equals 0 for every closed contour γ⊂D gamma subset of D.

Path Independence

If f f is analytic on a simply connected domain, ∫γ1f⁡(z)⁢dz=∫γ2f⁡(z)⁢dz. the integral over gamma sub 1 of f of z d z equals the integral over gamma sub 2 of f of z d z period

An antiderivative can be defined by F⁡(z)=∫z0zf⁡(ζ)⁢dζ,F⁡(z)′=f⁡(z), F of z equals the integral from z sub 0 to z of f of zeta d zeta comma F of z prime equals f of z comma and ∫γf⁡(z)⁢dz=F⁡(z1)−F⁡(z0) the integral over gamma of f of z d z equals F of open paren z sub 1 close paren minus F of open paren z sub 0 close paren.

Cauchy’s Integral Formula

If f f is analytic inside and on γ gamma and z0 z sub 0 lies inside, f⁡(z0)=12⁢π⁢i⁢∮γf⁡(z)z−z0⁢dz f of open paren z sub 0 close paren equals 1 over 2 pi i the contour integral over gamma of the fraction with numerator f of z and denominator z minus z sub 0 d z.

For derivatives, f⁡(z0)(n)=n!2⁢π⁢i⁢∮γf⁡(z)(z−z0)n+1⁢dz f of open paren z sub 0 close paren raised to the n power equals the fraction with numerator n factorial and denominator 2 pi i the contour integral over gamma of the fraction with numerator f of z and denominator open paren z minus z sub 0 close paren raised to the n plus 1 power d z.

Residue Theorem

If f f is analytic except for isolated singularities zk z sub k inside γ gamma, ∮γf⁡(z)⁢dz=2⁢π⁢i⁢∑Res⁡(f,zk). the contour integral over gamma of f of z d z equals 2 pi i the sum of Res of open paren f comma z sub k close paren period

For a simple pole, Res⁡(f,z0)=lim⁡(z−z0)⁢f⁡(z). Res of open paren f comma z sub 0 close paren equals lim of open paren z minus z sub 0 close paren f of z period

For a pole of order n n, Res⁡(f,z0)=1(n−1)!⁢lim⁡(d()n−1d⁢zn−1)⁢[(z−z0)n⁢f⁡(z)] Res of open paren f comma z sub 0 close paren equals the fraction with numerator 1 and denominator open paren n minus 1 close paren factorial lim of open paren the fraction with numerator d of open paren close paren raised to the n minus 1 power and denominator d z raised to the n minus 1 power close paren times open bracket open paren z minus z sub 0 close paren to the n-th power times f of z close bracket.

Applications

Contour integration evaluates difficult real integrals, sums infinite series, computes inverse Laplace and Fourier transforms, and analyzes differential equations.

Contour Deformation

If two contours can be continuously deformed into each other without crossing singularities,

∫γ1f⁡(z)⁢dz=∫γ2f⁡(z)⁢dz the integral over gamma sub 1 of f of z d z equals the integral over gamma sub 2 of f of z d z.

Choosing contours cleverly—avoiding singularities and exploiting symmetry—is central to effective contour integration.