Lesson 9.21,607 words

Rational Canonical Form

A linear operator turns its vector space into a module over the polynomial ring F[x]F[x], with xx 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.

The invariant-factor chain of an operator: the top factor is the minimal polynomial, and the product of all factors is the characteristic polynomial.

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 companion matrix, drawn at size : ones on the first subdiagonal, the entries (negated coefficients) in the last column, zeros elsewhere.

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.

The rational canonical form: companion blocks of the invariant factors stacked on the diagonal, zeros in the off-diagonal blocks.

Similarity becomes a statement about modules.

Similarity as a change of basis. The matrix of basis vectors conjugates into its rational canonical form; the two matrices represent one operator in two bases.

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.

Algorithm:RationalCanonicalForm(A)\textsc{RationalCanonicalForm}(A) over F[x]F[x]
  1. 1
    form the matrix xIAxI - A with entries in F[x]F[x]
  2. 2
    while xIAxI - A is not diagonal do
  3. 3
    bring a lowest-degree entry into the pivot position by row/column swaps
  4. 4
    using division in F[x]F[x], clear the pivot's row and column by
  5. 5
    adding multiples of the pivot row/column to the others
  6. 6
    if some entry is not divisible by the pivot then
  7. 7
    move it into the pivot's row and repeat the clearing
  8. 8
    rescale each diagonal entry to be monic
  9. 9
    discard leading 11's; the remaining monic entries a1ama_1 \mid \cdots \mid a_m
  10. 10
    are the invariant factors
  11. 11
    return iCai(x)\bigoplus_i C_{a_i(x)}

Tracking the operations also yields the change-of-basis matrix with in rational canonical form.

Worked examples

invariant factorsRCF 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

  1. Dummit & Foote, §12.2 — Proposition 13: the minimal polynomial of is the largest invariant factor of the -module , and every invariant factor divides it.
  2. 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.
  3. 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.
  4. 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 ╌╌