The winding number of a closed contour around a point is the integer number of times wraps around counterclockwise. Notation: .

Computed by

This integral is always an integer for a closed contour not passing through .

Why integer

Parameterize along . Then . The real part is exact: is continuous and . The imaginary part contributes . For a closed contour, returns to its starting value modulo , so for some integer . Dividing by gives — the net number of counterclockwise wraps.

Examples

  • unit circle counterclockwise, : .
  • Same , (outside): .
  • traverses the unit circle twice counterclockwise: .
  • traverses the unit circle clockwise: .
  • is a figure-eight around two points and : depending on how the loops are oriented, etc., at each point.

Application to contour integrals

For a function with an isolated singularity at :

So contour integrals “count” how many times the path encircles each singularity, weighted by orientation.

The general residue theorem in full form:

For the simple closed contours that come up in practice (and that Vector Calculus and Complex Analysis emphasizes), all winding numbers are or , so this reduces to over enclosed singularities with the natural sign convention.

In context

The winding number formalizes “how many times a path encircles a singularity,” which is the natural way to think about Residue theorem applications. For most calculations the winding number is just or and gets absorbed into the orientation convention, but the concept is essential when contours are non-trivial.

It’s also a foundational concept in algebraic topology: the fundamental group of is , generated by loops around the missing point with the winding number as the homomorphism. This is the same topological obstruction that makes the Complex logarithm multi-valued and the 2D rotational field non-conservative.