Definition
Relative singular homology
Homology of the quotient singular chain complex of a pair of spaces.
Let be a subspace of a topological space and let be an abelian group. The inclusion induces a subcomplex . The relative singular chain complex is
and the relative singular homology group is
Thus a relative cycle is a chain in whose boundary lies in , modulo chains in and relative boundaries.
Functoriality and exact sequence
A map of pairs induces maps on relative homology. The short exact sequence of chain complexes
gives the long exact sequence of the pair, relating , , and .
Reference
See Allen Hatcher, Algebraic Topology, Chapter 2, author-hosted book.