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

Study methods

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

Eigenvectors and Eigenvalues

📊 Eigenvectors and Eigenvalues: A Visual Understanding

Eigenvectors and eigenvalues are fundamental concepts in linear algebra that often pose conceptual challenges due to their abstract nature. A solid visual understanding of preceding topics, such as linear transformations, determinants, linear systems of equations, and change of basis, is crucial for grasping these concepts. Confusion often stems from a shaky foundation in these prerequisite areas rather than the complexity of eigenvectors and eigenvalues themselves.

✨ What are Eigenvectors and Eigenvalues?

Consider a linear transformation in two dimensions, represented by a matrix. When this transformation is applied, most vectors are "knocked off" their original span (the line passing through their origin and tip). However, some special vectors remain on their own span. This means the transformation's effect on these vectors is purely a stretch or squish, acting like a scalar multiplication, without any rotation.

  • Eigenvectors: These are the special vectors that remain on their own span after a linear transformation. They are not rotated, only scaled.

  • Eigenvalues: Each eigenvector has an associated eigenvalue, which is the scalar factor by which it is stretched or squished during the transformation. An eigenvalue can be positive (stretching), negative (flipping and squishing), or even 1 (remaining fixed in place).

💡 Example: Identifying Eigenvectors

Let's use a 2D transformation where the basis vector i^\hat{i}i^ moves to (3,0)(3,0)(3,0) and j^\hat{j}j^​ moves to (1,2)(1,2)(1,2). This is represented by the matrix:

A=(3102)A = \begin{pmatrix} 3 & 1 \\ 0 & 2 \end{pmatrix}A=(30​12​)
  1. i^\hat{i}i^ (x-axis): The basis vector i^\hat{i}i^ is moved to 3i^3\hat{i}3i^. Its span is the x-axis, and it remains on this span, being stretched by a factor of 3. Any vector on the x-axis will also be stretched by a factor of 3 and remain on its span.

    • Eigenvector: Any vector on the x-axis (e.g., i^\hat{i}i^)

    • Eigenvalue: 3

  2. Vector (−1,1)(-1, 1)(−1,1): This vector ends up being stretched by a factor of 2, remaining on its diagonal span. Any other vector on the line spanned by (−1,1)(-1, 1)(−1,1) will also be stretched by a factor of 2.

    • Eigenvector: Any vector on the line spanned by (−1,1)(-1, 1)(−1,1)

    • Eigenvalue: 2

For this transformation, these are the only vectors with this special property. Any other vector would be rotated off its original span.

🌎 Practical Significance: Axis of Rotation

Eigenvectors and eigenvalues provide a powerful way to understand complex transformations. For instance, in a three-dimensional rotation, if you can find an eigenvector (a vector that remains on its own span), you have found the axis of rotation.

  • Understanding a 3D rotation in terms of an axis and an angle is far simpler than interpreting a full 3×33 \times 33×3 matrix.

  • For a pure rotation, the corresponding eigenvalue would be 1, as rotations do not stretch or squish vectors, preserving their length.

Finding the eigenvectors and eigenvalues often provides a better, coordinate-system-independent understanding of a linear transformation than simply looking at how it transforms basis vectors.


🔢 Computing Eigenvectors and Eigenvalues

Symbolically, the definition of an eigenvector vvv and its corresponding eigenvalue λ\lambdaλ for a matrix AAA is:

Av=λvAv = \lambda vAv=λv

This equation states that applying the matrix transformation AAA to vector vvv yields the same result as simply scaling vvv by the scalar λ\lambdaλ. The goal is to find non-zero vectors vvv and scalar values λ\lambdaλ that satisfy this equation.

🛠️ Deriving the Characteristic Equation

To solve Av=λvAv = \lambda vAv=λv, we need to express both sides as matrix-vector products. We can rewrite λv\lambda vλv as (λI)v(\lambda I)v(λI)v, where III is the identity matrix (a diagonal matrix with 1s on the diagonal and 0s elsewhere). The identity matrix scaled by λ\lambdaλ (λI\lambda IλI) has λ\lambdaλ down its diagonal and 0s elsewhere.

The equation becomes:

Av=(λI)vAv = (\lambda I)vAv=(λI)v

Subtracting (λI)v(\lambda I)v(λI)v from both sides:

Av−(λI)v=0Av - (\lambda I)v = \mathbf{0}Av−(λI)v=0

Factoring out vvv:

(A−λI)v=0(A - \lambda I)v = \mathbf{0}(A−λI)v=0

We are looking for a non-zero eigenvector vvv. For a non-zero vector vvv to be mapped to the zero vector 0\mathbf{0}0 by the matrix (A−λI)(A - \lambda I)(A−λI), the transformation associated with (A−λI)(A - \lambda I)(A−λI) must squish space into a lower dimension. This "squishification" implies that the determinant of (A−λI)(A - \lambda I)(A−λI) must be zero.

Thus, the characteristic equation for finding eigenvalues is:

det⁡(A−λI)=0\det(A - \lambda I) = 0det(A−λI)=0

🚶 Step-by-Step Computation

  1. Form the matrix (A−λI)(A - \lambda I)(A−λI): Subtract λ\lambdaλ from each diagonal entry of matrix AAA.

  2. Compute the determinant: Calculate det⁡(A−λI)\det(A - \lambda I)det(A−λI). This will result in a polynomial in λ\lambdaλ (the characteristic polynomial).

  3. Solve for λ\lambdaλ: Set the determinant equal to zero and solve the characteristic polynomial for λ\lambdaλ. The solutions for λ\lambdaλ are the eigenvalues.

  4. Solve for vvv: For each eigenvalue λ\lambdaλ found, substitute it back into the equation (A−λI)v=0(A - \lambda I)v = \mathbf{0}(A−λI)v=0 and solve the resulting linear system for vvv. The non-zero solutions for vvv are the eigenvectors corresponding to that eigenvalue.

Example: A=(3102)A = \begin{pmatrix} 3 & 1 \\ 0 & 2 \end{pmatrix}A=(30​12​)

  1. (A−λI)(A - \lambda I)(A−λI):

    A−λI=(3−λ102−λ)A - \lambda I = \begin{pmatrix} 3-\lambda & 1 \\ 0 & 2-\lambda \end{pmatrix}A−λI=(3−λ0​12−λ​)
  2. Determinant:

    det⁡(A−λI)=(3−λ)(2−λ)−(1)(0)=(3−λ)(2−λ)\det(A - \lambda I) = (3-\lambda)(2-\lambda) - (1)(0) = (3-\lambda)(2-\lambda)det(A−λI)=(3−λ)(2−λ)−(1)(0)=(3−λ)(2−λ)
  3. Solve for λ\lambdaλ:

    (3−λ)(2−λ)=0(3-\lambda)(2-\lambda) = 0(3−λ)(2−λ)=0

    This gives two eigenvalues: λ1=3\lambda_1 = 3λ1​=3 and λ2=2\lambda_2 = 2λ2​=2.

  4. Find eigenvectors for λ1=3\lambda_1 = 3λ1​=3:

    (A−3I)v=0  ⟹  (3−3102−3)(xy)=(00)(A - 3I)v = \mathbf{0} \implies \begin{pmatrix} 3-3 & 1 \\ 0 & 2-3 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}(A−3I)v=0⟹(3−30​12−3​)(xy​)=(00​)

    (010−1)(xy)=(00)\begin{pmatrix} 0 & 1 \\ 0 & -1 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}(00​1−1​)(xy​)=(00​)

    This implies y=0y=0y=0 and −y=0-y=0−y=0. The xxx component can be any value. So, vectors of the form (x,0)(x, 0)(x,0) are eigenvectors. For example, (1,0)(1,0)(1,0) or i^\hat{i}i^. This matches our initial observation that vectors on the x-axis are scaled by 3.

  5. Find eigenvectors for λ2=2\lambda_2 = 2λ2​=2:

    (A−2I)v=0  ⟹  (3−2102−2)(xy)=(00)(A - 2I)v = \mathbf{0} \implies \begin{pmatrix} 3-2 & 1 \\ 0 & 2-2 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}(A−2I)v=0⟹(3−20​12−2​)(xy​)=(00​)

    (1100)(xy)=(00)\begin{pmatrix} 1 & 1 \\ 0 & 0 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}(10​10​)(xy​)=(00​)

    This implies x+y=0x+y=0x+y=0, or y=−xy=-xy=−x. So, vectors of the form (x,−x)(x, -x)(x,−x) are eigenvectors. For example, (1,−1)(1,-1)(1,−1) or (−1,1)(-1,1)(−1,1). This matches our initial observation that vectors on the line y=−xy=-xy=−x are scaled by 2.

