Eigenvalues and Eigenvectors

What you will be able to do

Given a square matrix, the learner can form and solve the characteristic polynomial, compute a basis for each eigenspace, compare geometric with algebraic multiplicity, and say whether a basis of eigenvectors exists, checking the result against the trace and determinant.

Orientation

Apply a linear map to a vector and it usually comes back pointing somewhere else. A few directions are exceptions: the map leaves them where they are and only stretches or shrinks them.

Those directions are the eigenvectors, and the stretch factors are the eigenvalues. Finding them turns a matrix into something far easier to work with, because in a basis of eigenvectors the map is just multiplication by n numbers, applying it a thousand times becomes raising those numbers to the thousandth power.

Two things can prevent that. The scale factors may not exist in the field you are working over, which is what happens to a rotation. Or they may exist without enough independent directions to go round, which is what happens to a shear. The first is repaired by moving to the complex numbers; the second cannot be repaired, and telling the two apart is part of the work.

Figure

Eigenvector directions under a linear transformation

Vectors and their images: two directions survive

Five vectors and their images under A = ( 2 1 1 2 ) , each faint arrow paired with its heavier image.

Most directions turn. Two do not: ( 1 , 1 ) comes back as ( 3 , 3 ) , still on its own line, and ( 1 , − 1 ) comes back unchanged. Those are the eigenvectors, and the factors 3 and 1 are the eigenvalues, so A v = λ v holds exactly along those two lines.

This is the geometric content the characteristic polynomial computes. The determinant condition det ( A − λ I ) = 0 is the algebraic test for a direction that survives the map, and it finds these two because they are the only ones.

Definition

The nonzero requirement and the eigenspace

The nonzero requirement is not a technicality. A 0 = 0 = λ 0 holds for every scalar λ whatsoever. If the zero vector counted as an eigenvector, every number would be an eigenvalue of every matrix and the definition would carry no information. Excluding it is what makes the concept discriminating.

The asymmetry is: eigenvectors may never be zero; eigenvalues may be. A zero eigenvalue means some nonzero v has A v = 0 , which is a nontrivial kernel, which is singularity. So " 0 is an eigenvalue of A ", " det A = 0 ", " A is not invertible" and " ker ⁡ A ≠ { 0 } " are four ways of saying one thing.

The eigenspace is a subspace, once zero is put back. The set of eigenvectors for λ is not closed under addition in an obvious way. It excludes 0 , so it fails the subspace test at the first condition. What is a subspace is

E λ = ker ⁡ ( A − λ I ) = { v : A v = λ v } ,

which includes the zero vector by construction. The eigenvectors for λ are exactly the nonzero elements of E λ . This is why the object worth computing is the eigenspace and its dimension, not a single representative vector.

Eigenvectors are never unique. If A v = λ v then A ( c v ) = λ ( c v ) for every c ≠ 0 , so an eigenvector comes with a whole line of companions, and more when the eigenspace has dimension above 1. Reporting "the eigenvector for λ = 5 " is a category error; the answer is a basis for E 5 .

Why the characteristic polynomial works. ( A − λ I ) v = 0 with v ≠ 0 says A − λ I has a nontrivial kernel, and by the determinant unit that is exactly det ( A − λ I ) = 0 . The polynomial is therefore not a definition but a consequence. A way of turning the search for a nonzero kernel into root-finding.

Subtracting λ correctly. A − λ I subtracts λ from the diagonal entries only. Subtracting it from every entry is a common slip and produces an unrelated matrix.

Procedure

