Skip to content
Lesson 8 of 9 · Linear Algebra

Eigenvalues and eigenvectors

Find the directions a matrix only stretches, compute eigenvalues from the characteristic polynomial, and check them with trace and determinant.

26 min

Most vectors change direction when a matrix acts on them. An eigenvector of A is a nonzero vector v that keeps its direction (or flips it): Av = λv. The number λ is the eigenvalue: the factor by which A stretches v. λ = 2 doubles it, λ = −1 flips it, λ = 0 crushes it to zero.

Av = λv means (A − λI)v = 0 has a nonzero solution, so A − λI must be singular:

det(A − λI) = 0 (the characteristic equation)

  1. 1.Solve it for λ.
  2. 2.For each λ, solve (A − λI)v = 0 to get its eigenvectors (the null space is the eigenspace).

For a 2 × 2 matrix the equation is λ² − (trace)λ + (det) = 0.

  • The sum of eigenvalues = trace (sum of diagonal entries).
  • The product of eigenvalues = det A.
  • For a triangular matrix, the eigenvalues are the diagonal entries.
  • A is singular exactly when 0 is an eigenvalue.
  • A real matrix can have complex eigenvalues: a rotation by an angle other than 0° or 180° has none that are real, because it keeps no direction.

Along an eigenvector a complicated matrix acts as a plain number. That makes repeated application (A¹⁰⁰), long-run behaviour, and 'most important directions' easy to read off.

Find the eigenvalues and eigenvectors of A = [4 1; 2 3].

  1. 1

    trace = 7, det = 12 − 2 = 10

    Use λ² − 7λ + 10 = 0.

1/5
Try it

For [2 1; 1 2] the eigenvalues are 3 and 1. Set b = 0: the matrix is diagonal and the eigenvalues are just a and d. Raise b and watch the larger one climb away from the diagonal entries. Symmetric matrices always have real eigenvalues, which is why this formula never fails.

2.0
1.0
2.0

Larger eigenvalue of the symmetric matrix [a b; b d]

—

The routine for finding eigenpairs.

  • Av = λv: an eigenvector keeps its line; λ is the stretch factor.
  • Eigenvalues solve det(A − λI) = 0; for 2 × 2 that is λ² − (trace)λ + det = 0.
  • Sum of eigenvalues = trace; product = determinant.
  • Triangular matrices have their diagonal as eigenvalues.
  • A singular matrix has 0 as an eigenvalue.
Check yourself

Practice.

1Numeric answer

Eigenvalues of [4 1; 2 3] add up to what?

2Numeric answer

[1 2; 2 1] has eigenvalues 3 and −1. What is its determinant?

3Multiple choice

The eigenvalues of [2 0; 0 5] are:

  • A2 and 5
  • B7 and 10
  • C2 and 0
  • Dnone
4Multiple choice

If Av = 3v with v ≠ 0, then A(2v) equals:

  • A3v
  • B6v
  • C2v
  • D9v
5Multiple choice

Which matrix has no real eigenvectors?

  • A[2 0; 0 3]
  • B[0 −1; 1 0]
  • C[1 1; 0 1]
  • D[0 1; 1 0]

Practise this lesson, not just read it

In BiliMind the questions above are marked when you answer, the flashcards come back on a schedule, and the rest of Linear Algebra is planned around your week. Free.