How this calculation works
Finite-group homology in degrees one and two is computed from an integer chain complex. The groups can contain finite cyclic factors, so an answer made only of real or rational dimensions misses the main information. Smith normal form records those torsion factors explicitly.
Validatefinitegrouptableexactly. NormalizedbarCk basis tuplesofnonidentitygroupelements. d1=0,d2[g|h]=[h]−[gh]+[g],d3[g|h|k]=[h|k]−[gh|k]+[g|hk]−[g|h],identity-containingterms=0. H1=C1/im(d2). ForH2 computeintegerkernelbasisKof d2 usingunimodularSmithtransformV, express d3columns inthat integralbasis (not rationalbasis), takeSNFofcoordinateimage. Verifyd2d3=0, unimodularityandchainlatticecoordinates. Growthcap onbigints; finitegroupH1,H2finite sofreepartszerointhese degrees. TestsC2,H2zero;V4,H2C2.A worked example
With the prefilled inputs, H2 = {"freeRank":0,"torsion":["2"]}. Complete finite group operation table with zero-based labels. Integral H1/H2, not field ranks.
Good to know
Integral trivial-coefficient homology H1,H2 from normalized bar boundaries and unimodular integer kernel coordinates; torsion preserved,not field-rank approximation.
Reference: Primary method reference or author-maintained documentation (opens in a new tab) ↗
Integral homology retains torsion that field ranks lose
Finite-group homology in degrees one and two is computed from an integer chain complex. The groups can contain finite cyclic factors, so an answer made only of real or rational dimensions misses the main information. Smith normal form records those torsion factors explicitly.
The first homology group is the group's abelianization. The second is its Schur multiplier in the usual integral convention. These are not the same as cohomology groups over a chosen finite field, even though similar matrix notation can make their calculations look superficially alike.
Compare with the Second group cohomology calculator over a prime field. Compute integer H1/H2 torsion from normalizedbarchains; primefield H² has a differentcoefficienttheory and does not recover integralinvariantfactors.
Validate the operation table before constructing chains
Complete finite group operation table with zero-based labels. Integral H1/H2, not field ranks.A finite operation table must have a two-sided identity, inverses and associativity. Element labels are arbitrary indices, but the identity must be identified correctly because normalized bar chains omit tuples containing it. An invalid table does not define the group whose homology the page advertises.
In the normalized bar model, degree k basis elements are k-tuples of nonidentity elements. The order-six limit controls the chain sizes through degree three. The output reports normalized bar dimensions and the final invariants; it does not expose the entire basis ordering or the full integer boundary matrices as downloadable certificates.
Build consecutive integer boundaries with matching signs
For a pair [g,h], the degree-two boundary is [h] minus [gh] plus [g]. For a triple [g,h,k], the next boundary is [h,k] minus [gh,k] plus [g,hk] minus [g,h]. Terms containing the identity vanish in the normalized basis.
Multiplying consecutive boundary matrices must give zero exactly. This is a structural check on signs, multiplication order and normalization, but passing it alone does not guarantee correct homology. The quotient must still be taken in the correct integral cycle lattice.
Use an integer kernel basis for the second quotient
To compute the second homology, first find all integral cycles in the kernel of the degree-two boundary. A rational nullspace basis can span the right vector space while generating a proper sublattice, which would corrupt torsion in the quotient.
Track unimodular transformations during Smith reduction, express degree-three boundaries in that integral kernel basis, and then take the Smith form of their image coordinates. Verify the coordinate reconstruction exactly. This lattice step is essential; ordinary nullity subtraction cannot replace it.
Check cyclic and elementary abelian examples
For the cyclic group of order two, the first homology is a cyclic group of order two and the second is trivial. This checks that the engine does not simply repeat the abelianization in both degrees or confuse homology with mod-two cohomology.
For the Klein four group, the first homology has two cyclic factors of order two, while the second has one. Its table can use binary exclusive-or on labels zero through three. These expected factors provide a small torsion-bearing case that cannot be verified by rational ranks alone.
Show the chain complex and invariant factors
The SVG should display the three relevant chain ranks and consecutive boundary arrows, with a visible zero-composition check. Beneath it, list free rank and cyclic torsion factors separately for each homology degree. A torsion factor of one contributes nothing and should be suppressed deliberately.
The engine internally checks consecutive boundary composition and the integral image coordinates before reporting the Smith invariants. The public result contains H1 and H2 free ranks and torsion factors, normalized chain dimensions and an operation count. It does not return the Smith transformation matrices, so the explanatory chain diagram should not imply that those larger certificates are currently exposed.
Integer growth is a genuine resource limit
Smith transformations can produce large intermediate integers even when the original boundary entries are small. A bigint growth cap must stop with an unresolved status. Converting to floating point and rounding the resulting diagonal would sacrifice the exact divisibility assertions behind torsion factors.
Test associativity failures, relabelings of the same group and the cyclic and Klein examples. Homology invariants must survive relabeling, though displayed bases and transformation matrices change. A completed result should state the exact degree range rather than implying all higher homology was computed. The public prefill is the Klein four group using exclusive-or labels, with normalized chain dimensions one,three,nine,twenty-seven from degrees zero through three. Torsion arrays contain decimal strings for cyclic orders greater than one. An empty torsion array with free rank zero denotes the trivial group, as in the cyclic order-two second-homology check. Integral trivial-coefficient homology H1,H2 from normalized bar boundaries and unimodular integer kernel coordinates; torsion preserved,not field-rank approximation.
A few questions, answered
Can rational matrix ranks recover the torsion factors?
No. Rational ranks discard finite torsion. Integral lattice calculations and Smith normal form are needed.
Is first homology the abelianization?
Yes, with the standard integral coefficients used here.
Why is an ordinary nullspace basis unsafe for H2?
It may generate only a proper sublattice of the integral kernel, which can change quotient torsion.
Does computing H1 and H2 compute every homology group?
No. This bounded page constructs only the chain data needed for those stated degrees.