From matrix to eigenspaces

  1. Form A − λ I . Subtract λ from the diagonal entries only.
  2. Compute det ( A − λ I ) . The result is a polynomial of degree n in λ .
  3. Find the roots. These are the eigenvalues. Record the multiplicity of each root, that is its algebraic multiplicity.
  4. For each eigenvalue, solve ( A − λ I ) v = 0 . Row reduce; the free variables give a basis of the eigenspace E λ . The number of basis vectors is the geometric multiplicity.
  5. Compare the multiplicities. If geometric is less than algebraic for any eigenvalue, the matrix is defective and has no basis of eigenvectors.
  6. Check. Verify A v = λ v for each pair; confirm the eigenvalues sum to tr ⁡ A and multiply to det A .

Shortcuts worth taking first.

SituationShortcut
A triangularthe eigenvalues are the diagonal entries
A is 2 × 2 p ( λ ) = λ 2 − ( tr ⁡ A ) λ + det A
det A = 0 0 is an eigenvalue, with E 0 = ker ⁡ A
a row or column is repeated 0 is an eigenvalue

Where step 4 goes wrong. After substituting a correct eigenvalue, A − λ I is singular by construction, so its reduced form must have at least one free variable. If row reduction leaves no free variable, the eigenvalue or the reduction is wrong. The system cannot have only the zero solution. This is the most useful self-check in the procedure, because it catches an arithmetic error before it propagates into a reported eigenvector.

On step 6. The trace and determinant checks cost two additions and one multiplication and catch most sign errors in the characteristic polynomial. Use them before solving for eigenvectors, not after: a wrong eigenvalue makes every subsequent step wasted work.

A note on scale. This procedure is for hand computation on small matrices. Forming and rooting a characteristic polynomial is numerically unstable at size, and production algorithms, the QR iteration and its relatives, compute eigenvalues without ever writing one down.

Worked example

A full computation, and the check that catches errors

A = ( 4 1 2 3 ) .

Step 1–2: the characteristic polynomial. For a 2 × 2 , tr ⁡ A = 4 + 3 = 7 and det A = 12 − 2 = 10 , so

p ( λ ) = λ 2 − 7 λ + 10 .

Directly, det ( 4 − λ 1 2 3 − λ ) = ( 4 − λ ) ( 3 − λ ) − 2 = λ 2 − 7 λ + 10 , note λ is subtracted from the diagonal only.

Step 3: the roots. λ 2 − 7 λ + 10 = ( λ − 5 ) ( λ − 2 ) , so λ = 5 and λ = 2 , each of algebraic multiplicity 1.

Check before going further. 5 + 2 = 7 = tr ⁡ A and 5 × 2 = 10 = det A . Two seconds, and it would have caught a sign error in the polynomial.

Step 4: the eigenspaces.

For λ = 5 :

A − 5 I = ( − 1 1 2 − 2 ) , det = 2 − 2 = 0

Row reducing, the second row is − 2 times the first, leaving − v 1 + v 2 = 0 , so v 2 = v 1 and

E 5 = span ⁡ { ( 1 , 1 ) } , geometric multiplicity  1 .

There is one free variable, as there must be: A − 5 I is singular by construction.

For λ = 2 :

A − 2 I = ( 2 1 2 1 ) , det = 2 − 2 = 0

The rows are equal, leaving 2 v 1 + v 2 = 0 , so v 2 = − 2 v 1 and

E 2 = span ⁡ { ( 1 , − 2 ) } , geometric multiplicity  1 .

Step 5: multiplicities. Both eigenvalues have algebraic and geometric multiplicity 1, so they agree. The matrix is not defective, and { ( 1 , 1 ) , ( 1 , − 2 ) } is a basis of R 2 consisting of eigenvectors.

Step 6: verify each pair.

A ( 1 1 ) = ( 4 + 1 2 + 3 ) = ( 5 5 ) = 5 ( 1 1 )
A ( 1 − 2 ) = ( 4 − 2 2 − 6 ) = ( 2 − 4 ) = 2 ( 1 − 2 )

