Winding number
In mathematics, particularly in the fields of topology and complex analysis, the winding number of a closed curve around a point in the plane is an integer that quantifies the net number of times the curve encircles the point, with positive values indicating counterclockwise orientation and negative values indicating clockwise orientation.[1] For a point not lying on the curve, this measure captures the topological linking between the curve and the point, serving as a homotopy invariant that remains unchanged under continuous deformations of the curve that do not pass through the point.[2] Formally, for a smooth closed curve C parameterized by c(t) = (x(t), y(t)) for t \in [0, T] with c(0) = c(T), and a point p \notin C, the winding number W(p, C) can be computed as the total change in the polar angle subtended by the curve at p, divided by $2\pi:W(p, C) = \frac{1}{2\pi} \int_0^T \frac{ -y(t) \dot{x}(t) + x(t) \dot{y}(t) }{ x(t)^2 + y(t)^2 } \, dt ,
where the coordinates are relative to p, and the result is always an integer.[1] In the context of complex analysis, for a closed curve \gamma in the complex plane and a point z_0 \notin \gamma, the winding number n(\gamma, z_0) is equivalently given by the contour integral
n(\gamma, z_0) = \frac{1}{2\pi i} \int_\gamma \frac{dz}{z - z_0} ,
which counts the oriented revolutions of \gamma around z_0.[3] Key properties of the winding number include its additivity under concatenation of curves, where W(p, C_1 \cdot C_2) = W(p, C_1) + W(p, C_2), and its role as a complete invariant for homotopy classes of curves in the punctured plane.[4] For a simple closed curve, such as the boundary of a Jordan domain, the winding number is +1 or -1 for points in the bounded interior component (depending on orientation) and $0 for points in the unbounded exterior component, underpinning the Jordan curve theorem.[4] In complex analysis, it features prominently in the argument principle, which equates the winding number of the image curve f(\gamma) around the origin to the number of zeros minus poles of an analytic function f inside \gamma, enabling proofs of theorems like the fundamental theorem of algebra.[5] These attributes make the winding number a versatile tool in algebraic topology, geometric analysis, and computational geometry.[6]