Rational Canonical Form
A linear operator turns its vector space into a module over the polynomial ring , with acting as the operator. The structure theorem's invariant factors then become polynomials, each cyclic summand becomes a companion matrix, and the block-diagonal assembly is the rational canonical form.
╌╌╌╌
Two square matrices over a field are similar when for some invertible — the same operator written in two bases. Deciding similarity by searching for is hopeless. The structure theorem for modules over a PID replaces the search with a computation: attach to each matrix a canonical form that depends only on its similarity class, then compare.
The idea is to read a linear operator as a module. Fix a finite-dimensional vector space over a field and a linear transformation . The polynomial ring is a PID, and carries an -module structure in which acts as .
The vector space as an -module
A polynomial acts on a vector by substituting for :
Multiplication by alone is application of . Choosing a different operator gives a different module on the same underlying space.
Because , the module is finitely generated (any basis generates it) and torsion: the powers are linearly dependent in the -dimensional space of operators, so some nonzero polynomial annihilates . Two polynomials measure this torsion.
Applying the structure theorem to the torsion -module gives its invariant factors, now monic polynomials.
Companion matrices
Each cyclic summand has a natural basis, and acts on it by a matrix read straight off the coefficients of .
For a monic , the quotient has -basis . Multiplication by sends for , and
using the relation in the quotient. In matrix form:
The characteristic polynomial of is exactly , and the minimal polynomial is also : the single cyclic module has as its annihilator.
The rational canonical form
Assembling the companion matrices of the invariant factors along a diagonal gives the canonical form.
Similarity becomes a statement about modules.
Rationality
The name records where the arithmetic happens. Every step — factoring , building companion blocks — stays inside , so the entries of the canonical form lie in the smallest field containing the entries of .
Enlarging the field cannot merge or split similarity classes. This fails for the
Jordan form, which
needs the eigenvalues to lie in the field and so is not rational.
3
Reading the invariant factors from the polynomials
Two relations connect the invariant factors to the two familiar polynomials, and they often determine the whole list by hand.
For small matrices these constraints pin everything down. The invariant factors multiply to , each divides the next, and the largest is . For and matrices, knowing and determines the full list; for it need not, and the general algorithm is required.
Computing by Smith normal form
The systematic method diagonalizes the matrix over . Because is a Euclidean domain, the same row-and-column reduction that computes a stacked basis works with polynomial entries.
- 1form the matrix with entries in
- 2while is not diagonal do
- 3bring a lowest-degree entry into the pivot position by row/column swaps
- 4using division in , clear the pivot's row and column by
- 5adding multiples of the pivot row/column to the others
- 6if some entry is not divisible by the pivot then
- 7move it into the pivot's row and repeat the clearing
- 8rescale each diagonal entry to be monic
- 9discard leading 's; the remaining monic entries
- 10are the invariant factors
- 11return
Tracking the operations also yields the change-of-basis matrix with in rational canonical form.
Worked examples
| invariant factors | RCF blocks | |||
|---|---|---|---|---|
| a block | ||||
| one block | ||||
| one block |
The shortcut above used and ; the Smith reduction reaches the same invariant factors with no guessing, and it is the method that scales past .
The operator-module dictionary
The dictionary between operators and -modules turns questions about matrices into module questions about , term for term. The characteristic polynomial plays the role of the order of a finite abelian group and the minimal polynomial the role of its exponent, both being the same invariants — one over the PID , the other over the PID . So the problems solved for abelian groups have exact analogues here:
- Find the canonical form of a matrix (decompose into cyclic factors).
- Decide similarity of two matrices (test module isomorphism).
- List all similarity classes with a given characteristic polynomial (enumerate invariant-factor chains multiplying to it).
- List all classes with a given minimal polynomial and dimension (enumerate chains ending in it).
When the base field contains all the eigenvalues, the elementary-divisor form of the same module gives a nearly diagonal matrix, the Jordan canonical form.
Footnotes
- Dummit & Foote, §12.2 — Proposition 13: the minimal polynomial of is the largest invariant factor of the -module , and every invariant factor divides it. ↩
- Dummit & Foote, §12.2 — Theorems 14–17: existence and uniqueness of the rational canonical form for operators and matrices, and the equivalence of similarity with -module isomorphism. ↩
- Dummit & Foote, §12.2 — Corollary 18: the rational canonical form, minimal and characteristic polynomials, and invariant factors are unchanged under field extension, so similarity is field-independent. ↩
- Dummit & Foote, §12.2 — Lemma 19 and Proposition 20: the characteristic polynomial of a companion matrix is the polynomial itself; the characteristic polynomial is the product of the invariant factors; and the Cayley–Hamilton theorem. Theorem 21 states the Smith normal form of . The first worked example follows Example 1 of §12.2 ( is its first matrix); and are two matrices sharing the invariant factor , neither similar to . The Smith reduction of is the computation of §12.2, Example 2, run with a different but equivalent sequence of operations. ↩
╌╌ END ╌╌