In
algebraic topology
Algebraic topology is a branch of mathematics that uses tools from abstract algebra to study topological spaces. The basic goal is to find algebraic invariant (mathematics), invariants that classification theorem, classify topological spaces up t ...
, the Betti numbers are used to distinguish
topological space
In mathematics, a topological space is, roughly speaking, a Geometry, geometrical space in which Closeness (mathematics), closeness is defined but cannot necessarily be measured by a numeric Distance (mathematics), distance. More specifically, a to ...
s based on the connectivity of ''n''-dimensional
simplicial complex
In mathematics, a simplicial complex is a structured Set (mathematics), set composed of Point (geometry), points, line segments, triangles, and their ''n''-dimensional counterparts, called Simplex, simplices, such that all the faces and intersec ...
es. For the most reasonable finite-dimensional
space
Space is a three-dimensional continuum containing positions and directions. In classical physics, physical space is often conceived in three linear dimensions. Modern physicists usually consider it, with time, to be part of a boundless ...
s (such as
compact manifold
In mathematics, a closed manifold is a manifold Manifold with boundary, without boundary that is Compact space, compact.
In comparison, an open manifold is a manifold without boundary that has only ''non-compact'' components.
Examples
The onl ...
s, finite
simplicial complexes or
CW complexes), the sequence of Betti numbers is 0 from some point onward (Betti numbers vanish above the dimension of a space), and they are all finite.
The ''n''th Betti number represents the
rank of the ''n''th
homology group
In mathematics, the term homology, originally introduced in algebraic topology, has three primary, closely-related usages. The most direct usage of the term is to take the ''homology of a chain complex'', resulting in a sequence of abelian grou ...
, denoted ''H''
''n'', which tells us the maximum number of cuts that can be made before separating a surface into two pieces or 0-cycles, 1-cycles, etc. For example, if
then
, if
then
, if
then
, if
then
, etc. Note that only the ranks of infinite groups are considered, so for example if
, where
is the
finite cyclic group of order 2, then
. These finite components of the homology groups are their
torsion subgroup
In the theory of abelian groups, the torsion subgroup ''AT'' of an abelian group ''A'' is the subgroup of ''A'' consisting of all elements that have finite order (the torsion elements of ''A''). An abelian group ''A'' is called a torsion group ...
s, and they are denoted by torsion coefficients.
The term "Betti number" was coined by
Henri Poincaré
Jules Henri Poincaré (, ; ; 29 April 185417 July 1912) was a French mathematician, Theoretical physics, theoretical physicist, engineer, and philosophy of science, philosopher of science. He is often described as a polymath, and in mathemati ...
after
Enrico Betti
Enrico Betti Glaoui (21 October 1823 – 11 August 1892) was an Italian mathematician, now remembered mostly for his 1871 paper on topology that led to the later naming after him of the Betti numbers. He worked also on the theory of equations ...
. The modern formulation is due to
Emmy Noether
Amalie Emmy Noether (23 March 1882 – 14 April 1935) was a German mathematician who made many important contributions to abstract algebra. She also proved Noether's theorem, Noether's first and Noether's second theorem, second theorems, which ...
. Betti numbers are used today in fields such as
simplicial homology,
computer science
Computer science is the study of computation, information, and automation. Computer science spans Theoretical computer science, theoretical disciplines (such as algorithms, theory of computation, and information theory) to Applied science, ...
and
digital images.
Geometric interpretation

