Homology, Cohomology, and Characteristic Classes

A short bridge from chains and cochains to characteristic classes and Chern-number language.

Mathematics / Algebraic Topology / Homology and cohomology

Algebraic Topology notes
Sections

From Homotopy to Cohomology

Purpose and assumptions of this section This section is a self-contained algebraic-topology supplement for the surrounding material. It assumes only the most basic point-set topology vocabulary: topological space, open set, continuous map, product topology, quotient topology, and open cover. Everything else used below is defined before it is used.

The goal is not to prove every theorem in algebraic topology. The goal is to give precise definitions and enough examples so that the following statements in the main text are no longer mysterious:

π1(S1)Z,π1(SO(3))Z2,H2(S2;Z)Z,complex line bundles are classified by H2(;Z),[F2π]HdR2(M) is the real image of c1(L)H2(M;Z).\begin{gather*} \pi_1(S^1)\cong \mathbb{Z},\qquad \pi_1(SO(3))\cong \mathbb{Z}_2,\qquad H^2(S^2;\mathbb{Z})\cong \mathbb{Z},\\ \text{complex line bundles are classified by }H^2(-;\mathbb{Z}),\\ \left[\frac{F}{2\pi}\right]\in H^2_{\mathrm{dR}}(M)\text{ is the real image of }c_1(L)\in H^2(M;\mathbb{Z}). \end{gather*}

Here \cong means “is isomorphic to” as groups or vector spaces. It does not mean equality of sets unless explicitly stated.

Standing notation

Throughout this section:

  • I=[0,1]I=[0,1].

  • X,Y,ZX,Y,Z denote topological spaces.

  • A map between topological spaces is assumed continuous unless explicitly stated otherwise.

  • A based space is a pair (X,x0)(X,x_0) consisting of a topological space XX and a chosen point x0Xx_0\in X.

  • SnS^n denotes the unit nn-sphere

Sn={xRn+1:x=1}.S^n=\{x\in \mathbb{R}^{n+1}: \|x\|=1\}.
  • DnD^n denotes the closed unit nn-disk
Dn={xRn:x1}.D^n=\{x\in \mathbb{R}^n: \|x\|\leq 1\}.

Its boundary is Dn=Sn1\partial D^n=S^{n-1} for n1n\geq 1.

  • Z\mathbb{Z} is the additive group of integers, R\mathbb{R} is the additive group of real numbers unless a ring structure is being used, and U(1)={zC:z=1}U(1)=\{z\in\mathbb{C}: |z|=1\} is the multiplicative circle group.

  • A\mathsf A denotes an abelian coefficient group. In singular cohomology notation we write Hn(X;A)H^n(X;\mathsf A), with a semicolon separating the space from the coefficients.

When a topological space is said to be a “nice space” below, the intended class is the class of spaces usually encountered in differential geometry and condensed matter applications: manifolds, finite CW complexes, simplicial complexes, and spaces homotopy equivalent to these. The definitions themselves do not require niceness, but some classification theorems do.

Homotopy of maps

Topology studies properties preserved by homeomorphism. Algebraic topology often studies weaker properties preserved by continuous deformation.

Definition 31 (Homotopy of maps). Let f0,f1:XYf_0,f_1:X\to Y be two maps. A homotopy from f0f_0 to f1f_1 is a map

H:X×IYH:X\times I\to Y

such that

H(x,0)=f0(x),H(x,1)=f1(x)H(x,0)=f_0(x),\qquad H(x,1)=f_1(x)

for every xXx\in X. If such an HH exists, f0f_0 and f1f_1 are called homotopic, and we write

f0f1.f_0\simeq f_1.

The parameter tIt\in I is deformation time. For fixed tt, the map

Ht:XY,Ht(x)=H(x,t)H_t:X\to Y,\qquad H_t(x)=H(x,t)

is an intermediate map between f0f_0 and f1f_1.

Definition 32 (Homotopy relative to a subspace). Let AXA\subset X. Suppose f0,f1:XYf_0,f_1:X\to Y agree on AA. A homotopy H:X×IYH:X\times I\to Y from f0f_0 to f1f_1 is a homotopy relative to AA if

H(a,t)=f0(a)=f1(a)H(a,t)=f_0(a)=f_1(a)

for every aAa\in A and every tIt\in I.

The phrase “relative to AA” means that points of AA are held fixed during the deformation.

Definition 33 (Null-homotopic map). A map f:XYf:X\to Y is null-homotopic if it is homotopic to a constant map. Equivalently, there exists y0Yy_0\in Y and a homotopy from ff to the map xy0x\mapsto y_0.

Definition 34 (Homotopy equivalence). Two spaces XX and YY are homotopy equivalent if there exist maps

f:XY,g:YXf:X\to Y,\qquad g:Y\to X

such that

gfidX,fgidY.g\circ f\simeq \mathrm{id}_X, \qquad f\circ g\simeq \mathrm{id}_Y.

The maps ff and gg are called homotopy inverses.

A homeomorphism is a homotopy equivalence, but not conversely. For example, a solid disk D2D^2 is not homeomorphic to a point, but it is homotopy equivalent to a point because it can be contracted continuously to its center.

Definition 35 (Contractible space). A space XX is contractible if idX:XX\mathrm{id}_X:X\to X is homotopic to a constant map. Equivalently, XX is homotopy equivalent to a point.

Example 1 (Convex subsets of Euclidean space). Let CRnC\subset\mathbb{R}^n be convex, meaning that for any x,yCx,y\in C and any tIt\in I, the point (1t)x+ty(1-t)x+ty lies in CC. Fix x0Cx_0\in C. The formula

H(x,t)=(1t)x+tx0H(x,t)=(1-t)x+tx_0

defines a homotopy from idC\mathrm{id}_C to the constant map xx0x\mapsto x_0. Therefore every convex subset of Rn\mathbb{R}^n is contractible.

Paths, loops, and the fundamental group

Homotopy becomes especially important when the domain is an interval or a sphere.

Definition 36 (Path). A path in XX is a map

γ:IX.\gamma:I\to X.

The point γ(0)\gamma(0) is the initial point, and γ(1)\gamma(1) is the final point.

Definition 37 (Loop). Let x0Xx_0\in X. A loop based at x0x_0 is a path γ:IX\gamma:I\to X satisfying

γ(0)=γ(1)=x0.\gamma(0)=\gamma(1)=x_0.

Definition 38 (Homotopy of paths relative to endpoints). Let γ0,γ1:IX\gamma_0,\gamma_1:I\to X be paths with the same initial point and the same final point. A homotopy of paths relative to endpoints is a homotopy

H:I×IXH:I\times I\to X

such that

H(s,0)=γ0(s),H(s,1)=γ1(s),H(s,0)=\gamma_0(s),\qquad H(s,1)=\gamma_1(s),

and

H(0,t)=γ0(0)=γ1(0),H(1,t)=γ0(1)=γ1(1)H(0,t)=\gamma_0(0)=\gamma_1(0), \qquad H(1,t)=\gamma_0(1)=\gamma_1(1)

for all s,tIs,t\in I.

