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

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 a contour integral counts 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 what the Residue theorem needs. For most calculations it’s or and gets absorbed into the orientation convention, but you need it once contours stop being simple loops.

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