# Euler characteristic

In mathematics, and more specifically in algebraic topology and polyhedral combinatorics, the Euler characteristic is a topological invariant, a number that describes a topological space's shape or structure regardless of the way it is bent. It is commonly denoted by .
The Euler characteristic was originally defined for polyhedra and used to prove various theorems about them, including the classification of the Platonic solids. It was stated for Platonic solids in 1537 in an unpublished manuscript by Francesco Maurolico. Leonhard Euler, for whom the concept is named, introduced it for convex polyhedra more generally but failed to rigorously prove that it is an invariant. In modern mathematics, the Euler characteristic arises from homology and, more abstractly, homological algebra.

## Polyhedra

The Euler characteristic was classically defined for the surfaces of polyhedra, according to the formula
where V, E, and F are respectively the numbers of vertices, edges and faces in the given polyhedron. Any convex polyhedron's surface has Euler characteristic
This equation, stated by Leonhard Euler in 1758, is known as Euler's polyhedron formula. It corresponds to the Euler characteristic of the sphere, and applies identically to spherical polyhedra. An illustration of the formula on some polyhedra is given below.
 Name Image VerticesV EdgesE FacesF Euler characteristic:V − E + F Tetrahedron 4 6 4 2 Hexahedron or cube 8 12 6 2 Octahedron 6 12 8 2 Dodecahedron 20 30 12 2 Icosahedron 12 30 20 2

The surfaces of nonconvex polyhedra can have various Euler characteristics:
 Name Image VerticesV EdgesE FacesF Euler characteristic:V − E + F Tetrahemihexahedron 6 12 7 1 Octahemioctahedron 12 24 12 0 Cubohemioctahedron 12 24 10 −2 Small stellated dodecahedron 12 30 12 −6 Great stellated dodecahedron 20 30 12 2

For regular polyhedra, Arthur Cayley derived a modified form of Euler's formula using the density D, vertex figure density dv, and face density :
This version holds both for convex polyhedra and the non-convex Kepler-Poinsot polyhedra.
Projective polyhedra all have Euler characteristic 1, like the real projective plane, while the surfaces of toroidal polyhedra all have Euler characteristic 0, like the torus.

### Plane graphs

The Euler characteristic can be defined for connected plane graphs by the same formula as for polyhedral surfaces, where F is the number of faces in the graph, including the exterior face.
The Euler characteristic of any plane connected graph G is 2. This is easily proved by induction on the number of faces determined by G, starting with a tree as the base case. For trees, and. If G has C components, the same argument by induction on F shows that. One of the few graph theory papers of Cauchy also proves this result.
Via stereographic projection the plane maps to the two-dimensional sphere, such that a connected graph maps to a polygonal decomposition of the sphere, which has Euler characteristic 2. This viewpoint is implicit in Cauchy's proof of Euler's formula given below.

### Proof of Euler's formula

There are many proofs of Euler's formula. One was given by Cauchy in 1811, as follows. It applies to any convex polyhedron, and more generally to any polyhedron whose boundary is topologically equivalent to a sphere and whose faces are topologically equivalent to disks.
Remove one face of the polyhedral surface. By pulling the edges of the missing face away from each other, deform all the rest into a planar graph of points and curves, in such a way that the perimeter of the missing face is placed externally, surrounding the graph obtained, as illustrated by the first of the three graphs for the special case of the cube. After this deformation, the regular faces are generally not regular anymore. The number of vertices and edges has remained the same, but the number of faces has been reduced by 1. Therefore, proving Euler's formula for the polyhedron reduces to proving VE + F =1 for this deformed, planar object.
If there is a face with more than three sides, draw a diagonal—that is, a curve through the face connecting two vertices that aren't connected yet. This adds one edge and one face and does not change the number of vertices, so it does not change the quantity VE + F. Continue adding edges in this manner until all of the faces are triangular.
Apply repeatedly either of the following two transformations, maintaining the invariant that the exterior boundary is always a simple cycle:
1. Remove a triangle with only one edge adjacent to the exterior, as illustrated by the second graph. This decreases the number of edges and faces by one each and does not change the number of vertices, so it preserves VE + F.
2. Remove a triangle with two edges shared by the exterior of the network, as illustrated by the third graph. Each triangle removal removes a vertex, two edges and one face, so it preserves VE + F.
These transformations eventually reduce the planar graph to a single triangle.
At this point the lone triangle has V = 3, E = 3, and F = 1, so that VE + F = 1. Since each of the two above transformation steps preserved this quantity, we have shown VE + F = 1 for the deformed, planar object thus demonstrating VE + F = 2 for the polyhedron. This proves the theorem.
For additional proofs, see Twenty Proofs of Euler's Formula by David Eppstein. Multiple proofs, including their flaws and limitations, are used as examples in Proofs and Refutations by Imre Lakatos.

