upgrade
upgrade

💠Intro to Complex Analysis

Key Concepts of Contour Integration

Study smarter with Fiveable

Get study guides, practice questions, and cheatsheets for all your subjects. Join 500,000+ students with a 96% pass rate.

Get Started

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\int_C f(z)\,dz where CC 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)z(t) for t[a,b]t \in [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\int_C f(z)\,dz = \int_a^b f(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)f(z) is analytic on and inside a simple closed contour CC, then Cf(z)dz=0\oint_C f(z)\,dz = 0—the integral vanishes completely
  • Path independence follows directly—any two paths between the same endpoints give identical integrals, provided ff is analytic in between
  • Analyticity is non-negotiable—a single singularity inside CC breaks the theorem entirely, which is precisely what the residue theorem exploits

Cauchy Integral Formula

  • Recovers function values from boundary data: f(a)=12πiCf(z)zadzf(a) = \frac{1}{2\pi i} \oint_C \frac{f(z)}{z-a}\,dz for aa inside CC
  • Derivatives follow the same pattern: f(n)(a)=n!2πiCf(z)(za)n+1dzf^{(n)}(a) = \frac{n!}{2\pi i} \oint_C \frac{f(z)}{(z-a)^{n+1}}\,dzanalytic functions are infinitely differentiable
  • The formula creates a simple pole at z=az = a—even though ff is analytic, the integrand f(z)za\frac{f(z)}{z-a} has a singularity, which is why the integral doesn't vanish

Compare: Cauchy-Goursat vs. Cauchy Integral Formula—both require analyticity of ff, but Cauchy-Goursat integrates ff directly (giving zero), while the integral formula integrates f(z)za\frac{f(z)}{z-a} (giving 2πif(a)2\pi i \cdot 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πikRes(f,zk)\oint_C f(z)\,dz = 2\pi i \sum_{k} \text{Res}(f, z_k) where zkz_k are the singularities inside CC
  • Residues capture local behavior—for a simple pole at z0z_0, Res(f,z0)=limzz0(zz0)f(z)\text{Res}(f, z_0) = \lim_{z \to z_0}(z - z_0)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 ϵ\epsilon around them
  • The indentation contribution often equals ±πiRes(f,z0)\pm \pi i \cdot \text{Res}(f, z_0)—half the full residue, with sign depending on orientation
  • Take ϵ0\epsilon \to 0 at the endthe 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πi2\pi i), while singularities on the contour contribute half (multiplied by πi\pi 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 eiaze^{iaz} with a>0a > 0
  • States that CReiazg(z)dz0\int_{C_R} e^{iaz}g(z)\,dz \to 0 as RR \to \infty when g(z)0|g(z)| \to 0 uniformly on the upper semicircle
  • Use upper half-plane for eiaze^{iaz}, lower half-plane for eiaze^{-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 cosxx2+1dx\int_{-\infty}^{\infty} \frac{\cos x}{x^2 + 1}\,dx 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 eixe^{ix} in the numerator, reach for Jordan.


Multi-Valued Functions and Branch Cuts

Some functions, like logz\log z or z1/2z^{1/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: 0xa11+xdx\int_0^{\infty} \frac{x^{a-1}}{1+x}\,dx for 0<a<10 < a < 1, where the branch cut along [0,)[0, \infty) creates a phase difference of e2πiae^{2\pi i a}

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

ConceptBest Examples
Path independence (analyticity)Cauchy-Goursat theorem, deformation of contours
Function recovery from boundaryCauchy integral formula, derivative formulas
Singularity exploitationResidue theorem, pole identification
Vanishing arc contributionsJordan's lemma, ML-estimation
Boundary singularity handlingIndentation methods, principal value integrals
Multi-valued function integrationKeyhole contours, branch cut placement
Real integral evaluationSemicircular closure, residue computation
Contour setupParameterization, piecewise smooth paths

Self-Check Questions

  1. Both Cauchy-Goursat and the Cauchy integral formula require f(z)f(z) to be analytic—so why does Cauchy-Goursat give zero while the integral formula gives 2πif(a)2\pi i \cdot f(a)?

  2. You need to evaluate eixx2+4dx\int_{-\infty}^{\infty} \frac{e^{ix}}{x^2 + 4}\,dx. Which half-plane should you close in, and why? What singularities contribute?

  3. Compare interior singularities versus singularities on the contour. If a simple pole with residue RR lies exactly on your path, what's its contribution after indentation?

  4. When would you use a keyhole contour instead of a standard semicircular contour? Give an example of an integral requiring each approach.

  5. An FRQ asks you to evaluate 0lnxx2+1dx\int_0^{\infty} \frac{\ln x}{x^2 + 1}\,dx. Outline your contour choice and explain why the branch cut placement matters.