← LibraryApplications of the Hermite Normal FormEngineering · MathematicsLesson 241/385← PrevNext →
ArticlePublished 7 Aug 20262 min readBy Kevin JoginHermite normal formapplicationsinteger linear systemsmodule index

Integer Matrix Normal Forms

Applications of the Hermite Normal Form

Solving integer linear systems, computing indices and intersections, and testing module membership using the Hermite normal form.

Engineering / MathematicsInteger Matrix Normal Forms2 min readKV-MATH-0539

The Hermite normal form is a general-purpose tool. Once a module is in canonical form, a range of questions that are awkward in general become straightforward.

Membership testing

To decide whether a vector lies in a module, reduce it against the Hermite basis from the pivot positions downward. The vector belongs exactly when the reduction terminates at zero.

Module membership

  1. AlignStart at the highest pivot position.
  2. DivideDivide the corresponding vector entry by the pivot; if the division is not exact, the vector is not a member.
  3. SubtractSubtract that multiple of the basis column.
  4. AdvanceMove to the next pivot and repeat.

Integer linear systems

A system with integer coefficients may be solvable over the rationals but not over the integers. The Hermite form makes the distinction explicit: the divisibility conditions appear directly as exactness requirements during back-substitution.

Index computation

For two modules of the same rank, one contained in the other, the index is the absolute determinant of the matrix expressing the smaller basis in terms of the larger. In Hermite form this is simply the product of the diagonal entries.

index = product of diagonal pivotsFor a full-rank module inside the standard lattice.

Sum and intersection

Module operations via Hermite normal form
OperationMethod
SumConcatenate generating sets, take Hermite normal form
IntersectionCompute a kernel of the stacked matrices, then normalise
EqualityCompare Hermite normal forms entrywise
ContainmentTest each basis vector of one for membership in the other

Ideal arithmetic

Every ideal operation in a number field reduces to these primitives. Ideal sum is module sum; ideal product is the module generated by pairwise products, normalised; ideal norm is the index of the ideal in the maximal order, hence a product of pivots. See ideal multiplication and ideal norms.

Source. Henri Cohen, A Course in Computational Algebraic Number Theory, Springer GTM 138 — 2.4.3. Structural reference unverified: the source file was not available during authoring; chapter and section numbers are taken from the published edition and have not been checked against a physical copy.

Continue learning

Coefficient Explosion in Hermite Normal Form ComputationArticle · MathematicsNEXT LESSON →The Smith Normal Form AlgorithmArticle · MathematicsThe Hermite Normal Form AlgorithmArticle · MathematicsRecovering Abelian Group Structure from a Relation MatrixArticle · Mathematics