## Topological definition

The polyhedral surfaces discussed above are, in modern language, two-dimensional finite CW-complexes. In general, for any finite CW-complex, the Euler characteristic can be defined as the alternating sum
where kn denotes the number of cells of dimension n in the complex.
Similarly, for a simplicial complex, the Euler characteristic equals the alternating sum
where kn denotes the number of n-simplexes in the complex.
More generally still, for any topological space, we can define the nth Betti number bn as the rank of the n-th singular homology group. The Euler characteristic can then be defined as the alternating sum
This quantity is well-defined if the Betti numbers are all finite and if they are zero beyond a certain index n0. For simplicial complexes, this is not the same definition as in the previous paragraph but a homology computation shows that the two definitions will give the same value for.

## Properties

The Euler characteristic behaves well with respect to many basic operations on topological spaces, as follows.

### Homotopy invariance

Homology is a topological invariant, and moreover a homotopy invariant: Two topological spaces that are homotopy equivalent have isomorphic homology groups. It follows that the Euler characteristic is also a homotopy invariant.
For example, any contractible space has trivial homology, meaning that the 0th Betti number is 1 and the others 0. Therefore, its Euler characteristic is 1. This case includes Euclidean space of any dimension, as well as the solid unit ball in any Euclidean space — the one-dimensional interval, the two-dimensional disk, the three-dimensional ball, etc.
For another example, any convex polyhedron is homeomorphic to the three-dimensional ball, so its surface is homeomorphic to the two-dimensional sphere, which has Euler characteristic 2. This explains why convex polyhedra have Euler characteristic 2.

### Inclusion–exclusion principle

If M and N are any two topological spaces, then the Euler characteristic of their disjoint union is the sum of their Euler characteristics, since homology is additive under disjoint union:
More generally, if M and N are subspaces of a larger space X, then so are their union and intersection. In some cases, the Euler characteristic obeys a version of the inclusion–exclusion principle:
This is true in the following cases:
In general, the inclusion–exclusion principle is false. A counterexample is given by taking X to be the real line, M a subset consisting of one point and N the complement of M.

### Connected sum

For two connected closed n-manifolds one can obtain a new connected manifold
via the connected sum operation.
The Euler characteristic is related by the formula

### Product property

Also, the Euler characteristic of any product space M × N is
These addition and multiplication properties are also enjoyed by cardinality of sets. In this way, the Euler characteristic can be viewed as a generalisation of cardinality; see .

### Covering spaces

Similarly, for an k-sheeted covering space one has
More generally, for a ramified covering space, the Euler characteristic of the cover can be computed from the above, with a correction factor for the ramification points, which yields the Riemann–Hurwitz formula.

### Fibration property

The product property holds much more generally, for fibrations with certain conditions.
If is a fibration with fiber F, with the base B path-connected, and the fibration is orientable over a field K, then the Euler characteristic with coefficients in the field K satisfies the product property:
This includes product spaces and covering spaces as special cases,
and can be proven by the Serre spectral sequence on homology of a fibration.
For fiber bundles, this can also be understood in terms of a transfer map – note that this is a lifting and goes "the wrong way" – whose composition with the projection map is multiplication by the Euler class of the fiber:

## Examples

### Surfaces

The Euler characteristic can be calculated easily for general surfaces by finding a polygonization of the surface and using the above definitions.
 Name Image Euler characteristic Interval 1 Circle 0 Disk 1 Sphere 2 Torus 0 Double torus −2 Triple torus −4 Real projective plane 1 Möbius strip 0 Klein bottle 0 Two spheres 2 + 2 = 4 Three spheres 2 + 2 + 2 = 6

### Soccer ball

