How this calculation works
Decide whether two explicitly supplied chain maps are chain-homotopic and produce degree-raising witness matrices. Existing induced-map page only accepts vertex maps and returns homology maps.
F_d-G_d = d_D,(d+1) H_d + H_(d-1) d_C,d over GF(p), where H_d:C_d→D_(d+1).A worked example
For a two-term complex GF(5) --1→ GF(5), compare the identity chain map with the zero map. Choosing H0=[1] satisfies both degree equations, so these maps are chain-homotopic.
Good to know
Chain complexes in degrees 0–3; vector-space dimensions 0–8 per degree; GF(p), p in {2,3,5,7,11,13}; at most 200 witness unknowns; explicit boundary and map matrices.
Reference: Hatcher, Algebraic Topology section 2.1, chain homotopies (opens in a new tab) ↗
Enter two chain complexes and two compatible maps
A chain complex specifies vector spaces at each degree and boundary matrices that lower degree by one. Consecutive boundaries must compose to zero. The source and target can have different dimensions, provided all entered matrix shapes match their declared degrees.
The two maps F and G must send each source degree to the matching target degree. Before searching for a homotopy, check that both maps commute with the boundary operators. An invalid chain map is an input error, not evidence of a failed homotopy.
Compare this with the Induced homology map calculator from a simplicial vertex map. Decide whether two explicitly supplied chain maps are chain-homotopic and produce degree-raising witness matrices. Existing induced-map page only accepts vertex maps and returns homology maps.
Keep the field and matrix convention explicit
Entries are computed modulo one of the supported prime numbers. The same integer matrix can have different ranks over different fields. A prime field is essential because the elimination procedure relies on inverses of nonzero entries.
Use column vectors throughout: a matrix has one row for each target basis vector and one column for each source basis vector. Stating this convention avoids a common transposition error when comparing an entered boundary matrix with a diagram of arrows.
Understand why the witness raises degree
A homotopy matrix H_d sends source degree d to target degree d+1. Composing it with a boundary on either side brings the result back to degree d. The sum of these two compositions must equal the difference between F and G.
This equation records a chain-level correction between the maps. It is stronger data than simply observing a few equal numerical invariants. Its signs and degree positions must be fixed before assembling the linear system, especially over fields with odd characteristic.
Solve all degree equations as one affine system
Every unknown entry of every H matrix appears linearly. Expand the matrix equations into one system over the chosen field and row-reduce it exactly. A particular solution gives one witness, while the reported free-parameter count describes the dimension of the homogeneous witness freedom.
When elimination produces a row with zero coefficients and a nonzero right-hand side, no witness exists for these input complexes and maps. The inconsistent relation can be retained as a certificate of this finite linear-algebra conclusion.
Check the identity-versus-zero default
In the two-term complex with boundary matrix [1], both vector spaces are one-dimensional and the boundary is invertible. Taking H0=[1] makes dH0=1 in degree zero and H0d=1 in degree one.
The identity and zero chain maps therefore satisfy the homotopy equation. This is an acyclic two-term example; it should not be confused with the unreduced chains of a geometric interval, which retain a nonzero H0 component.
Verify every returned witness directly
Substitute the reported matrices back into every degree equation using modular arithmetic. The residual matrices must be exactly zero in the chosen field. This direct substitution is cheap and catches degree-order mistakes even when the solver itself completed successfully.
A useful nontrivial reference uses d=[[1,2],[0,1]] over GF(7) and H0=[[1,1],[0,2]]. Choosing F0=dH0, F1=H0d and G=0 guarantees a valid witness while exercising off-diagonal entries and distinct degree maps. The homotopy unknown H_k raises degree by one, so its matrix has target dimension in degree k+1 and source dimension in degree k. The calculator checks both boundary-squared identities and both chain-map conditions before solving f−g=dH+Hd. A successful witness implies the maps induce the same homology map. Over these finite fields, inconsistent witness equations certify that this pair is not chain homotopic within the supplied complexes. That statement is different from asking whether the underlying spaces are homotopy equivalent. Zero-dimensional chain groups need correctly shaped empty matrices rather than invented identity maps.
Separate algebraic homotopy from continuous homotopy
This calculation concerns explicit maps of finite chain complexes. A returned H certifies that their induced homology maps agree. It does not supply a geometric deformation between continuous maps or decide the homotopy type of a space.
Likewise, a failed chain-homotopy equation is a conclusion about the given algebraic maps over the selected field. Translating that result into a topological statement requires an appropriate connection between the chain models and the underlying spaces. The interface should not infer that connection automatically.
A few questions, answered
Do equal homology maps always imply topological homotopy?
No. Equality of induced homology maps is much weaker than a continuous homotopy between maps of spaces. This tool solves an explicit equation between chain maps.
Why does H raise degree?
Both dH and Hd must preserve the original degree in order to equal F-G. Since d lowers degree, H must raise it.
Can multiple homotopies be returned?
Yes. A particular witness and a basis of homogeneous solutions describe all solutions as an affine family over the selected finite field.
What does an inconsistent row certify?
It proves that the finite-field witness equations have no solution for the entered data. It is not a general topological nonhomotopy certificate.