The eigenvalues of a square matrix are the numbers for which has a nonzero solution. Set the characteristic polynomial equal to zero and solve; the roots, counted with multiplicity, are the eigenvalues.
| Step | On | |
|---|---|---|
| 1 | Look for a shortcut. If the matrix is triangular or diagonal, read the diagonal and stop. Otherwise continue. | not triangular |
| 2 | Form the characteristic polynomial. Use for ; expand otherwise. | , : |
| 3 | Set it to zero and solve. Factor, use the quadratic formula, or for a cubic test the divisors of the constant term with the rational root test. | |
| 4 | List the roots with their multiplicities. A root repeated times has algebraic multiplicity . Complex roots count too. | , , each once |
| 5 | Check with the trace and determinant. The eigenvalues add up to the trace and multiply to the determinant. | ✓, ✓ |