Lecture 37 · Week 10· 17:14

Eigenvalues and eigenvectors

Eigenvectors of operators, eigenspaces.

Play: Lecture 37: Eigenvalues and eigenvectors
Lecture · 17:14 · Open on YouTube · Report a problem with this video
TranscriptThe full text of the lecture. Click any sentence to play the video from there.

Today: the directions a map keeps

Welcome back. Last week was about one number attached to a square matrix, its determinant. This week is about something attached to a linear map: the directions that it keeps. Recall the map of lecture thirty two, given by the matrix A with the rows (zero, two), and (one, one). In the standard basis it looks complicated. But in the basis b one equal to (one, one), and b two equal to (minus two, one), its matrix is diagonal, with entries two and minus one. The reason is simple. A sends b one to two b one, and b two to minus b two. These two vectors are not turned at all. They stay on their own lines, and are only stretched or flipped.

Today we study such vectors. First the definition: eigenvalues and eigenvectors. Then examples, in the plane and beyond. Then eigenspaces, and how the determinant finds eigenvalues. And finally, why eigenvectors for different eigenvalues are independent.

Eigenvalues and eigenvectors

Let V be a vector space over a field F. A linear map from V to itself is called an operator on V. A scalar lambda is an eigenvalue of the operator T if there is a nonzero vector v with T of v equal to lambda v. Such a vector v is an eigenvector of T for the eigenvalue lambda. For a square matrix A, the eigenvalues and eigenvectors are those of the map that sends x to A x. So A v equals lambda v, with v nonzero.

Why must v be nonzero? Because T of zero is zero, which is lambda times zero for every lambda. Without this condition, every number would be an eigenvalue. But the eigenvalue itself may be zero. Then T of v is zero for a nonzero v, so v lies in the kernel. So zero is an eigenvalue exactly when the kernel of T contains a nonzero vector. In the plane there is a picture. The multiples of a nonzero v form a line through the origin. And T of v equal to lambda v says that T of v stays on that line: stretched, shrunk, reversed, or sent to zero.

Watch our matrix A act on a vector x that turns once around the origin. Most of the time, A x points off the line of x. Only in two directions does A x land on that line: along v one equal to (one, one), where it is doubled, and along v two equal to (minus two, one), where it is reversed. Let's check. In the first row of A times v one, zero times one, plus two times one, is two. In the second row, one times one, plus one times one, is two. So A v one is the vector (two, two), which is two times v one.

In the first row of A times v two, zero times minus two, plus two times one, is two. In the second row, one times minus two, plus one times one, is minus one. So A v two is the vector (two, minus one), which is minus v two. So two and minus one are eigenvalues of A. But e one is not an eigenvector: A e one is the first column of A, the vector (zero, one). It is not a multiple of e one, since its second entry is not zero. Why do we care about such vectors? Along an eigenvector, the map is as simple as it can be: it only multiplies by a number. And other vectors can often be built from eigenvectors. This vector x is half of v one, plus half of v two. A doubles the first piece, and reverses the second, and together they give A x. So once we know the eigenvectors of a map, we can see what it does to every such vector, one piece at a time. In later lectures, this turns hard problems into simple ones.

Try it yourself

You can try this yourself, on this lecture's page at opensemester.com. The gold vector v is yours to turn, and the green vector is A v, for the matrix A of our example. Drag v around the circle. Most of the time, A v points another way. But on the dashed line through (one, one), A v lands on the line of v, twice as long: an eigenvector, with eigenvalue two. Keep turning. On the second dashed line, through (minus two, one), A v points the opposite way: the eigenvalue is minus one. Then pick another matrix and hunt for its eigenvectors. This quarter turn has none at all.

Maps of the plane