Thus the endpoints are not allowed to move during the deformation.

Definition 39 (Concatenation of paths). Let α:IX\alpha:I\to X and β:IX\beta:I\to X be paths such that

α(1)=β(0).\alpha(1)=\beta(0).

Their concatenation αβ:IX\alpha*\beta:I\to X is the path

(αβ)(t)={α(2t),0t12,β(2t1),12t1.(\alpha*\beta)(t)= \begin{cases} \alpha(2t), & 0\leq t\leq \frac12,\\ \beta(2t-1), & \frac12\leq t\leq 1. \end{cases}

This means that one first traverses α\alpha, then traverses β\beta.

Definition 40 (Reverse path). For a path α:IX\alpha:I\to X, the reverse path α:IX\overline{\alpha}:I\to X is

α(t)=α(1t).\overline{\alpha}(t)=\alpha(1-t).

Definition 41 (Constant path). For x0Xx_0\in X, the constant path at x0x_0 is

cx0:IX,cx0(t)=x0.c_{x_0}:I\to X, \qquad c_{x_0}(t)=x_0.

Definition 42 (Fundamental group). Let (X,x0)(X,x_0) be a based space. The fundamental group π1(X,x0)\pi_1(X,x_0) is the set of homotopy classes relative to endpoints of loops based at x0x_0. The group operation is

[α][β]=[αβ].[\alpha]\,[\beta]=[\alpha*\beta].

The identity element is [cx0][c_{x_0}], and the inverse of [α][\alpha] is [α][\overline{\alpha}].

The operation is well-defined on homotopy classes. Strictly speaking, path concatenation is associative only up to reparametrization, but it becomes associative on homotopy classes. Hence π1(X,x0)\pi_1(X,x_0) is a group.

Definition 43 (Simply connected). A space XX is simply connected if it is path connected and, for some point x0Xx_0\in X, the group π1(X,x0)\pi_1(X,x_0) is the trivial group.

If XX is path connected, then different basepoints give isomorphic fundamental groups. More precisely, if cc is a path from x0x_0 to x1x_1, then

π1(X,x0)π1(X,x1),[γ][cγc]\pi_1(X,x_0)\to \pi_1(X,x_1), \qquad [\gamma]\mapsto [\overline c*\gamma*c]

is a group isomorphism. The isomorphism depends on the choice of cc unless π1(X,x0)\pi_1(X,x_0) is abelian.

Computing the first examples of fundamental groups

The circle

Let

p:RS1,p(θ)=eiθ.p:\mathbb{R}\to S^1, \qquad p(\theta)=e^{i\theta}.

This map wraps the real line around the circle. It is periodic:

p(θ+2πn)=p(θ)p(\theta+2\pi n)=p(\theta)

for every nZn\in\mathbb{Z}.

A loop γ:IS1\gamma:I\to S^1 based at 1S11\in S^1 can be lifted to a path γ~:IR\widetilde\gamma:I\to\mathbb{R} satisfying

pγ~=γ,γ~(0)=0.p\circ\widetilde\gamma=\gamma, \qquad \widetilde\gamma(0)=0.

Since γ(1)=1\gamma(1)=1, the endpoint γ~(1)\widetilde\gamma(1) must be an integer multiple of 2π2\pi:

γ~(1)=2πn\widetilde\gamma(1)=2\pi n

for a unique nZn\in\mathbb{Z}.

Definition 44 (Winding number of a loop in S1S^1). The integer

wind(γ)=γ~(1)γ~(0)2π\operatorname{wind}(\gamma)=\frac{\widetilde\gamma(1)-\widetilde\gamma(0)}{2\pi}

is the winding number of γ\gamma.

Homotopic loops have the same winding number, and every integer occurs. Therefore

π1(S1,1)Z.\pi_1(S^1,1)\cong \mathbb{Z}.

The isomorphism sends a loop class to its winding number.

The torus

The nn-torus is

Tn=(S1)n.T^n=(S^1)^n.

Since loops in a product can wind independently around each S1S^1 factor,

π1(Tn)Zn.\pi_1(T^n)\cong \mathbb{Z}^n.

For the two-torus,

π1(T2)Z2.\pi_1(T^2)\cong \mathbb{Z}^2.

The two integer generators correspond to the two noncontractible cycles.

Higher spheres

For n2n\geq 2,

π1(Sn)0,\pi_1(S^n)\cong 0,

where 00 denotes the trivial group. Geometrically, any loop on SnS^n can be pulled away from at least one point and then contracted inside a copy of Rn\mathbb{R}^n obtained by stereographic projection.

Rotation groups

The group SU(2)SU(2) is diffeomorphic to S3S^3, hence

π1(SU(2))0.\pi_1(SU(2))\cong 0.

The group SO(3)SO(3) is obtained from SU(2)SU(2) by identifying UU and U-U:

SU(2)SO(3)SU(2)\to SO(3)

is a two-to-one covering map. As a result,

π1(SO(3))Z2.\pi_1(SO(3))\cong \mathbb{Z}_2.

This is the topology behind the distinction between integer-spin and half-integer-spin representations.

Covering spaces and universal covers

Covering spaces make the previous examples precise.

Definition 45 (Covering map). Let X~\widetilde X and XX be topological spaces. A map

p:X~Xp:\widetilde X\to X

is a covering map if every point xXx\in X has an open neighborhood UXU\subset X such that

p1(U)=aAVa,p^{-1}(U)=\bigsqcup_{a\in A} V_a,

where each VaX~V_a\subset\widetilde X is open and the restriction

pVa:VaUp|_{V_a}:V_a\to U

is a homeomorphism. The sets VaV_a are called sheets over UU.

Example 2 (The exponential cover). The map

p:RS1,p(θ)=eiθ,p:\mathbb{R}\to S^1, \qquad p(\theta)=e^{i\theta},

is a covering map. A small arc US1U\subset S^1 has infinitely many disjoint preimages in R\mathbb{R}, one on each interval shifted by 2πn2\pi n.

Definition 46 (Universal cover). A covering map p:X~Xp:\widetilde X\to X is a universal cover if X~\widetilde X is simply connected.

For connected and locally well-behaved spaces, the universal cover is unique up to isomorphism of covering spaces. The universal cover of S1S^1 is R\mathbb{R}. The universal cover of SO(3)SO(3) is SU(2)SU(2).

Why this matters for Lie groups For a connected Lie group GG, the universal cover G~\widetilde G is also a Lie group, and the covering map

G~G\widetilde G\to G

is a Lie group homomorphism. The kernel is a discrete central subgroup of G~\widetilde G. Projective representations of many connected Lie groups are closely related to ordinary representations of their covering groups.

Higher homotopy groups

The fundamental group uses loops, or maps from S1S^1. Higher homotopy groups use maps from higher-dimensional spheres.

Definition 47 (Higher homotopy group). Let (X,x0)(X,x_0) be a based space and let n1n\geq 1. The nnth homotopy group πn(X,x0)\pi_n(X,x_0) is the set of based homotopy classes of based maps

f:(Sn,s0)(X,x0),f:(S^n,s_0)\to (X,x_0),

where s0Sns_0\in S^n is a chosen basepoint. Based homotopy means the basepoint remains fixed throughout the homotopy.

For n=1n=1, this recovers the fundamental group. For n2n\geq 2, the group πn(X,x0)\pi_n(X,x_0) is abelian.

A useful model is to identify SnS^n with the quotient space

In/In,I^n/\partial I^n,

where the entire boundary of the cube is collapsed to one point. This makes the group operation visible: place two maps in adjacent subcubes and collapse the boundary.

Example 3 (Degree). The group

πn(Sn)Z\pi_n(S^n)\cong \mathbb{Z}

for n1n\geq 1. The integer is the degree of a map SnSnS^n\to S^n. For n=1n=1, this is winding number. For n=2n=2, it counts how many times a sphere wraps around a sphere, with orientation.

Homotopy groups are powerful but hard to compute. Cohomology is usually easier to compute and is better adapted to differential forms, flux integrals, and Chern classes.

From homotopy to homology

The fundamental group detects noncontractible loops. Higher homotopy groups detect nontrivial maps from spheres. Homology takes a different approach: it studies cycles built from simple pieces and records which cycles are boundaries.

The guiding principle is:

homology detects holes by testing whether cycles bound.\text{homology detects holes by testing whether cycles bound.}

For example:

  • A nontrivial element of H1(X;Z)H_1(X;\mathbb{Z}) is represented by a closed loop or collection of loops that is not the boundary of any surface in XX.

  • A nontrivial element of H2(X;Z)H_2(X;\mathbb{Z}) is represented by a closed surface that is not the boundary of any three-dimensional region in XX.

The most general definition is singular homology.

Singular chains and singular homology

Definition 48 (Standard simplex). The standard nn-simplex is

Δn={(t0,,tn)Rn+1:ti0 for all i, i=0nti=1}.\Delta^n=\left\{(t_0,\ldots,t_n)\in\mathbb{R}^{n+1}:t_i\geq 0\text{ for all }i,\ \sum_{i=0}^n t_i=1\right\}.

For example, Δ0\Delta^0 is a point, Δ1\Delta^1 is an interval, Δ2\Delta^2 is a triangle, and Δ3\Delta^3 is a tetrahedron.

Definition 49 (Singular simplex). A singular nn-simplex in XX is a map

σ:ΔnX.\sigma:\Delta^n\to X.

It is called “singular” because it need not be injective, embedded, or geometrically straight.

Definition 50 (Singular chain group). The singular nn-chain group with integer coefficients is the free abelian group generated by all singular nn-simplices in XX. It is denoted

Cn(X;Z).C_n(X;\mathbb{Z}).

An element cCn(X;Z)c\in C_n(X;\mathbb{Z}) is a finite formal sum

c=a=1Nmaσa,c=\sum_{a=1}^N m_a\sigma_a,

where maZm_a\in\mathbb{Z} and each σa:ΔnX\sigma_a:\Delta^n\to X is a singular nn-simplex.

The word “formal” means that the sum is not pointwise addition of maps. It is an algebraic record of oriented pieces with integer multiplicities.

For 0in0\leq i\leq n, define the iith face inclusion

ιi:Δn1Δn\iota_i:\Delta^{n-1}\to \Delta^n

by inserting 00 in the iith coordinate:

ιi(t0,,tn1)=(t0,,ti1,0,ti,,tn1).\iota_i(t_0,\ldots,t_{n-1})=(t_0,\ldots,t_{i-1},0,t_i,\ldots,t_{n-1}).

Definition 51 (Boundary operator). For a singular nn-simplex σ:ΔnX\sigma:\Delta^n\to X, define

nσ=i=0n(1)iσιi.\partial_n\sigma=\sum_{i=0}^n (-1)^i\,\sigma\circ\iota_i.

Extend this definition linearly to obtain a group homomorphism

n:Cn(X;Z)Cn1(X;Z).\partial_n:C_n(X;\mathbb{Z})\to C_{n-1}(X;\mathbb{Z}).

The alternating signs encode orientation. For example, if σ:Δ1X\sigma:\Delta^1\to X is a path, then

1σ=σ(1)σ(0),\partial_1\sigma=\sigma(1)-\sigma(0),

where the two endpoints are regarded as singular 00-simplices.

The key identity is

n1n=0.\partial_{n-1}\circ\partial_n=0.

In words: the boundary of a boundary is zero.

Definition 52 (Cycles and boundaries). The group of nn-cycles is

Zn(X;Z)=ker(n:Cn(X;Z)Cn1(X;Z)).Z_n(X;\mathbb{Z})=\ker(\partial_n:C_n(X;\mathbb{Z})\to C_{n-1}(X;\mathbb{Z})).

The group of nn-boundaries is

Bn(X;Z)=im(n+1:Cn+1(X;Z)Cn(X;Z)).B_n(X;\mathbb{Z})=\operatorname{im}(\partial_{n+1}:C_{n+1}(X;\mathbb{Z})\to C_n(X;\mathbb{Z})).

Since nn+1=0\partial_n\circ\partial_{n+1}=0, every boundary is a cycle:

Bn(X;Z)Zn(X;Z).B_n(X;\mathbb{Z})\subset Z_n(X;\mathbb{Z}).

Definition 53 (Singular homology). The nnth singular homology group of XX with integer coefficients is

Hn(X;Z)=Zn(X;Z)/Bn(X;Z).H_n(X;\mathbb{Z})=Z_n(X;\mathbb{Z})/B_n(X;\mathbb{Z}).

An element of Hn(X;Z)H_n(X;\mathbb{Z}) is a homology class of cycles, where two cycles are identified if their difference is a boundary.

The coefficient group can be changed. For an abelian group A\mathsf A, one defines Cn(X;A)C_n(X;\mathsf A) similarly, using coefficients in A\mathsf A. The resulting homology group is denoted Hn(X;A)H_n(X;\mathsf A).

Basic homology examples

Example 4 (A point). Let pt\mathrm{pt} be a one-point space. Then

H0(pt;Z)Z,Hn(pt;Z)0(n1).H_0(\mathrm{pt};\mathbb{Z})\cong \mathbb{Z}, \qquad H_n(\mathrm{pt};\mathbb{Z})\cong 0\quad (n\geq 1).

There is one connected component and no positive-dimensional holes.

Example 5 (Zeroth homology). For any space XX, H0(X;Z)H_0(X;\mathbb{Z}) records path components. If XX has path components indexed by a set AA, then

H0(X;Z)aAZ.H_0(X;\mathbb{Z})\cong \bigoplus_{a\in A}\mathbb{Z}.

In particular, if XX is path connected, then H0(X;Z)ZH_0(X;\mathbb{Z})\cong\mathbb{Z}.

Example 6 (Spheres). For n1n\geq 1,

Hk(Sn;Z){Z,k=0,Z,k=n,0,otherwise.H_k(S^n;\mathbb{Z})\cong \begin{cases} \mathbb{Z}, & k=0,\\ \mathbb{Z}, & k=n,\\ 0, & \text{otherwise.} \end{cases}

The group Hn(Sn;Z)ZH_n(S^n;\mathbb{Z})\cong\mathbb{Z} is generated by the fundamental nn-dimensional cycle of the sphere.

Example 7 (The two-torus). For T2=S1×S1T^2=S^1\times S^1,

H0(T2;Z)Z,H1(T2;Z)Z2,H2(T2;Z)Z,H_0(T^2;\mathbb{Z})\cong\mathbb{Z}, \qquad H_1(T^2;\mathbb{Z})\cong\mathbb{Z}^2, \qquad H_2(T^2;\mathbb{Z})\cong\mathbb{Z},

and all higher homology groups vanish. The two generators of H1H_1 are the two independent noncontractible cycles. The generator of H2H_2 is the oriented fundamental surface of the torus.

Homotopy invariance of homology If f,g:XYf,g:X\to Y are homotopic maps, then they induce the same homomorphism on homology:

f=g:Hn(X;Z)Hn(Y;Z).f_*=g_*:H_n(X;\mathbb{Z})\to H_n(Y;\mathbb{Z}).

If XX and YY are homotopy equivalent, then

Hn(X;Z)Hn(Y;Z)H_n(X;\mathbb{Z})\cong H_n(Y;\mathbb{Z})

for every nn.

Here ff_* is induced by pushing singular simplices forward:

f#(σ)=fσ.f_\#(\sigma)=f\circ\sigma.

The symbol f#f_\# denotes the chain-level map, while ff_* denotes the induced map on homology classes.

Cochains and cohomology

Homology is covariant: a map f:XYf:X\to Y sends chains in XX to chains in YY. Cohomology reverses the direction: a map f:XYf:X\to Y pulls cochains on YY back to cochains on XX.

Definition 54 (Singular cochain group). The group of singular nn-cochains on XX with coefficients in an abelian group A\mathsf A is

Cn(X;A)=HomZ(Cn(X;Z),A).C^n(X;\mathsf A)=\operatorname{Hom}_{\mathbb{Z}}(C_n(X;\mathbb{Z}),\mathsf A).

Thus an nn-cochain is a group homomorphism

φ:Cn(X;Z)A.\varphi:C_n(X;\mathbb{Z})\to \mathsf A.

It assigns an element of AA to every singular nn-chain, linearly in the chain.

Definition 55 (Coboundary operator). The coboundary operator

δn:Cn(X;A)Cn+1(X;A)\delta^n:C^n(X;\mathsf A)\to C^{n+1}(X;\mathsf A)

is defined by

(δnφ)(c)=φ(n+1c)(\delta^n\varphi)(c)=\varphi(\partial_{n+1}c)

for every cCn+1(X;Z)c\in C_{n+1}(X;\mathbb{Z}).

Since nn+1=0\partial_n\circ\partial_{n+1}=0, one has

δn+1δn=0.\delta^{n+1}\circ\delta^n=0.

Definition 56 (Cocycles and coboundaries). The group of nn-cocycles is

Zn(X;A)=ker(δn:Cn(X;A)Cn+1(X;A)).Z^n(X;\mathsf A)=\ker(\delta^n:C^n(X;\mathsf A)\to C^{n+1}(X;\mathsf A)).

The group of nn-coboundaries is

Bn(X;A)=im(δn1:Cn1(X;A)Cn(X;A)).B^n(X;\mathsf A)=\operatorname{im}(\delta^{n-1}:C^{n-1}(X;\mathsf A)\to C^n(X;\mathsf A)).

Because δnδn1=0\delta^n\circ\delta^{n-1}=0, every coboundary is a cocycle:

Bn(X;A)Zn(X;A).B^n(X;\mathsf A)\subset Z^n(X;\mathsf A).

Definition 57 (Singular cohomology). The nnth singular cohomology group of XX with coefficients in A\mathsf A is

Hn(X;A)=Zn(X;A)/Bn(X;A).H^n(X;\mathsf A)=Z^n(X;\mathsf A)/B^n(X;\mathsf A).

Pairing with homology

There is a natural pairing between cochains and chains:

φ,c=φ(c),φCn(X;A),cCn(X;Z).\langle \varphi,c\rangle=\varphi(c), \qquad \varphi\in C^n(X;\mathsf A),\quad c\in C_n(X;\mathbb{Z}).

If φ\varphi is a cocycle and cc is a cycle, this pairing depends only on the cohomology class [φ]Hn(X;A)[\varphi]\in H^n(X;\mathsf A) and the homology class [c]Hn(X;Z)[c]\in H_n(X;\mathbb{Z}). Indeed, if c=bc=\partial b is a boundary and φ\varphi is a cocycle, then

φ,c=φ(b)=(δφ)(b)=0.\langle\varphi,c\rangle =\varphi(\partial b) =(\delta\varphi)(b)=0.

If φ=δψ\varphi=\delta\psi is a coboundary and cc is a cycle, then

φ,c=(δψ)(c)=ψ(c)=0.\langle\varphi,c\rangle =(\delta\psi)(c) =\psi(\partial c)=0.

Therefore there is a well-defined pairing

Hn(X;A)×Hn(X;Z)A.H^n(X;\mathsf A)\times H_n(X;\mathbb{Z})\to \mathsf A.

Pullback in cohomology

Let f:XYf:X\to Y. The chain-level pushforward is

f#:Cn(X;Z)Cn(Y;Z),f#(σ)=fσ.f_\#:C_n(X;\mathbb{Z})\to C_n(Y;\mathbb{Z}), \qquad f_\#(\sigma)=f\circ\sigma.

The cochain-level pullback is

f#:Cn(Y;A)Cn(X;A),(f#φ)(c)=φ(f#c).f^\#:C^n(Y;\mathsf A)\to C^n(X;\mathsf A), \qquad (f^\#\varphi)(c)=\varphi(f_\#c).

This commutes with the coboundary operators, so it induces

f:Hn(Y;A)Hn(X;A).f^*:H^n(Y;\mathsf A)\to H^n(X;\mathsf A).

The notation distinguishes the two levels:

  • f#f^\# is the cochain-level pullback.

  • ff^* is the induced map on cohomology classes.

In many texts both are denoted ff^*, with context determining the meaning.

The homology—cohomology pairing: why only genuine topology survives

The definitions of cycles, boundaries, cocycles, and coboundaries are designed so that cohomology classes can be evaluated on homology classes. Let A\mathsf A be an Abelian coefficient group. For simplicity, take singular cochains with coefficients in A\mathsf A and singular chains with integer coefficients. An nn-cochain

φCn(X;A)=Hom(Cn(X;Z),A)\varphi\in C^n(X;\mathsf A)=\mathrm{Hom}(C_n(X;\mathbb{Z}),\mathsf A)

is a homomorphism from nn-chains to A\mathsf A. Therefore it can be evaluated on an nn-chain cc:

φ,c:=φ(c).\langle \varphi,c\rangle:=\varphi(c).

The important point is that this evaluation descends to a well-defined pairing

Hn(X;A)×Hn(X;Z)A,([φ],[c])φ(c).\boxed{ H^n(X;\mathsf A)\times H_n(X;\mathbb{Z})\to\mathsf A, \qquad ([\varphi],[c])\mapsto \varphi(c). }

Here is the proof. First suppose the cycle representative is changed by a boundary:

cc+b.c\mapsto c+\partial b.

If φ\varphi is a cocycle, then δφ=0\delta\varphi=0, so

φ(c+b)=φ(c)+φ(b)=φ(c)+(δφ)(b)=φ(c).\varphi(c+\partial b)=\varphi(c)+\varphi(\partial b) =\varphi(c)+(\delta\varphi)(b)=\varphi(c).

Thus a cocycle cannot detect a boundary error in the chain representative.

Second suppose the cochain representative is changed by a coboundary:

φφ+δψ.\varphi\mapsto \varphi+\delta\psi.

If cc is a cycle, then c=0\partial c=0, so

(φ+δψ)(c)=φ(c)+(δψ)(c)=φ(c)+ψ(c)=φ(c).(\varphi+\delta\psi)(c)=\varphi(c)+(\delta\psi)(c) =\varphi(c)+\psi(\partial c)=\varphi(c).

Thus a coboundary cannot detect a cycle.

Algebraic Stokes principle The identity

(δψ)(c)=ψ(c)(\delta\psi)(c)=\psi(\partial c)

is the algebraic form of Stokes’ theorem. It guarantees two complementary vanishings:

cocycle,boundary=0,coboundary,cycle=0.\langle \text{cocycle},\text{boundary}\rangle=0, \qquad \langle \text{coboundary},\text{cycle}\rangle=0.

Therefore a nonzero pairing requires both sides to be topologically nontrivial: a genuine cycle and a genuine cohomology class.

This is the algebraic version of the physical statement that a globally exact field integrates to zero on a closed cycle, and that a closed field integrates to zero on a cycle that is actually the boundary of a higher-dimensional region. Nonzero quantized flux appears only when a nontrivial field class is paired with a nontrivial cycle.

The cup product and the cohomology ring

Cohomology has a multiplication operation. This extra structure is one reason cohomology is so useful.

Let φCp(X;R)\varphi\in C^p(X;R) and ψCq(X;R)\psi\in C^q(X;R), where RR is a commutative ring such as Z\mathbb{Z}, R\mathbb{R}, or Z2\mathbb{Z}_2. There is a cochain

φψCp+q(X;R)\varphi\smile\psi\in C^{p+q}(X;R)

called the cup product. One standard definition is the Alexander-Whitney formula. If σ:Δp+qX\sigma:\Delta^{p+q}\to X is a singular (p+q)(p+q)-simplex with ordered vertices v0,,vp+qv_0,\ldots,v_{p+q}, then

(φψ)(σ)=φ(σ[v0,,vp])ψ(σ[vp,,vp+q]),(\varphi\smile\psi)(\sigma)= \varphi(\sigma|[v_0,\ldots,v_p])\,\psi(\sigma|[v_p,\ldots,v_{p+q}]),

where σ[v0,,vp]\sigma|[v_0,\ldots,v_p] and σ[vp,,vp+q]\sigma|[v_p,\ldots,v_{p+q}] denote the restrictions of σ\sigma to the corresponding front and back faces.

This product descends to cohomology:

Hp(X;R)×Hq(X;R)Hp+q(X;R).H^p(X;R)\times H^q(X;R)\to H^{p+q}(X;R).

The direct sum

H(X;R)=n0Hn(X;R)H^*(X;R)=\bigoplus_{n\geq 0}H^n(X;R)

with this product is called the cohomology ring.

On cohomology classes, the cup product is graded-commutative:

[α][β]=(1)pq[β][α][\alpha]\smile[\beta]=(-1)^{pq}[\beta]\smile[\alpha]

for [α]Hp(X;R)[\alpha]\in H^p(X;R) and [β]Hq(X;R)[\beta]\in H^q(X;R).

Orientations and fundamental classes

For integration and Chern numbers, one often pairs a top-degree cohomology class with a fundamental homology class.

Definition 58 (Fundamental class). Let MM be a connected, compact, oriented nn-manifold without boundary. Its fundamental class is a distinguished homology class

[M]Hn(M;Z)[M]\in H_n(M;\mathbb{Z})

representing the whole oriented manifold.

The fundamental class is the rigorous homology object behind notation such as

Mω.\int_M \omega.

If [α]Hn(M;Z)[\alpha]\in H^n(M;\mathbb{Z}), then

[α],[M]Z\langle [\alpha],[M]\rangle\in\mathbb{Z}

is the integer obtained by evaluating the top-degree cohomology class on the whole manifold.

If Σ\Sigma is a connected, compact, oriented surface, then

[Σ]H2(Σ;Z)[\Sigma]\in H_2(\Sigma;\mathbb{Z})

is its fundamental class. A first Chern number is an evaluation of the form

c1(L),[Σ].\langle c_1(L),[\Sigma]\rangle.

De Rham cohomology

Singular cohomology is defined for topological spaces. On smooth manifolds there is another cohomology theory built from differential forms.

Let MM be a smooth manifold. Recall the notation

Ωk(M)=Γ(ΛkTM).\Omega^k(M)=\Gamma(\Lambda^kT^*M).

This means that Ωk(M)\Omega^k(M) is the real vector space of smooth differential kk-forms on MM.

The exterior derivative is a linear map

dk:Ωk(M)Ωk+1(M)d_k:\Omega^k(M)\to\Omega^{k+1}(M)

satisfying

dk+1dk=0.d_{k+1}\circ d_k=0.

When the degree is clear, one writes dd instead of dkd_k.

Definition 59 (Closed and exact forms). A form ωΩk(M)\omega\in\Omega^k(M) is closed if

dω=0.d\omega=0.

It is exact if there exists ηΩk1(M)\eta\in\Omega^{k-1}(M) such that

ω=dη.\omega=d\eta.

Since d2=0d^2=0, every exact form is closed.

Definition 60 (De Rham cohomology). The kkth de Rham cohomology group of MM is

HdRk(M)=ker(dk:Ωk(M)Ωk+1(M))im(dk1:Ωk1(M)Ωk(M)).H^k_{\mathrm{dR}}(M)= \frac{\ker(d_k:\Omega^k(M)\to\Omega^{k+1}(M))} {\operatorname{im}(d_{k-1}:\Omega^{k-1}(M)\to\Omega^k(M))}.

An element of HdRk(M)H^k_{\mathrm{dR}}(M) is written [ω]dR[\omega]_{\mathrm{dR}}, where ω\omega is a closed kk-form. Two closed forms ω\omega and ω\omega' define the same class if and only if

ωω=dη\omega'-\omega=d\eta

for some (k1)(k-1)-form η\eta.

Pullback of forms and de Rham cohomology

If f:MNf:M\to N is smooth, then pullback gives

f:Ωk(N)Ωk(M).f^*:\Omega^k(N)\to\Omega^k(M).

The exterior derivative commutes with pullback:

f(dω)=d(fω).f^*(d\omega)=d(f^*\omega).

Therefore ff^* sends closed forms to closed forms and exact forms to exact forms. It induces a well-defined map

f:HdRk(N)HdRk(M).f^*:H^k_{\mathrm{dR}}(N)\to H^k_{\mathrm{dR}}(M).

This is the smooth-manifold version of the contravariance of singular cohomology.

Integration pairing

Let c=a=1Nmaσac=\sum_{a=1}^N m_a\sigma_a be a smooth singular kk-chain in MM, where each

σa:ΔkM\sigma_a:\Delta^k\to M

is smooth. For ωΩk(M)\omega\in\Omega^k(M), define

cω=a=1NmaΔkσaω.\int_c\omega=\sum_{a=1}^N m_a\int_{\Delta^k}\sigma_a^*\omega.

Stokes’ theorem says

cdη=cη.\int_c d\eta=\int_{\partial c}\eta.

Consequently:

  • if ω\omega is closed and cc and cc' differ by a boundary, then
cω=cω;\int_c\omega=\int_{c'}\omega;
  • if ω\omega is exact and cc is a cycle, then
cω=0.\int_c\omega=0.

Thus integration gives a well-defined pairing

HdRk(M)×Hk(M;Z)R,([ω]dR,[c])cω.H^k_{\mathrm{dR}}(M)\times H_k(M;\mathbb{Z})\to\mathbb{R}, \qquad ([\omega]_{\mathrm{dR}},[c])\mapsto \int_c\omega.

De Rham theorem For every smooth manifold MM, integration defines a natural isomorphism

HdRk(M)Hk(M;R).H^k_{\mathrm{dR}}(M)\cong H^k(M;\mathbb{R}).

This theorem is the bridge between differential forms and topological cohomology.

The theorem says that closed differential forms modulo exact differential forms compute the same real cohomology as singular cochains with real coefficients.

De Rham examples

Example 8 (Degree zero). A 00-form is a smooth function fC(M)f\in C^\infty(M). The condition df=0df=0 means that ff is locally constant. Therefore, if MM is connected,

HdR0(M)R.H^0_{\mathrm{dR}}(M)\cong\mathbb{R}.

Example 9 (The circle). On S1R2S^1\subset\mathbb{R}^2, write points as (x,y)=(cosθ,sinθ)(x,y)=(\cos\theta,\sin\theta). The one-form

α=xdyydx\alpha=x\,dy-y\,dx

restricted to S1S^1 satisfies

α=dθ\alpha=d\theta

in the angular coordinate. The coordinate function θ\theta is not globally single-valued on S1S^1, but the one-form α\alpha is globally defined. Its integral is

S1α=2π.\int_{S^1}\alpha=2\pi.

Therefore

[α2π]dR\left[\frac{\alpha}{2\pi}\right]_{\mathrm{dR}}

is the normalized generator of HdR1(S1)RH^1_{\mathrm{dR}}(S^1)\cong\mathbb{R}.

Example 10 (The two-sphere). Let ωS2\omega_{S^2} be the standard area form on the unit sphere S2S^2, oriented outward. Then

S2ωS2=4π.\int_{S^2}\omega_{S^2}=4\pi.

The normalized form

ωS24π\frac{\omega_{S^2}}{4\pi}

represents the generator of HdR2(S2)RH^2_{\mathrm{dR}}(S^2)\cong\mathbb{R} normalized to integrate to 11 over the fundamental class [S2][S^2].

Example 11 (The two-torus). Let T2=R2/(2πZ)2T^2=\mathbb{R}^2/(2\pi\mathbb{Z})^2 with angular coordinates (θ1,θ2)(\theta_1,\theta_2) modulo 2π2\pi. The one-forms dθ1d\theta_1 and dθ2d\theta_2 are globally defined on the quotient. Then

HdR0(T2)R,HdR1(T2)R[dθ1]R[dθ2],HdR2(T2)R[dθ1dθ2].H^0_{\mathrm{dR}}(T^2)\cong\mathbb{R}, \qquad H^1_{\mathrm{dR}}(T^2)\cong \mathbb{R}[d\theta_1]\oplus\mathbb{R}[d\theta_2], \qquad H^2_{\mathrm{dR}}(T^2)\cong \mathbb{R}[d\theta_1\wedge d\theta_2].

A normalized generator of HdR2(T2)H^2_{\mathrm{dR}}(T^2) is

1(2π)2dθ1dθ2,\frac{1}{(2\pi)^2}d\theta_1\wedge d\theta_2,

because its integral over T2T^2 is 11.

Integral cohomology, periods, and quantization

De Rham cohomology uses real coefficients. Chern classes live naturally in integral cohomology.

There is a homomorphism of coefficient groups

ZR,nn.\mathbb{Z}\to\mathbb{R}, \qquad n\mapsto n.

It induces a natural map

Hk(X;Z)Hk(X;R).H^k(X;\mathbb{Z})\to H^k(X;\mathbb{R}).

A real cohomology class is called integral if it lies in the image of this map.

On a smooth manifold, the de Rham theorem identifies Hk(M;R)H^k(M;\mathbb{R}) with HdRk(M)H^k_{\mathrm{dR}}(M). Under this identification, a de Rham class [ω]dR[\omega]_{\mathrm{dR}} is integral if and only if all its periods over integral kk-cycles are integers:

cωZ\int_c\omega\in\mathbb{Z}

for every [c]Hk(M;Z)[c]\in H_k(M;\mathbb{Z}).

This criterion is the mathematical source of flux quantization. In physics conventions for a U(1)U(1) connection, the curvature two-form FF is real and the normalized class

[F2π]dR\left[\frac{F}{2\pi}\right]_{\mathrm{dR}}

is integral when it comes from a genuine complex line bundle.

Thus for every closed oriented surface ΣM\Sigma\subset M,

12πΣFZ.\frac{1}{2\pi}\int_\Sigma F\in\mathbb{Z}.

This integer is the first Chern number of the line bundle restricted to Σ\Sigma.

Cech cohomology and transition functions

Singular cohomology is defined using simplices. Fiber bundles are often described using open covers and transition functions. Cech cohomology is the cohomology theory naturally adapted to open covers.

Let

U={Ui}iI\mathcal U=\{U_i\}_{i\in I}

be an open cover of XX. For indices i0,,ipi_0,\ldots,i_p, write

Ui0ip=Ui0Uip.U_{i_0\cdots i_p}=U_{i_0}\cap\cdots\cap U_{i_p}.

Definition 61 (Cech cochains with constant coefficients). Let AA be an abelian group, written additively. A Cech pp-cochain on the cover U\mathcal U with coefficients in AA assigns an element

ai0ipAa_{i_0\cdots i_p}\in A

to each nonempty (p+1)(p+1)-fold intersection Ui0ipU_{i_0\cdots i_p}, with the alternating convention that swapping two indices changes the sign.

The Cech coboundary is

(δa)i0ip+1=m=0p+1(1)mai0im^ip+1,(\delta a)_{i_0\cdots i_{p+1}} = \sum_{m=0}^{p+1}(-1)^m a_{i_0\cdots \widehat{i_m}\cdots i_{p+1}},

where the hat means that the index is omitted.

A Cech cocycle satisfies δa=0\delta a=0. A Cech coboundary is a cochain of the form a=δba=\delta b. The quotient of cocycles by coboundaries gives Cech cohomology for the cover.

For good covers of nice spaces, Cech cohomology agrees with singular cohomology. A good cover is an open cover for which every nonempty finite intersection Ui0ipU_{i_0\cdots i_p} is contractible.

Multiplicative notation for U(1)U(1)

For U(1)U(1)-valued transition functions, multiplicative notation is more natural. A Cech 11-cochain is a collection of functions

gij:UijU(1).g_{ij}:U_{ij}\to U(1).

The cocycle condition is

gijgjk=gikg_{ij}g_{jk}=g_{ik}

on triple overlaps UijkU_{ijk}. Equivalently,

gijgjkgki=1.g_{ij}g_{jk}g_{ki}=1.

This is exactly the transition-function consistency condition for a complex line bundle.

Complex line bundles and the first Chern class

A complex line bundle is a rank-11 complex vector bundle. Thus each fiber is a one-dimensional complex vector space.

Let LXL\to X be a complex line bundle and let U={Ui}\mathcal U=\{U_i\} be a trivializing open cover. Choose a nonzero local frame e(i)e^{(i)} over UiU_i. On an overlap UijU_{ij}, the frames differ by a function

gij:UijC=C{0}g_{ij}:U_{ij}\to \mathbb{C}^*=\mathbb{C}\setminus\{0\}

such that

e(j)=e(i)gij.e^{(j)}=e^{(i)}g_{ij}.

If the bundle has a Hermitian metric and the frames are chosen to have unit length, then

gij:UijU(1).g_{ij}:U_{ij}\to U(1).

On triple overlaps,

e(k)=e(j)gjk=e(i)gijgjk,e^{(k)}=e^{(j)}g_{jk}=e^{(i)}g_{ij}g_{jk},

while also

e(k)=e(i)gik.e^{(k)}=e^{(i)}g_{ik}.

Therefore

gijgjk=gik.g_{ij}g_{jk}=g_{ik}.

If we change local frames by unitary functions

e(i)=e(i)hi,hi:UiU(1),e'^{(i)}=e^{(i)}h_i, \qquad h_i:U_i\to U(1),

then the transition functions change to

gij=hi1gijhj.g'_{ij}=h_i^{-1}g_{ij}h_j.

For U(1)U(1) this is commutative, but the displayed order is the order dictated by the frame convention.

The classification theorem is:

Classification of complex line bundles For a paracompact space XX, isomorphism classes of complex line bundles over XX are classified by

H2(X;Z).H^2(X;\mathbb{Z}).

The class corresponding to a line bundle LL is its first Chern class

c1(L)H2(X;Z).c_1(L)\in H^2(X;\mathbb{Z}).

This theorem explains why H2H^2 appears in the study of line bundles. A line bundle is not merely described by local vector spaces; its global twisting is measured by an integral degree-two cohomology class.

How transition functions produce an integer on S2S^2

Cover S2S^2 by two open sets:

UN=S2{south pole},US=S2{north pole}.U_N=S^2\setminus\{\text{south pole}\}, \qquad U_S=S^2\setminus\{\text{north pole}\}.

Their overlap deformation retracts to the equator S1S^1. A complex line bundle is described by one transition function

gNS:UNUSU(1).g_{NS}:U_N\cap U_S\to U(1).

Restricting to the equator gives a map

gNSS1:S1U(1).g_{NS}|_{S^1}:S^1\to U(1).

Such maps are classified up to homotopy by their winding number:

[S1,U(1)]π1(U(1))Z.[S^1,U(1)]\cong \pi_1(U(1))\cong \mathbb{Z}.

If

gNS(eiϕ)=einϕ,g_{NS}(e^{i\phi})=e^{in\phi},

then the winding number is nn. The corresponding line bundle has

c1(L),[S2]=n.\langle c_1(L),[S^2]\rangle=n.

Since

H2(S2;Z)Z,H^2(S^2;\mathbb{Z})\cong\mathbb{Z},

this integer fully classifies complex line bundles over S2S^2.

Connections, curvature, and the de Rham representative of c1c_1

Let LML\to M be a Hermitian complex line bundle over a smooth manifold. Choose a unit local frame e(i)e^{(i)} over UiU_i. A section can be written locally as

s=e(i)ψi,s=e^{(i)}\psi_i,

where ψi:UiC\psi_i:U_i\to\mathbb{C}.

Use the physics convention

Di=diAi,D_i=d-iA_i,

where AiΩ1(Ui)A_i\in\Omega^1(U_i) is a real one-form. The covariant derivative is

Diψi=dψiiAiψi.D_i\psi_i=d\psi_i-iA_i\psi_i.

On overlaps, suppose

e(j)=e(i)gij,ψi=gijψj,gij:UijU(1).e^{(j)}=e^{(i)}g_{ij}, \qquad \psi_i=g_{ij}\psi_j, \qquad g_{ij}:U_{ij}\to U(1).

The requirement that covariant derivatives transform in the same way as sections is

Diψi=gijDjψj.D_i\psi_i=g_{ij}D_j\psi_j.

Substituting ψi=gijψj\psi_i=g_{ij}\psi_j gives

d(gijψj)iAigijψj=gij(dψjiAjψj).d(g_{ij}\psi_j)-iA_i g_{ij}\psi_j = g_{ij}(d\psi_j-iA_j\psi_j).

After cancellation of the gijdψjg_{ij}d\psi_j terms, this becomes

dgijiAigij=igijAj.dg_{ij}-iA_i g_{ij}=-i g_{ij}A_j.

Multiplying by gij1g_{ij}^{-1} gives

gij1dgijiAi=iAj.g_{ij}^{-1}dg_{ij}-iA_i=-iA_j.

Therefore

Aj=Ai+igij1dgij.A_j=A_i+i g_{ij}^{-1}dg_{ij}.

If gij=eiχijg_{ij}=e^{i\chi_{ij}}, then

igij1dgij=dχij,i g_{ij}^{-1}dg_{ij}=-d\chi_{ij},

so

Aj=Aidχij.A_j=A_i-d\chi_{ij}.

The local curvature is

Fi=dAi.F_i=dA_i.

On overlaps,

Fj=dAj=dAi+d(igij1dgij)=dAi=Fi,F_j=dA_j=dA_i+d(i g_{ij}^{-1}dg_{ij})=dA_i=F_i,

because gij1dgij=idχijg_{ij}^{-1}dg_{ij}=i\,d\chi_{ij} locally and d2χij=0d^2\chi_{ij}=0. Hence the FiF_i glue to a globally defined closed two-form

FΩ2(M),dF=0.F\in\Omega^2(M), \qquad dF=0.

The first Chern class satisfies

[F2π]dR=image of c1(L) under H2(M;Z)H2(M;R)HdR2(M).\left[\frac{F}{2\pi}\right]_{\mathrm{dR}} = \text{image of }c_1(L)\text{ under }H^2(M;\mathbb{Z})\to H^2(M;\mathbb{R})\cong H^2_{\mathrm{dR}}(M).

Equivalently, for every closed oriented surface ΣM\Sigma\subset M,

c1(L),[Σ]=12πΣFZ.\langle c_1(L),[\Sigma]\rangle = \frac{1}{2\pi}\int_\Sigma F \in\mathbb{Z}.

Dirac monopole as the model computation

Let LS2L\to S^2 be the line bundle whose transition function on the equator is

gNS=einϕ.g_{NS}=e^{in\phi}.

Choose local connection one-forms

AN=n2(1cosθ)dϕ,AS=n2(1+cosθ)dϕ.A_N=\frac{n}{2}(1-\cos\theta)d\phi, \qquad A_S=-\frac{n}{2}(1+\cos\theta)d\phi.

On the overlap,

AS=ANndϕ.A_S=A_N-n\,d\phi.

This agrees with the transition rule because gNS=einϕg_{NS}=e^{in\phi} gives χNS=nϕ\chi_{NS}=n\phi and hence

AS=ANdχNS.A_S=A_N-d\chi_{NS}.

The curvature is

F=dAN=dAS=n2sinθdθdϕ.F=dA_N=dA_S=\frac{n}{2}\sin\theta\,d\theta\wedge d\phi.

Therefore

12πS2F=12π02π0πn2sinθdθdϕ=n.\frac{1}{2\pi}\int_{S^2}F = \frac{1}{2\pi}\int_0^{2\pi}\int_0^\pi \frac{n}{2}\sin\theta\,d\theta\,d\phi =n.

The same integer appears in two ways:

transition function winding:gNS:S1U(1),wind(gNS)=n,curvature integral:12πS2F=n.\begin{align*} \text{transition function winding:}&& g_{NS}:S^1\to U(1),&& \operatorname{wind}(g_{NS})&=n,\\ \text{curvature integral:}&& \frac{1}{2\pi}\int_{S^2}F&& &=n. \end{align*}

These are not two unrelated facts. They are two representatives of the same first Chern class.

Why cohomology appears in Chern classes

The first Chern class is a cohomology class because it must be independent of the local choices used to describe the bundle.

A connection is described locally by one-forms AiA_i. These one-forms are not globally defined in general. On overlaps they differ by gauge transformations. The curvature FF is globally defined, but it depends on the chosen connection. However, changing the connection changes FF by an exact form at the level of the normalized curvature class. Thus the de Rham cohomology class

[F2π]dR\left[\frac{F}{2\pi}\right]_{\mathrm{dR}}

depends only on the bundle, not on the particular connection.

Cohomology is exactly the language for this kind of object:

A differential form representative may change, but its class modulo exact forms remains fixed.

The integral cohomology class c1(L)H2(M;Z)c_1(L)\in H^2(M;\mathbb{Z}) is stronger than the real de Rham class because it remembers quantization. The de Rham class records the real fluxes. The integral class says those normalized fluxes are integers on closed surfaces.

Homotopy, homology, and cohomology: comparison

The following table separates the main ideas.

Invariant What it studies Typical physics use


π1(X,x0)\pi_1(X,x_0) Homotopy classes of based loops Winding, vortices, covering groups, projective representations of Lie groups πn(X,x0)\pi_n(X,x_0) Homotopy classes of maps SnXS^n\to X Solitons, skyrmions, defects, wrapping numbers Hn(X;Z)H_n(X;\mathbb{Z}) nn-cycles modulo boundaries Noncontractible cycles, surfaces, topological sectors Hn(X;A)H^n(X;\mathsf A) Algebraic functions on nn-cycles modulo coboundaries Fluxes, obstruction classes, characteristic classes HdRn(M)H^n_{\mathrm{dR}}(M) Closed nn-forms modulo exact nn-forms Gauge curvature, Berry curvature, differential-form representatives of real cohomology

For fiber bundles and Berry phases, the most important chain of ideas is

transition functionsCech cocyclesH2(M;Z)c1(L)[F2π]dR12πΣFZ.\text{transition functions} \longrightarrow \text{Cech cocycles} \longrightarrow H^2(M;\mathbb{Z}) \longrightarrow c_1(L) \longrightarrow \left[\frac{F}{2\pi}\right]_{\mathrm{dR}} \longrightarrow \frac{1}{2\pi}\int_\Sigma F\in\mathbb{Z}.

Minimal checklist for the surrounding material

After this section, the following statements should have precise meanings:

  1. A loop is a map S1XS^1\to X, equivalently a path IXI\to X whose endpoints agree.

  2. π1(X,x0)\pi_1(X,x_0) is the group of loops based at x0x_0 modulo homotopy relative to endpoints.

  3. π1(S1)Z\pi_1(S^1)\cong\mathbb{Z} because loops around a circle have an integer winding number.

  4. π1(SO(3))Z2\pi_1(SO(3))\cong\mathbb{Z}_2 because SU(2)SO(3)SU(2)\to SO(3) is a two-to-one universal covering map.

  5. Hn(X;Z)H_n(X;\mathbb{Z}) is the group of nn-cycles modulo nn-boundaries.

  6. Hn(X;A)H^n(X;\mathsf A) is the group of nn-cocycles modulo nn-coboundaries.

  7. HdRk(M)H^k_{\mathrm{dR}}(M) is the group of closed kk-forms modulo exact kk-forms.

  8. De Rham cohomology agrees with singular cohomology with real coefficients.

  9. Integral cohomology is needed to state flux quantization.

  10. The first Chern class c1(L)H2(M;Z)c_1(L)\in H^2(M;\mathbb{Z}) is represented in de Rham cohomology by F/(2π)F/(2\pi).

Exercises

Exercise 11 (Path concatenation). Show that if α\alpha, β\beta, and γ\gamma are composable paths, then (αβ)γ(\alpha*\beta)*\gamma and α(βγ)\alpha*(\beta*\gamma) are homotopic relative to endpoints.

Exercise 12 (Winding number). Let γn:IS1\gamma_n:I\to S^1 be

γn(t)=e2πint.\gamma_n(t)=e^{2\pi int}.

Compute the lift γ~n\widetilde\gamma_n with γ~n(0)=0\widetilde\gamma_n(0)=0 and show that wind(γn)=n\operatorname{wind}(\gamma_n)=n.

Exercise 13 (Boundary of a boundary). Compute 1(2σ)\partial_1(\partial_2\sigma) explicitly for a singular two-simplex σ:Δ2X\sigma:\Delta^2\to X and verify that it is zero.

Exercise 14 (Exact forms integrate to zero on cycles). Let cc be a smooth singular kk-cycle and let ηΩk1(M)\eta\in\Omega^{k-1}(M). Use Stokes’ theorem to show

cdη=0.\int_c d\eta=0.

Exercise 15 (Chern number of the monopole bundle). Using the local potentials

AN=n2(1cosθ)dϕ,AS=n2(1+cosθ)dϕ,A_N=\frac{n}{2}(1-\cos\theta)d\phi, \qquad A_S=-\frac{n}{2}(1+\cos\theta)d\phi,

verify directly that AS=ANndϕA_S=A_N-n\,d\phi on the equator and that

12πS2dAN=n.\frac{1}{2\pi}\int_{S^2}dA_N=n.