🧮 Linear Algebra Kingdom · Linear Algebra
Eigenvalues & Eigenvectors
The directions a matrix leaves pointing the same way: check whether a vector is an eigenvector and read its eigenvalue, form the characteristic equation of a 2 by 2, find both eigenvalues and an eigenvector for each, and use the trace and determinant as a shortcut.
In short
- An eigenvector is a non-zero arrow that a matrix only rescales: Av = (lambda)v, and lambda is its eigenvalue.
- The eigenvalues are the roots of lambda^2 - (trace A)lambda + (det A) = 0 — note the minus sign in front of the trace.
- An eigenvector for a given lambda solves (A - (lambda)I)v = 0, where the two rows always say the same thing, so one row is enough.
- The trace is the sum of the eigenvalues and the determinant is their product; a triangular matrix carries its eigenvalues on the diagonal.
The directions a map does not turn
Lens-keeper Ash of the Eigen Spire has one job, and she describes it the same way every time: find the directions the lens leaves alone.
Push an arrow through a matrix and it normally comes out pointing somewhere else. Take A = [[2, 1], [1, 2]] and the arrow (1, 0). Out comes (2, 1) — longer, and tilted. Now try (1, 1):
A(1, 1) = (2*1 + 1*1, 1*1 + 2*1) = (3, 3) = 3 * (1, 1)
Same line. Same direction. Three times as long. An arrow that behaves like that is an eigenvector of A, and the factor it is multiplied by — here 3 — is its eigenvalue. Written out, the whole idea is one short equation:
Av = (lambda)v, with v not the zero vector
The word "lambda" is just the name every book gives that factor; there is no Greek on the isle, so it is written out in words in every question here.
Three things are worth saying straight away. First, an eigenvalue can be negative: the arrow comes back along the same line but pointing the other way. Second, it can be zero: Av is the zero vector, which happens exactly when A is not invertible. Third, an eigenvector is a direction, not a length — if v works, so does 2v, and so does -v. That is why questions ask for the eigenvector "scaled to the smallest whole entries with a positive first entry": one arrow per direction, so there is one answer to type.
The zero vector is deliberately not allowed. A(0, 0) = (0, 0) = anything times (0, 0), so it would be an eigenvector for every number at once and would tell you nothing.
Finding the eigenvalues: the characteristic equation
Testing arrows one at a time is no way to find them. Rearrange instead:
Av = (lambda)v => Av - (lambda)v = 0 => (A - (lambda)I)v = 0
The I is the identity matrix, and it is there because you cannot subtract a plain number from a matrix — lambda has to be spread down the diagonal first.
Now the key move. That equation says the matrix A - (lambda)I sends a non-zero arrow to zero. A matrix that squashes something non-zero to nothing cannot be invertible, and a 2 by 2 matrix is not invertible exactly when its determinant is 0. So:
det(A - (lambda)I) = 0
For A = [[a, b], [c, d]] this expands to
(a - lambda)(d - lambda) - bc = lambda^2 - (a + d)lambda + (ad - bc) = 0
and both coefficients are things you can read off the matrix without any work at all:
lambda^2 - (trace A)lambda + (det A) = 0
The trace is the two diagonal entries added; the determinant is the usual ad - bc. That quadratic is the characteristic equation, and its roots are the eigenvalues.
The minus sign in front of the trace is where most slips live. Subtracting lambda from each diagonal entry is what puts it there, so if your lambda term comes out with the trace's own sign, that subtraction went the wrong way.
Try it on A = [[4, 1], [2, 3]]: trace 7, determinant 12 - 2 = 10, so lambda^2 - 7lambda + 10 = 0, which factors as (lambda - 2)(lambda - 5) = 0. The eigenvalues are 2 and 5.
Finding an eigenvector once you have the eigenvalue
Each eigenvalue comes with its own line of arrows, and you find it by going back to (A - (lambda)I)v = 0 with a number in place of lambda.
For A = [[4, 1], [2, 3]] and lambda = 5:
A - 5I = [[4 - 5, 1], [2, 3 - 5]] = [[-1, 1], [2, -2]]
Look at what happened: the second row is -2 times the first. That is not luck. The determinant of A - (lambda)I is 0 by construction, so the two rows always say the same thing, and one row is all you need. Ignore the other one.
The first row reads -x + y = 0, so y = x, and every arrow on the line through (1, 1) works. In general a row reading
px + qy = 0
is solved by (q, -p): swap the two numbers over and change the sign of one of them. Forgetting that sign change is the single most common slip here, and it is worth checking your answer by pushing it back through A — that takes ten seconds and settles it completely.
If the two rows ever come out saying different things, the eigenvalue was wrong; go back to the characteristic equation.
Shortcuts worth trusting
Four facts save a great deal of arithmetic, and questions on this craft lean on all of them.
The trace is the sum of the eigenvalues, and the determinant is their product. Multiply the factored form out and compare:
(lambda - r)(lambda - s) = lambda^2 - (r + s)lambda + rs
so r + s = trace and rs = determinant. That is a free check on every answer, and it is often a faster route than the quadratic: knowing det A = 12 and that one eigenvalue is 3, the other must be 4, so the trace is 7.
A triangular matrix wears its eigenvalues on the diagonal. If everything below the diagonal is 0, then A - (lambda)I is triangular too, and the determinant of a triangular matrix is the product straight down it. So det(A - (lambda)I) = (a - lambda)(d - lambda), which is 0 exactly at the diagonal entries. No working at all — and it is true for 3 by 3 and larger just the same.
Powers, inverses and shifts keep the eigenvectors and move the eigenvalues. Start from Av = (lambda)v and apply the same v to each:
- A2 v = A((lambda)v) = lambda(Av) = (lambda^2)v — the eigenvalues get squared
- A-1 v = (1/lambda)v — the eigenvalues get turned upside down (which needs lambda not to be 0)
- (A + kI)v = (lambda + k)v — every eigenvalue shifts by k, and none of them is scaled
Every eigenvalue in this kingdom is a whole number, because the matrices are built that way. If a surd appears, an arithmetic slip appeared first — recompute the trace and the determinant before you reach for the quadratic formula.
Worked examples
Example 1
A = [[3, 4], [2, 1]]. Find both eigenvalues, in ascending order, and an eigenvector for the larger one.
- trace A = 3 + 1 = 4, and det A = (3)(1) - (4)(2) = 3 - 8 = -5.
- The characteristic equation is lambda^2 - 4lambda - 5 = 0.
- That factors as (lambda - 5)(lambda + 1) = 0, so the eigenvalues are -1 and 5 — in ascending order, (-1, 5).
- For lambda = 5: A - 5I = [[-2, 4], [2, -4]]. The two rows say the same thing, so use the first.
- It reads -2x + 4y = 0, so x = 2y, and the arrow (2, 1) works. Check: A(2, 1) = (10, 5) = 5 * (2, 1).
Example 2
A 2 by 2 matrix has determinant 18, and one of its eigenvalues is 3. What is its trace, and what are the eigenvalues of A + 2I?
- The determinant is the product of the eigenvalues, so 3 times the other one is 18.
- The other eigenvalue is 18 / 3 = 6.
- The trace is the sum of the eigenvalues: 3 + 6 = 9.
- Adding 2I shifts every eigenvalue by 2 and leaves the eigenvectors where they are.
- So A + 2I has eigenvalues 3 + 2 = 5 and 6 + 2 = 8.
Example 3
Is (3, -1) an eigenvector of A = [[1, 6], [2, -3]]?
- Work out A(3, -1): the first slot is (1)(3) + (6)(-1) = -3.
- The second slot is (2)(3) + (-3)(-1) = 9.
- So A(3, -1) = (-3, 9). Ask whether that is one number times (3, -1).
- The first slot needs a factor of -1, since -3 = -1 times 3. The second slot needs 9 = -9 times -1.
- The two factors disagree, so the arrow was turned off its line: (3, -1) is not an eigenvector of A.
Practice problems, with solutions
Three problems of increasing difficulty, each with the full working. In the game these are generated fresh every time; these three are fixed so this page always shows the same ones.
Problem 1
Difficulty 1 of 5Lens-keeper Ash pushes the arrow v = (2, 1) through the lens A = [[-1, 4], [-2, 5]]. It comes back along the same line: Av = k*v for one number k. Find k.
Answer: 1
- First slot: -1*2 + 4*1 = 2.
- Second slot: -2*2 + 5*1 = 1.
- So Av = (2, 1) = 1 * (2, 1).
- The eigenvalue is k = 1.
Problem 2
Difficulty 3 of 5A = [[0, -2], [1, 3]] Which of these is the characteristic polynomial det(A - lambda*I)?
- lambda^2 - 2lambda + 3
- lambda^2 - 3lambda - 2
- lambda^2 - 3lambda + 2
- lambda^2 + 3lambda + 2
Answer: C. lambda^2 - 3lambda + 2
- trace A = 0 + 3 = 3.
- det A = 0*3 - (-2)*1 = 2.
- The characteristic polynomial is lambda^2 - (trace)lambda + (det) = lambda^2 - 3lambda + 2.
Problem 3
Difficulty 4 of 5Ash cuts a new lens: A = [[-5, 6], [-12, 13]]. Find both eigenvalues of A. Type the two eigenvalues as a pair in ascending order, smaller first, like (2, 5). If the same eigenvalue turns up twice, write it in both slots.
Answer: (1, 7)
- trace A = -5 + 13 = 8, and det A = (-5)*13 - 6*(-12) = 7.
- The characteristic equation is lambda^2 - 8lambda + 7 = 0.
- That factors as (lambda - 1)(lambda - 7) = 0.
- In ascending order the eigenvalues are (1, 7).
Common mistakes
- Solving det(A - (lambda)I) = 0 with the sign of the lambda term wrong, which turns lambda^2 - (trace)lambda + det into lambda^2 + (trace)lambda + det and flips both roots.
- Reading the trace as the product of the eigenvalues and the determinant as the sum, which swaps the two shortcuts over.
- Giving the eigenvector that belongs to the other eigenvalue — each eigenvalue has its own line, so check which lambda was subtracted.
- Reading a row px + qy = 0 as the arrow (p, q) instead of (q, -p): the two numbers change places and one of them changes sign.
What you should be able to do
- Decide whether a vector is an eigenvector of a matrix, and give the eigenvalue that goes with it.
- Form the characteristic equation of a 2 by 2 matrix and solve it for both eigenvalues.
- Find an eigenvector for a given eigenvalue.
- Use the trace and determinant as the sum and product of the eigenvalues, and give the eigenvalues of a triangular matrix.
Where this fits in the curriculum
Common Core
- HSN-VM.C.10
High school — Understand that the zero and identity matrices play a role in matrix addition and multiplication similar to the role of 0 and 1 in the real numbers; the determinant of a square matrix is nonzero if and only if the matrix has a multiplicative inverse.
HSN-VM.C.10 is a (+) standard — beyond the college- and career-ready threshold, i.e. precalculus rather than Algebra II. The characteristic equation is det(A − λI) = 0, built from the determinant and the identity matrix this standard names. Eigenvalues and eigenvectors themselves appear in no published framework; the Common Core stops at the determinant.
- HSN-VM.C.11
High school — Multiply a vector (regarded as a matrix with one column) by a matrix of suitable dimensions to produce another vector; work with matrices as transformations of vectors.
HSN-VM.C.11 is a (+) standard — beyond the college- and career-ready threshold, i.e. precalculus rather than Algebra II. An eigenvector is a vector this product only stretches, and testing one is exactly the multiplication the standard asks for.