Now three maps of the plane from lecture thirteen. The projection onto the line y equals x keeps every vector of that line. So the vector (one, one), is an eigenvector for the eigenvalue one. And it flattens the perpendicular direction: the vector (one, minus one), goes to zero, which is zero times that vector. So it is an eigenvector for the eigenvalue zero. The reflection across the same line also keeps the vector (one, one), with eigenvalue one. But it reverses the vector (one, minus one), so that vector is an eigenvector for the eigenvalue minus one.

The quarter turn is different. It turns every nonzero vector off its line, so it should have no real eigenvalue. Let's prove it. The quarter turn sends the vector (x, y), to the vector (minus y, x). Suppose that this is lambda times the vector (x, y). Then, entry by entry, minus y equals lambda x, and x equals lambda y. The first equation gives y equals minus lambda x. Put this into the second: x equals lambda times minus lambda x. So one plus lambda squared, times x, is zero.

Since one plus lambda squared is at least one, x is zero, and then y is zero too. So only the zero vector solves the equation, for every real lambda. Over the complex numbers the story changes, as we will see in lecture forty one.

Beyond the plane

Operators act on any vector space, so eigenvectors can be polynomials, or matrices. Take differentiation, d by d x, on P three, the real polynomials of degree at most three. It is an operator on P three, since a derivative again has degree at most three. A nonzero constant has derivative zero, which is zero times the constant. So zero is an eigenvalue, and the nonzero constants are its eigenvectors. There are no others. Suppose p prime equals lambda p, with lambda not zero, and p nonzero of degree m. Then lambda p has degree m, but p prime is zero, or has degree m minus one. So they cannot be equal. And for lambda equal to zero, p prime is zero only for the constants.

Next, transposition on the two by two real matrices, sending X to X transpose. A symmetric matrix, such as the one with the rows (one, three), and (three, two), is unchanged. So a nonzero symmetric matrix is an eigenvector for the eigenvalue one. A skew symmetric matrix, such as the one with the rows (zero, one), and (minus one, zero), changes sign. So a nonzero skew symmetric matrix is an eigenvector for the eigenvalue minus one. There are no other eigenvalues. If X transpose is lambda X, transpose once more. Then X is lambda X transpose, which is lambda squared X. So lambda squared minus one, times X, is zero. Since X is nonzero, lambda squared is one, and lambda is one or minus one.

Eigenspaces

For a fixed lambda, collect all the vectors with T of v equal to lambda v. This equation says that T of v minus lambda v is zero. In other words, T minus lambda times the identity sends v to zero. Here is the proposition. This set is the kernel of T minus lambda I. So it is a subspace of V. And lambda is an eigenvalue exactly when this kernel contains a nonzero vector. The proof is short. T minus lambda I is linear, as a combination of linear maps, and it sends v to T of v minus lambda v. That is zero exactly when T of v is lambda v. And the kernel of a linear map is always a subspace.

Now the definition. For an eigenvalue lambda, the eigenspace E lambda is the kernel of T minus lambda I. For a matrix, it is the null space of A minus lambda I. It holds all the eigenvectors for lambda, together with zero. On the eigenspace, the operator acts very simply: it multiplies every vector by the same number lambda. For our matrix A, the eigenspaces contain the two lines we saw, and we will check in a moment that they are exactly these lines. In the other examples: for differentiation, E zero is the space of constant polynomials. And for transposition, E one is the space of symmetric matrices, and E minus one is the space of skew symmetric matrices.

The determinant test

How do we find the eigenvalues? Lambda is an eigenvalue exactly when T minus lambda I sends some nonzero vector to zero. In finite dimension, the determinant detects exactly that. Here is the theorem. Let V have finite dimension, at least one, let T be an operator on V, and lambda a scalar. These are equivalent. One: lambda is an eigenvalue of T. Two: T minus lambda I is not invertible. Three: the determinant of T minus lambda I is zero. The proof chains together earlier results, so take it slowly. Write S for T minus lambda I. Lambda is an eigenvalue exactly when the kernel of S is nonzero, that is, when S is not one to one.

