Shapes & spaces

Reidemeister torsion calculator for an acyclic based rational chain complex

Calculate signed Reidemeister torsion of an acyclic rational chain complex with specified ordered bases.

Your numbers

Valid JSON. boundaries[i] has rows C_(i-1),columns C_i; boundaries[0]=[]. Exact rational acyclic complexes.
Valid JSON; preserve the shown array or object structure.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

An acyclic chain complex has no surviving homology classes, yet its chosen bases can still contain information. Reidemeister torsion combines the change-of-basis determinants needed to separate boundaries from their lifts, giving a nonzero scalar rather than another list of Betti numbers.

THE FORMULAFor each degree i compute an exact rational basis b_i of im(d_{i+1}); verify ker(d_i)=im(d_{i+1}) and d_i d_{i+1}=0. Lift each chosen b_{i-1} through d_i. Form M_i=[b_i,lift(b_{i-1})] in the supplied ordered basis c_i; torsion convention tau=product det(M_i)^((-1)^(i+1)). Empty determinants are1. Track rational sign rather than absolute values. Basis changes/lift changes have prescribed effects; this is based rational torsion, not group-ring Whitehead torsion.

A worked example

With the prefilled inputs, torsion = 1/2. boundaries[i] has rows C_(i-1),columns C_i; boundaries[0]=[]. Exact rational acyclic complexes.

Good to know

Standard ordered chain bases; τ=∏det([b_i,lifts(b_(i−1))]/c_i)^(−1)^(i+1). Signed rational value under stated chosen boundary bases; no nonacyclic or twisted representation torsion.

What the torsion records

An acyclic chain complex has no surviving homology classes, yet its chosen bases can still contain information. Reidemeister torsion combines the change-of-basis determinants needed to separate boundaries from their lifts, giving a nonzero scalar rather than another list of Betti numbers.

The word based matters here. Changing a supplied basis can change the scalar, even though acyclicity remains true. This page treats finite complexes of rational vector spaces. It does not infer a topological invariant from arbitrary matrices without the extra structures required by the intended application.

Reidemeister torsion calculator for an acyclic based rational chain complexAcyclic two-term complex: d₁ = 2C₁ = QC₀ = Q× 2lift(b₀) = e₁b₀ = 2e₀det M₁ = 1det M₀ = 2τ = (det M₀)⁻¹ det M₁ = 1/2
Scroll across to see the full diagram.
The nonzero map Q→Q is acyclic. In the declared exponent convention, its torsion is1/2; the basis changes and lifts are shown explicitly.

Compare with the Chain homotopy calculator for two maps between finite chain complexes. Compute a basis-sensitive determinant invariant after certifyingacyclicity; chainhomotopy givesexistenceofmaps,witnesses but no torsion.

Entering a genuine chain complex

boundaries[i] has rows C_(i-1),columns C_i; boundaries[0]=[]. Exact rational acyclic complexes.Provide each boundary matrix with columns indexed by the basis of its source degree and rows indexed by the next lower degree. Adjacent dimensions must match. Exact rational entries allow the chain identity to be checked without choosing a floating-point tolerance for a supposed zero.

For explicit dimensions in degrees zero through three, enter an empty d0 matrix and matrices mapping each degree to the preceding one. Every consecutive product must vanish. The rank-nullity identities then decide whether the complex is acyclic. A failed chain identity and nonzero homology are different failures: the first means the matrices do not define a complex, while the second means this acyclic torsion construction is unavailable.

Boundary bases and their lifts

In degree i, choose an independent set of columns spanning the image of the incoming boundary. These vectors form b_i. For each vector in b_{i-1}, solve a compatible linear equation to obtain a lift in degree i; the lift need not be unique.

Concatenating b_i with those lifts gives a full basis precisely when acyclicity holds. Adding a boundary to a lift changes the corresponding matrix by a determinant-one triangular operation. That observation explains why arbitrary lift choices do not alter the final scalar under the declared convention.

The alternating determinant convention

The calculation uses the product of det[b_i, lifts of b_{i-1}] raised to (-1)^(i+1). Some books use its reciprocal or apply a sign refinement. Reporting the convention beside the answer is necessary when comparing a scalar with another reference.

Do not replace every determinant by its absolute value unless an unsigned variant is explicitly requested. A negative determinant may encode the ordering of the supplied basis. The result table should retain each degree's determinant and exponent so a sign discrepancy can be traced directly.

A two-term worked calculation

Take one copy of Q in degrees one and zero, with boundary multiplication by 2. The image basis in degree zero can be chosen as twice the supplied basis vector. Its lift in degree one is the supplied basis vector itself.

The degree-zero determinant is therefore 2 and contributes its reciprocal. The degree-one determinant is 1 and contributes unchanged. The torsion is 1/2 in this convention. Replacing the boundary by zero produces homology and must not return the same sort of answer.

Checking a result without hiding choices

The per-degree boundary rank and change determinant provide a compact certificate. The engine uses the standard ordered coordinate bases rather than accepting a separate basis-change matrix. Independent exact row reduction can reconstruct the selected incoming column basis and check its lifted coordinate vectors against the original matrices. The displayed table does not export every intermediate lift matrix.

A useful sensitivity check rescales one supplied basis vector by a nonzero rational and compares the predicted alternating factor. This checks the meaning of a based invariant more effectively than comparing only one decimal approximation of the final torsion.

Limits and appropriate interpretation

Dimension caps bound the amount of exact elimination and fraction growth. They do not make a rounded numerical rank test equivalent to a rational proof. Inputs should keep the actual source fractions when these are available rather than replacing them with long decimal guesses.

A scalar returned for this problem is not a Whitehead-group element, an analytic torsion, or a guarantee that two spaces are homeomorphic. Applications need their own admissible bases and invariance argument. This calculator exposes the finite linear-algebra construction on which such arguments can depend. Standard ordered chain bases; τ=∏det([b_i,lifts(b_(i−1))]/c_i)^(−1)^(i+1). Signed rational value under stated chosen boundary bases; no nonacyclic or twisted representation torsion.

A few questions, answered

Why does another source give 2 instead of 1/2?

It may use the reciprocal alternating-exponent convention; compare the definition before treating this as disagreement.

Can a complex with homology be entered?

It can be checked, but acyclic torsion is rejected; homology-basis torsion is a different construction.

Are rational decimals treated approximately?

The intended implementation must parse exact fractions; any decimal convention needs to be stated explicitly.

Can I omit a zero-dimensional degree?

Only if the boundary shapes still state the chain dimensions unambiguously; empty determinants contribute1.

Find your calculator

Start typing to explore the library.