In mathematics, the Poincaré–Hopf theorem (also known as the Poincaré–Hopf index formula, Poincaré–Hopf index theorem, or Hopf index theorem) is an important theorem in differential topology that relates zeros of continuous vector field on compact differentiable manifold to Euler characteristic of that manifold. It is named after Henri Poincaré who proved it for 2-dimensional case and Heinz Hopf who proved it in general.
Some authors include also additional assumptions like orientability of manifold or smoothness of vector field, but these assumptions are not required in general, and are usually taken to simplify proof or demonstration of theorem in specific context.
The Poincaré–Hopf theorem is often illustrated by the special case of the hairy ball theorem, which simply states that there is no continuous vector field on an even-dimensional n-sphere having no zeros.
Let be a compact differentiable manifold, of dimension , and a continuous vector field on . If has a boundary, then we insist that be pointing in the outward normal direction along the boundary and have no zeros on the boundary.
Suppose that is an isolated zero of , and fix some local coordinates near . Pick a closed ball centered at , so that is the only zero of in . Then the index of at , , can be defined as the degree of the map from the boundary of to the -sphere given by .
Theorem. Let be a compact differentiable manifold and be a continuous vector field on that satisfies assumptions. Then we have the formula:
where the sum of the indices is over all the isolated zeroes of and is the Euler characteristic of .
The theorem was proven for two dimensions by Henri Poincaré and later generalized to higher dimensions by Heinz Hopf.
The Euler characteristic of a closed surface is a purely topological concept, whereas the index of a vector field is purely analytic. Thus, this theorem establishes a deep link between two seemingly unrelated areas of mathematics. It is perhaps as interesting that the proof of this theorem relies heavily on integration, and, in particular, Stokes' theorem, which states that the integral of the exterior derivative of a differential form is equal to the integral of that form over the boundary. In the special case of a manifold without boundary, this amounts to saying that the integral is 0. But by examining vector fields in a sufficiently small neighborhood of a source or sink, we see that sources and sinks contribute integer amounts (known as the index) to the total, and they must all sum to 0. This result may be considered[by whom?] one of the earliest of a whole series of theorems (e.g. Atiyah–Singer index theorem, De Rham's theorem, Grothendieck–Riemann–Roch theorem) establishing deep relationships between geometric and analytical or physical concepts. They play an important role in the modern study of both fields.

It is still possible to define the index for a vector field with nonisolated zeroes. A construction of this index and the extension of Poincaré–Hopf theorem for vector fields with nonisolated zeroes is outlined in Section 1.1.2 of (Brasselet, Seade & Suwa 2009).
Another generalization that uses only compact triangulable spaces and continuous mappings with finitely many fixed points is the Lefschetz-Hopf theorem. Since every vector field induces a flow on manifolds and fixed points of small flows correspond to zeroes of vector fields (and indices of zeroes equal indices of fixed points), the Poincare-Hopf theorem follows immediately from this.