An operator on a finite dimensional space is one to one exactly when it is invertible, by lectures thirty and thirty one. And by lecture thirty six, it is invertible exactly when its determinant is not zero. This proves the theorem. For a matrix: lambda is an eigenvalue of A exactly when the determinant of A minus lambda I is zero. And with lambda equal to zero, A is invertible exactly when zero is not an eigenvalue. For our matrix A, subtracting lambda I changes only the diagonal: A minus lambda I has the rows (minus lambda, two), and (one, one minus lambda). Its determinant is minus lambda, times one minus lambda, minus two times one.

That is lambda squared minus lambda minus two, which factors as lambda minus two, times lambda plus one. It is zero only for lambda equal to two and minus one. So these are the only eigenvalues of A. To find E two, solve A minus two I, times x, equals zero. A minus two I has the rows (minus two, two), and (one, minus one). Both rows give x one minus x two equals zero, so E two is the line through the vector (one, one). In the same way, A plus I has the rows (one, two), and (one, two). They give x one plus two x two equals zero, so E minus one is the line through the vector (minus two, one).

Next lecture studies the determinant of A minus lambda I as a polynomial in lambda, the characteristic polynomial. An eigenspace can be bigger than a line. Take the three by three matrix A with threes on the diagonal and ones everywhere else. Then A minus two I has every entry equal to one. Its rows are equal, so its determinant is zero, and two is an eigenvalue. Its null space is given by the single equation x one plus x two plus x three equals zero. With the free variables x two and x three, every solution splits into x two times the vector (minus one, one, zero), plus x three times the vector (minus one, zero, one).

These two vectors are not multiples of each other, so they form a basis, and E two is a plane. A doubles every vector in it. For example, A times the vector (minus one, one, zero), is the vector (minus two, two, zero). Every row of A sums to five, so A times the vector (one, one, one), is five times that vector. So five is an eigenvalue too. But four is not. Expanding along the first row, the determinant of A minus four I is minus one, times one minus one, minus one, times minus one minus one, plus one, times one plus one. That is zero plus two plus two, which is four, not zero.

For a triangular matrix, A minus lambda I is triangular too, so its determinant is the product of its diagonal entries, each a diagonal entry of A minus lambda. It is zero exactly when lambda equals one of them. So the eigenvalues of a triangular matrix are its diagonal entries. For example, the shear with the rows (one, one), and (zero, one), is triangular with ones on the diagonal, so its only eigenvalue is one. For an operator on an abstract space, we compute with its matrix in a basis. This is allowed: the coordinates of T of v are the matrix of T times the coordinates of v, and the coordinates of lambda v are lambda times those of v. Since the coordinate map is one to one, T of v equals lambda v exactly when the coordinates satisfy the same equation.

So T and its matrix have the same eigenvalues, in every basis, and similar matrices have the same eigenvalues. For differentiation on P three, in the basis one, x, x squared, x cubed, the matrix is triangular with zeros on the diagonal. So its only eigenvalue is zero, as we found.

Independent eigenvectors

In every example, eigenvectors for different eigenvalues pointed in different directions. This is always true. Here is the theorem. If lambda one up to lambda k are distinct eigenvalues of T, with eigenvectors v one up to v k, then v one up to v k are linearly independent. The proof is by induction on k, and it is worth taking slowly. One nonzero vector is independent. Now suppose that v one up to v k minus one are independent, and that c one v one, plus and so on up to c k v k, is zero. Apply T. Each term is multiplied by its own eigenvalue: c one lambda one v one, plus and so on up to c k lambda k v k, is zero.

Now multiply the first equation by lambda k, and subtract it from the second. The last terms cancel. What remains is c one times lambda one minus lambda k, times v one, plus and so on, up to the term with v k minus one, equal to zero. By the induction hypothesis, every weight in this equation is zero. The eigenvalues are distinct, so each lambda i minus lambda k is nonzero, and so each c i is zero. Then the first equation says c k v k is zero, and since v k is nonzero, c k is zero too. A consequence. An independent list in an n dimensional space has at most n vectors. So an operator on such a space has at most n distinct eigenvalues.

