Rational canonical form is a canonical form for square matrices over an arbitrary field.
Jordan canonical form requires the characteristic polynomial to split into linear factors. This means that all eigenvalues must lie in the field. Rational canonical form avoids that restriction. It works over the original field without adjoining missing eigenvalues.
For this reason, rational canonical form is often the correct replacement for Jordan form over fields such as
It classifies matrices up to similarity by using invariant factors and companion matrices. A matrix is similar to exactly one rational canonical form, up to the ordering convention of its blocks.
71.1 Similarity and the Need for Canonical Form
Two square matrices and over a field are similar if there exists an invertible matrix over such that
Similar matrices represent the same linear transformation in different bases.
A canonical form chooses one standard representative from each similarity class. If two matrices have the same canonical form, then they are similar. If they have different canonical forms, then they are not similar.
Diagonal form is the simplest canonical form, but it exists only for diagonalizable matrices. Jordan form applies more broadly, but it requires the characteristic polynomial to split over the field. Rational canonical form applies to every square matrix over any field.
71.2 Companion Matrices
Let
be a monic polynomial over .
The companion matrix of is
This matrix is designed so that its characteristic polynomial and minimal polynomial are both .
The companion matrix represents multiplication by on the quotient space
The basis is
Multiplication by shifts basis elements until the last one. The relation
produces the last column of the companion matrix.
71.3 Example of a Companion Matrix
Let
Then
The companion matrix is
The relation behind the matrix is
Thus multiplication by sends
In the basis , this gives the columns
71.4 Cyclic Subspaces
Let be a linear transformation over .
A subspace is cyclic for if there exists a vector such that
The vector is called a cyclic vector for .
On a cyclic subspace, the matrix of has companion matrix form. If the first polynomial relation among
is
where is monic of degree , then the matrix of on this cyclic subspace is .
Thus companion matrices are the building blocks of rational canonical form.
71.5 Invariant Factors
The rational canonical form is built from a sequence of monic polynomials
called invariant factors.
They satisfy the divisibility chain
The rational canonical form is the block diagonal matrix
The invariant factors determine the matrix up to similarity. Conversely, the similarity class determines the invariant factors.
The largest invariant factor is the minimal polynomial:
The product of all invariant factors is the characteristic polynomial:
These two facts connect rational canonical form with the previous chapters on the characteristic and minimal polynomials.
71.6 Definition of Rational Canonical Form
Let be an matrix over a field .
The rational canonical form of is the block diagonal matrix
where
are the invariant factors of .
There exists an invertible matrix over such that
The form is canonical: two matrices over are similar if and only if they have the same rational canonical form.
71.7 Why the Word Rational Appears
The word rational does not mean that the entries must be rational numbers.
It means that the form is defined over the original field using polynomial arithmetic over that field. It does not require factoring the characteristic polynomial into linear factors.
For example, over , the polynomial
does not split into real linear factors. Jordan form over using eigenvalues and is unavailable.
But the companion matrix
is a real matrix. It is already a rational canonical block over .
Thus rational canonical form works without leaving the base field.
71.8 Example: Rotation by
Consider
over .
The characteristic polynomial is
The minimal polynomial is also
Since the minimal polynomial equals the characteristic polynomial, there is one invariant factor:
Therefore the rational canonical form is
So is already in rational canonical form.
Over , the same matrix has eigenvalues and , and it diagonalizes. This shows that rational canonical form depends on the chosen base field.
71.9 Example: One Cyclic Matrix
Let
This is the companion matrix of
Actually, using the companion convention above, the last column is
Thus
The characteristic polynomial and minimal polynomial are both .
There is one invariant factor:
Therefore the rational canonical form of is itself.
A matrix whose minimal polynomial equals its characteristic polynomial is called cyclic. Its rational canonical form has one companion block.
71.10 Example with Two Invariant Factors
Suppose a matrix has invariant factors
and
They satisfy
The rational canonical form is
Now
Also,
Thus
Therefore
The characteristic polynomial is
and the minimal polynomial is
71.11 Relation to Jordan Form
When the characteristic polynomial splits into linear factors, rational canonical form and Jordan form contain the same structural information, but package it differently.
Jordan form uses blocks
Rational canonical form uses companion matrices of invariant factors.
For a single Jordan block , the corresponding polynomial is
The companion matrix is similar to the Jordan block , but it uses a different basis.
Thus Jordan form is eigenvector-chain based. Rational canonical form is polynomial-module based.
Jordan form is more geometric. Rational canonical form is more field-independent.
71.12 Rational Form Over Non-Algebraically Closed Fields
Let
Over , the polynomial
is irreducible. The rational canonical form has one block .
Over ,
The matrix becomes diagonalizable:
Thus extending the field can change the Jordan description. The rational canonical form over the original field avoids choosing roots outside the field.
71.13 The Module Viewpoint
Rational canonical form is most naturally explained using modules.
Let be a finite-dimensional vector space over , and let be linear.
Make into an -module by defining
Since is a principal ideal domain, the structure theorem for finitely generated modules over a PID applies.
It gives a decomposition
where
These polynomials are the invariant factors. Writing multiplication by on each quotient gives the companion matrix . The block diagonal sum of these companion matrices is the rational canonical form.
71.14 Characteristic Polynomial from Invariant Factors
If
then the characteristic polynomial of is the product of the characteristic polynomials of the blocks.
Since
we get
Thus the invariant factors multiply to the characteristic polynomial.
This means the degrees satisfy
The total size of all companion blocks equals the dimension of the vector space.
71.15 Minimal Polynomial from Invariant Factors
For a block diagonal matrix, the minimal polynomial is the least common multiple of the minimal polynomials of the blocks.
Each companion block has minimal polynomial .
Therefore
Since
the least common multiple is
Thus the largest invariant factor is the minimal polynomial:
This is one of the main computational checks on rational canonical form.
71.16 Similarity Classification
The rational canonical form solves the similarity classification problem over a field.
For square matrices and over ,
if and only if they have the same invariant factors.
Equivalently,
and
are similar if and only if they have the same rational canonical form.
This is stronger than comparing characteristic polynomials or minimal polynomials alone. Two matrices may have the same characteristic and minimal polynomials but different invariant factors.
71.17 Characteristic and Minimal Polynomials Are Not Enough
Consider two matrices with invariant factors
and another matrix with invariant factors
After ordering by divisibility, these are the same list.
But compare instead:
with
Ignoring trivial factors, the second matrix has one nontrivial invariant factor , while the first has two nontrivial invariant factors.
Both may have related eigenvalue data, but the rational canonical forms differ.
The invariant factor list gives the exact similarity class.
71.18 Relation to Elementary Divisors
Invariant factors can be refined into elementary divisors by factoring them into powers of irreducible polynomials.
For example, suppose
and
The elementary divisors are the prime-power factors:
The primary rational canonical form uses these elementary divisors. The invariant-factor rational canonical form uses the divisibility chain .
Both forms are useful. The invariant-factor form avoids unnecessary factorization and gives a compact uniqueness statement.
71.19 Rational Canonical Form and Diagonalization
A matrix is diagonalizable over if and only if its minimal polynomial splits over into distinct linear factors.
Since
this means that the largest invariant factor must split into distinct linear factors.
For example, if
then the matrix is diagonalizable over , assuming those scalars lie in .
If
then the matrix is not diagonalizable.
If
over , then the matrix is not diagonalizable over , since the polynomial does not split over .
71.20 Rational Canonical Form and Cayley-Hamilton
Because
and
the divisibility chain implies
This is consistent with Cayley-Hamilton, which says
The rational canonical form gives a structural explanation. Each companion block is annihilated by , and therefore by , since . Hence the whole rational canonical form is annihilated by , the minimal polynomial.
71.21 Computing Rational Canonical Form
In practice, rational canonical form may be computed from the Smith normal form of the polynomial matrix
The Smith normal form over produces diagonal polynomial entries whose nonunit entries determine the invariant factors.
This method relies on the fact that is a principal ideal domain.
A rough procedure is:
| Step | Operation |
|---|---|
| 1 | Form the polynomial matrix . |
| 2 | Compute its Smith normal form over . |
| 3 | Extract the invariant factors. |
| 4 | Build companion matrices for those factors. |
| 5 | Assemble their block diagonal direct sum. |
This is the algebraic route to rational canonical form. It avoids solving for eigenvalues.
71.22 Example Using Minimal and Characteristic Polynomials
Suppose is a matrix with
and
Since the largest invariant factor is the minimal polynomial, one invariant factor must be
The product of all invariant factors must be the characteristic polynomial. Therefore the remaining factor must be
Check the divisibility condition:
Thus the rational canonical form is
The first block has size . The second block has size . Together they form a matrix.
71.23 Common Errors
The first common error is to confuse rational canonical form with Jordan form. Jordan form uses eigenvalues and Jordan blocks. Rational canonical form uses polynomials and companion matrices.
The second common error is to assume rational means entries are rational numbers. The form works over any field.
The third common error is to ignore the divisibility chain
Without this chain, a block decomposition by companion matrices is not the invariant-factor rational canonical form.
The fourth common error is to think characteristic and minimal polynomials always determine the rational canonical form. They often help, but the full invariant factor list is needed.
The fifth common error is to factor polynomials unnecessarily. One advantage of rational canonical form is that it can be described over the base field without splitting the characteristic polynomial.
71.24 Summary
Rational canonical form expresses a square matrix over a field as a block diagonal matrix of companion matrices:
where
The polynomials are the invariant factors.
They satisfy
and
Rational canonical form exists over every field and classifies matrices up to similarity over that field. It is the field-independent counterpart of Jordan form and the natural canonical form arising from the module structure of a vector space under a linear operator.