Eigenvalues and Eigenvectors

The directions a matrix only stretches.

Most columns are turned

Take A = (4 −1; 2 1). It sends the column (3; 1) to (4 × 3 + (−1) × 1; 2 × 3 + 1 × 1) = (11; 7). The arrow to (3, 1) climbs 1 for every 3 across, and the arrow to (11, 7) climbs 7 for every 11 across, so A has turned it to point in a different direction as well as making it longer. Most columns are turned like this.

xyvAv

The column v = (3, 1) and its image Av = (11, 7): the image points in a different direction.

Some columns are only stretched

Now try (1; 1). A sends it to (4 × 1 + (−1) × 1; 2 × 1 + 1 × 1) = (3; 3), which is 3 times (1; 1). The image points in exactly the same direction, three times as long.

Try (1; 2) as well. A sends it to (4 − 2; 2 + 2) = (2; 4), which is 2 times (1; 2). This one is doubled, and again its direction does not change.

xy3(1, 1)2(1, 2)

A sends (1, 1) to (3, 3), along the same line, and (1, 2) to (2, 4), along the same line: each short arrow lies on its own image.

Eigenvectors and eigenvalues

A column that a matrix only stretches is called an eigenvector of the matrix, and the number it is stretched by is its eigenvalue. Written as an equation, v is an eigenvector with eigenvalue λ when A v = λ v and v is not the zero column. Along v, the matrix acts like multiplication by the single number λ.

So (1, 1) is an eigenvector of A with eigenvalue 3, and (1, 2) is an eigenvector with eigenvalue 2. The column (3, 1) is not an eigenvector, because (11, 7) is not a multiple of it: 11 is 11/3 times 3, but 7 is 7 times 1.

Avθ = 20°|Av| = 2.75turned by 16°−3−3−2−2−1−1112233

Av points 16° away from v, so Av ≠ λv: A turns this vector as well as stretching it, and it is not an eigenvector

Rotate v until Av lies on the same line as v

Here the matrix is (2 1; 1 2). Turn the column v and watch its image Av: it is turned away from v until v points along a line at 45° to the axes, where Av lines up with it. Along y = x the stretch is 3, and along y = −x it is 1.

An eigenvector names a direction

Double the eigenvector (1, 1): A sends (2; 2) to (8 − 2; 4 + 2) = (6; 6), which is 3 times (2; 2). It is an eigenvector too, with the same eigenvalue. This always happens. If A v = λ v and k is any number, then A(k v) = k(A v) = k(λ v) = λ(k v), so every non-zero multiple of an eigenvector is an eigenvector with the same eigenvalue.

So an eigenvector names a whole direction, the line through the origin along it, and A sends that line onto itself. The eigen directions of a matrix are its invariant lines through the origin.

The zero column is left out on purpose. A times (0; 0) is (0; 0), which is λ times (0; 0) for every number λ, so it would make every number an eigenvalue and tell us nothing.

Negative and zero eigenvalues

The reflection in the x-axis, (1 0; 0 −1), leaves (1, 0) where it is, so (1, 0) is an eigenvector with eigenvalue 1. It sends (0, 1) to (0, −1), which is −1 times (0, 1), so (0, 1) is an eigenvector with eigenvalue −1. A negative eigenvalue keeps the line and reverses the direction along it.

The matrix C = (2 4; 1 2) has determinant 2 × 2 − 4 × 1 = 0. It sends (2; −1) to (4 − 4; 2 − 2) = (0; 0), which is 0 times (2; −1), so (2, −1) is an eigenvector with eigenvalue 0: that whole direction collapses to the origin. Its other eigenvector is (2, 1), which goes to (4 + 4; 2 + 2) = (8; 4), 4 times itself.

An eigenvalue of 0 always comes with det = 0, because a non-zero column sent to zero means the matrix cannot be undone. Some matrices have no real eigenvectors at all: the quarter turn (0 −1; 1 0) turns every direction through a right angle, so it keeps none of them.

Why eigenvectors are useful

Along an eigenvector, applying A again and again only multiplies by λ again and again. Applying A five times to (1, 1) gives 3⁵ = 243 times (1, 1), which is (243, 243).

