In mathematics, the winding number or winding index of a closed curve in the plane around a given point is an integer representing the total number of times that the curve travels counterclockwise around the point, i.e., the curve's number of turns. For certain open plane curves, the number of turns may be a non-integer. The winding number depends on the orientation of the curve, and it is negative if the curve travels around the point clockwise.
Winding numbers are fundamental objects of study in algebraic topology, and they play an important role in vector calculus, complex analysis, geometric topology, differential geometry, and physics (such as in string theory).
Suppose we are given a closed, oriented curve in the xy plane. We can imagine the curve as the path of motion of some object, with the orientation indicating the direction in which the object moves. Then the winding number of the curve is equal to the total number of counterclockwise turns that the object makes around the origin.
When counting the total number of turns, counterclockwise motion counts as positive, while clockwise motion counts as negative. For example, if the object first circles the origin four times counterclockwise, and then circles the origin once clockwise, then the total winding number of the curve is three.
Using this scheme, a curve that does not travel around the origin at all has winding number zero, while a curve that travels clockwise around the origin has negative winding number. Therefore, the winding number of a curve may be any integer. The following pictures show curves with winding numbers between -2 and 3:
… | |||||
-2 | -1 | 0 | |||
… | |||||
1 | 2 | 3 |
Let
\gamma:[0,1]\to\Complex\setminus\{a\}
\gamma
a
wind(\gamma,a)=s(1)-s(0),
where
(\rho,s)
p:\Reals>0 x \Reals\to\Complex\setminus\{a\}:(\rho0,s0)\mapstoa+\rho0
i2\pis0 | |
e |
.
The winding number is well defined because of the existence and uniqueness of the lifted path (given the starting point in the covering space) and because all the fibers of
p
\rho0 x (s0+\Z)
Winding number is often defined in different ways in various parts of mathematics. All of the definitions below are equivalent to the one given above:
A simple combinatorial rule for defining the winding number was proposed by August Ferdinand Möbius in 1865[1] and again independently by James Waddell Alexander II in 1928.[2] Any curve partitions the plane into several connected regions, one of which is unbounded. The winding numbers of the curve around two points in the same region are equal. The winding number around (any point in) the unbounded region is zero. Finally, the winding numbers for any two adjacent regions differ by exactly 1; the region with the larger winding number appears on the left side of the curve (with respect to motion down the curve).
In differential geometry, parametric equations are usually assumed to be differentiable (or at least piecewise differentiable). In this case, the polar coordinate θ is related to the rectangular coordinates x and y by the equation:
d\theta=
1 | |
r2 |
\left(xdy-ydx\right) wherer2=x2+y2.
\theta(t)=\arctan( | y(t) |
x(t) |
)
wind(\gamma,0)=
1 | |
2\pi |
\oint\gamma\left(
x | |
r2 |
dy-
y | |
r2 |
dx\right).
\gamma
dz=ei\thetadr+irei\thetad\theta
and therefore
dz | |
z |
=
dr | |
r |
+id\theta=d[lnr]+id\theta.
As
\gamma
ln(r)
i
\theta
\gamma
1 | |
2\pii |
\oint\gamma
dz | |
z |
.
More generally, if
\gamma
t\in[\alpha,\beta]
\gamma
z0
z0
\gamma
z0\notin\gamma([\alpha,\beta])
Ind\gamma(z0)=
1 | |
2\pii |
\oint\gamma
d\zeta | |
\zeta-z0 |
=
1 | |
2\pii |
\beta | |
\int | |
\alpha |
\gamma'(t) | |
\gamma(t)-z0 |
dt.
This is a special case of the famous Cauchy integral formula.
Some of the basic properties of the winding number in the complex plane are given by the following theorem:[4]
Theorem. Let
\gamma:[\alpha,\beta]\toC
\Omega
\gamma
\Omega:=C\setminus\gamma([\alpha,\beta])
z
\gamma
Ind\gamma(z)\inZ
z\in\Omega
\Omega
z
\Omega
As an immediate corollary, this theorem gives the winding number of a circular path
\gamma
z
\gamma
z
Corollary. If
\gamma
\gamma(t)=a+reint, 0\leqt\leq2\pi, n\inZ
Ind\gamma(z)=\begin{cases}n,&|z-a|<r;\ 0,&|z-a|>r.\end{cases}
In topology, the winding number is an alternate term for the degree of a continuous mapping. In physics, winding numbers are frequently called topological quantum numbers. In both cases, the same concept applies.
The above example of a curve winding around a point has a simple topological interpretation. The complement of a point in the plane is homotopy equivalent to the circle, such that maps from the circle to itself are really all that need to be considered. It can be shown that each such map can be continuously deformed to (is homotopic to) one of the standard maps
S1\toS1:s\mapstosn
Maps from the 3-sphere to itself are also classified by an integer which is also called the winding number or sometimes Pontryagin index.
One can also consider the winding number of the path with respect to the tangent of the path itself. As a path followed through time, this would be the winding number with respect to the origin of the velocity vector. In this case the example illustrated at the beginning of this article has a winding number of 3, because the small loop is counted.
This is only defined for immersed paths (i.e., for differentiable paths with nowhere vanishing derivatives), and is the degree of the tangential Gauss map.
This is called the turning number, rotation number,[5] rotation index[6] or index of the curve, and can be computed as the total curvature divided by 2.
In polygons, the turning number is referred to as the polygon density. For convex polygons, and more generally simple polygons (not self-intersecting), the density is 1, by the Jordan curve theorem. By contrast, for a regular star polygon, the density is q.
Turning number cannot be defined for space curves as degree requires matching dimensions. However, for locally convex, closed space curves, one can define tangent turning sign as
(-1)d
d
The winding number is closely related with the (2 + 1)-dimensional continuous Heisenberg ferromagnet equations and its integrable extensions: the Ishimori equation etc. Solutions of the last equations are classified by the winding number or topological charge (topological invariant and/or topological quantum number).
A point's winding number with respect to a polygon can be used to solve the point in polygon (PIP) problem – that is, it can be used to determine if the point is inside the polygon or not.
Generally, the ray casting algorithm is a better alternative to the PIP problem as it does not require trigonometric functions, contrary to the winding number algorithm. Nevertheless, the winding number algorithm can be sped up so that it too, does not require calculations involving trigonometric functions.[9] The sped-up version of the algorithm, also known as Sunday's algorithm, is recommended in cases where non-simple polygons should also be accounted for.