Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 22

Eigenvalues and Eigenvectors: Invariant Directions of Linear Transformations

Recommended resources

Hello! Welcome to the fourth module of our course. In the previous module, we explored orthogonality and saw how orthogonal and unitary matrices represent rigid transformations—like rotations and reflections—that preserve lengths and angles.

We are now shifting our perspective. Instead of analyzing how a transformation affects the entire space, we're going to search for very special vectors that are in some way "simple" with respect to the transformation. This leads us to one of the most powerful ideas in all of linear algebra: eigenvalues and eigenvectors.

Today's learning outcome is to relate eigenvalues and eigenvectors to the geometric action of a linear transformation as invariant directions. You will learn to see eigenvectors as the "axes" of a transformation—the directions that remain unchanged, only being stretched, shrunk, or flipped. Understanding this concept is crucial for your goals, as it forms the basis for quantum measurement, the spectral decomposition used in quantum mechanics, and algorithms like PCA in machine learning.

1. The Core Idea: Vectors That Stay on Their Span

When you apply a linear transformation (i.e., multiply by a matrix), most vectors are knocked off their original direction. Imagine a matrix transformation acting on every vector in a 2D plane. Most vectors will be rotated and stretched, pointing in a new direction.

However, some special vectors might exist that, after the transformation, still point in the same direction (or the exact opposite direction). The transformation only scales them—stretching, squishing, or flipping them. These vectors define the invariant directions of the transformation.

This is the central idea behind eigenvectors.

Eigenvectors and eigenvalues | Chapter 14, Essence of linear algebra

The video 'Eigenvectors and eigenvalues' from the 'Essence of linear algebra' series by 3Blue1Brown provides a fantastic visual intuition for this concept. It shows how to think about eigenvectors as vectors that stay on their own span during a transformation.

Watch from 1:19 to 3:56. Focus on how most vectors are rotated off their span, while a few special vectors are simply scaled.

To formalize what you just saw in the video:

  • An eigenvector of a linear transformation is a non-zero vector whose direction is unchanged by the transformation. It remains on its own span.
  • The eigenvalue is the scalar factor by which the eigenvector is stretched or shrunk. A negative eigenvalue means the vector is flipped and then scaled.

This relationship is captured by the defining equation of the eigenvalue problem:

Where:

  • is the matrix representing the linear transformation.
  • is the eigenvector (a non-zero vector).
  • (lambda) is the corresponding eigenvalue (a scalar).
Geometric Interpretation of Eigenvalues and Eigenvectors
This image illustrates the core concept. The matrix \(A\) transforms several vectors. While most vectors (like 1, 2, 3, 5) change direction, vector 4 does not. It is only scaled. Therefore, vector 4 is an eigenvector of \(A\), and the scaling factor is its eigenvalue.

2. Geometric Interpretation Through Examples

The best way to solidify your understanding is to see how eigenvectors and eigenvalues manifest in transformations you're already familiar with.

Example 1: Projection

Consider a projection matrix that projects vectors onto a plane in 3D space. What are its eigenvectors?

21. Eigenvalues and Eigenvectors

Professor Gilbert Strang's lecture from MIT OpenCourseWare provides a crystal-clear explanation using a projection matrix. He reasons through the problem geometrically without any calculations.

Watch from 1:36 to 10:27. First, he defines the core idea of Ax being parallel to x. Then, he applies this to a projection matrix, identifying two distinct sets of eigenvectors by thinking about what the transformation does geometrically.

As Professor Strang explained, we can identify two sets of invariant directions for a projection onto a plane:

  1. Any vector lying in the plane of projection. When you project such a vector, it remains unchanged. Therefore, . Comparing this to , we see that these are eigenvectors with an eigenvalue of . The entire plane is a space of eigenvectors.
  2. Any vector perpendicular to the plane of projection. When you project such a vector, it gets mapped to the zero vector. Therefore, . We can write this as . These are eigenvectors with an eigenvalue of . The line perpendicular to the plane is a space of eigenvectors.

Any vector that is not in the plane or perpendicular to it will be an eigenvector. Its direction changes as it is projected onto the plane.

Example 2: 3D Rotation

This example is particularly relevant for your interest in physics. What is the eigenvector of a rotation in 3D?

Eigenvectors and eigenvalues | Chapter 14, Essence of linear algebra

Let's return to the 3Blue1Brown video, which gives the perfect physical intuition for this case.

Watch from 3:56 to 5:15. The video connects the idea of an eigenvector to the axis of a 3D rotation.

