Singular cohomology is a powerful invariant in topology, associating a
graded-commutative ring with any topological space. Every
continuous map f:X\to Y determines a
homomorphism from the cohomology ring of Y to that of X; this puts strong restrictions on the possible maps from X to Y. Unlike more subtle invariants such as
homotopy groups, the cohomology ring tends to be computable in practice for spaces of interest. For a topological space X, the definition of singular cohomology starts with the
singular chain complex: \cdots \to C_{i+1}\stackrel{\partial_{i+1}}{\to} C_i \stackrel{ \partial_i}{\to}\ C_{i-1} \to \cdots By definition, the
singular homology of X is the homology of this chain complex (the kernel of one homomorphism modulo the image of the previous one). In more detail, C_i is the
free abelian group on the set of continuous maps from the standard i-simplex to X (called "singular i-simplices in X"), and \partial_i is the i-th boundary homomorphism. The groups C_i are zero for i negative. Now fix an abelian group A, and replace each group C_i by its
dual group C_i^* = \mathrm{Hom}(C_i,A) (When coefficients are taken in a field, the dual group is the dual vector space of C_i), and \partial_i by its
dual homomorphism d_{i-1}: C_{i-1}^* \to C_{i}^*. This has the effect of "reversing all the arrows" of the original complex, leaving a
cochain complex \cdots \leftarrow C_{i+1}^* \stackrel{d_i}{\leftarrow}\ C_{i}^* \stackrel{d_{i-1}}{\leftarrow} C_{i-1}^* \leftarrow \cdots For an integer i, the ith
cohomology group of X with coefficients in A is defined to be \operatorname{ker}(d_i)/\operatorname{im}(d_{i-1}) and denoted by H^i(X,A). The group H^i(X,A) is zero for i negative. The elements of C_i^* are called
singular i-cochains with coefficients in A. (Equivalently, an i-cochain on X can be identified with a function from the set of singular i-simplices in X to A.) Elements of \ker(d) and \textrm{im}(d) are called
cocycles and
coboundaries, respectively, while elements of \operatorname{ker}(d_i)/\operatorname{im}(d_{i-1})=H^i(X,A) are called
cohomology classes (because they are
equivalence classes of cocycles). In what follows, the coefficient group A is sometimes not written. It is common to take A to be a
commutative ring R; then the cohomology groups are R-
modules. A standard choice is the ring \Z of
integers. Some of the formal properties of cohomology are only minor variants of the properties of homology: • A continuous map f: X \to Y determines a
pushforward homomorphism f_*:H_i(X) \to H_i(Y) on homology and a
pullback homomorphism f^*: H^i(Y) \to H^i(X) on cohomology. This makes cohomology into a
contravariant functor from topological spaces to abelian groups (or R-modules). • Two
homotopic maps from X to Y induce the same homomorphism on cohomology (just as on homology). • The
Mayer–Vietoris sequence is an important computational tool in cohomology, as in homology. Note that the boundary homomorphism increases (rather than decreases) degree in cohomology. That is, if a space X is the union of
open subsets U and V, then there is a
long exact sequence: \cdots \to H^i(X) \to H^i(U)\oplus H^i(V) \to H^i(U\cap V) \to H^{i+1}(X) \to \cdots • There are
relative cohomology groups H^i(X,Y;A) for any
subspace Y of a space X. They are related to the usual cohomology groups by a long exact sequence: \cdots \to H^i(X,Y) \to H^i(X) \to H^i(Y) \to H^{i+1}(X,Y) \to \cdots • The
universal coefficient theorem describes cohomology in terms of homology, using
Ext groups. Namely, there is a
short exact sequence 0 \to \operatorname{Ext}_{\Z}^1(\operatorname{H}_{i-1}(X, \Z), A) \to H^i(X, A) \to \operatorname{Hom}_{\Z}(H_i(X,\Z), A)\to 0. A related statement is that for a
field F, H^i(X,F) is precisely the
dual space of the
vector space H_i(X,F). • If X is a topological
manifold or a
CW complex, then the cohomology groups H^i(X,A) are zero for i greater than the
dimension of X. If X is a
compact manifold (possibly with boundary), or a CW complex with finitely many cells in each dimension, and R is a commutative
Noetherian ring, then the R-module H^i(X,R) is
finitely generated for each i. On the other hand, cohomology has a crucial structure that homology does not: for any topological space X and commutative ring R, there is a
bilinear map, called the
cup product: H^i(X,R)\times H^j(X,R) \to H^{i+j}(X,R), defined by an explicit formula on singular cochains. The product of cohomology classes u and v is written as u\cup v or simply as uv. This product makes the
direct sum H^*(X,R)=\bigoplus_i H^i(X,R) into a
graded ring, called the
cohomology ring of X. It is
graded-commutative in the sense that: uv=(-1)^{ij}vu, \qquad u \in H^i(X,R), v \in H^j(X,R). For any continuous map f\colon X\to Y, the pullback f^*: H^*(Y,R) \to H^*(X, R) is a homomorphism of graded R-
algebras. It follows that if two spaces are
homotopy equivalent, then their cohomology rings are isomorphic. Here are some of the geometric interpretations of the cup product. In what follows,
manifolds are understood to be without boundary, unless stated otherwise. A
closed manifold means a compact manifold (without boundary), whereas a closed
submanifold N of a manifold
M means a submanifold that is a
closed subset of
M, not necessarily compact (although
N is automatically compact if
M is). • Let
X be a closed
oriented manifold of dimension
n. Then
Poincaré duality gives an isomorphism ''H'
i'X
≅ H''
n−
iX. As a result, a closed oriented submanifold
S of
codimension i in
X determines a cohomology class in ''H'
i'X
, called [S
]. In these terms, the cup product describes the intersection of submanifolds. Namely, if S
and T
are submanifolds of codimension i
and j
that intersect transversally, then [S][T]=[S\cap T]\in H^{i+j}(X), where the intersection S
∩ T
is a submanifold of codimension i
+ j
, with an orientation determined by the orientations of S
, T
, and X
. In the case of smooth manifolds, if S
and T
do not intersect transversally, this formula can still be used to compute the cup product [S
][T
], by perturbing S
or T
to make the intersection transverse. More generally, without assuming that X
has an orientation, a closed submanifold of X
with an orientation on its normal bundle determines a cohomology class on X
. If X
is a noncompact manifold, then a closed submanifold (not necessarily compact) determines a cohomology class on X''. In both cases, the cup product can again be described in terms of intersections of submanifolds. Note that
Thom constructed an integral cohomology class of degree 7 on a smooth 14-manifold that is not the class of any smooth submanifold. On the other hand, he showed that every integral cohomology class of positive degree on a smooth manifold has a positive multiple that is the class of a smooth submanifold. Also, every integral cohomology class on a manifold can be represented by a "pseudomanifold", that is, a simplicial complex that is a manifold outside a closed subset of codimension at least 2. • For a smooth manifold
X,
de Rham's theorem says that the singular cohomology of
X with
real coefficients is isomorphic to the de Rham cohomology of
X, defined using
differential forms. The cup product corresponds to the product of differential forms. This interpretation has the advantage that the product on differential forms is graded-commutative, whereas the product on singular cochains is only graded-commutative up to
chain homotopy. In fact, it is impossible to modify the definition of singular cochains with coefficients in the integers \Z or in \Z/p for a prime number
p to make the product graded-commutative on the nose. The failure of graded-commutativity at the cochain level leads to the
Steenrod operations on mod
p cohomology. Very informally, for any topological space
X, elements of H^i(X) can be thought of as represented by codimension-
i subspaces of
X that can move freely on
X. For example, one way to define an element of H^i(X) is to give a continuous map
f from
X to a manifold
M and a closed codimension-
i submanifold
N of
M with an orientation on the normal bundle. Informally, one thinks of the resulting class f^*([N]) \in H^i(X) as lying on the subspace f^{-1}(N) of
X; this is justified in that the class f^*([N]) restricts to zero in the cohomology of the open subset X-f^{-1}(N). The cohomology class f^*([N]) can move freely on
X in the sense that
N could be replaced by any continuous deformation of
N inside
M. ==Examples==