Track the birth and death of topological features across scales. Learn the matrix reduction algorithm at the heart of TDA.
As ε grows, holes are born and later die. Persistent homology records each one's lifespan: features that last are real shape, and fleeting ones are noise.
Press Next to step through the column reduction of the boundary matrix, and watch birth-death pairs appear as each column's lowest 1 becomes unique. Tick "Show explanation" for a running commentary.
When an edge "kills" a component (connects two pieces), we pair the edge with the vertex that was born later — the younger component dies while the older one survives. The persistence is death - birth.
Persistent homology extends ordinary homology to filtrations. Instead of computing homology at a single scale, we track how topological features are born and die as we move through the filtration.
Each feature has a birth time (when it first appears) and adeath time (when it merges or fills in). The difference is thepersistence — a measure of how significant the feature is. Features with high persistence are signal; low persistence is noise.
A feature is born when a cycle appears that wasn't a boundary at any earlier stage. For H₀, birth happens when a vertex appears (new component). For H₁, birth happens when a cycle of edges forms without bounding a triangle.
A feature dies when it becomes a boundary. For H₀, death happens when an edge connects two components (they merge). For H₁, death happens when triangles fill in a loop, making it bound a surface.
Persistent homology is computed by reducing the boundary matrix using column operations. Step through the algorithm to see how birth-death pairs are extracted from the reduced matrix.
The algorithm processes the boundary matrix column by column, reducing it to a form where birth-death pairs can be read off directly.
When two components merge in H₀, which one "survives" and which one "dies"? The elder rule says the older component (born earlier) survives, and the younger one dies at the merge time.
Suppose vertex v₀ is born at ε=0, vertex v₃ is born at ε=0, and edge (v₀, v₃) appears at ε=0.5. The two components merge. Since both were born at the same time, one arbitrarily survives (say v₀), and v₃ dies at ε=0.5. This creates the pair (birth=0, death=0.5).
Some features never die — they persist to infinity. These are calledessential features and represent the homology of the full complex at the end of the filtration.
At least one connected component survives forever — the final complex is connected. If there are multiple essential H₀ classes, the final complex has multiple components.
An essential loop never gets filled in by triangles. This happens when the underlying space has a genuine 1-dimensional hole (like a torus or annulus).
Spot a mistake or have an idea?