🚫 Cases with No Real Eigenvectors

  • Rotation by 90 degrees: A matrix like (0−110)\begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}(01​−10​) (90-degree rotation) has no real eigenvectors because it rotates every vector off its span. Its characteristic polynomial is λ2+1=0\lambda^2 + 1 = 0λ2+1=0, whose roots are λ=i\lambda = iλ=i and λ=−i\lambda = -iλ=−i (imaginary numbers). The absence of real roots indicates no real eigenvectors.

  • Shear transformation: A shear matrix like (1101)\begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix}(10​11​) has only one eigenvalue, λ=1\lambda=1λ=1. Its characteristic polynomial is (1−λ)2=0(1-\lambda)^2 = 0(1−λ)2=0. All vectors on the x-axis are eigenvectors with eigenvalue 1, but these are the only eigenvectors. The transformation "fixes" the x-axis but shears other vectors.

  • Scaling transformation: A matrix that scales everything, e.g., (2002)\begin{pmatrix} 2 & 0 \\ 0 & 2 \end{pmatrix}(20​02​), has only one eigenvalue, λ=2\lambda=2λ=2. However, every vector in the plane is an eigenvector with eigenvalue 2, as all vectors are simply scaled by 2.


📈 Eigenbasis and Diagonalization

A diagonal matrix is one where all entries outside the main diagonal are zero. For example:

D=(−1002)D = \begin{pmatrix} -1 & 0 \\ 0 & 2 \end{pmatrix}D=(−10​02​)

In a diagonal matrix, the basis vectors themselves are eigenvectors, and their corresponding eigenvalues are the entries on the diagonal. For the example above, i^\hat{i}i^ is an eigenvector with eigenvalue −1-1−1, and j^\hat{j}j^​ is an eigenvector with eigenvalue 222.

🚀 Advantages of Diagonal Matrices

Diagonal matrices are significantly easier to work with, especially for operations like matrix exponentiation (multiplying a matrix by itself many times).

  • If DDD is a diagonal matrix with eigenvalues λ1,λ2,...,λn\lambda_1, \lambda_2, ..., \lambda_nλ1​,λ2​,...,λn​ on the diagonal, then DkD^kDk is simply a diagonal matrix with λ1k,λ2k,...,λnk\lambda_1^k, \lambda_2^k, ..., \lambda_n^kλ1k​,λ2k​,...,λnk​ on the diagonal.

  • Computing A100A^{100}A100 for a non-diagonal matrix AAA is computationally intensive, but for a diagonal matrix, it's trivial.

🔄 Change of Basis to an Eigenbasis

Rarely will the standard basis vectors themselves be eigenvectors. However, if a linear transformation has enough eigenvectors to span the entire space (e.g., in R2\mathbb{R}^2R2, two linearly independent eigenvectors), we can change our coordinate system so that these eigenvectors become the new basis vectors. This new set of basis vectors, which are also eigenvectors, is called an eigenbasis.

The process of changing to an eigenbasis involves:

  1. Forming the change of basis matrix PPP: The columns of PPP are the coordinates of the eigenvectors that form the new basis.

  2. Transforming the original matrix AAA: The transformation AAA expressed in the new eigenbasis is given by the matrix D=P−1APD = P^{-1}APD=P−1AP.

    • This resulting matrix DDD is guaranteed to be diagonal, with the eigenvalues of AAA along its diagonal.

This process is known as diagonalization. If we need to compute AkA^kAk:

  1. Diagonalize AAA: Find PPP and DDD such that A=PDP−1A = PDP^{-1}A=PDP−1.

  2. Compute AkA^kAk:

    Ak=(PDP−1)k=PDkP−1A^k = (PDP^{-1})^k = PD^kP^{-1}Ak=(PDP−1)k=PDkP−1

    Since DDD is diagonal, DkD^kDk is easy to compute.

🚧 Limitations

Not all transformations can be diagonalized. For example, a shear transformation does not have enough linearly independent eigenvectors to span the entire space, and thus an eigenbasis cannot be formed.

When an eigenbasis can be found, it simplifies many matrix operations, providing a more intuitive and computationally efficient way to understand and manipulate linear transformations.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent