Why This Matters
Contour integration is where complex analysis transforms from an abstract theoretical framework into a powerful computational tool. You're being tested on your ability to recognize when a particular theorem applies, why it works, and how to set up the right contour for a given problem. The concepts here—analyticity, singularities, residues, and path independence—form the backbone of nearly every complex analysis exam question.
Don't just memorize formulas. Know what makes each theorem tick: Cauchy-Goursat depends on analyticity throughout a region, the residue theorem exploits isolated singularities, and Jordan's lemma handles behavior at infinity. When you understand the underlying principles, you can tackle unfamiliar integrals by identifying which tool fits the situation. Master these concepts, and you'll find that "impossible" real integrals suddenly become straightforward.
Foundational Definitions and Setup
Before applying any theorem, you need to understand what contour integration actually means and how to set up the machinery. The key insight is that complex integration depends critically on the path taken—unless special conditions (analyticity) are met.
Definition of Contour Integration
- Contour integration evaluates complex functions along curves in the complex plane—extending familiar real integration into two dimensions where both path and function behavior matter
- The integral is defined as a limit of Riemann sums along the contour, written as ∫Cf(z)dz where C is the specified path
- Path dependence is the default—unlike real integrals, changing your route generally changes your answer (unless analyticity saves you)
Types of Contours
- Simple closed contours form loops that don't self-intersect—these are the workhorses for applying Cauchy's theorems
- Piecewise smooth contours consist of finitely many smooth segments joined together, allowing corners and direction changes
- Open vs. closed determines which theorems apply—closed contours enable the powerful integral formulas, while open contours require direct computation
Parameterization of Contours
- Express the contour as z(t) for t∈[a,b]—this converts the abstract path into a concrete function you can differentiate
- The integral transforms via ∫Cf(z)dz=∫abf(z(t))z′(t)dt, reducing complex integration to real calculus
- Orientation matters—reversing the direction of traversal negates the integral, so always track your parameterization carefully
Compare: Simple closed contours vs. piecewise smooth contours—both can be used with Cauchy's theorems, but piecewise smooth contours allow more flexibility in shape (like rectangles or keyhole paths). On FRQs, you'll often construct piecewise contours to exploit symmetry or avoid singularities.
The Cauchy Theorems: When Path Doesn't Matter
These theorems reveal the remarkable rigidity of analytic functions. When a function is analytic throughout a region, integration becomes path-independent, and function values are completely determined by boundary behavior.
Cauchy-Goursat Theorem
- If f(z) is analytic on and inside a simple closed contour C, then ∮Cf(z)dz=0—the integral vanishes completely
- Path independence follows directly—any two paths between the same endpoints give identical integrals, provided f is analytic in between
- Analyticity is non-negotiable—a single singularity inside C breaks the theorem entirely, which is precisely what the residue theorem exploits
- Recovers function values from boundary data: f(a)=2πi1∮Cz−af(z)dz for a inside C
- Derivatives follow the same pattern: f(n)(a)=2πin!∮C(z−a)n+1f(z)dz—analytic functions are infinitely differentiable
- The formula creates a simple pole at z=a—even though f is analytic, the integrand z−af(z) has a singularity, which is why the integral doesn't vanish
Compare: Cauchy-Goursat vs. Cauchy Integral Formula—both require analyticity of f, but Cauchy-Goursat integrates f directly (giving zero), while the integral formula integrates z−af(z) (giving 2πi⋅f(a)). If an exam asks "why isn't this integral zero?"—look for a pole in the integrand.
Handling Singularities: The Residue Theorem
When functions have isolated singularities, the residue theorem transforms what seems like a problem into a computational advantage. Instead of avoiding singularities, we exploit them—the entire integral reduces to a sum of local contributions.
Residue Theorem
- The master formula: ∮Cf(z)dz=2πi∑kRes(f,zk) where zk are the singularities inside C
- Residues capture local behavior—for a simple pole at z0, Res(f,z0)=limz→z0(z−z0)f(z)
- This is your primary tool for evaluation—most contour integration problems ultimately reduce to identifying singularities and computing their residues
Indentation Methods for Singularities on the Contour
- When singularities lie on your path, create small semicircular detours of radius ϵ around them
- The indentation contribution often equals ±πi⋅Res(f,z0)—half the full residue, with sign depending on orientation
- Take ϵ→0 at the end—the limiting process separates the principal value integral from the singularity's contribution
Compare: Interior singularities vs. boundary singularities—interior singularities contribute their full residue (multiplied by 2πi), while singularities on the contour contribute half (multiplied by πi). FRQs love testing whether you recognize this distinction.
Techniques for Real Integrals
The real payoff of contour integration is evaluating definite integrals that resist elementary methods. The strategy is always the same: embed the real integral into a closed contour, then apply the residue theorem.
Jordan's Lemma
- Controls integrals over large semicircular arcs when the integrand contains eiaz with a>0
- States that ∫CReiazg(z)dz→0 as R→∞ when ∣g(z)∣→0 uniformly on the upper semicircle
- Use upper half-plane for eiaz, lower half-plane for e−iaz—the exponential decay happens in opposite directions
Evaluation of Real Integrals Using Contour Integration
- Close the contour strategically—typically with a semicircle in the upper or lower half-plane, depending on where your integrand decays
- The real integral becomes one piece of a closed contour integral; other pieces vanish by Jordan's lemma or direct estimation
- Common applications include ∫−∞∞x2+1cosxdx and Fourier-type integrals—look for rational functions times oscillatory terms
Compare: Jordan's lemma vs. direct ML-estimation—both show arc integrals vanish, but Jordan's lemma handles oscillatory integrands that don't decay fast enough for ML-estimation alone. When you see eix in the numerator, reach for Jordan.
Multi-Valued Functions and Branch Cuts
Some functions, like logz or z1/2, are inherently multi-valued. Contour integration requires making them single-valued by introducing branch cuts—and then designing contours that respect these cuts.
Keyhole Contour and Branch Cuts
- A keyhole contour avoids the branch cut by wrapping around it: large outer circle, small inner circle around the branch point, and two linear segments along the cut
- The function takes different values on opposite sides of the branch cut—this difference often produces the integral you want
- Classic application: ∫0∞1+xxa−1dx for 0<a<1, where the branch cut along [0,∞) creates a phase difference of e2πia
Compare: Keyhole contours vs. standard closed contours—standard contours work for single-valued functions, while keyhole contours handle multi-valued functions by exploiting the discontinuity across the branch cut. If you see fractional powers or logarithms, think keyhole.
Quick Reference Table
|
| Path independence (analyticity) | Cauchy-Goursat theorem, deformation of contours |
| Function recovery from boundary | Cauchy integral formula, derivative formulas |
| Singularity exploitation | Residue theorem, pole identification |
| Vanishing arc contributions | Jordan's lemma, ML-estimation |
| Boundary singularity handling | Indentation methods, principal value integrals |
| Multi-valued function integration | Keyhole contours, branch cut placement |
| Real integral evaluation | Semicircular closure, residue computation |
| Contour setup | Parameterization, piecewise smooth paths |
Self-Check Questions
-
Both Cauchy-Goursat and the Cauchy integral formula require f(z) to be analytic—so why does Cauchy-Goursat give zero while the integral formula gives 2πi⋅f(a)?
-
You need to evaluate ∫−∞∞x2+4eixdx. Which half-plane should you close in, and why? What singularities contribute?
-
Compare interior singularities versus singularities on the contour. If a simple pole with residue R lies exactly on your path, what's its contribution after indentation?
-
When would you use a keyhole contour instead of a standard semicircular contour? Give an example of an integral requiring each approach.
-
An FRQ asks you to evaluate ∫0∞x2+1lnxdx. Outline your contour choice and explain why the branch cut placement matters.