The sphere
b₀ = 1, b₁ = 0, b₂ = 1: χ = 2
One piece, no loops, one void.
The Betti numbers count the -dimensional holes of a space: the connected pieces, the loops, the voids. The Euler characteristic is the alternating sum .
This page is easier if you are comfortable with:
A circle has , , so . A sphere has , so . A torus has : two independent loops (round and through the hole), so . A surface of genus 2 has and , matching in the Euler characteristic of a surface. The count of loops is related to the winding numbers of the fundamental group of the circle.
The same number is obtained from any decomposition into vertices, edges and faces, : for a cube (Euler's formula). That the alternating sum of simple counts equals the alternating sum of the Betti numbers is the Euler–Poincaré formula. For a graph, (for a connected graph): the number of independent cycles, related to edges in a tree where .
Betti numbers are computed with linear algebra, as ranks of boundary matrices (the rank-nullity theorem), and they are the foundation of topological data analysis. The boundary-of-a-boundary rule behind them is the idea in the generalised Stokes theorem, and the curvature version is the Gauss–Bonnet theorem.
Betti numbers count holes of each dimension, and their alternating sum is the Euler characteristic.
The alternating sum 1 − 2 + 1 is 0.
These examples are worked by hand, step by step, so you can compare your own working.
Find of the sphere with Betti numbers .
Find of the torus with Betti numbers .
A connected graph has 6 vertices and 9 edges. Find and .
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
b₀ = 1, b₁ = 0, b₂ = 1: χ = 2
One piece, no loops, one void.
b₀ = 1, b₁ = 2, b₂ = 1: χ = 0
Two independent loops.
4 vertices, 5 edges, connected: b₀ = 1, b₁ = 2, χ = −1
χ = V − E.
b₁ = 2g: χ = 2 − 2g
Matches the formula.
The Betti number b_k counts k-dimensional holes. The Euler characteristic is χ = b₀ − b₁ + b₂ − ….
Find χ for a sphere with b = (1, 0, 1).
Find χ for a torus with b = (1, 2, 1).
A connected graph has 4 vertices and 5 edges. Find b₁.
A genus-3 surface has b₁ = 6. Find χ.
sphere χ = 1 + 0 + 1 = 2 (by luck) ✗
alternate the signs ✓
The torus shows the difference.
b₀ = 0 for a connected space ✗
b₀ = 1 ✓
b₀ counts components.
b₁ = χ ✗
b₁ counts loops ✓
Different invariants.
torus b₂ = 0 ✗
b₂ = 1 ✓
A closed orientable surface has a void.
Try each one on paper, then open the answer. Use the solver above to see the full working.
2
−2
0
4
8
1
Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Solve: …
Counts of k-dimensional holes.
b₀ − b₁ + b₂ − ….
1, 2, 1.
E − V + 1.
Euler characteristic of a surface.
fundamental group of the circle.
More in Analysis, algebra and topology and the formula sheets.