Let XX be a . For n0n\ge 0, a singular nn-simplex in XX is a σ:ΔnX\sigma:\Delta^n\to X, where Δn={(t0,,tn)Rn+1:ti0,iti=1}\Delta^n=\{(t_0,\ldots,t_n)\in\mathbb R^{n+1}:t_i\ge0,\sum_i t_i=1\}. The group of singular nn-chains is the free abelian group of finite formal integer sums of such simplices,

Cn(X;Z)=Z[{σ:ΔnX continuous}].C_n(X;\mathbb Z)=\mathbb Z[\{\sigma:\Delta^n\to X\text{ continuous}\}].

For n1n\ge1, let δi:Δn1Δn\delta_i:\Delta^{n-1}\to\Delta^n insert a zero in the ii-th coordinate. Define

nσ=i=0n(1)iσδi,0=0,\partial_n\sigma=\sum_{i=0}^n(-1)^i\,\sigma\circ\delta_i,\qquad \partial_0=0,

and extend linearly. The identity n1n=0\partial_{n-1}\partial_n=0 makes

C2(X;Z)2C1(X;Z)1C0(X;Z)0\cdots\longrightarrow C_2(X;\mathbb Z)\xrightarrow{\partial_2}C_1(X;\mathbb Z)\xrightarrow{\partial_1}C_0(X;\mathbb Z)\longrightarrow0

a , called the singular chain complex of XX.

Coefficients and maps

For an abelian group AA, singular chains with coefficients in AA are Cn(X;A)=Cn(X;Z)ZAC_n(X;A)=C_n(X;\mathbb Z)\otimes_{\mathbb Z}A. A continuous map f:XYf:X\to Y sends σ\sigma to fσf\circ\sigma, inducing a chain map C(X;A)C(Y;A)C_\bullet(X;A)\to C_\bullet(Y;A).

Reference

This construction is standard; see Allen Hatcher, Algebraic Topology, Chapter 2, author-hosted book.