Basics of the companion matrix
1Introduction
The
Do not confuse the companion matrix with the
2Terms and definitions
For a monic polynomial
define its
Some books use the transpose convention. The characteristic polynomial is unchanged by transpose, so the essential construction is the same.
3Plan
We prove three facts: roots of are eigenvalues of , eigenvalues of are roots of , and the characteristic polynomial of is . The last row encodes the relation
4Intuitive explanation
The companion matrix records multiplication by while using the relation to rewrite in terms of lower powers. If , then
becomes an eigenvector of with eigenvalue .
5Precise explanation
5.11. Roots give eigenvectors
If , set
The first components of are . The last component is
because . Hence .
5.22. Eigenvalues give roots
Conversely, if with , the first rows force
The vector would be zero if , so . The last row then gives .
5.33. Why the characteristic polynomial is
Let . Transpose preserves the characteristic polynomial. The matrix satisfies
and
Thus . Since is a basis, no nonzero polynomial of degree less than can annihilate . Hence the minimal polynomial of is . The minimal polynomial divides the characteristic polynomial, and both are monic of degree , so the characteristic polynomial is . Therefore .
6Worked example
For
the companion matrix is
Since , the eigenvalues are . For ,
7Another viewpoint: cyclic bases
A companion matrix is also the matrix representation in a
is a basis, then shifts each basis vector to the next one, and the last vector is rewritten using the polynomial relation. This viewpoint connects companion matrices to minimal polynomials and later canonical forms.
data/lecture/math/linear-algebra/minimal-polynomial-basics.lecture.n.md data/lecture/math/linear-algebra/introduction-to-jordan-canonical-form.lecture.n.md8How to recognize when to use this
Use a companion matrix when turning a polynomial root problem into an eigenvalue problem, or when constructing a matrix with a prescribed characteristic polynomial. The adjugate matrix from cofactors is a different object.
9Scope
This lecture treats monic polynomials. A polynomial with nonzero leading coefficient can first be divided by that coefficient. The companion matrix can be defined even when the roots are not in the base field; to see all eigenvalues, one may extend the field.
10Final forms
11In one sentence
- A companion matrix accompanies a polynomial by making it the characteristic polynomial.
- The roots of the polynomial are the eigenvalues of the companion matrix.