Informally, the ''k''th Betti number refers to the number of ''k''-dimensional ''holes'' on a topological surface. A "''k''-dimensional ''hole''" is a ''k''-dimensional cycle that is not a boundary of a (''k''+1)-dimensional object.
The first few Betti numbers have the following definitions for 0-dimensional, 1-dimensional, and 2-dimensional
simplicial complex
In mathematics, a simplicial complex is a structured Set (mathematics), set composed of Point (geometry), points, line segments, triangles, and their ''n''-dimensional counterparts, called Simplex, simplices, such that all the faces and intersec ...
es:
* ''b''
0 is the number of connected components;
* ''b''
1 is the number of one-dimensional or "circular" holes;
* ''b''
2 is the number of two-dimensional "voids" or "cavities".
Thus, for example, a torus has one connected surface component so ''b''
0 = 1, two "circular" holes (one equatorial and one
meridional) so ''b''
1 = 2, and a single cavity enclosed within the surface so ''b''
2 = 1.
Another interpretation of ''b''
k is the maximum number of ''k''-dimensional curves that can be removed while the object remains connected. For example, the torus remains connected after removing two 1-dimensional curves (equatorial and meridional) so ''b''
1 = 2.
The two-dimensional Betti numbers are easier to understand because we can see the world in 0, 1, 2, and 3-dimensions.
Formal definition
For a non-negative
integer
An integer is the number zero (0), a positive natural number (1, 2, 3, ...), or the negation of a positive natural number (−1, −2, −3, ...). The negations or additive inverses of the positive natural numbers are referred to as negative in ...
''k'', the ''k''th Betti number ''b''
''k''(''X'') of the space ''X'' is defined as the
rank (number of linearly independent generators) of the
abelian group
In mathematics, an abelian group, also called a commutative group, is a group in which the result of applying the group operation to two group elements does not depend on the order in which they are written. That is, the group operation is commu ...
''H''
''k''(''X''), the ''k''th
homology group
In mathematics, the term homology, originally introduced in algebraic topology, has three primary, closely-related usages. The most direct usage of the term is to take the ''homology of a chain complex'', resulting in a sequence of abelian grou ...
of ''X''. The ''k''th homology group is
, the
s are the boundary maps of the
simplicial complex
In mathematics, a simplicial complex is a structured Set (mathematics), set composed of Point (geometry), points, line segments, triangles, and their ''n''-dimensional counterparts, called Simplex, simplices, such that all the faces and intersec ...
and the rank of H
k is the ''k''th Betti number. Equivalently, one can define it as the
vector space dimension of ''H''
''k''(''X''; Q) since the homology group in this case is a vector space over Q. The
universal coefficient theorem, in a very simple torsion-free case, shows that these definitions are the same.
More generally, given a
field ''F'' one can define ''b''
''k''(''X'', ''F''), the ''k''th Betti number with coefficients in ''F'', as the vector space dimension of ''H''
''k''(''X'', ''F'').
Poincaré polynomial
The Poincaré polynomial of a surface is defined to be the
generating function of its Betti numbers. For example, the Betti numbers of the torus are 1, 2, and 1; thus its Poincaré polynomial is
. The same definition applies to any topological space which has a finitely generated homology.
Given a topological space which has a finitely generated homology, the Poincaré polynomial is defined as the generating function of its Betti numbers, via the polynomial where the coefficient of
is
.
Examples
Betti numbers of a graph
Consider a
topological graph ''G'' in which the set of vertices is ''V'', the set of edges is ''E'', and the set of connected components is ''C''. As explained in the page on
graph homology, its homology groups are given by:
:
This may be proved straightforwardly by
mathematical induction
Mathematical induction is a method for mathematical proof, proving that a statement P(n) is true for every natural number n, that is, that the infinitely many cases P(0), P(1), P(2), P(3), \dots all hold. This is done by first proving a ...
on the number of edges. A new edge either increments the number of 1-cycles or decrements the number of connected components.
Therefore, the "zero-th" Betti number ''b''
0(''G'') equals , ''C'', , which is simply the number of connected components.
The first Betti number ''b''
1(''G'') equals , ''E'', + , ''C'', - , ''V'', . It is also called the
cyclomatic number—a term introduced by
Gustav Kirchhoff
Gustav Robert Kirchhoff (; 12 March 1824 – 17 October 1887) was a German chemist, mathematician, physicist, and spectroscopist who contributed to the fundamental understanding of electrical circuits, spectroscopy and the emission of black-body ...
before Betti's paper.
See
cyclomatic complexity for an application to
software engineering
Software engineering is a branch of both computer science and engineering focused on designing, developing, testing, and maintaining Application software, software applications. It involves applying engineering design process, engineering principl ...
.
All other Betti numbers are 0.
Betti numbers of a simplicial complex

