Skip to content

How to find the characteristic polynomial

5 min read

Short answer

The characteristic polynomial of a square matrix AA is p(λ)=det⁡(A−λI)p(\lambda)=\det(A-\lambda I). Its roots are the eigenvalues of AA. For a 2×22\times2 matrix it is λ2−(tr⁡A)λ+det⁡A\lambda^2-(\operatorname{tr}A)\lambda+\det A. For any size, the coefficients are tied to the trace and determinant, which gives quick checks.

p(λ) = det(A − λI)p(λ) = det(A − λI)Roots of p are the eigenvalues of ASum of roots equals the trace of AProduct of roots equals the determinant of A2×2 shortcut λ² − tr(A)λ + det(A)
Always check your polynomial against the trace (sum of roots) and determinant (product of roots).

Why det(A − λI)

λ\lambda is an eigenvalue exactly when (A−λI)v=0(A-\lambda I)\mathbf v=\mathbf 0 has a nonzero solution, which happens exactly when A−λIA-\lambda I is singular, that is, when its determinant is 00. So the eigenvalues are the roots of that determinant, a degree-nn polynomial in λ\lambda.

Shortcuts

For triangular matrices, the eigenvalues are the diagonal entries. For block-diagonal-looking matrices, expand along a row or column with a single nonzero entry first to factor out a linear term, then solve the remaining quadratic.

Worked example

Find the characteristic polynomial and eigenvalues of A=(200034049)A=\begin{pmatrix}2&0&0\\0&3&4\\0&4&9\end{pmatrix}.

Expand along the first row: p(λ)=(2−λ)[(3−λ)(9−λ)−16]=(2−λ)(λ2−12λ+11)=(2−λ)(λ−1)(λ−11).p(\lambda)=(2-\lambda)\big[(3-\lambda)(9-\lambda)-16\big]=(2-\lambda)(\lambda^2-12\lambda+11)=(2-\lambda)(\lambda-1)(\lambda-11). Eigenvalues: 2, 1, 112,\,1,\,11.

Checks: sum =14=tr⁡A=2+3+9=14=\operatorname{tr}A=2+3+9 ✓; product =22=det⁡A=2(27−16)=22=\det A=2(27-16) ✓.

Try it yourself

Find the eigenvalues of A=(01−2−3)A=\begin{pmatrix}0&1\\-2&-3\end{pmatrix} from the characteristic polynomial.

Show the answer

tr⁡A=−3\operatorname{tr}A=-3 and det⁡A=2\det A=2, so p(λ)=λ2+3λ+2=(λ+1)(λ+2)p(\lambda)=\lambda^2+3\lambda+2=(\lambda+1)(\lambda+2). The eigenvalues are −1-1 and −2-2.

Keep going with practice

The characteristic polynomial sits between determinants and eigenvalues in Vidi's Linear Algebra & Probability course.