Euler Hall — free maths guides

Form the characteristic polynomial det(A − λI)

Build A - lambda I by subtracting lambda from every diagonal entry. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.

λ goes on the diagonal, and it is subtracted

λI\lambda I is the matrix withλ\lambda in every diagonal position and zeros everywhere else. SoA−λIA-\lambda I isAA withλ\lambda subtracted from each diagonal entry and nothing else touched:

Then the determinant of that matrix, for a2×22\times2, is(5−λ)(2−λ)−4⋅1(5-\lambda)(2-\lambda)-4\cdot1. Expanded:

The eigenvalues are11 and66. The matrixAA has trace77 and determinant66, which is where those numbers in the polynomial came from.

Why the roots are the eigenvalues

The equationAx=λxA\mathbf{x}=\lambda\mathbf{x} withx≠0\mathbf{x}\neq\mathbf{0} rearranges to(A−λI)x=0(A-\lambda I)\mathbf{x}=\mathbf{0}. A homogeneous system has a nonzero solution exactly when its matrix is singular, and a square matrix is singular exactly when its determinant is zero. So

Every step is an equivalence, so nothing is lost and nothing extra is introduced. This is why the polynomial is the object of study: it converts "find the directions a matrix preserves" into "find the roots of a polynomial", which is a problem you already know how to finish.

Worked example

A=[1221]A=\begin{bmatrix}1&2\\2&1\end{bmatrix}. First the shifted matrix, then the determinant:

Factor:λ2−2λ−3=(λ−3)(λ+1)\lambda^2-2\lambda-3=(\lambda-3)(\lambda+1), so the eigenvalues are33 and−1-1.

Check both ways. The coefficient ofλ\lambda should be−tr⁡A=−2-\operatorname{tr}A=-2: it is. The constant should bedet⁡A=1−4=−3\det A=1-4=-3: it is. And directly,A(11)=(33)=3(11)A\binom11=\binom33=3\binom11 andA(1−1)=(−11)=−1(1−1)A\binom{1}{-1}=\binom{-1}{1}=-1\binom{1}{-1}.

By the end you can
  • Build A - lambda I by subtracting lambda from every diagonal entry
  • Expand det(A - lambda I) into a polynomial in lambda
  • Read the degree and the leading coefficient from the size of the matrix
  • Use p(0) = det A as a check on the expansion
Check yourself

A=[01−65]A=\begin{bmatrix}0&1\\-6&5\end{bmatrix}. Formdet⁡(A−λI)\det(A-\lambda I), find the eigenvalues, and then find an eigenvector for each.

Answers

That factors as(λ−2)(λ−3)(\lambda-2)(\lambda-3), so the eigenvalues are22 and33.

Forλ=2\lambda=2:A−2I=[−21−63]A-2I=\begin{bmatrix}-2&1\\-6&3\end{bmatrix}, and the first row givesy=2xy=2x, sox=(1,2)\mathbf{x}=(1,2). Forλ=3\lambda=3:A−3I=[−31−62]A-3I=\begin{bmatrix}-3&1\\-6&2\end{bmatrix}, first rowy=3xy=3x, sox=(1,3)\mathbf{x}=(1,3). Both are worth checking in the original equation. For the first,A(12)=(0⋅1+1⋅2−6⋅1+5⋅2)=(24)=2(12)A\binom12=\binom{0\cdot1+1\cdot2}{-6\cdot1+5\cdot2}=\binom{2}{4}=2\binom12 ✓. For the second,A(13)=(3−6+15)=(39)=3(13)A\binom13=\binom{3}{-6+15}=\binom{3}{9}=3\binom13 ✓.

Work out where to start — free, no accountAnswer six real questions — free, no account