Hairy ball theorem



The hairy ball theorem of algebraic topology (sometimes called the hedgehog theorem in Europe) states that there is no nonvanishing continuous tangent vector field on even-dimensional n-spheres. For the ordinary sphere, or 2‑sphere, if f is a continuous function that assigns a vector in R3 to every point p on a sphere such that f(p) is always tangent to the sphere at p, then there is at least one pole, a point where the field vanishes (a p such that f(p) = 0).

The theorem was first proved by Henri Poincaré for the 2-sphere in 1885, and extended to higher even dimensions in 1912 by Luitzen Egbertus Jan Brouwer.

The theorem has been expressed colloquially as "you can't comb a hairy ball flat without creating a cowlick" or "you can't comb the hair on a coconut".

Counting zeros
Every zero of a vector field has a (non-zero) "index", and it can be shown that the sum of all of the indices at all of the zeros must be two, because the Euler characteristic of the 2-sphere is two. Therefore, there must be at least one zero. This is a consequence of the Poincaré–Hopf theorem. In the case of the torus, the Euler characteristic is 0; and it is possible to "comb a hairy doughnut flat". In this regard, it follows that for any compact regular 2-dimensional manifold with non-zero Euler characteristic, any continuous tangent vector field has at least one zero.

Application to computer graphics
A common problem in computer graphics is to generate a non-zero vector in R3 that is orthogonal to a given non-zero vector. There is no single continuous function that can do this for all non-zero vector inputs. This is a corollary of the hairy ball theorem. To see this, consider the given vector as the radius of a sphere and note that finding a non-zero vector orthogonal to the given one is equivalent to finding a non-zero vector that is tangent to the surface of that sphere where it touches the radius. However, the hairy ball theorem says there exists no continuous function that can do this for every point on the sphere (equivalently, for every given vector).

Lefschetz connection
There is a closely related argument from algebraic topology, using the Lefschetz fixed-point theorem. Since the Betti numbers of a 2-sphere are 1, 0, 1, 0, 0, ... the Lefschetz number (total trace on homology) of the identity mapping is 2. By integrating a vector field we get (at least a small part of) a one-parameter group of diffeomorphisms on the sphere; and all of the mappings in it are homotopic to the identity. Therefore, they all have Lefschetz number 2, also. Hence they have fixed points (since the Lefschetz number is nonzero). Some more work would be needed to show that this implies there must actually be a zero of the vector field. It does suggest the correct statement of the more general Poincaré-Hopf index theorem.

Corollary
A consequence of the hairy ball theorem is that any continuous function that maps an even-dimensional sphere into itself has either a fixed point or a point that maps onto its own antipodal point. This can be seen by transforming the function into a tangential vector field as follows.

Let s be the function mapping the sphere to itself, and let v be the tangential vector function to be constructed. For each point p, construct the stereographic projection of s(p) with p as the point of tangency. Then v(p) is the displacement vector of this projected point relative to p. According to the hairy ball theorem, there is a p such that v(p) = 0, so that s(p) = p.

This argument breaks down only if there exists a point p for which s(p) is the antipodal point of p, since such a point is the only one that cannot be stereographically projected onto the tangent plane of p.

A further corollary is that any even-dimensional projective space has the fixed-point property. This follows from the previous result by lifting continuous functions of $$\mathbb{RP}^{2n}$$ into itself to functions of $$S^{2n}$$ into itself.

Higher dimensions
The connection with the Euler characteristic χ suggests the correct generalisation: the 2n-sphere has no non-vanishing vector field for n ≥ 1. The difference between even and odd dimensions is that, because the only nonzero Betti numbers of the m-sphere are b0 and bm, their alternating sum χ is 2 for m even, and 0 for m odd.

Indeed it is easy to see that an odd-dimensional sphere admits a non-vanishing tangent vector field through a simple process of considering coordinates of the ambient even-dimensional Euclidean space $$\mathbb{R}^{2n}$$ in pairs. Namely, one may define a tangent vector field to $$S^{2n-1}$$ by specifying a vector field $$v: \mathbb{R}^{2n} \to \mathbb{R}^{2n}$$ given by
 * $$ v(x_1,\dots,x_{2n}) = (x_2, -x_1,\dots,x_{2n},-x_{2n-1}).$$

In order for this vector field to restrict to a tangent vector field to the unit sphere $$S^{2n-1}\subset \mathbb{R}^{2n}$$ it is enough to verify that the dot product with a unit vector of the form $$x=(x_1,\dots,x_{2n})$$ satisfying $$\|x\|=1$$ vanishes. Due to the pairing of coordinates, one sees
 * $$ v(x_1,\dots,x_{2n}) \bullet (x_1,\dots,x_{2n}) = (x_2 x_1 - x_1 x_2) + \cdots + (x_{2n} x_{2n-1} - x_{2n-1} x_{2n}) = 0.$$

For a 2n-sphere, the ambient Euclidean space is $$\mathbb{R}^{2n+1}$$ which is odd-dimensional, and so this simple process of pairing coordinates is not possible. Whilst this does not preclude the possibility that there may still exist a tangent vector field to the even-dimensional sphere which does not vanish, the hairy ball theorem demonstrates that in fact there is no way of constructing such a vector field.

Physical exemplifications
The hairy ball theorem has numerous physical exemplifications. For example, rotation of a rigid ball around its fixed axis gives rise to a continuous tangential vector field of velocities of the points located on its surface. This field has two zero-velocity points, which disappear after drilling the ball completely through its center, thereby converting the ball into the topological equivalent of a torus, a body to which the “hairy ball” theorem does not apply. The hairy ball theorem may be successfully applied for the analysis of the propagation of electromagnetic waves, in the case when the wave-front forms a surface, topologically equivalent to a sphere (the surface possessing the Euler characteristic χ = 2). At least one point on the surface at which vectors of electric and magnetic fields equal zero will necessarily appear. On certain 2-spheres of parameter space for electromagnetic waves in plasmas (or other complex media), these type of "cowlicks" or "bald points" also appear, which indicates that there exists topological excitation, i.e., robust waves that are immune to scattering and reflections, in the systems. If one idealizes the wind in the Earth's atmosphere as a tangent-vector field, then the hairy ball theorem implies that given any wind at all on the surface of the Earth, there must at all times be a cyclone somewhere. Note, however, that wind can move vertically in the atmosphere, so the idealized case is not meteorologically sound. (What is true is that for every "shell" of atmosphere around the Earth, there must be a point on the shell where the wind is not moving horizontally.) The theorem also has implications in computer modeling (including video game design), in which a common problem is to compute a non-zero 3-D vector that is orthogonal (i.e., perpendicular) to a given one; the hairy ball theorem implies that there is no single continuous function that accomplishes this task.