And if it has n of them, the n eigenvectors form a basis, in which its matrix is diagonal, as it was for our map A. That is diagonalisation, the subject of lecture thirty nine. One more fact, for lecture forty. If T of v is lambda v, then applying T again gives T squared of v equal to lambda squared v, and in general T to the k of v is lambda to the k times v. For example, take our first matrix A. A to the tenth times the vector (one, one), is two to the tenth times that vector, which is the vector (one thousand twenty four, one thousand twenty four), without computing A to the tenth. To sum up. An eigenvector of an operator is a nonzero vector that the operator sends to a multiple of itself, and that multiple is its eigenvalue. The eigenvectors for lambda, together with zero, form the eigenspace, the kernel of T minus lambda I. In finite dimension, lambda is an eigenvalue exactly when the determinant of T minus lambda I is zero. And eigenvectors for distinct eigenvalues are independent.

Before the next lecture, read section eight point one of the course book, try the problems on sheet ten about eigenvalues and eigenspaces, and do the lecture check on this lecture's page at Open Semester dot com. Next time: the characteristic polynomial, and how to find all the eigenvalues of a matrix. See you there.

Try it

Hunting for eigenvectors

A =

Drag the tip of v around the circle. Most vectors are turned by A; an eigenvector is only stretched, so Av stays on the same line as v.

Check yourself

3 questions, from warm-up to stretch

Work each one out on paper, type your answer and press Check. Stuck? Open a hint; the worked solution is there when you need it.

  1. Question 1 of 3 Warm-up

    Let . The vector is an eigenvector of . Find its eigenvalue. Is an eigenvector of ?

    Is an eigenvector?
    Hint 1 of 2

    By Definition 8.1.1, compute and compare it with : the eigenvalue is the number with .

    Hint 2 of 2

    Row times column: . For , compute the same way and ask whether it is a multiple of .

    Worked solution
    1. , and . So is an eigenvector for the eigenvalue .
    2. .
    3. If , the first entries give and the second give . No single works, so is not an eigenvector: turns it off its line.
  2. Question 2 of 3 Core

    Let . Find the eigenvalues of with the determinant test. Then find the eigenspace of the larger eigenvalue: it is the line through a vector . Find .

    Hint 1 of 2

    By Theorem 8.1.7, is an eigenvalue exactly when . Subtracting changes only the diagonal.

    Hint 2 of 2

    . Expand, factor, then solve for the larger root.

    Worked solution
    1. , so .
    2. This factors as , so by Theorem 8.1.7 the eigenvalues are and , and there are no others.
    3. is the null space of . Both rows give , so . With : , so and .
    4. Check: .
  3. Question 3 of 3 Stretch

    Let . How many distinct eigenvalues does have? What is the dimension of the eigenspace ? Is there a basis of made of eigenvectors of ?

    A basis of eigenvectors?
    Hint 1 of 2

    is triangular, so its eigenvalues are its diagonal entries (Theorem 8.1.10). For , solve and count the free variables.

    Hint 2 of 2

    : its rows say and . Every eigenvector lies in or in .

    Worked solution
    1. is upper triangular, so by Theorem 8.1.10 its eigenvalues are its diagonal entries : the two distinct eigenvalues and .
    2. . Its rows give and , so , with free. So and .
    3. gives and then , so , with free. So .
    4. Every eigenvector of lies on one of these two lines. A basis of needs three independent vectors, but among any three eigenvectors two lie on the same line and are multiples of each other. So there is no basis of eigenvectors. When such a basis exists is the subject of Lecture 39.

Found a mistake, or something not working on this page? Report it and we'll fix it. See what we've corrected.