Consider a
simplicial complex
In mathematics, a simplicial complex is a structured Set (mathematics), set composed of Point (geometry), points, line segments, triangles, and their ''n''-dimensional counterparts, called Simplex, simplices, such that all the faces and intersec ...
with 0-simplices: a, b, c, and d, 1-simplices: E, F, G, H and I, and the only 2-simplex is J, which is the shaded region in the figure. There is one connected component in this figure (''b''
0); one hole, which is the unshaded region (''b''
1); and no "voids" or "cavities" (''b''
2).
This means that the rank of
is 1, the rank of
is 1 and the rank of
is 0.
The Betti number sequence for this figure is 1, 1, 0, 0, ...; the Poincaré polynomial is
.
Betti numbers of the projective plane
The homology groups of the
projective plane
In mathematics, a projective plane is a geometric structure that extends the concept of a plane (geometry), plane. In the ordinary Euclidean plane, two lines typically intersect at a single point, but there are some pairs of lines (namely, paral ...
''P'' are:
:
Here, Z
2 is the
cyclic group
In abstract algebra, a cyclic group or monogenous group is a Group (mathematics), group, denoted C_n (also frequently \Z_n or Z_n, not to be confused with the commutative ring of P-adic number, -adic numbers), that is Generating set of a group, ge ...
of order 2. The 0-th Betti number is again 1. However, the 1-st Betti number is 0. This is because ''H''
1(''P'') is a finite group - it does not have any infinite component. The finite component of the group is called the torsion coefficient of ''P''. The (rational) Betti numbers ''b''
''k''(''X'') do not take into account any
torsion in the homology groups, but they are very useful basic topological invariants. In the most intuitive terms, they allow one to count the number of ''holes'' of different dimensions.
Properties
Euler characteristic
For a finite CW-complex ''K'' we have
:
where
denotes
Euler characteristic
In mathematics, and more specifically in algebraic topology and polyhedral combinatorics, the Euler characteristic (or Euler number, or Euler–Poincaré characteristic) is a topological invariant, a number that describes a topological space's ...
of ''K'' and any field ''F''.
Cartesian product
For any two spaces ''X'' and ''Y'' we have
:
where
denotes the Poincaré polynomial of ''X'', (more generally, the
Hilbert–Poincaré series, for infinite-dimensional spaces), i.e., the
generating function of the Betti numbers of ''X'':
:
see
Künneth theorem.
Symmetry
If ''X'' is ''n''-dimensional manifold, there is symmetry interchanging
and
, for any
:
:
under conditions (a ''closed'' and ''oriented'' manifold); see
Poincaré duality.
Different coefficients
The dependence on the field ''F'' is only through its
characteristic. If the homology groups are
torsion-free, the Betti numbers are independent of ''F''. The connection of ''p''-torsion and the Betti number for
characteristic ''p'', for ''p'' a prime number, is given in detail by the
universal coefficient theorem (based on
Tor functors, but in a simple case).
More examples
# The Betti number sequence for a circle is 1, 1, 0, 0, 0, ...;
#: the Poincaré polynomial is
#::
.
# The Betti number sequence for a three-
torus
In geometry, a torus (: tori or toruses) is a surface of revolution generated by revolving a circle in three-dimensional space one full revolution about an axis that is coplanarity, coplanar with the circle. The main types of toruses inclu ...
is 1, 3, 3, 1, 0, 0, 0, ... .
#: the Poincaré polynomial is
#::
.
# Similarly, for an ''n''-
torus
In geometry, a torus (: tori or toruses) is a surface of revolution generated by revolving a circle in three-dimensional space one full revolution about an axis that is coplanarity, coplanar with the circle. The main types of toruses inclu ...
,
#: the Poincaré polynomial is
#::
(by the
Künneth theorem), so the Betti numbers are the
binomial coefficient
In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the t ...
s.
It is possible for spaces that are infinite-dimensional in an essential way to have an infinite sequence of non-zero Betti numbers. An example is the infinite-dimensional
complex projective space
In mathematics, complex projective space is the projective space with respect to the field of complex numbers. By analogy, whereas the points of a real projective space label the lines through the origin of a real Euclidean space, the points of a ...
, with sequence 1, 0, 1, 0, 1, ... that is periodic, with
period length 2.
In this case the Poincaré function is not a polynomial but rather an infinite series
:
,
which, being a geometric series, can be expressed as the rational function
:
More generally, any sequence that is periodic can be expressed as a sum of geometric series, generalizing the above. For example
has the generating function
:
and more generally
linear recursive sequences are exactly the sequences generated by
rational functions; thus the Poincaré series is expressible as a rational function if and only if the sequence of Betti numbers is a linear recursive sequence.
The Poincaré polynomials of the compact simple
Lie groups
In mathematics, a Lie group (pronounced ) is a group that is also a differentiable manifold, such that group multiplication and taking inverses are both differentiable.
A manifold is a space that locally resembles Euclidean space, whereas ...
are:
:
Relationship with dimensions of spaces of differential forms
In geometric situations when
is a
closed manifold
In mathematics, a closed manifold is a manifold Manifold with boundary, without boundary that is Compact space, compact.
In comparison, an open manifold is a manifold without boundary that has only ''non-compact'' components.
Examples
The onl ...
, the importance of the Betti numbers may arise from a different direction, namely that they predict the dimensions of vector spaces of
closed differential form
In mathematics, especially vector calculus and differential topology, a closed form is a differential form ''α'' whose exterior derivative is zero (); and an exact form is a differential form, ''α'', that is the exterior derivative of another di ...
s ''
modulo
In computing and mathematics, the modulo operation returns the remainder or signed remainder of a division, after one number is divided by another, the latter being called the '' modulus'' of the operation.
Given two positive numbers and , mo ...
''
exact differential forms. The connection with the definition given above is via three basic results,
de Rham's theorem and
Poincaré duality (when those apply), and the
universal coefficient theorem of
homology theory
In mathematics, the term homology, originally introduced in algebraic topology, has three primary, closely-related usages. The most direct usage of the term is to take the ''homology of a chain complex'', resulting in a sequence of abelian grou ...
.
There is an alternate reading, namely that the Betti numbers give the dimensions of spaces of
harmonic forms. This requires the use of some of the results of
Hodge theory on the
Hodge Laplacian.
In this setting,
Morse theory gives a set of inequalities for alternating sums of Betti numbers in terms of a corresponding alternating sum of the number of
critical points of a
Morse function
In mathematics, specifically in differential topology, Morse theory enables one to analyze the topology of a manifold by studying differentiable functions on that manifold. According to the basic insights of Marston Morse, a typical differenti ...
of a given
index
Index (: indexes or indices) may refer to:
Arts, entertainment, and media Fictional entities
* Index (''A Certain Magical Index''), a character in the light novel series ''A Certain Magical Index''
* The Index, an item on the Halo Array in the ...
:
:
Edward Witten
Edward Witten (born August 26, 1951) is an American theoretical physics, theoretical physicist known for his contributions to string theory, topological quantum field theory, and various areas of mathematics. He is a professor emeritus in the sc ...
gave an explanation of these inequalities by using the Morse function to modify the
exterior derivative
On a differentiable manifold, the exterior derivative extends the concept of the differential of a function to differential forms of higher degree. The exterior derivative was first described in its current form by Élie Cartan in 1899. The re ...
in the
de Rham complex.
See also
*
Topological data analysis
*
Torsion coefficient
*
Euler characteristic
In mathematics, and more specifically in algebraic topology and polyhedral combinatorics, the Euler characteristic (or Euler number, or Euler–Poincaré characteristic) is a topological invariant, a number that describes a topological space's ...
References
* .
* .
{{DEFAULTSORT:Betti Number
Algebraic topology
Graph invariants
Topological graph theory
Generating functions