Let be the integral singular chain complex. Augment it by the homomorphism sending every point simplex to one. The homology of this augmented complex is reduced homology: for a nonempty space, it agrees with ordinary homology in positive degrees and is the kernel of . The relative homology is the homology of ; a relative cycle has boundary in , and chains differing by a boundary or a chain in represent the same class.
Excision theorem: if and , the inclusion induces isomorphisms on all relative homology groups. In particular, for a nonempty CW subcomplex , choose a neighborhood deforming onto , with the deformation fixing . Such neighborhoods exist for CW pairs. Then is contractible. The long exact sequence of a pair gives and . Excision removes and the collapsed point respectively; the resulting pairs and are homeomorphic. Consequently
Here the nonempty-subcomplex condition is the usual quotient convention in this statement. If , use the pointed cofiber with a disjoint basepoint; the literal unpointed quotient would not give the asserted degree-zero identity.
For one embedded circle, its long exact sequence of a pair reduces to
A separating circle bounds a subsurface, so its homology class is zero. A nonseparating circle has a transverse closed curve meeting it once, showing that its class is nonzero and primitive. Thus is either zero or an injection with torsion-free cokernel. The resulting possibilities are
with all other relative groups zero. These ranks determine whether the circle is null-homologous.
For , a disk boundary and a separating circle bounding a once-punctured torus have the same relative groups. The first is null-homotopic; the second is not. For a direct verification, use the surface-group presentation . Send to free generators , send to , and all remaining generators to one. The relation maps to , so this defines a homomorphism to the free group. The separating circle represents and maps to the nonempty reduced word ; it is therefore not null-homotopic. This proves the requested failure to detect nullhomotopy. There is a necessary low-genus qualification: on or , an embedded circle is nullhomologous exactly when it is nullhomotopic. On the sphere every circle bounds a disk; on the torus every essential embedded circle is nonseparating. The printed nondetection assertion therefore needs .
For two disjoint embedded circles let be the rank of their image in , and let be the number of connected components of the cut surface. Removing open annular neighborhoods and applying excision gives the compact cut surface relative to its boundary. Poincare-Lefschetz duality gives and , which is free. Thus there is no hidden torsion. The long exact sequence gives , and the Euler characteristic of the pair is , giving
The possibilities are : two separating circles give zero; a nonseparating circle with a disk boundary, or two parallel essential circles, give one; circles around two different handles give two. For genus zero only occurs; for genus one occur; for every genus at least two all three occur. This is relative homology of a surface modulo disjoint circles.