Without much exaggeration, it can be said that only one important topological concept came to light before Poincaré. This was the Euler characteristic of surfaces…
Take any box, die, pyramid or gemstone. Count its corners, its edges and its flat faces. Subtract the second number from the first, and add the third. A cube gives A pyramid gives A football, stitched from 32 panels, gives The answer is always 2. This chapter is about why — and about what happens when it is not 2, which turns out to be even more interesting.
A curious count
A polyhedron is a solid whose surface is made of flat polygons (with no holes in them), the faces, joined along straight edges, with the edges meeting at vertices (corners). The cube is one; so is a pyramid, a prism, a cut diamond. For each polyhedron we count three numbers: the number of vertices; the number of edges; and the number of faces. Then we compute Try it in the gallery below; the figure does the counting with you.
Angle defects: every corner falls 90° short of a flat 360°, and 8 × 90° = 720°.
Tap a count to watch it being counted.
The five Platonic solids — the convex polyhedra whose faces are identical regular polygons, the same number meeting at every corner — make a good first test.
| Solid | Faces | V | E | F | V − E + F |
|---|---|---|---|---|---|
| Tetrahedron | 4 triangles | 4 | 6 | 4 | 2 |
| Cube | 6 squares | 8 | 12 | 6 | 2 |
| Octahedron | 8 triangles | 6 | 12 | 8 | 2 |
| Dodecahedron | 12 pentagons | 20 | 30 | 12 | 2 |
| Icosahedron | 20 triangles | 12 | 30 | 20 | 2 |
The individual numbers vary wildly; the combination does not. It is not just the Platonic solids. Take a prism over a polygon with sides — two copies of the polygon, top and bottom, joined by rectangles. Drag the number to change it: with 6 there are vertices, edges ( on top, on the bottom, upright) and faces, and . A pyramid over the same polygon has vertices, edges and faces: . A double pyramid has vertices, edges and faces: . In each case the algebra shows why: the s cancel, and 2 is left over.
Euler’s polyhedron formula
“Convex” means the solid has no dents: the straight segment between any two of its points stays inside it. Every polyhedron in the gallery is convex. The more general phrasing says the same thing topologically: the surface must be a sphere in disguise — homeomorphic to a sphere, in the language of §2.1 Spaces and Continuity. That condition is not decoration. We will see that the whole content of the formula is a fact about the sphere, and that other surfaces give other numbers.
Descartes’s notebook contained a related theorem that you can already check in the gallery. At each corner of a convex polyhedron, the angles of the faces meeting there add up to less than a full turn of — otherwise the corner would be flat. The shortfall is the angle defect at that corner. A cube has three right angles at each corner, so each defect is and the eight corners together fall short by Descartes found that the total defect of every convex polyhedron is exactly two full turns (Federico 1982) — and two is the same 2 as in Euler’s formula. That should seem odd. Adding up angles is measuring; counting corners, edges and faces is not. Why should one know about the other? Keep the question in mind: the last section of the chapter answers it in three lines.
Euler’s formula is one relation among the numbers of vertices, edges and faces. Finding all such relations, for polytopes of every dimension, is still an active subject, and some of its simplest questions are open.
Why it is true
A good proof should explain the 2. Here are two. The first is Cauchy’s, which changes the polyhedron step by step without ever changing the second counts the edges with two trees.
Cauchy’s proof: shrink the problem without changing the answer
The idea is to keep simplifying the picture by moves that never change until we reach something trivial.
- Remove one face and flatten. Take out one face, say the front face of the cube, and imagine the rest is made of stretchy rubber. Pull the hole wide open and lay the surface flat on a table. You get a flat network of points and lines — for the cube, a small square inside a big one, joined at the corners. Vertices and edges are untouched; only one face is gone. So for the flat network, is exactly one less than for the polyhedron: Euler’s formula is the same as saying the flat network has (The removed face has not really disappeared: it has become the region outside the network.)
- Cut every face into triangles. Draw diagonals across each polygon until only triangles are left. Each diagonal adds one edge, and splits one face into two, so it adds one face too. and both go up by 1, and is unchanged.
- Remove triangles from the outside, one at a time. A triangle on the outside of the network touches the outside
along either one edge or two edges.
- One edge: removing the triangle removes that edge and one face. and both drop by 1; no change.
- Two edges: removing the triangle removes both edges, the corner between them, and one face. drops by 1, by 2 and by 1; the change in is
- Stop when one triangle is left. It has Since nothing ever changed, the flat network had all along, and the polyhedron, with its face put back, has
A cube has 8 vertices, 12 edges and 6 faces. We will show that V − E + F = 2 by changing the picture in steps that never change V − E + F.
Look at where the proof used the shape of the polyhedron. Only in step 1: removing a face had to leave something that can be stretched flat. That is true for anything shaped like a sphere — a sphere with a hole punched in it is a disk — and it is exactly what will fail for a polyhedron with a tunnel through it.
A second proof: two trees
Flatten the polyhedron as in step 1 (or simply draw its edges on a sphere). Now choose a spanning tree: a set of edges that connects all vertices without forming any loop. A tree on vertices always has exactly edges, because building it up one edge at a time, each new edge brings in exactly one new vertex. Colour these edges teal.
Now look at the edges you did not use. Put a dot in the middle of every face (including one for the outside face), and for each unused edge, draw a short path between the two faces on either side of it, crossing that edge. These paths join the face dots into a network of their own, the dual graph. Two facts make the proof work. The paths join up all the faces — if a group of faces were cut off from the rest, the teal edges around it would have to form a loop, and a tree has none. And the paths contain no loop — a loop of paths would fence off some vertices from the others, but the teal tree connects everything. So the unused edges form a tree on the faces, with edges. Every edge is in exactly one of the two trees, so The 2 is one for each tree. This proof goes back to Karl von Staudt’s Geometrie der Lage of 1847 (von Staudt 1847), and it is the favourite of David Eppstein, who has collected twenty-one different proofs of the formula (see the reading list).
Teal: a spanning tree — it reaches all 8 corners, with no loops, using 7 edges. Violet: the edges it leaves out, crossed by paths joining the 6 faces (the outside counts) into a tree with 5 edges. Hover a grey edge.
Cutting finer never changes it
Cauchy’s proof hides a more general idea, worth pulling into the light. Take any surface cut into polygons — a polyhedron, or a triangulated torus from §2.5 Simplicial Complexes — and refine it by one of three moves.
- Split an edge by putting a new vertex in its middle: goes up by 1, and the edge becomes two, so goes up by 1. Change in
- Cut a face with a new edge between two of its corners: goes up by 1 and goes up by 1. Change:
- Put a vertex inside a face with corners and join it to all of them: goes up by 1, by and the face becomes triangles, so goes up by Change:
Try to break it.
Now we can define the number in general. A finite simplicial complex has an f-vector — the numbers of vertices, edges, triangles, tetrahedra and so on — and a CW complex has its numbers of cells
This is what makes a topological invariant: a number attached to a space that homeomorphisms cannot change. If two spaces have different Euler characteristics, they are definitely not homeomorphic — no amount of stretching will turn one into the other.
Some quick checks with complexes from the previous chapter. A single point: A solid triangle: A solid tetrahedron: All of these can be squashed down to a point, and all have The circle, as a hollow triangle: The barycentric subdivisions of the last chapter changed the f-vector of a triangle with an edge attached from to to and every time Hatcher’s textbook opens with a stranger example, the “house with two rooms”: a box divided by a floor into two rooms, each reached only by a tunnel through the other. Cut into the obvious pieces it has vertices, edges and faces, and — a hint that, against all appearances, this house too can be squashed to a point (Hatcher 2002, Example 0.2).
Polyhedra with tunnels
In 1813 Simon Lhuilier pointed out polyhedra for which Euler’s formula fails: polyhedra with tunnels through them (Lhuilier 1813). Take a square picture frame, with a square hole through the middle. Its top and bottom are each made of four trapezoids, the outside of four rectangles, and the inside of the tunnel of four more: faces. There are corners (eight around the top, eight around the bottom) and edges. So Every face is a flat polygon, every edge is shared by two faces, nothing is weird — except that the surface is not a sphere in disguise. It is a torus.
Not 2! Each face is a flat polygon and every edge joins two faces — but there is a tunnel through the solid.
Why exactly 2 per tunnel? Cauchy’s proof gives a clue. A surface with a tunnel cannot be laid flat after removing just one face: you must also cut the tube of the tunnel, and cut around the ring of the frame. Here is a direct count instead. Drilling a tunnel removes a small square face from the top and one from the bottom, and puts in a tube of four rectangular walls. The 8 corners of the two little squares stay, as corners where the walls meet the top and bottom; their 8 edges stay too, as the top and bottom rims of the tube. The tube adds 4 new upright edges and 4 new faces, and we lost 2 faces. Total change: (This assumes the two little squares were already faces of the surface; you can always arrange that by subdividing first, which does not change Lhuilier had already found the general rule: a polyhedron pierced by separate tunnels has
Lhuilier had another “monster”, as Lakatos would later call such examples: a cube with a cube-shaped cavity hidden inside it, like a hollow box with thick walls. Its surface is made of two separate pieces — the outside of the box and the inside of the cavity — each a cube’s surface. Counting everything gives and This one is easy to explain: the count adds up over separate pieces, and each piece is a sphere in disguise. The Euler characteristic of several separate pieces is the sum of their Euler characteristics.
χ for every closed surface
We can now compute the Euler characteristic of every surface we met in §2.2 Gluing Spaces Together and §2.4 Manifolds and Surfaces, using any decomposition we like.
| Surface | Decomposition | Count | χ |
|---|---|---|---|
| Sphere | hollow tetrahedron hollow octahedron point + disk | 4 − 6 + 4 6 − 12 + 8 1 − 0 + 1 | 2 |
| Torus | 3 × 3 grid 7-vertex torus point, 2 loops, disk | 9 − 27 + 18 7 − 21 + 14 1 − 2 + 1 | 0 |
| Projective plane | 6-vertex point, 1 loop, disk | 6 − 15 + 10 1 − 1 + 1 | 1 |
| Klein bottle | twisted 3 × 3 grid point, 2 loops, disk | 9 − 27 + 18 1 − 2 + 1 | 0 |
| Genus-2 surface | two 7-vertex tori, glued point, 4 loops, disk | 11 − 39 + 26 1 − 4 + 1 | −2 |
The cell decompositions (the last line of each row) come straight from the gluing words of §2.2 Gluing Spaces Together: a polygon whose sides are glued in pairs so that all its corners become a single point gives one 0-cell, one 1-cell for each letter, and one 2-cell. The surface of genus — a sphere with handles, glued from a -gon with the word — has letters, so For 3 handles that is . Gluing projective planes together (the word gives a non-orientable surface with so for 3 it is .
The same formulas fall out of the connected sum of §2.4 Manifolds and Surfaces, which cuts a small disk out of each of two surfaces and glues them along the two boundary circles. Triangulate both surfaces and cut out one triangle from each: each drops by 1 (one face fewer). Then glue the two triangular holes together: the 3 vertices and 3 edges of one hole are matched with those of the other, so we lose vertices and edges, which changes nothing ( Hence Adding a handle — a connected sum with a torus — lowers by adding a projective plane lowers it by
Counting by cutting and pasting
The connected-sum argument is one instance of a rule that deserves a name of its own. Suppose a complex is the union of two subcomplexes and which overlap in the subcomplex Count the cells of by counting those of and those of the cells in the overlap get counted twice, so we subtract them once. Since this works for vertices, edges and faces separately, it works for the alternating sum: This is the same inclusion–exclusion you would use to count the people in two overlapping clubs. Combined with two facts we already know — a disk has and a circle, a cylinder and a Möbius band all have — it computes Euler characteristics by cutting shapes into simple pieces.
- Sphere = northern hemisphere ∪ southern hemisphere, two disks meeting along the equator, a circle:
- Torus = two cylinders (slice the doughnut like a bagel into an upper and a lower half; each half is a cylinder), meeting along two circles, the inner and the outer rim:
- Projective plane = a Möbius band with a disk sewn onto its single boundary circle:
- Klein bottle = two Möbius bands sewn together along their boundary circles:
Each answer agrees with the table. In §3.6 Exact Sequences and Mayer–Vietoris this cut-and-paste reasoning grows into the Mayer–Vietoris sequence, which does the same thing for the holes themselves rather than only for their alternating count.
Two numbers decide everything
In §2.4 Manifolds and Surfaces you met the classification of closed surfaces: every closed connected surface is a sphere, a sphere with handles, or a connected sum of projective planes (Armstrong 1983, ch. 7). Combine that with the formulas we just found.
Indeed, among orientable surfaces determines the number of handles and among non-orientable ones determines the number of projective planes Neither test is enough alone: the torus and the Klein bottle both have but one is orientable and the other is not; the sphere and the torus are both orientable, but have and
Now we can keep a promise from the last chapter: why can no torus be triangulated with fewer than seven vertices? In a triangulated closed surface, (see the exercise “Counting a triangulated surface”). So a triangulated torus has and since at most edges are possible, which forces The seven-vertex torus meets this bound exactly — which is why every pair of its vertices had to be joined. The same argument gives for the projective plane and for the sphere.
χ for graphs: pieces minus loops
A graph — vertices joined by edges, with no faces — is a one-dimensional complex, and its Euler characteristic is simply What does it measure? Build a graph one step at a time. Adding a lone vertex creates a new piece, and raises by 1. Adding an edge lowers by 1, and it does one of two things: either it joins two pieces into one, or both its ends are already in the same piece and it closes a new loop. So every step either changes the number of pieces or the number of loops, and keeping track gives A tree has one piece and no loops, so a triangle has one piece and one loop, so
Each gold edge closes a loop. Hover one to see its loop.
For a connected graph this says that the number of independent loops is a formula found by Gustav Kirchhoff in 1847 while studying electrical circuits (Kirchhoff 1847) (it counts how many independent loop currents a circuit can carry). The words “independent loop” need care — the graph has seven different loops but only independent ones — and §3.1 Cycles and Boundaries will make them precise. In that chapter the number of pieces is called and the number of independent loops
A shadow of something deeper
Look at what just happened with graphs. On the left of is a count of the pieces of a decomposition: vertices and edges, which depend on how we drew the graph. On the right is a count of features of the shape itself: how many components it has and how many independent loops. The equation says the alternating count of pieces equals the alternating count of holes.
The same is true one dimension up. For a closed surface, let be the number of components, the number of independent loops that do not fence off a piece of the surface, and the number of enclosed hollows. For the sphere these are one piece; no such loop, since every loop on a sphere cuts it in two; one hollow inside. For the torus they are the loop around the hole and the loop around the tube, neither of which cuts the torus apart, and the hollow inside the tube. And indeed This is the Euler–Poincaré formula, where the numbers the Betti numbers, count “-dimensional holes”. Making “hole” precise, defining the properly, and proving the formula is the business of Part III; it happens in §3.3 Homology Groups. The proof is the alternating ledger you saw with graphs, in every dimension: each new cell either creates a new hole or fills an old one, and the alternating signs keep the books balanced.
The Euler characteristic turns up far beyond counting. Here is the promised answer to Descartes’s puzzle. A face with corners has angles adding up to Add this up over all the faces: since every edge borders two faces, the s add up to and the angles of all the faces together come to The total defect is a full turn at every vertex minus all those angles: That holds for any closed polyhedral surface — for a sphere, and for the picture frame, where each of the eight outer corners falls short of flat while each of the eight corners around the tunnel overshoots by For smooth surfaces the defects become curvature, and the Gauss–Bonnet theorem says the total curvature of a closed surface is whatever its shape. A vector field on a closed surface — a breeze blowing along it — must have calm points whose “indices” add up to since every breeze on the Earth has a calm spot somewhere (the hairy ball theorem), while a torus, with can be combed smooth. These stories are told in §4.8 Curvature and Characteristic Classes.
And the alternating sum makes sense in every dimension. The 3-dimensional sphere, triangulated as the boundary of a 4-simplex, has in fact every closed manifold of odd dimension has a consequence of the Poincaré duality of §4.6 Poincaré Duality. Not bad for a count Euler made with polyhedra.
Still, a single number is a blunt instrument, and the minus signs are to blame. A circle has so do two separate circles, because the extra piece and the extra loop cancel. A sphere and a pair of points both have The alternating sum balances the books and throws away the entries. To get the entries back — one at a time — we have to say exactly what a hole is, which, you may have noticed, nobody has yet done, and then count holes straight from a list of simplices. That is the machine Part III builds, starting in §3.1 Cycles and Boundaries with the pieces and loops of a graph.
Exercises
Summary
Further reading
- Euler’s Gem: The Polyhedron Formula and the Birth of Topology — David S. RichesonA whole book about V − E + F, for a general reader: the history from the Greeks to Poincaré, many proofs, the torus and beyond, and Gauss–Bonnet. The best companion to this chapter.
- Proofs and Refutations — Imre LakatosA classroom dialogue about Euler’s formula, its proofs and its counterexamples (picture frames, cubes within cubes, crested cubes). A classic of the philosophy of mathematics, and great fun.
- An animated version of the “two trees” proof in this chapter.
- Exactly what it says: a long list of different proofs, with sketches and references. Browse for the variety of ideas.
- Graphs, Surfaces and Homology — Peter GiblinThe Euler characteristic of graphs and surfaces, the classification of surfaces, and how it all becomes homology — at undergraduate level, with many exercises.
- Computational Topology: An Introduction — Herbert Edelsbrunner and John HarerEuler characteristic and the classification of surfaces from a computer scientist’s point of view, leading into homology and persistence.
- How Mathematicians Use Homology to Make Sense of Topology — Kelsey Houston-Edwards, Quanta Magazine freeA short popular article that ends exactly where this chapter does: the Euler characteristic as an alternating count of holes.