Other columns can be built from the eigenvectors. The column (3, 1) is 5 times (1, 1) minus 2 times (1, 2), since 5 − 2 = 3 and 5 − 4 = 1. A stretches the first part by 3 and the second by 2, so A sends (3, 1) to 15 times (1, 1) minus 4 times (1, 2), which is (15 − 4, 15 − 8) = (11, 7), as before. Applying A again stretches the parts by 3 and 2 once more: 45 times (1, 1) minus 8 times (1, 2) is (37, 29), and multiplying A by (11; 7) directly gives (44 − 7; 22 + 7) = (37; 29).

The usual mistakes

Calling a column an eigenvector because its image is longer. (3, 1) is lengthened to (11, 7), but it is turned as well, so it is not an eigenvector.

Checking only one entry. (11, 7) against (3, 1) gives 11/3 in the first entry and 7 in the second; both entries must be multiplied by the same number.

Giving det A as the eigenvalue. det A = 4 × 1 − (−1) × 2 = 6, which is the product of the two eigenvalues, 3 × 2, not one of them.

Calling the zero column an eigenvector. It satisfies A v = λ v for every λ, which is why eigenvectors must be non-zero.

A town map and a logo

In the first application below, three roads run out from a town hall and a map is redrawn by a matrix. Each road is multiplied by the matrix, and a road that stays on its own line is an eigenvector, with its stretch factor as the eigenvalue. In the second, one entry of a matrix is chosen so that an arrow in a logo stays on its own line, and the second eigenvalue turns out to be negative.

Worked example: Three Roads on a Town Map Redrawn for a Poster, and the Two That Keep Their Direction

Question A street map is redrawn for a poster by the transformation M = 4123, with the town hall at the origin. Three straight roads run out from the town hall along the vectors a = 11, b = 12 and c = 1−2. (a) Show that the road along a stays on its own line on the poster, and find the factor by which it is stretched. (b) Decide which of the roads along b and c also stays on its own line, and find its stretch factor.

  1. 1.Multiply a by the matrix: M11 = 4 × 1 + 1 × 12 × 1 + 3 × 1 = 55.

    xy26−448MaaMa =55= 5 ×11
    xy26−448MaaMa =55= 5 ×11
    M11 = 55: the image of a lies on the dashed line through a itself.
  2. 2.(a) The image is 55 = 511, a multiple of a. So a is an eigenvector of M with eigenvalue 5: the road stays on its own line, and every length along it is stretched by a factor of 5.

    xy26−448Maaa is an eigenvector: λ = 5every length along a is 5 times as long
    xy26−448Maaa is an eigenvector: λ = 5every length along a is 5 times as long
    (a) Ma = 5a: the road stays on its own line and is stretched by a factor of 5.
  3. 3.M12 = 4 + 22 + 6 = 68. A multiple of b has a second entry twice its first, and 8 is not twice 6. So the road along b is turned onto a new line, and b is not an eigenvector.

    xy26−448MaaMbbMb =688 is not 2 × 6: b is turned
    xy26−448MaaMbbMb =688 is not 2 × 6: b is turned
    M12 = 68 is off the line through b: that road is turned, so b is not an eigenvector.
  4. 4.M1−2 = 4 − 22 − 6 = 2−4 = 21−2, a multiple of c.

    xy26−448MaaMbbMccMc =2−4= 2 ×1−2
    xy26−448MaaMbbMccMc =2−4= 2 ×1−2
    M1−2 = 2−4 = 21−2, on the line through c.
  5. 5.(b) The road along c stays on its own line and is stretched by a factor of 2. Check: the two eigenvalues multiply to 5 × 2 = 10 = det M = 4 × 3 − 1 × 2, and they add to 5 + 2 = 7, the sum 4 + 3 of the diagonal entries.

    xy26−448MaaMbbMccc is an eigenvector: λ = 25 × 2 = 10 = det M, 5 + 2 = 4 + 3
    xy26−448MaaMbbMccc is an eigenvector: λ = 25 × 2 = 10 = det M, 5 + 2 = 4 + 3
    (b) The road along c keeps its line and is stretched by a factor of 2; 5 × 2 = det M.

