maths.free › Complex Analysis › Contour integrals and the residue theorem

Contour integrals and the residue theorem

Cauchy's theorem, the integral formula, and evaluating real integrals with residues.

The integral of a holomorphic function around a closed loop is zero; around a singularity it is 2πi times the residue. Real integrals like ∫dx/(1 + x²) close in the upper half-plane and pick up the residue at i. Picture it: the contour along the real axis closed by a great semicircle enclosing the pole at i. Think it: Cauchy's theorem is Green's theorem plus the Cauchy-Riemann equations.

Worked example · integrate 1/(1+x^2) dx from -oo to oo

Integrate 1/(x^2 + 1) from -oo to oo

\int_{-\infty}^{\infty} \frac{1}{x^{2} + 1}\, dx

Step by step

  1. \int_{-\infty}^{\infty} \frac{1}{x^{2} + 1}\, dx

    First find an antiderivative F, then evaluate F(b) − F(a).

  2. \int \frac{1}{x^{2} + 1}\, dx = \operatorname{atan}{\left(x \right)}

    Recognise an inverse-trig / inverse-hyperbolic form.

  3. F(\infty) - F(-\infty) = \left(\frac{\pi}{2}\right) - \left(- \frac{\pi}{2}\right)

    Fundamental theorem of calculus: plug in the limits.

  4. = \pi \approx 3.1416

    Simplify.

Reveal the answer
\pi

Now you Pick a problem, or type or draw your own. Every step, a picture, the answer hidden until you ask.

Keep your own working

A free account adds notes on every lesson, a record of what you have finished, your solved problems in one place, and a tutor you can ask about this page. The maths itself is open to everyone, signed in or not.

Sign Up Login

Symbols used here

Tap any symbol for the full definition, a picture, and what every letter in it means.

How to: Contour integrals and the residue theorem

  1. First find an antiderivative F, then evaluate F(b) − F(a).
  2. Recognise an inverse-trig / inverse-hyperbolic form.
  3. Fundamental theorem of calculus: plug in the limits.
  4. Simplify.

Questions people ask

Why is complex differentiability so much stronger than real?

The limit must be the same from every direction in the plane, not just two. That forces the Cauchy-Riemann equations, which in turn force infinitely many derivatives and a convergent Taylor series.

What is a residue?

The coefficient of 1/(z − a) in the Laurent series at a singularity a. The residue theorem says a contour integral equals 2πi times the sum of the residues inside, which evaluates many real integrals in one line.

More in Complex Analysis