A1211 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A12 · Lesson 11 · Contour integrals

Integrating along a path in the complex plane

A complex function can be integrated along any path in the plane: walk along the path, multiply the function's value by each small step dz, and add up. These contour integrals behave unexpectedly well for analytic functions: the integral around a closed path is usually zero, and when it isn't, it depends only on which singular points the path encloses. That's the engine of the rest of the course, from evaluating hard real integrals in a few lines to inverting Laplace transforms. It starts with one integral: around any circle enclosing the origin, ∮dz/z=2πj.

  • The arrows are the field (u,−v) made from f(z)=1/z (its Pólya field); for any f, the work this field does along a path is Re∮fdz, and its flux out across the path is Im∮fdz. The readouts compute both numerically, around the circle.
  • With the circle around the origin, the integral is 0+2πj: real part 0, imaginary part 6.283. Shrink or grow the circle: the value doesn't change.
  • Drag the center until the circle no longer encloses the origin: the integral drops to 0. Only whether the singularity is inside matters.

Predict

What's ∮z2dz around the unit circle?

Name it

The definition

For a path z(t), a≤t≤b:

∫Cf(z)dz=∫abf(z(t))z′(t)dt

It's linear, it changes sign when the path is reversed, and it adds over joined paths.

When there's an antiderivative

If F′=f on a region containing the path, then

∫Cfdz=F(zend)−F(zstart)

whatever the path, and every closed integral is zero. Polynomials, ez, sin⁡z have antiderivatives everywhere.

The key integral

Around a circle of any radius centered at a, counterclockwise:

∮(z−a)ndz={2πjn=−10n≠−1

Bounding an integral

If |f|≤M on a path of length L, then |∫Cfdz|≤ML. It's how integrals over large arcs are shown to vanish (lesson 17).

Fields

∮fdz=∮(udx−vdy)+j∮(vdx+udy): the work and the outward flux of the vector field (u,−v). For 1/z that field is radial, 𝐫/r2: no circulation, and a flux of 2π out of any loop around the origin, like the field of a line charge.

Worked example

Integrate z2 from 0 to 1+j.

Show the solution
  1. Antiderivative. F(z)=z33
  2. Evaluate at the ends. F(1+j)−F(0)=(1+j)33=−2+2j3 along any path.

Answer (−2+2j)/3, along any path.

Worked example

Find ∮dzz−2 around |z|=1 and around |z|=3.

Show the solution
  1. Find the singularity. It's at z = 2.
  2. Around |z| = 1. The unit circle doesn't enclose it, and 1/(z−2) is analytic inside, so the integral is 0.
  3. Around |z| = 3. This circle encloses it, and deforming the path to a small circle around 2 gives 2πj.

Answer 0 around |z|=1, and 2πj around |z|=3.

Worked example

Integrate z¯ from 0 to 1+j along two paths: the straight segment, and along the real axis to 1 and then straight up.

Show the solution
  1. Straight segment: parametrize. z=(1+j)t with 0≤t≤1, so z¯=(1−j)t and dz=(1+j)dt.
  2. Straight segment: integrate. I1=∫01(1−j)(1+j)tdt=∫012tdt=1
  3. Two legs: along the axis. ∫01xdx=12
  4. Two legs: going up. Here z=1+jy, z¯=1−jy and dz=jdy, so ∫01(1−jy)jdy=j+12 The total is I2=1+j.
  5. Compare. The two answers differ, so the integral of z¯ depends on the path. That's what you expect from a function with no complex derivative; for an analytic integrand both paths would agree.

Answer the straight segment gives 1 and the two legs give 1+j, so the integral of z¯ depends on the path.

Check

What's the real part of ∫0z1z3dz with z1=1+1j, along any path?

Check

What's the imaginary part of ∮dzz−1 around the circle |z|=2, counterclockwise?

Check

z¯ isn't analytic. What's the imaginary part of ∮z¯dz around |z|=2? (On the circle, z¯=R2/z.)

Check

On a half circle of radius 1, |f| never exceeds 2. What's the bound on |∫fdz| along it?

Check

What's the real part of ∫0z1ezdz with z1=1+0j?

Check

A path goes twice around the origin, counterclockwise. What's ∮dz/z along it?

Check

Integrate z¯ from 0 to 2+1j.

(a)

What is the integral along the straight segment? (It's real.)

(b)

What is the imaginary part along the axis to 2 and then straight up?

Check

Bound ∮dzz2+4 on the circle |z|=R.

Step 1

On the circle, |z2+4|≥R2−4. What is the largest |f| can be?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why is ∮dz/z around the origin 2πj, when ∮zndz is zero for every other integer n?

Practice

Keep practicing

9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.