##### Objectives
1. Learn that the eigenvalues of a triangular matrix are the diagonal entries.
2. Find all eigenvalues of a matrix using the characteristic polynomial.
3. Learn some strategies for finding the zeros of a polynomial.
4. Recipe: the characteristic polynomial of a matrix.
5. Vocabulary words: characteristic polynomial, trace.

In Section 5.1 we discussed how to decide whether a given number is an eigenvalue of a matrix, and if so, how to find all of the associated eigenvectors. In this section, we will give a method for computing all of the eigenvalues of a matrix. This does not reduce to solving a system of linear equations: indeed, it requires solving a nonlinear equation in one variable, namely, finding the roots of the characteristic polynomial.

##### Definition

Let be an matrix. The characteristic polynomial of is the function given by

We will see below that the characteristic polynomial is in fact a polynomial. Finding the characterestic polynomial means computing the determinant of the matrix whose entries contain the unknown

The point of the characteristic polynomial is that we can use it to compute eigenvalues.

##### Proof

By the invertible matrix theorem in Section 5.1, the matrix equation has a nontrivial solution if and only if Therefore,

##### Form of the characteristic polynomial

It is time that we justified the use of the term “polynomial.” First we need a vocabulary word.

##### Definition

The trace of a square matrix is the number obtained by summing the diagonal entries of

##### Proof

First we notice that

so that the constant term is always

We will prove the rest of the theorem only for matrices; the reader is encouraged to complete the proof in general using cofactor expansions. We can write a matrix as then

##### Recipe: The characteristic polynomial of a 2 × 2 matrix

When the previous theorem tells us all of the coefficients of the characteristic polynomial:

This is generally the fastest way to compute the characteristic polynomial of a matrix.

##### Eigenvalues of a triangular matrix

It is easy to compute the determinant of an upper- or lower-triangular matrix; this makes it easy to find its eigenvalues as well.

##### Proof

Suppose for simplicity that is a upper-triangular matrix:

Its characteristic polynomial is

This is also an upper-triangular matrix, so the determinant is the product of the diagonal entries:

The zeros of this polynomial are exactly

##### Factoring the characteristic polynomial

If is an matrix, then the characteristic polynomial has degree by the above theorem. When one can use the quadratic formula to find the roots of There exist algebraic formulas for the roots of cubic and quartic polynomials, but these are generally too cumbersome to apply by hand. Even worse, it is known that there is no algebraic formula for the roots of a general polynomial of degree at least

In practice, the roots of the characteristic polynomial are found numerically by computer. That said, there do exist methods for finding roots by hand. For instance, we have the following consequence of the rational root theorem (which we also call the rational root theorem):

For example, if has integer entries, then its characteristic polynomial has integer coefficients. This gives us one way to find a root by hand, if has an eigenvalue that is a rational number. Once we have found one root, then we can reduce the degree by polynomial long division.

In the above example, we could have expanded cofactors along the second column to obtain

Since was the only nonzero entry in its column, this expression already has the term factored out: the rational root theorem was not needed. The determinant in the above expression is the characteristic polynomial of the matrix so we can compute it using the trace and determinant:

##### Finding Eigenvalues of a Matrix Larger than 2 × 2

Let be an matrix. Here are some strategies for factoring its characteristic polynomial First, you must find one eigenvalue:

1. Do not multiply out the characteristic polynomial if it is already partially factored! This happens if you expand cofactors along the second column in this example.
2. If there is no constant term, you can factor out as in this example.
3. If the matrix is triangular, the roots are the diagonal entries.
4. Guess one eigenvalue using the rational root theorem: if is an integer, substitute all (positive and negative) divisors of into
5. Find an eigenvalue using the geometry of the matrix. For instance, a reflection has eigenvalues

After obtaining an eigenvalue use polynomial long division to compute This polynomial has lower degree. If then this is a quadratic polynomial, to which you can apply the quadratic formula to find the remaining roots.