Watch on Instagram

Math Bytes · Linear algebra · Episode 5 · Matrix transformations

Eigenvectors

When a matrix moves the plane, most arrows swing to a new direction, but a few stay on their own line through the origin and only get stretched. Those are eigenvectors, and the stretch factor is the eigenvalue. The matrix with columns (3, 0) and (1, 2) sends (1, 0) to (3, 0), eigenvalue 3, and (1, −1) to (2, −2), eigenvalue 2. In symbols, Av = λv.

Posted · About a 1 minute watch, 3 minute read · Take the quiz

Most arrows get knocked off course

Two lessons ago, the matrix with rows 3 1 and 0 2 slanted the grid:

`` [ 3 1 ] [ 0 2 ] ``

Its columns are (3, 0) and (1, 2). To move any arrow (x, y), take x copies of the first column plus y copies of the second.

Try the arrow (2, 1). Draw the line through the origin and (2, 1). After the move:

2(3, 0) + 1(1, 2) = (6, 0) + (1, 2) = (7, 2)

(7, 2) is not a multiple of (2, 1), so the arrow left its line and now points a new way. Most arrows do this.

Worked example: one arrow stays on its line

Now try (1, 0):

1(3, 0) + 0(1, 2) = (3, 0) = 3(1, 0)

It lands on the same line (the x-axis), just 3 times longer. It did not turn at all.

  • An arrow that stays on its own line through the origin is an eigenvector of the matrix.
  • The number it gets stretched by is its eigenvalue. Here the eigenvalue is 3.

A second eigenvector

This matrix has another one. Try (1, −1):

1(3, 0) − 1(1, 2) = (3, 0) − (1, 2) = (2, −2) = 2(1, −1)

Same line through the origin, twice as long: (1, −1) is an eigenvector with eigenvalue 2.

In symbols: Av = λv

Write the matrix as A and the arrow as v. Then v is an eigenvector when

`` A v = λ v ``

Moving v with the matrix (left side) gives the same result as just stretching v by a number λ (right side). That number λ (the Greek letter lambda) is the eigenvalue. For our matrix: A(1, 0) = 3(1, 0) and A(1, −1) = 2(1, −1).

To check whether an arrow is an eigenvector, move it with the matrix and ask: is the result a number times the arrow you started with?

Try it yourself

  1. For the same matrix (rows 3 1 and 0 2), is (0, 1) an eigenvector?
  2. The matrix with rows 2 1 and 0 1 has columns (2, 0) and (1, 1). Show that (1, −1) is an eigenvector and find its eigenvalue.

(Answers: 1. No: 0(3, 0) + 1(1, 2) = (1, 2), which is not a multiple of (0, 1), so it gets knocked off its line. 2. 1(2, 0) − 1(1, 1) = (1, −1) = 1(1, −1). It stays exactly where it is, so it is an eigenvector with eigenvalue 1.)

Good to know

  • "Stays on its own line" includes a negative eigenvalue (the arrow flips around but stays on the same line) and an eigenvalue of zero (the arrow is squashed to the origin, which happens when the determinant is zero, lesson 4).
  • Any nonzero multiple of an eigenvector is also an eigenvector with the same eigenvalue: (2, 0) and (−3, 3) work here too.
  • The zero vector is never counted as an eigenvector, because A0 = λ0 holds for every number λ.
  • Some matrices have no real eigenvectors at all. A quarter-turn rotation turns every arrow, so none stays on its line.
  • For a triangular matrix like rows 3 1 and 0 2, the eigenvalues are the numbers on the main diagonal: 3 and 2.
  • On screen and here, matrix entries are written in rows; the columns are the vectors (3, 0) and (1, 2).
  • This is lesson 5 of the Linear algebra course. Next up: change of basis.

Answer to the comment question

A matrix has columns (4, 1) and (1, 4). (1, 1) is an eigenvector. What's its eigenvalue? 5. Move (1, 1) with the matrix: 1(4, 1) + 1(1, 4) = (5, 5) = 5(1, 1). It stays on its line and gets 5 times longer, so its eigenvalue is 5.

Test your knowledge

Quick quiz: Eigenvectors

4 multiple-choice questions. Pick one answer for each, then check how you did.

1What makes an arrow an eigenvector of a matrix?
2The matrix with rows 3 1 and 0 2 sends (1, 0) to (3, 0). What is the eigenvalue of (1, 0)?
3The same matrix sends (2, 1) to (7, 2). What does that tell you?
4In Av = λv, what is λ?

Sources

  • Margalit and Rabinoff, Interactive Linear Algebra (Georgia Tech), "Eigenvalues and Eigenvectors": an eigenvector is a nonzero vector v with Av = λv; geometrically, A keeps v on its own line through the origin and scales it by the eigenvalue λ
  • MIT OpenCourseWare, "18.06 Linear Algebra (Spring 2010)", Gilbert Strang: lecture 21, "Eigenvalues and Eigenvectors"
  • Wolfram MathWorld, "Eigenvector": definition (cross-check)
  • Wolfram MathWorld, "Eigenvalue": definition (cross-check)

Video transcript

When a matrix moves space, which arrows stay on course?

Last time, columns (3, 0) and (1, 2) slanted the grid.

Most arrows get knocked off their line. (2, 1) lands at (7, 2), pointing a new way.

But (1, 0) lands at (3, 0). Same line, just 3 times longer.

An arrow that stays on its own line is an eigenvector. Its stretch factor, here 3, is its eigenvalue.

This matrix has a second one. (1, −1) lands at (2, −2): same line, eigenvalue 2.

In symbols, A times v equals lambda times v. Lambda is the eigenvalue.

Your turn. A matrix has columns (4, 1) and (1, 4). (1, 1) is an eigenvector. What's its eigenvalue? Comment your answer below!

That's your byte.

More from Linear algebra

All Linear algebra lessons