In the basis { ( 1 , 1 ) , ( 1 , − 2 ) } the map is multiplication by 5 in one coordinate and by 2 in the other. Applying A ten times scales those coordinates by 5 10 and 2 10 . No matrix multiplication required. And since both eigenvalues exceed 1 in magnitude, every nonzero vector grows under repetition, with the λ = 5 component eventually dominating: the direction ( 1 , 1 ) is where any long run ends up pointing.

Theorem

The multiplicity bound, and the two invariants

Theorem (multiplicity bound). For every eigenvalue λ of A ,

1 ≤ dim ⁡ E λ ≤ algebraic multiplicity of  λ .

Lower bound. λ being an eigenvalue means det ( A − λ I ) = 0 , so A − λ I is singular and its kernel contains a nonzero vector. Hence dim ⁡ E λ ≥ 1 : an eigenvalue always has at least one direction to act on.

Upper bound. Let k = dim ⁡ E λ and take a basis { u 1 , … , u k } of E λ , extended to a basis of the whole space. In that basis the matrix of the map has the block form ( λ I k ∗ 0 C ) , because each u i is sent to λ u i . Its characteristic polynomial is therefore ( λ ′ − λ ) k ⋅ det ( C − λ ′ I ) , which is divisible by ( λ ′ − λ ) k . So λ is a root of multiplicity at least k , giving k ≤ algebraic multiplicity. ◼

The argument uses that similar matrices share a characteristic polynomial, which holds because det ( P − 1 A P − λ I ) = det ( P − 1 ( A − λ I ) P ) = det ( A − λ I ) by multiplicativity.

Theorem (trace and determinant). Over a field where p splits, listing the eigenvalues with algebraic multiplicity,

tr ⁡ A = ∑ i λ i , det A = ∏ i λ i .

Proof. The characteristic polynomial factors as p ( λ ) = ∏ i ( λ i − λ ) . Setting λ = 0 gives p ( 0 ) = det A = ∏ i λ i . Comparing the coefficient of λ n − 1 on both sides, expanding det ( A − λ I ) , that coefficient comes only from the product of diagonal entries, gives the trace identity. ◼

Why these matter in practice. The multiplicity bound is what makes "defective" a meaningful category: the geometric multiplicity can fall short but never exceed, so a total count of independent eigenvectors below n is the only failure mode. A matrix is diagonalisable exactly when geometric equals algebraic for every eigenvalue.

The invariants are the cheapest available check. Computing eigenvalues 3 and 4 for a matrix of trace 8 means an error has already occurred, and finding it now costs less than solving two eigenspace systems first.

A corollary. n distinct eigenvalues force diagonalisability: each contributes at least one dimension of eigenspace, the algebraic multiplicities are all 1 so the geometric ones are too, and the total is n . Distinct eigenvalues are sufficient but not necessary. The identity matrix has one eigenvalue of algebraic multiplicity n and is already diagonal.

Example

Four matrices, four behaviours

Triangular: read the diagonal. D = ( 2 0 0 1 3 0 4 5 − 1 ) is lower triangular, so its eigenvalues are 2 , 3 and − 1 . Checking one: det ( D − 2 I ) = 0 . The invariants agree, trace 2 + 3 − 1 = 4 and det D = 2 ⋅ 3 ⋅ ( − 1 ) = − 6 , matching the sum and product of the eigenvalues.

Defective: a shear. B = ( 3 1 0 3 ) is triangular, so λ = 3 with algebraic multiplicity 2. But

B − 3 I = ( 0 1 0 0 )

has rank 1, so its kernel has dimension 1: E 3 = span ⁡ { ( 1 , 0 ) } , geometric multiplicity 1. Checking: B ( 1 , 0 ) T = ( 3 , 0 ) T = 3 ( 1 , 0 ) T .

Geometric 1 < algebraic 2 , so B is defective: there is no basis of R 2 made of its eigenvectors, and no change of basis makes it diagonal. Geometrically it fixes the horizontal direction and shears everything else, never settling any second direction.