It is common to construct soccer balls by stitching together pentagonal and hexagonal pieces, with three pieces meeting at each vertex. If P pentagons and H hexagons are used, then there are F = P + H faces, V = / 3 vertices, and E = / 2 edges. The Euler characteristic is thus
Because the sphere has Euler characteristic 2, it follows that P = 12. That is, a soccer ball constructed in this way always has 12 pentagons. In principle, the number of hexagons is unconstrained. This result is applicable to fullerenes and Goldberg polyhedra.

### Arbitrary dimensions

The n-dimensional sphere has singular homology groups equal to
hence has Betti number 1 in dimensions 0 and n, and all other Betti numbers are 0. Its Euler characteristic is then 1 + n — that is, either 0 or 2.
The n-dimensional real projective space is the quotient of the n-sphere by the antipodal map. It follows that its Euler characteristic is exactly half that of the corresponding sphere — either 0 or 1.
The n-dimensional torus is the product space of n circles. Its Euler characteristic is 0, by the product property. More generally, any compact parallelizable manifold, including any compact Lie group, has Euler characteristic 0.
The Euler characteristic of any closed odd-dimensional manifold is also 0. The case for orientable examples is a corollary of Poincaré duality. This property applies more generally to any compact stratified space all of whose strata have odd dimension. It also applies to closed odd-dimensional non-orientable manifolds, via the two-to-one orientable double cover.

## Relations to other invariants

The Euler characteristic of a closed orientable surface can be calculated from its genus g as
The Euler characteristic of a closed non-orientable surface can be calculated from its non-orientable genus k as
For closed smooth manifolds, the Euler characteristic coincides with the Euler number, i.e., the Euler class of its tangent bundle evaluated on the fundamental class of a manifold. The Euler class, in turn, relates to all other characteristic classes of vector bundles.
For closed Riemannian manifolds, the Euler characteristic can also be found by integrating the curvature; see the Gauss-Bonnet theorem for the two-dimensional case and the generalized Gauss-Bonnet theorem for the general case.
A discrete analog of the Gauss-Bonnet theorem is Descartes' theorem that the "total defect" of a polyhedron, measured in full circles, is the Euler characteristic of the polyhedron; see defect.
Hadwiger's theorem characterizes the Euler characteristic as the unique translation-invariant, finitely additive, not-necessarily-nonnegative set function defined on finite unions of compact convex sets in Rn that is "homogeneous of degree 0".

## Generalizations

For every combinatorial cell complex, one defines the Euler characteristic as the number of 0-cells, minus the number of 1-cells, plus the number of 2-cells, etc., if this alternating sum is finite. In particular, the Euler characteristic of a finite set is simply its cardinality, and the Euler characteristic of a graph is the number of vertices minus the number of edges.
More generally, one can define the Euler characteristic of any chain complex to be the alternating sum of the ranks of the homology groups of the chain complex, assuming that all these ranks are finite.
A version of Euler characteristic used in algebraic geometry is as follows. For any coherent sheaf on a proper scheme X, one defines its Euler characteristic to be
where is the dimension of the i-th sheaf cohomology group of. In this case, the dimensions are all finite by Grothendieck's finiteness theorem. This is an instance of the Euler characteristic of a chain complex, where the chain complex is a finite resolution of by acyclic sheaves.
Another generalization of the concept of Euler characteristic on manifolds comes from orbifolds. While every manifold has an integer Euler characteristic, an orbifold can have a fractional Euler characteristic. For example, the teardrop orbifold has Euler characteristic 1 + 1/p, where p is a prime number corresponding to the cone angle 2' / p.
The concept of Euler characteristic of a bounded finite poset is another generalization, important in combinatorics. A poset is "bounded" if it has smallest and largest elements; call them 0 and 1. The Euler characteristic of such a poset is defined as the integer μ, where μ is the Möbius function in that poset's incidence algebra.
This can be further generalized by defining a
Q'-valued Euler characteristic for certain finite categories, a notion compatible with the Euler characteristics of graphs, orbifolds and posets mentioned above. In this setting, the Euler characteristic of a finite group or monoid G is 1/|G|, and the Euler characteristic of a finite groupoid is the sum of 1/|Gi|, where we picked one representative group Gi'' for each connected component of the groupoid.