As the video shows, for a 3D rotation around an axis, the axis of rotation itself is the invariant direction. Any vector lying on this axis will not change its direction during the rotation.

  • Eigenvector: Any vector pointing along the axis of rotation.
  • Eigenvalue: Since rotation doesn't stretch or shrink vectors, the length remains the same. Thus, the eigenvalue must be .

Thinking about a rotation in terms of its axis (eigenvector) and angle is far more intuitive than trying to understand the nine numbers in its 3x3 matrix.

Test your understanding!

Consider a transformation that reflects every vector in across the x-axis. What are its eigenvectors and corresponding eigenvalues? Think about which vectors don't change their direction.

Show answer

There are two sets of invariant directions:

  1. Vectors on the x-axis: A vector like lies on the axis of reflection, so it is unchanged. Here, , so these are eigenvectors with eigenvalue .
  2. Vectors on the y-axis: A vector like is perpendicular to the axis of reflection. It gets flipped to . Here, , so these are eigenvectors with eigenvalue .

Any other vector, not lying on these axes, will have its direction changed.

Other Examples

Let's summarize a few other common transformations and their geometric interpretation in terms of eigenvectors.

Geometric Interpretation of Eigenvalues and Eigenvectors
This image shows several 2D transformations. For each, the eigenvectors (if they exist in real space) represent the axes along which the transformation is just a simple scaling. For the shear, only the horizontal direction is an eigenvector. For the rotation, no vector maintains its direction, so there are no real eigenvectors.
  • Uniform Scaling: If , the matrix scales every vector by a factor of . In this case, every vector in the space is an eigenvector with eigenvalue .
  • Shear: A shear transformation (like the one in the top right of the image above) "pushes" layers of the space. For a horizontal shear, only vectors on the x-axis stay on their span. They are fixed, so they are eigenvectors with .
  • 2D Rotation: A rotation in 2D (by an angle other than 0° or 180°) rotates every vector. No vector stays on its span. Therefore, such a transformation has no real eigenvectors. We'll see in the next lesson that this corresponds to finding complex eigenvalues, a concept vital for quantum mechanics.

3. A Glimpse into Finding Eigenvalues

So, how do we find these special values and vectors without relying solely on geometric observation? Let's briefly touch on the algebraic foundation, which we will explore fully in the next lesson.

We start with the defining equation:

To solve this, we bring everything to one side:


This equation is fundamental. It says that an eigenvector is a non-zero vector in the null space of the matrix .

From our previous work, we know that for a matrix to have a non-zero vector in its null space, the matrix must be singular. And a singular matrix is one whose determinant is zero.

This gives us the crucial condition for finding eigenvalues:

This is called the characteristic equation. For a given matrix , we can solve this equation to find the possible values of (the eigenvalues). Once we have an eigenvalue , we can plug it back into and find the null space to get the corresponding eigenvectors .

For today, the important takeaway is the connection: the existence of an eigenvector corresponds to the matrix "squishing" space into a lower dimension, which is precisely what signifies.

Chapter 6.1: Introduction to Eigenvalues

To reinforce these ideas, I recommend reading the first part of chapter 6 from the MIT Linear Algebra textbook by Gilbert Strang. It presents the same concepts in a clear, concise text format.

Read the first three pages, up to the end of Example 3 (before the heading 'The Equation for the Eigenvalues'). This section introduces Ax = λx and provides excellent geometric examples with projection and reflection matrices, reinforcing what we've covered.


Conclusion

In this lesson, we introduced the intuitive, geometric meaning of eigenvalues and eigenvectors. Rather than getting lost in computation, we focused on what they are and what they represent.

Key Takeaways:

  • An eigenvector of a transformation is a non-zero vector whose direction is invariant—it stays on its own span.
  • An eigenvalue is the scalar factor by which the eigenvector is scaled.
  • Geometrically, eigenvectors represent the axes of a transformation. Along these axes, the complex action of a matrix simplifies to simple stretching or shrinking.
  • Examples like projections (eigenvalues 1 and 0), reflections (eigenvalues 1 and -1), and 3D rotations (eigenvalue 1 for the axis of rotation) highlight this geometric role.
  • The algebraic condition for an eigenvalue to exist is that the matrix must be singular, leading to the characteristic equation .

Preview of the Next Lesson:

We've built the geometric foundation. In the next lesson, we will get our hands dirty with the algebra. You will learn the systematic process to compute the characteristic polynomial to find eigenvalues and their corresponding eigenvectors. We will move from identifying invariant directions visually to calculating them precisely for any given matrix.