Complex: a rotation. C = ( 0 − 1 1 0 ) rotates the plane by a quarter turn. Trace 0 , determinant 1 , so p ( λ ) = λ 2 + 1 , whose roots are ± i , no real eigenvalues at all, which the picture predicts: a quarter turn leaves no real direction fixed.

Over C it is diagonalisable. For λ = i , solving ( C − i I ) v = 0 gives v = ( 1 , − i ) , and

C ( 1 − i ) = ( i 1 ) = i ( 1 − i )

since i ( − i ) = 1 . The other eigenvalue − i has eigenvector ( 1 , i ) , the entrywise conjugate. That pairing is general: a real matrix has real characteristic polynomial, so its non-real roots come in conjugate pairs, with conjugate eigenvectors.

Singular: zero as an eigenvalue. S = ( 1 2 2 4 ) has det S = 0 , so 0 is an eigenvalue with E 0 = ker ⁡ S = span ⁡ { ( 2 , − 1 ) } ; indeed S ( 2 , − 1 ) T = ( 0 , 0 ) T . The trace is 5, so the other eigenvalue is 5, with eigenvector ( 1 , 2 ) : S ( 1 , 2 ) T = ( 5 , 10 ) T = 5 ( 1 , 2 ) T .

Eigenvalues can be read off structure (triangular), can exist without enough eigenvectors (defective), can require a larger field (rotation), and can be zero (singular). Only the second is an obstruction that no change of setting removes.

Non-example

Five ways an eigenvalue computation goes wrong

Subtracting λ from every entry. Writing A − λ rather than A − λ I produces a matrix unrelated to the problem, and a characteristic polynomial of the wrong degree. Only the diagonal is affected.

Accepting the zero vector as an eigenvector. After reducing ( A − λ I ) v = 0 , reporting v = 0 as the answer. That solution always exists and says nothing; the eigenspace is the kernel, and the eigenvectors are its nonzero elements. If reduction produced no free variable, the eigenvalue or the arithmetic is wrong, A − λ I is singular by construction.

Reporting one vector as "the" eigenvector. Every nonzero multiple of an eigenvector is an eigenvector, and an eigenspace of dimension 2 has a whole plane of them. The answer is a basis for E λ , not a representative.

Concluding non-diagonalisability from a repeated root. Algebraic multiplicity above 1 does not by itself mean defective: the identity matrix has λ = 1 with algebraic multiplicity n and geometric multiplicity n , and is already diagonal. The verdict needs the geometric multiplicity, which means solving for the eigenspace rather than stopping at the polynomial.

Concluding a real matrix has no eigenvalues. A rotation has no real eigenvalues, which is a statement about the field rather than about the matrix. Over C every n × n matrix has n eigenvalues with multiplicity, because a degree- n polynomial always splits there. Saying "no eigenvalues" without naming the field leaves out the part that decides it.

The first is mechanical. The next two mistake one solution for the solution set. The last two draw a conclusion from insufficient evidence. A repeated root without the eigenspace, or an absence of roots without the field. Each produces a confident answer that is wrong in a different way, and only the first is visible in the arithmetic.

Next step

Practice Eigenvalues and Eigenvectors

Practice this

Results update as you type. Use the up and down arrow keys to move between results, Enter to open one, and Escape to close.

Type to search.

Settings

Appearance

Interface density

Your record

Your progress is stored in this browser and nowhere else: an identifier, the answers you have given, the mastery states and review schedule derived from them, and the lesson you last opened. Clearing it makes you a new learner on this device. It cannot be undone, and it will not affect your appearance or density settings.

Focus timer

Focus--minutes remaining

Phase

Kept in this browser only, and used to label the session in your own history.

Today

Nothing recorded yet. Finish a focus session and it will appear here.

Settings

Focus sessions between long breaks.

Sessions you are aiming for in a day.

Notifications

Your history

Sessions are stored in this browser and nowhere else. They are not evidence and never reach your mastery record.