Chuyển đến nội dung

Bài 22 · Contour Integration

Winding Numbers and the Integral of 1/(z - a)

Compute ∮ (z - a)^n dz around circles, define the winding number of a closed curve around a point, and measure it numerically by counting turns.

The integral of 1/z around the origin is the one result in this chapter that you must never forget: 2πi. It is the seed from which Cauchy's integral formula and the residue theorem grow. In this lesson we compute the integral of every power (z - a)^n around a circle centered at a, then use the answer to define the winding number, a whole number that counts how many times a closed curve goes around a point.

All the powers on a circle

Let C be the circle |z - a| = r, traversed once counterclockwise: z = a + r·e^(it), 0 ≤ t ≤ 2π. Then z - a = r·e^(it) and dz = i·r·e^(it) dt. For any integer n:

Text
∮ (z - a)^n dz = ∫_0^(2π) r^n e^(int) · i r e^(it) dt = i r^(n+1) ∫_0^(2π) e^(i(n+1)t) dt

The last integral is the key fact about complex exponentials:

Text
∫_0^(2π) e^(ikt) dt = 2π  if k = 0,   and 0 if k is any other integer

(For k ≠ 0 the antiderivative e^(ikt)/(ik) has the same value at 0 and 2π.) With k = n + 1:

Text
∮_(|z-a|=r) (z - a)^n dz = 2πi  if n = -1,   and 0 for every other integer n

Notice that the radius r disappeared. The answer is the same for every circle around a. This is a first glimpse of the principle that the integral depends only on what the contour encloses, not on its exact shape.

This only holds for a circle centered at a or, more generally, any closed contour that winds once around a. For a circle that does not enclose a, the function 1/(z - a) is analytic inside and the integral is 0.

Winding number

Take a closed contour γ and a point a not on it. The winding number of γ around a is

Text
n(γ, a) = (1 / 2πi) ∮_γ dz / (z - a)

It equals the number of times γ travels counterclockwise around a, with clockwise turns counted negatively.

Why does that integral count turns? Write z - a = ρ e^(iφ). Then dz/(z - a) = dρ/ρ + i dφ. Over a closed curve the term dρ/ρ integrates to ln ρ_end - ln ρ_start = 0, and the term i dφ integrates to i times the total change of the angle φ. Dividing by 2πi gives the total change of angle measured in full turns.

Some values:

Curve Point Winding number
Unit circle, once counterclockwise 0 1
Unit circle, twice counterclockwise 0 2
Unit circle, once clockwise 0 -1
Unit circle, once counterclockwise 3 0 (point is outside)

For a simple closed curve the winding number is 1 for every point inside (if the curve is counterclockwise), and 0 for every point outside.

flowchart LR
    A["Closed curve γ<br/>and point a"] --> B["Track the angle<br/>of z - a"]
    B --> C["Total angle change<br/>= 2π · n"]
    C --> D["n(γ, a) = winding number"]

The winding number is the total change of the angle of z - a along the curve, divided by 2π.

Try it: integrals of powers

We integrate (z - a)^n around three circles with different centers and radii (each centered at its own a), for n from -3 to 3. Only n = -1 should produce 2πi.

Python Powers around a circle

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Counting turns numerically

Now we compute winding numbers without any integral, by following the angle. Sample the curve, form z - a at each sample, take its angle, unwrap the jumps of 2π, and divide the total change by 2π. We test it on the unit circle traced twice, on a circle traversed clockwise, on a point outside, and on a limaçon-like curve that loops around the origin once more at its inner loop.

Python Winding numbers by unwrapping the angle

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

For the limaçon r = 1 + 2cos θ the small inner loop runs along the positive real axis from 0 to 1. A point such as a = 0.5 lies inside both loops, so the curve winds twice around it and you should find 2. A point such as a = 2 lies inside the big loop only, giving 1. Counting turns this way is exactly how the argument principle is applied later.

Why this matters

  • The result ∮ dz/(z - a) = 2πi is the building block for Cauchy's integral formula.
  • Integrals of (z - a)^n with n ≠ -1 vanish because those powers have antiderivatives (see antiderivatives and path independence), which is why only the coefficient of (z - a)^(-1) survives in a Laurent series. That coefficient is the residue.
  • A contour integral of a function with several singularities will add up one contribution per singularity, weighted by the winding number around it.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What is ∮ (z - 2)^(-2) dz around the circle |z - 2| = 5, counterclockwise?

    Only the power n = -1 gives 2πi. For n = -2 the integral is 0.
  2. 2. The winding number of the unit circle traced three times clockwise around 0 is

    Each clockwise turn counts as -1, so three turns give -3.
  3. 3. A point a lies outside a simple closed curve γ. The winding number n(γ, a) is

    Outside a simple closed curve the angle of z - a returns to its start without a net turn, so the number is 0.
  4. 4. ∮ dz/(z - a) = 2πi · n(γ, a). What does n(γ, a) measure?

    The integral accumulates i times the change of arg(z - a); dividing by 2πi gives full turns.

Summary

  • ∮_(|z-a|=r) (z - a)^n dz is 2πi for n = -1 and 0 for all other integers n, for every radius.
  • The winding number is n(γ, a) = (1/2πi) ∮ dz/(z - a).
  • It counts net counterclockwise turns of γ around a; points outside a simple closed curve get 0.
  • You can compute it numerically by unwrapping the angle of γ(t) - a.

Next: The Cauchy-Goursat theorem

Theo dõi tiến độ của bạn

Tạo tài khoản miễn phí để đánh dấu bài đã học và tiếp tục từ chỗ bạn dừng lại trên mọi thiết bị.