Puneet Varma (Editor)

Companion matrix

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

In linear algebra, the Frobenius companion matrix of the monic polynomial

Contents

p ( t ) = c 0 + c 1 t + + c n 1 t n 1 + t n   ,

is the square matrix defined as

C ( p ) = [ 0 0 0 c 0 1 0 0 c 1 0 1 0 c 2 0 0 1 c n 1 ] .

With this convention, and on the basis v1, ... , vn, one has

C v i = C i v 1 = v i + 1

(for i < n), and v1 generates V as a K[C]-module: C cycles basis vectors.

Some authors use the transpose of this matrix, which (dually) cycles coordinates, and is more convenient for some purposes, like linear recurrence relations.

Characterization

The characteristic polynomial as well as the minimal polynomial of C(p) are equal to p.

In this sense, the matrix C(p) is the "companion" of the polynomial p.

If A is an n-by-n matrix with entries from some field K, then the following statements are equivalent:

  • A is similar to the companion matrix over K of its characteristic polynomial
  • the characteristic polynomial of A coincides with the minimal polynomial of A, equivalently the minimal polynomial has degree n
  • there exists a cyclic vector v in V = K n for A, meaning that {v, Av, A2v, ..., An−1v} is a basis of V. Equivalently, such that V is cyclic as a K [ A ] -module (and V = K [ A ] / ( p ( A ) ) ); one says that A is regular.
  • Not every square matrix is similar to a companion matrix. But every matrix is similar to a matrix made up of blocks of companion matrices. Furthermore, these companion matrices can be chosen so that their polynomials divide each other; then they are uniquely determined by A. This is the rational canonical form of A.

    Diagonalizability

    If p(t) has distinct roots λ1, ..., λn (the eigenvalues of C(p)), then C(p) is diagonalizable as follows:

    V C ( p ) V 1 = diag ( λ 1 , , λ n )

    where V is the Vandermonde matrix corresponding to the λ's.

    In that case, traces of powers m of C readily yield sums of the same powers m of all roots of p(t),

    T r C m = i = 1 n λ i m   .

    In general, the companion matrix may be non-diagonalizable.

    Linear recursive sequences

    Given a linear recursive sequence with characteristic polynomial

    p ( t ) = c 0 + c 1 t + + c n 1 t n 1 + t n

    the (transpose) companion matrix

    C T ( p ) = [ 0 1 0 0 0 0 1 0 0 0 0 1 c 0 c 1 c 2 c n 1 ]

    generates the sequence, in the sense that

    C T [ a k a k + 1 a k + n 1 ] = [ a k + 1 a k + 2 a k + n ] .

    increments the series by 1.

    The vector (1,t,t2, ..., tn-1) is an eigenvector of this matrix for eigenvalue t, when t is a root of the characteristic polynomial p(t).

    For c0 = −1, and all other ci=0, i.e., p(t) = tn−1, this matrix reduces to Sylvester's cyclic shift matrix, or circulant matrix.

    References

    Companion matrix Wikipedia