Answer: (a) Ma = 55 = 5a, so the road along a stays on its line and is stretched by a factor of 5; (b) the road along c, since Mc = 2−4 = 2c: it is stretched by a factor of 2, while b goes to 68, off its line

Common mistakes

  • Calling b an eigenvector because its image 68 is longer than b. All three roads are lengthened; what matters is whether the image lies on the same line through the origin, and (6, 8) is not on the line through (1, 2).
  • Comparing only the first entries: 6 = 6 × 1 suggests an eigenvalue of 6 for b, but then the second entry would have to be 6 × 2 = 12, not 8. Both entries must be multiplied by the same number.

More eigenvalues and eigenvectors problems, worked step by step →

Worked example: An Arrow in a Logo Animation Kept on Its Own Line by Choosing One Entry of the Matrix

Question An animation program moves every point of a logo by the matrix M = 1k43, with the center of the logo at the origin. The designer wants the arrow in the logo, which points along 12, to stay on its own line as the logo moves. (a) Find k, and the factor by which the arrow is stretched. (b) Find the other eigenvalue of M and an eigenvector for it, and describe what happens to a line of the logo along that eigenvector.

  1. 1.The arrow stays on its line when M12 = λ12 for some number λ. Multiply: M12 = 1 + 2k4 + 6 = 1 + 2k10.

    xy5510vM ×12=1 + 2k10= λ ×12
    xy5510vM ×12=1 + 2k10= λ ×12
    The arrow v = 12 keeps its dashed line when Mv = λv, and Mv = 1 + 2k10.
  2. 2.The second entries give 10 = 2λ, so λ = 5. The first entries then give 1 + 2k = 5, so k = 2.

    xy5510v10 = 2λ, so λ = 51 + 2k = 5, so k = 2
    xy5510v10 = 2λ, so λ = 51 + 2k = 5, so k = 2
    The second entries give λ = 5, and then 1 + 2k = 5 gives k = 2.
  3. 3.(a) k = 2, and the arrow is stretched by a factor of 5. Check: 124312 = 510 = 512.

    xy5510MvvM ×12=510= 5 ×12
    xy5510MvvM ×12=510= 5 ×12
    (a) With k = 2, Mv = 5v: the arrow stays on its line and is stretched by a factor of 5.
  4. 4.det(M − λ I) = (1 − λ)(3 − λ) − 2 × 4 = λ2 − 4λ − 5 = (λ − 5)(λ + 1), so the other eigenvalue is −1.

    xy5510Mvvdet(M − λI) = (1 − λ)(3 − λ) − 2 × 4= (λ − 5)(λ + 1): λ = −1
    xy5510Mvvdet(M − λI) = (1 − λ)(3 − λ) − 2 × 4= (λ − 5)(λ + 1): λ = −1
    det(M − λ I) = λ2 − 4λ − 5 = (λ − 5)(λ + 1): the other eigenvalue is −1.
  5. 5.(b) For λ = −1: (M + I)v = 2244xy = 0 gives x + y = 0, so v = 1−1, and M1−1 = −11. A line of the logo along 1−1 stays on its own line and keeps its length, but every point on it is sent to the other side of the center: the line is reversed.

    xy5510MvvuMuu =1−1Mu =−11the line along u is reversed
    xy5510MvvuMuu =1−1Mu =−11the line along u is reversed
    (b) u = 1−1 goes to −11: the line along u is kept, with its length, but reversed through the center.

Answer: (a) k = 2, and the arrow is stretched by a factor of 5; (b) λ = −1 with eigenvector 1−1: a line along it stays on its own line with its length unchanged, but is reversed through the center

Common mistakes

  • Setting M12 equal to 12 itself, which asks for the arrow not to move at all. The second entries then give 10 = 2, which is false, and it looks as if no k works. The arrow may be stretched; it only has to stay on its line, so the image is λ12.
  • Reading an eigenvalue of −1 as a direction that is not kept. Mv = −v puts the image on the same line through the origin, pointing the opposite way: a negative eigenvalue reverses a direction without turning it off its line.

More eigenvalues and eigenvectors problems, worked step by step →

Practice Eigenvalues and Eigenvectors in the app