1. Home
  2. Explore
  3. Mathematics
  4. Eigenvalues and Eigenvectors

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Eigenvalues and Eigenvectors

Speaker 1Speaker 2

Eigenvalues and Eigenvectors

20:25
0:00-20:25
  1. Michael

    Welcome to Lecture 21 of Linear Algebra. We’re starting Unit 5: eigenvalues and the characteristic equation. The central idea is to find directions a matrix preserves—not necessarily individual vectors, but their lines—so that applying the matrix simply stretches, reverses, or collapses those directions.

  2. Anna

    And that connects directly to diagonalisation. In Lecture 20, we saw that a well-chosen basis can make a matrix diagonal. The especially useful basis vectors turn out to be eigenvectors, because along each of those directions, applying the matrix is just multiplication by a number.

  3. Michael

    Take the matrix A with rows one, two and minus one, four. Let u be the vector one, one. Then A u is three, three, which is three u. Let w be two, one. A w is four, two, which is two w. So those directions are preserved, with scale factors three and two.

  4. Anna

    A typical vector doesn’t behave that way. For instance, A times one, zero is one, minus one, which is not a multiple of one, zero. But along u, repeated applications are simple: A to the k times u equals three to the k times u. That’s why eigenvectors make matrix powers and dynamical models much easier to understand.

  5. Michael

    Here’s the definition. A non-zero vector x is an eigenvector of A if A x equals lambda x for some scalar lambda. That scalar lambda is an eigenvalue when the equation A x equals lambda x has a non-zero solution. The vector x is then an eigenvector corresponding to lambda.

  6. Anna

    The sign and value of lambda describe what happens on the line through x. A positive lambda keeps the orientation, a negative lambda reverses it, and lambda equal to zero collapses x to zero. If lambda is one, the vector is fixed. In every case, the vector’s line stays the same.

  7. Michael

    The non-zero requirement matters. The equation A times zero equals lambda times zero is true for every lambda, so if zero counted as an eigenvector, every number would become an eigenvalue. But zero can absolutely be an eigenvalue: the projection with rows one, zero and zero, zero sends the non-zero vector e two to zero.

  8. Anna

    Eigenvectors also come in lines. If A x equals lambda x, then A of alpha x equals alpha A x, which equals lambda times alpha x. So every non-zero multiple of x is an eigenvector for the same eigenvalue. We can describe that entire line by any convenient non-zero vector; it doesn’t need to be a unit vector.

  9. Michael

    For example, every non-zero multiple of one, one is an eigenvector of our first matrix for eigenvalue three. The origin is excluded. To check a proposed eigenvector, first make sure it’s non-zero, calculate A x, and see whether every entry equals the same scalar times the corresponding entry of x.

  10. Anna

    Let’s test that with the matrix whose rows are three, one and zero, two. The vector one, minus one maps to two, minus two, which is twice the original vector, so it’s an eigenvector with eigenvalue two. But one, one maps to four, two; those entries aren’t equal, so the result isn’t a scalar multiple of one, one.

  11. Michael

    A few distinctions prevent common mix-ups: eigenvalues are scalars, while eigenvectors are non-zero vectors. Eigenvalues needn’t be positive, and zero can be an eigenvalue. For another quick check, with rows four, one and two, three, the vector one, zero maps to four, two and isn’t an eigenvector; one, one maps to five, five and is an eigenvector with eigenvalue five.

  12. Anna

    So how do we find eigenvalues systematically instead of guessing? Rewrite lambda x as lambda I x. Then A x equals lambda x is equivalent to the homogeneous system, A minus lambda I, times x, equals zero. Subtract lambda only from the diagonal entries, because lambda I has zeros everywhere off the diagonal.

  13. Michael

    That identity matrix is essential: subtracting a number directly from a matrix isn’t defined. The key theorem says five statements are equivalent. Lambda is an eigenvalue exactly when that homogeneous system has a non-zero solution; equivalently, the null space of A minus lambda I isn’t just zero, the matrix is singular, and its determinant is zero.

  14. Anna

    The logic connects familiar ideas from earlier linear algebra. The solutions of the homogeneous system form the null space, so a non-zero solution means the null space is larger than just the zero vector. For a square matrix, the Invertible Matrix Theorem says that a non-zero solution exists exactly when the matrix is singular.

  15. Michael

    And a square matrix is singular exactly when its determinant is zero. Chaining those equivalences gives the determinant test. It’s important that the vector x disappears from the final condition: we can find the eigenvalues first, using only lambda, and find the eigenvectors afterward.

  16. Anna

    That determinant is called the characteristic polynomial: p sub A of lambda equals det of A minus lambda I. Setting it equal to zero gives the characteristic equation. In this course, eigenvalues are the real roots of that polynomial. Some books use det of lambda I minus A instead; it has the same roots, but the sign differs when the matrix size is odd, so don’t mix conventions.

  17. Michael

    For an n by n matrix, the characteristic polynomial has degree exactly n. Its leading coefficient is negative one to the n, and its constant term is det A. The constant-term fact is immediate: evaluate the polynomial at zero and you get det of A minus zero I, which is det A.

  18. Anna

    The degree statement follows from the structure of A minus lambda I. Lambda appears in only the n diagonal entries. When you expand the determinant, no term can have degree greater than n, and the top-degree term comes from taking negative lambda from every diagonal position. That gives the leading coefficient negative one to the n.

  19. Michael

    More generally, if a determinant has at most k entries involving lambda, each of degree at most one, its degree is at most k. You can see that by expanding along a row: if an entry containing lambda is selected, its row is removed from the minor, so the minor has at most one fewer lambda entry. This bounds the degree of each term.

  20. Anna

    Since a non-zero polynomial of degree n has at most n roots, an n by n matrix has at most n distinct real eigenvalues. But that doesn’t mean it has exactly n, or that it has at most n eigenvector directions. The matrix two I has just one eigenvalue, two, while every non-zero vector is an eigenvector.

  21. Michael

    For a two by two matrix with rows a, b and c, d, the characteristic polynomial is lambda squared minus the trace times lambda plus the determinant. The trace is a plus d, and the determinant is a d minus b c. If the roots are real, their sum is the trace and their product is the determinant, which gives us a useful check.

  22. Anna

    For example, take rows one, two and three, zero. The determinant of A minus lambda I is one minus lambda, times minus lambda, minus six. That simplifies to lambda squared minus lambda minus six, or lambda minus three times lambda plus two. The eigenvalues are three and minus two; their sum is the trace, one, and their product is the determinant, minus six.

  23. Michael

    Geometrically, det of A minus lambda I is a signed area factor in the plane. When that determinant is zero, the transformation by A minus lambda I flattens the plane onto a line or a point. For the matrix with rows one, two and minus one, four, this happens at lambda two and lambda three, its eigenvalues.

  24. Anna

    Once the eigenvalues are known, the procedure has two stages. First compute det of A minus lambda I and solve the characteristic equation. Then, for each eigenvalue separately, solve A minus lambda I times x equals zero by Gaussian elimination. Reduce A minus lambda I, not the augmented matrix with a zero column.

  25. Michael

    Because A minus lambda I is singular at an eigenvalue, the elimination must leave a free variable. If you reach the identity matrix, that signals an arithmetic error. Every non-zero solution is an eigenvector, and it’s worth checking the result by substituting into A x equals lambda x.

  26. Anna

    Let’s work through a full example. For A with rows minus seven, minus six and nine, eight, the characteristic polynomial is lambda squared minus lambda minus two. It factors as lambda plus one times lambda minus two, so the eigenvalues are minus one and two. The trace is one and determinant is minus two, which checks the coefficients.

  27. Michael

    For lambda equal to minus one, reducing A plus I gives the equation x one equals minus x two. So the eigenvectors are all non-zero multiples of minus one, one. That eigenvalue is negative, and the matrix reverses vectors on this line.

  28. Anna

    For lambda equal to two, reducing A minus two I gives x one equals negative two-thirds x two. Clearing fractions, the eigenvectors are all non-zero multiples of minus two, three. Indeed, A times minus two, three is minus four, six, which is twice the original vector.

  29. Michael

    There’s a warning here: don’t row-reduce A before finding its eigenvalues. Row operations preserve solutions to systems like A x equals b, but they do not preserve eigenvalues. For example, adding the first row to the second changes the matrix with eigenvalues two and three into a row-equivalent matrix with eigenvalues one and six.

  30. Anna

    Row reduction belongs in stage two, applied to A minus lambda I for each eigenvalue. Another common mistake is trying to solve one system for several eigenvalues at once. Each value of lambda gives a different matrix and a separate null-space problem.

  31. Michael

    Here’s a three by three example that also shows what a repeated eigenvalue can do. For the matrix with rows two, minus three, one; one, minus two, one; and one, minus three, two, the characteristic polynomial factors as negative lambda times lambda minus one squared. So the eigenvalues are zero and one, with one a double root.

  32. Anna

    For lambda zero, solving A x equals zero gives the eigenvectors as non-zero multiples of one, one, one. For lambda one, the solution set is x one equals three x two minus x three. It has two free variables, so the eigenspace is a plane spanned by three, one, zero and minus one, zero, one.

  33. Michael

    You can check those vectors directly: A sends one, one, one to zero, and fixes each of three, one, zero and minus one, zero, one. Thus every vector in that plane is fixed. A repeated root can provide a whole plane of eigenvectors—but, as we’ll see, it doesn’t have to.

  34. Anna

    There’s a shortcut for triangular matrices. If A is upper or lower triangular, then A minus lambda I is triangular too, and its determinant is the product of its diagonal entries. So the characteristic polynomial is the product of each diagonal entry minus lambda, and the eigenvalues are exactly the diagonal entries.

  35. Michael

    For example, an upper triangular matrix with diagonal entries one, four and six has eigenvalues one, four and six. Its off-diagonal entries don’t affect those eigenvalues. But don’t apply that shortcut to a matrix that isn’t triangular: the matrix with rows one, two and minus one, four has eigenvalues two and three, not its diagonal entries one and four.

  36. Anna

    Now consider the shear S with rows one, one and zero, one. It’s triangular, so its only eigenvalue is one, and it’s a double root. But solving S minus I times x equals zero forces x two to be zero. There’s only one eigenvector line: the non-zero multiples of one, zero.

  37. Michael

    Compare that with the previous three by three example, where the double eigenvalue one had an entire plane of eigenvectors. A repeated eigenvalue doesn’t guarantee multiple independent eigenvectors. Geometrically, the shear slides each horizontal line sideways according to its height; only the horizontal axis keeps its direction.

  38. Anna

    The determinant test also links eigenvalues to invertibility. Zero is an eigenvalue exactly when A minus zero I—that is, A—is singular. Therefore, A is invertible exactly when zero is not an eigenvalue. This fits the familiar chain: invertibility, non-zero determinant, trivial null space, and full rank.

  39. Michael

    If the characteristic polynomial factors completely into real linear factors, with eigenvalues listed according to their multiplicities, then det A is the product of those eigenvalues. That follows by evaluating the factorisation at zero and using the fact that p sub A of zero equals det A.

  40. Anna

    The condition that it factors over the reals matters. For a lower triangular matrix with diagonal entries three, minus two and seven, the eigenvalues are those three numbers, so it’s invertible and its determinant is minus forty-two. The earlier three by three example has eigenvalue zero, so it’s singular.

  41. Michael

    Let’s compare four familiar plane transformations. The projection with rows one, zero and zero, zero has eigenvalues one and zero: it fixes the first coordinate axis and collapses the second. The reflection across the line x two equals x one has eigenvalues one and minus one: it fixes the mirror line and reverses the perpendicular direction.

  42. Anna

    The shear has eigenvalue one but only one eigenvector line. And a ninety-degree rotation, with rows zero, minus one and one, zero, has characteristic polynomial lambda squared plus one. That has no real roots, so the rotation has no real eigenvectors: it moves every non-zero vector off its own line.

  43. Michael

    Over the complex numbers, that rotation has eigenvalues i and minus i, but in this real-valued discussion we count only real eigenvalues. The same point appears in graphs of characteristic polynomials: real eigenvalues are where the graph meets the horizontal axis.

  44. Anna

    A simple root crosses the axis. A double root, like one in negative lambda times lambda minus one squared, touches the axis without crossing. Roots of even multiplicity touch; roots of odd multiplicity cross, possibly with a flattening. If the graph never reaches the axis, as with lambda squared plus one, there are no real eigenvalues.

  45. Michael

    So don’t assume every n by n matrix has n distinct real eigenvalues. The shear has just one distinct real eigenvalue, and the ninety-degree rotation has none. Also, a double root doesn’t mean two independent eigenvectors, as the shear demonstrates.

  46. Anna

    A couple of rotation checks make the geometry especially clear. A rotation by one hundred and eighty degrees is negative I: its eigenvalue is minus one, and every non-zero vector is an eigenvector because every line is reversed. A rotation by forty-five degrees has no real eigenvalues; its characteristic polynomial has negative discriminant.

  47. Michael

    Now let’s apply eigenvalues to a population model. Each year, ninety percent of city residents stay in the city and ten percent move to the suburbs. Of suburban residents, eighty percent stay and twenty percent move to the city. With the population fractions in a column vector, the transition matrix has rows zero point nine, zero point two and zero point one, zero point eight.

  48. Anna

    The first column describes where city residents go, and the second describes where suburban residents go. Starting with half in each place, the characteristic polynomial is lambda squared minus one point seven lambda plus zero point seven, which factors into lambda minus one times lambda minus zero point seven.

  49. Michael

    The eigenvector for eigenvalue one is two, one, and the eigenvector for zero point seven is one, minus one. The first direction gives the steady-state proportions once we scale its entries to sum to one: two-thirds city and one-third suburbs. The second direction describes a difference between the two groups that shrinks over time.

  50. Anna

    In fact, the starting vector one-half, one-half can be written as one-third times the vector two, one, minus one-sixth times the vector one, minus one. After k years, the first part stays unchanged, while the second is multiplied by zero point seven to the k.

  51. Michael

    Since zero point seven to the k tends to zero, the population approaches two-thirds in the city and one-third in the suburbs. The deviation shrinks by thirty percent each year. The first update is zero point five five, zero point four five, consistent with movement toward that steady state.

  52. Anna

    This is the diagonalisation idea in action. In the eigenvector basis, the matrix acts diagonally, multiplying one direction by one and the other by zero point seven. Powers are then easy to compute, because each direction is simply scaled by its eigenvalue raised to the power.

  53. Michael

    The same principle answers a quick power question from our opening example. Since three, two equals u plus w, where u is one, one and w is two, one, A to the fifth times three, two equals three to the fifth u plus two to the fifth w. That is 243 times one, one plus 32 times two, one, giving 307, 275.

  54. Anna

    Let’s recap the method. Start with A x equals lambda x, where x is non-zero. Rewrite it as A minus lambda I times x equals zero. The determinant is the characteristic polynomial; its real roots give the eigenvalues. For each root, use Gaussian elimination to find the non-zero solutions and check them in the original equation.

  55. Michael

    Remember the useful facts: the characteristic polynomial has degree n, leading coefficient negative one to the n, and constant term det A. A two by two matrix has characteristic polynomial lambda squared minus trace times lambda plus determinant. Triangular matrices reveal their eigenvalues on the diagonal, and A is invertible exactly when zero is not an eigenvalue.

  56. Anna

    And geometrically, eigenvectors mark the lines a transformation preserves. A projection has directions fixed and collapsed; a reflection has fixed and reversed directions; a shear can have a repeated eigenvalue but only one eigenvector line; and a quarter-turn has no real preserved line.

  57. Michael

    One final check: every eigenvalue is a root of det of A minus lambda I, and a three by three matrix has at most three distinct eigenvalues—both true. But if zero is an eigenvalue, the matrix is invertible? False: zero as an eigenvalue means the matrix is singular. And row-equivalent matrices have the same eigenvalues? Also false.

  58. Anna

    That last point is why we never row-reduce A before the characteristic-polynomial calculation. Next time, we’ll gather all the eigenvectors belonging to one eigenvalue into a subspace called its eigenspace, and study the dimensions of those spaces. Thanks for learning with us.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent