# Characteristic polynomial

The **characteristic polynomial** of a square matrix is given by,

where is the identity matrix. The roots of this polynomial are the eigenvalues of the matrix.

The degree of this polynomial equals the length of the matrix's side. The number of roots therefore is not greater than this number.

## Example

Take

Then .

So, the roots of the characteristic polynomial are {-5, 7} - and these are the eigenvalues of the matrix. If you look at the slightly different matrix

,

you find the characteristic polynomial

.

This polynomial has no roots in , so if describes a linear map between to two dimensional real vector spaces, then this map has no eigenvalue. However, if is seen as a mapping of complex vector spaces, can be factorized:

.

For complex spaces, the sum of algebraic multiplicities of the eigenvalues equals the degree of the characteristic polynomial.