To find the eigenvalues and eigenvectors of a matrix A, we need a way to solve Av=λv when the matrix A is the only thing we know.
1
Building the Characteristic Equation
For a matrix like A=[3214], most vectors get knocked off their original line when multiplied by A, while an eigenvector v stays on its line and simply stretches or squishes by its eigenvalue λ:
Av=λv
Knocked off its line
Stays on its line
Right now, both the eigenvalue λ and the eigenvector v are unknown. To find λ on its own, we need a way to pull all the unknowns to one side and eliminate v.
Building the Characteristic Equation
AAvλ=[3214]=λv=?v=?
To factor v out of Av−λv=[00], we first rewrite the number λ as the matrix λI=[λ00λ], which scales any vector by λ just like the number λ does:
Av⟶Av−λIv⟶(A−λI)v=λv=[00]=[00]
Writing out the entries, A−λI simply subtracts λ from the main diagonal of A:
[3−λ214−λ][xy]=[00]
Because an eigenvector v cannot be [00], the matrix A−λI must send a non-zero vector to [00]. Remember, a matrix sends a non-zero vector to [00] only when it squishes space flat, which means its determinant is zero:
det(A−λI)=0
As λ changes the main diagonal entries of A−λI, the transformed grid stays two-dimensional everywhere except at two exact values of λ, where the grid squishes flat onto a single line (det(A−λI)=0) and a whole line of non-zero vectors collapses to [00].
Shifting the diagonal sends non-zero vectors to the origin only at the two shift amounts that squish the grid flat onto a line.
2
Solving the Characteristic Equation for a 2×2 Matrix
Now let's find the eigenvalues of A=[3214] by solving its characteristic equation det(A−λI)=0, and then plug an eigenvalue back into (A−λI)v=[00] to find its eigenvector.
Solving the Characteristic Equation for a 2×2 Matrix
Adet(A−λI)λ=[3214]=0=?
Text solution
Subtract λ from the main diagonal and set the determinant to zeroWrite out the 2×2 determinant of A−λI by multiplying the main diagonal entries and subtracting the product of the other two entries:
Pick a non-zero vector on the line and check Av=5vChoosing x=1 gives y=2, so v=[12] is an eigenvector for λ=5, and multiplying by A stretches it by 5 along the line y=2x:
Not every matrix has real eigenvalues: if a matrix rotates every vector off its original line (like a 90∘ rotation), its characteristic polynomial has no real roots.
3
Trace, Determinant, and Zero Eigenvalues
The sum of the entries on the main diagonal of a matrix is called the trace of the matrix, written Trace(A). Together, Trace(A) and det(A) connect the eigenvalues directly back to the entries of A and tell us what happens when λ=0 is an eigenvalue.
Trace, Determinant, and Zero Eigenvalues
A=[3214]λ=5,2
3+4det(A)=?=?5+25×2=?=?
Expanding det(A−λI)=0 for a general 2×2 matrix A=[acbd] and matching it with the factored form (λ−λ1)(λ−λ2)=0 shows why the sum and product of the eigenvalues show up right in the coefficients:
Matching the coefficients gives two rules that work as a quick check on any problem:
Sum of eigenvaluesProduct of eigenvalues=Trace(A),=det(A)
While an eigenvector v can never be [00], an eigenvalue can be λ=0. When λ=0, the equation Av=0v=[00] says that the original matrix A sends a non-zero vector straight to [00] on its own, which means A squishes space flat and the product of its eigenvalues is zero:
⟺⟺λ=0 is an eigenvalue of Adet(A)=0A is not invertible
Along the two eigenvector lines, stretching by λ1 in one direction and λ2 in the other keeps the main diagonal sum Trace(A) equal to λ1+λ2 and scales the area by det(A)=λ1λ2. When either stretch factor is λ=0, that direction collapses to [00] and space flattens to zero area (det(A)=0).
The two eigenvalues (how much the matrix stretches along its two eigenvector lines) always add up to the matrix's diagonal sum (the trace) and multiply to its area scale factor (the determinant).
4
Eigenvalues of Triangular Matrices
For a triangular matrix, where every entry below the main diagonal is zero, or every entry above the main diagonal is zero, we can read off the eigenvalues without expanding a polynomial.
Eigenvalues of Triangular Matrices
Aλ=[604−2]=?
When we subtract λ from the main diagonal of an upper triangular matrix like [604−2], the zero below the diagonal makes the second part of the determinant zero, leaving the characteristic equation already factored:
det[6−λ04−2−λ]=(6−λ)(−2−λ)−(4)(0)=(6−λ)(−2−λ)=0⟶λ=6 and λ=−2
5
Finding Eigenvalues of a 3×3 Matrix
When a 3×3 matrix is not triangular, such as A=0−1313−1013, we find its eigenvalues by setting det(A−λI)=0, where A−λI squishes 3D volume down to zero.
To take the 3×3 determinant, we expand along a row or column, ideally one with a zero so one of the three 2×2 determinants drops out.
Finding Eigenvalues of a 3×3 Matrix
Aλ=0−1313−1013=?
Text solution
Subtract λ from the main diagonal and expand along the top rowApply the top-row sign pattern +,−,+ so the 0 in the third column drops out:
Find an integer root and factor the cubicTest λ=1 by adding the coefficients: (1)3−6(1)2+11(1)−6=1−6+11−6=0, so (λ−1) is a factor. Factor out (λ−1) and then factor the remaining quadratic:
(λ−1)(λ2−5λ+6)(λ−1)(λ−2)(λ−3)⟶λλλ=0=0=1,=2,=3
Check the eigenvalues with the traceConfirm that the three eigenvalues add up to the sum of the main diagonal of A:
1+2+3=6=0+3+3=Trace(A)
6
Similar Matrices Have the Same Eigenvalues
Two matrices A and B are called similar when B=P−1AP, which means A and B describe the exact same transformation in two different coordinate systems converted by P and P−1.
Similar Matrices Have the Same Eigenvalues
Beigenvalues of B=P−1AP=?
To compare the characteristic polynomial of B=P−1AP with that of A, we use two facts: writing the identity matrix in a new coordinate system leaves it unchanged (P−1IP=P−1P=I, so λI=P−1(λI)P), and the determinant of a product of matrices is the product of their determinants:
As the basis P changes, every entry of B=P−1AP updates to describe the transformation in the new grid, while the stretched eigenvector lines in the plane, the characteristic polynomial det(B−λI),Trace(B),det(B), and the eigenvalues stay completely unchanged.
Changing the coordinate grid changes every entry of the matrix, while its characteristic polynomial, trace, determinant, and eigenvalues stay at the exact same values.
Key concepts
Before expanding a determinant to find eigenvalues, check whether you can read them right off the matrix. If the matrix is triangular (all zeros below or above the main diagonal, like [604−2]), the second part of the determinant is zero and the eigenvalues sit right on the main diagonal (λ=6 and λ=−2). If the matrix is similar to a matrix A you already know (B=P−1AP), they represent the same transformation in different coordinate systems, so B has the exact same characteristic polynomial, eigenvalues, trace, and determinant as A.
When you do need to solve for the eigenvalues from scratch, subtract λ from the main diagonal and set the determinant to zero so the matrix A−λI squishes space flat:
det(A−λI)=0
For a 2×2 matrix like A=[3214], setting (3−λ)(4−λ)−(1)(2)=0 gives the quadratic characteristic polynomial λ2−7λ+10=(λ−5)(λ−2)=0, so λ=5 and λ=2 (and if that quadratic has no real roots, the matrix rotates every vector off its line and has no real eigenvalues). For a 3×3 matrix like 0−1313−1013, expand det(A−λI)=0 along the row with the most zeros to get a cubic (λ3−6λ2+11λ−6=0), test λ=1 and small integer factors of the constant term to pull out the first factor (λ−1), and factor the remaining quadratic. Once you have an eigenvalue λ, plug it back into (A−λI)v=[00] (such as [−221−1][xy]=[00] for λ=5) and pick any non-zero vector on the resulting line (v=[12]).
Finally, you can always check your eigenvalues, or find a missing one, straight from the original matrix A:
Sum of eigenvaluesProduct of eigenvalues=Trace(A),=det(A)
For A=[3214], the eigenvalues 5 and 2 add to Trace(A)=3+4=7 and multiply to det(A)=(3)(4)−(1)(2)=10. Because the eigenvalues multiply to det(A), having λ=0 as an eigenvalue is the exact same thing as det(A)=0 (A is not invertible).
7
Practice
1
Find the characteristic polynomial and the eigenvalues of A=[5324].
Which entries of A have λ subtracted from them before you take the 2×2 determinant?
Subtract λ from the main diagonal and set the determinant to zero:
det[5−λ324−λ]=(5−λ)(4−λ)−(2)(3)=0
(Watch out: don't forget to subtract (2)(3)=6. Leaving it off gives (5−λ)(4−λ)=λ2−9λ+20 and the wrong eigenvalues λ=5,4.)
Expand and factor:
λ2−9λ+14=(λ−7)(λ−2)=0
Characteristic polynomial: λ2−9λ+14. Eigenvalues: λ=7 and λ=2.
2
The matrix A=[1243] has eigenvalue λ=5. Use (A−5I)v=[00] to find a non-zero eigenvector v for λ=5, and verify that Av=5v.
Watch out: subtract 5 only from the main diagonal, not all four entries; and when solving −4x+4y=0, keep the sign straight so you don't write y=−x and get [1−1], which gives A[1−1]=[−3−1].
After subtracting 5 from the main diagonal, write out the equation from the top row for [xy] and choose a simple non-zero number for x.
Subtract 5 from the main diagonal of A:
A−5I=[1−5243−5]=[−424−2]
(Watch out: subtract 5 only from the main diagonal, not all four entries; and when solving −4x+4y=0, keep the sign straight so you don't write y=−x and get [1−1], which gives A[1−1]=[−3−1].)
Set (A−5I)[xy]=[00]; the top row gives −4x+4y=0, so y=x. Choosing x=1 gives v=[11] (or any non-zero multiple).
(Watch out: the second entry in the top row takes a minus sign in the +,−,+ expansion; using +1 instead of −1 turns −(λ−8) into +(λ−8) and gives the wrong cubic λ3−7λ2+12λ+8=0.)
Testing λ=1 gives 1−7+14−8=0, so (λ−1) is a factor. Factoring out (λ−1) gives:
(λ−1)(λ2−6λ+8)=(λ−1)(λ−2)(λ−4)=0
Check with the trace: 1+2+4=7=0+4+3=Trace(A).
λ=1,λ=2, and λ=4.
7
Let A be a 3×3 matrix with Trace(A)=9, and suppose two of its eigenvalues are λ1=2 and λ2=−1. If B=P−1AP for an invertible matrix P, find all three eigenvalues of B and det(B).
Use Trace(A) to find the third eigenvalue of A first; how do the eigenvalues and determinant of B=P−1AP compare with those of A?
The three eigenvalues of A add up to Trace(A)=9:
2+(−1)+λ3=9⟶λ3=8
(Watch out: don't drop the negative sign on λ2=−1 and write 2+1+λ3=9, which gives λ3=6 and the wrong determinant det(B)=(2)(−1)(6)=−12.)
Because B=P−1AP is similar to A,B has the exact same eigenvalues as A, and det(B) is their product:
Eigenvalues of B:λ=2,−1,8, and det(B)=(2)(−1)(8)=−16.