Use integral singular chains. The inclusion identifies with the subgroup of generated by the singular simplices whose images lie in . It is a chain subcomplex. Define
This boundary is well defined because , and its square is zero because . Its homology is, by definition, . A relative cycle has a representative with ; representatives of the same relative homology class differ by , where and .
Inclusion and quotient induce homomorphisms and . Define the relative homology connecting homomorphism by
Here is a cycle in since . If is changed to , its boundary changes by , a boundary in , proving independence of representatives. The formula is additive, so is a homomorphism.
The long exact sequence in relative homology is
and ends in
We prove all three types of exactness directly, so no unproved abstract lemma about chain complexes is required.
At , because a chain in is zero in the relative chain group. Conversely, let an absolute cycle have . The definition of a relative boundary gives with . Since is a cycle, . Thus , proving .
At , because an absolute cycle has zero boundary. Conversely, suppose . Then for some . Therefore is an absolute cycle and . Hence .
At , because is a boundary in . Conversely, if a cycle becomes zero in , then for some . That is a relative cycle, and . Thus .
These arguments also prove the assertions at shifted indices. Finally, every zero-dimensional relative cycle lifts to a chain in , and every zero-chain is an absolute cycle; this proves surjectivity onto . All maps, representative changes, compositions and exactness assertions have consequently been justified from the chain definitions.
Use integral singular homology. The singular chain group is the free abelian group on continuous maps , and its boundary operator is
For , deleting vertex and then vertex has sign , while deleting and then the shifted vertex has sign . Both yield the same codimension-two face. Pairing these terms proves . The inclusion identifies with the subgroup spanned by those simplices having image in , so it is injective and preserved by .
The relative chain complex is with induced boundary . Thus there is a degreewise short exact sequence of chain complexes
Inclusion and quotient take homological cycles to homological cycles and boundaries to boundaries, hence define the group homomorphisms and on homology. We construct and prove exactness of the resulting sequence directly, rather than invoke an unproved algebraic lemma:
ending in .
For the relative homology connecting homomorphism, lift a relative cycle to . Since , the chain belongs to ; it is a homological cycle because . Define
Changing the lift by changes the boundary by , hence does not change its homology class. More generally, if a different relative cycle represents the same relative homology class, lifts satisfy for some and . Then . This proves independence both of the lift and of the homology representative. Lifting a sum by the sum of lifts proves additivity, so is a well-defined group homomorphism.
At , an element in the image of is represented by for some , so its image in is zero. Conversely, if a homological cycle in has , then for a -chain . Its quotient is a relative cycle and . Thus
For completeness, the other terms are exact by the same elementary chain argument. At , clearly . If a homological cycle in has zero relative class, then for a quotient chain . Lifting gives , and . Hence , proving . At , absolute homological cycles have zero connecting image. Conversely, if , then for some ; the chain is an absolute homological cycle and maps to . Therefore . In degree zero every quotient chain lifts to an absolute homological cycle, because the differential to degree is zero, so is surjective. These proofs establish the whole long exact sequence in relative homology and all the algebraic facts used in its construction.