Suppose the rational canonical form of is , with monic nonconstant invariant factors of a linear operator satisfying . Each block has minimal polynomial and characteristic polynomial , because a cyclic operator has equal minimal and characteristic polynomials. The determinant of a block diagonal matrix is the product of block determinants, giving . A polynomial kills the direct sum exactly when it kills each block, equivalently when every divides it. Thus is their least common multiple, which the divisibility chain reduces to . On the zero vector space both polynomials are conventionally one.
The rational canonical form of is a block diagonal matrix
similar to a matrix of , where the are monic nonconstant polynomials and the sum of their degrees is . They are the invariant factors of a linear operator. The block is the companion matrix for , representing multiplication by on . The invariant factors are uniquely determined by .
Every companion block has a cyclic vector and therefore has both minimal polynomial and characteristic polynomial equal to , by part (a). The determinant of a block diagonal matrix is the product of its block determinants, giving
A polynomial annihilates the whole matrix exactly when it annihilates every block. On block , dividing by leaves a remainder of smaller degree; if that remainder annihilated the block without being zero, it would contradict minimality of . Thus the annihilation condition is exactly for every . The monic polynomial of least degree with this property is their least common multiple. The divisibility chain makes this , so
These are the minimal and characteristic polynomials from invariant factors formulae. On the zero vector space the product is empty and both polynomials are defined to be one.