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

Eigenvalues and Eigenvectors

Introduction to the Eigenvalue Problem

After studying general linear transformations Ax⃗=b⃗A\vec{x} = \vec{b}Ax=b, a natural question arises: are there vectors u⃗≠0⃗\vec{u} \neq \vec{0}u=0 such that applying the matrix AAA simply scales the vector, without changing its direction? That is, does there exist a non-zero vector u⃗\vec{u}u and a scalar λ\lambdaλ for which

Au⃗=λu⃗A\vec{u} = \lambda \vec{u}Au=λu

This question leads directly to the concepts of eigenvalues and eigenvectors.


Motivating Example: Matrix A=[2112]A = \begin{bmatrix} 2 & 1 \\ 1 & 2 \end{bmatrix}A=[21​12​]

Consider the matrix A=[2112]A = \begin{bmatrix} 2 & 1 \\ 1 & 2 \end{bmatrix}A=[21​12​] acting on various input vectors x⃗\vec{x}x, producing output vectors b⃗\vec{b}b.

Input x⃗\vec{x}x

Output b⃗=Ax⃗\vec{b} = A\vec{x}b=Ax

[10]\begin{bmatrix} 1 \\ 0 \end{bmatrix}[10​]

[21]\begin{bmatrix} 2 \\ 1 \end{bmatrix}[21​]

[01]\begin{bmatrix} 0 \\ 1 \end{bmatrix}[01​]

[12]\begin{bmatrix} 1 \\ 2 \end{bmatrix}[12​]

[−12]\begin{bmatrix} -1 \\ 2 \end{bmatrix}[−12​]

[03]\begin{bmatrix} 0 \\ 3 \end{bmatrix}[03​]

[11]\begin{bmatrix} 1 \\ 1 \end{bmatrix}[11​]

[33]\begin{bmatrix} 3 \\ 3 \end{bmatrix}[33​]

[1−1]\begin{bmatrix} 1 \\ -1 \end{bmatrix}[1−1​]

[1−1]\begin{bmatrix} 1 \\ -1 \end{bmatrix}[1−1​]

Most input vectors are rotated to a new direction by the transformation. However, two special vectors behave differently:

  • x⃗=[11]\vec{x} = \begin{bmatrix} 1 \\ 1 \end{bmatrix}x=[11​] becomes [33]=3[11]\begin{bmatrix} 3 \\ 3 \end{bmatrix} = 3 \begin{bmatrix} 1 \\ 1 \end{bmatrix}[33​]=3[11​] — scaled by 3, direction unchanged.

  • x⃗=[1−1]\vec{x} = \begin{bmatrix} 1 \\ -1 \end{bmatrix}x=[1−1​] becomes [1−1]=1⋅[1−1]\begin{bmatrix} 1 \\ -1 \end{bmatrix} = 1 \cdot \begin{bmatrix} 1 \\ -1 \end{bmatrix}[1−1​]=1⋅[1−1​] — scaled by 1, direction unchanged.

Vectors that only get scaled (not rotated) under a linear transformation are called eigenvectors, and the corresponding scaling factor is called an eigenvalue.


Definition of Eigenvalues and Eigenvectors

Eigenvector: A non-zero vector u⃗\vec{u}u is an eigenvector of a matrix AAA if Au⃗=λu⃗A\vec{u} = \lambda \vec{u}Au=λu for some scalar λ\lambdaλ.
Eigenvalue: The scalar λ\lambdaλ is the eigenvalue associated with the eigenvector u⃗\vec{u}u.

Note: The eigenvector u⃗\vec{u}u must be non-zero — the zero vector trivially satisfies A0⃗=λ0⃗A\vec{0} = \lambda\vec{0}A0=λ0, but it is not considered an eigenvector.


Finding Eigenvalues and Eigenvectors

Step 1: The Characteristic Equation

Start from Au⃗=λu⃗A\vec{u} = \lambda \vec{u}Au=λu.
Rewrite λu⃗=λIu⃗\lambda \vec{u} = \lambda I \vec{u}λu=λIu, where III is the identity matrix:

Au⃗=λIu⃗⇒(A−λI)u⃗=0⃗A\vec{u} = \lambda I \vec{u} \quad \Rightarrow \quad (A - \lambda I) \vec{u} = \vec{0}Au=λIu⇒(A−λI)u=0

We want a non-trivial (non-zero) solution u⃗\vec{u}u to this homogeneous system. For a square matrix, a homogeneous system has non-zero solutions only when the matrix is singular — its determinant is zero. Therefore:

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

This equation is called the characteristic equation of AAA. Its roots are the eigenvalues.

Step 2: Finding Eigenvectors

For each eigenvalue λ\lambdaλ found, solve the homogeneous system

(A−λI)u⃗=0⃗(A - \lambda I) \vec{u} = \vec{0}(A−λI)u=0

to obtain the corresponding eigenvector(s).


Example: Matrix A=[2112]A = \begin{bmatrix} 2 & 1 \\ 1 & 2 \end{bmatrix}A=[21​12​]

Characteristic equation:

det⁡([2−λ112−λ])=(2−λ)2−1=0\det\left( \begin{bmatrix} 2-\lambda & 1 \\ 1 & 2-\lambda \end{bmatrix} \right) = (2-\lambda)^2 - 1 = 0det([2−λ1​12−λ​])=(2−λ)2−1=0

Expanding: λ2−4λ+3=0\lambda^2 - 4\lambda + 3 = 0λ2−4λ+3=0.

Roots: λ1=3\lambda_1 = 3λ1​=3, λ2=1\lambda_2 = 1λ2​=1.

Eigenvectors:

  • For λ=3\lambda = 3λ=3: Solve [−111−1][u1u2]=[00]\begin{bmatrix} -1 & 1 \\ 1 & -1 \end{bmatrix} \begin{bmatrix} u_1 \\ u_2 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix}[−11​1−1​][u1​u2​​]=[00​]
    −u1+u2=0⇒u1=u2-u_1 + u_2 = 0 \Rightarrow u_1 = u_2−u1​+u2​=0⇒u1​=u2​.
    Eigenvector: [u1u2]=u1[11]\begin{bmatrix} u_1 \\ u_2 \end{bmatrix} = u_1 \begin{bmatrix} 1 \\ 1 \end{bmatrix}[u1​u2​​]=u1​[11​]. So [11]\begin{bmatrix} 1 \\ 1 \end{bmatrix}[11​] (or any scalar multiple) is an eigenvector.

  • For λ=1\lambda = 1λ=1: Solve [1111][u1u2]=[00]\begin{bmatrix} 1 & 1 \\ 1 & 1 \end{bmatrix} \begin{bmatrix} u_1 \\ u_2 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix}[11​11​][u1​u2​​]=[00​]
    u1+u2=0⇒u2=−u1u_1 + u_2 = 0 \Rightarrow u_2 = -u_1u1​+u2​=0⇒u2​=−u1​.
    Eigenvector: [u1−u1]=u1[1−1]\begin{bmatrix} u_1 \\ -u_1 \end{bmatrix} = u_1 \begin{bmatrix} 1 \\ -1 \end{bmatrix}[u1​−u1​​]=u1​[1−1​]. So [1−1]\begin{bmatrix} 1 \\ -1 \end{bmatrix}[1−1​] is an eigenvector.


Important Properties of Eigenvalues

For a 2×22 \times 22×2 matrix A=[a11a12a21a22]A = \begin{bmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{bmatrix}A=[a11​a21​​a12​a22​​]:

Trace and Determinant Relations

From the characteristic equation:

λ2−(a11+a22)λ+(a11a22−a12a21)=0\lambda^2 - (a_{11} + a_{22})\lambda + (a_{11}a_{22} - a_{12}a_{21}) = 0λ2−(a11​+a22​)λ+(a11​a22​−a12​a21​)=0
λ2−(tr(A))λ+det⁡(A)=0\lambda^2 - (\text{tr}(A)) \lambda + \det(A) = 0λ2−(tr(A))λ+det(A)=0

For the eigenvalues λ1,λ2\lambda_1, \lambda_2λ1​,λ2​ (the roots of this quadratic):

  • Sum of eigenvalues: λ1+λ2=tr(A)=a11+a22\lambda_1 + \lambda_2 = \text{tr}(A) = a_{11} + a_{22}λ1​+λ2​=tr(A)=a11​+a22​

  • Product of eigenvalues: λ1λ2=det⁡(A)=a11a22−a12a21\lambda_1 \lambda_2 = \det(A) = a_{11}a_{22} - a_{12}a_{21}λ1​λ2​=det(A)=a11​a22​−a12​a21​

These relations hold for any 2×22 \times 22×2 matrix and generalize to larger matrices.


Special Cases for 2×22 \times 22×2 Matrices

1. Real Distinct Eigenvalues

When the characteristic equation has two distinct real roots, there are two independent eigenvectors (two fixed directions). This is the most common case, as illustrated by A=[2112]A = \begin{bmatrix} 2 & 1 \\ 1 & 2 \end{bmatrix}A=[21​12​].

2. Complex Eigenvalues (No Real Eigenvectors)

The quadratic characteristic equation can have complex conjugate roots. In that case, there are no real eigenvalues and hence no real eigenvectors. Geometrically, this means the transformation rotates every non-zero vector — no direction is preserved.

Example: Rotation by 90∘90^\circ90∘

R90=[0−110]R_{90} = \begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix}R90​=[01​−10​]

Characteristic equation: det⁡[−λ−11−λ]=λ2+1=0\det\begin{bmatrix} -\lambda & -1 \\ 1 & -\lambda \end{bmatrix} = \lambda^2 + 1 = 0det[−λ1​−1−λ​]=λ2+1=0
Roots: λ=±i\lambda = \pm iλ=±i (purely imaginary).
No real eigenvalues or eigenvectors — every vector is rotated to a new direction.

3. Repeated Eigenvalues (Only One Eigenvector)

When the characteristic equation has a repeated root (λ1=λ2=λ\lambda_1 = \lambda_2 = \lambdaλ1​=λ2​=λ), there may be only one eigenvector — only one fixed direction.

Example: Shear Matrix

A=[1101]A = \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}A=[10​11​]

Characteristic equation: det⁡[1−λ101−λ]=(1−λ)2=0\det\begin{bmatrix} 1-\lambda & 1 \\ 0 & 1-\lambda \end{bmatrix} = (1-\lambda)^2 = 0det[1−λ0​11−λ​]=(1−λ)2=0
Eigenvalue: λ=1\lambda = 1λ=1 (repeated).
Solve (A−I)u⃗=0⃗(A - I)\vec{u} = \vec{0}(A−I)u=0: [0100][u1u2]=[00]\begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix} \begin{bmatrix} u_1 \\ u_2 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix}[00​10​][u1​u2​​]=[00​]
0u1+1u2=0⇒u2=00u_1 + 1u_2 = 0 \Rightarrow u_2 = 00u1​+1u2​=0⇒u2​=0, u1u_1u1​ is free.
Eigenvectors: [u10]=u1[10]\begin{bmatrix} u_1 \\ 0 \end{bmatrix} = u_1 \begin{bmatrix} 1 \\ 0 \end{bmatrix}[u1​0​]=u1​[10​] — only one direction.

Thus, a 2×22 \times 22×2 matrix can have:

  • Two eigenvectors (two distinct real eigenvalues)

  • One eigenvector (repeated eigenvalue)

  • Zero real eigenvectors (complex eigenvalues)


Symmetric Matrices and Orthogonal Eigenvectors

A real symmetric matrix (A=ATA = A^TA=AT) with distinct eigenvalues has a special property: its eigenvectors are orthogonal (their dot product is zero).

In the example A=[2112]A = \begin{bmatrix} 2 & 1 \\ 1 & 2 \end{bmatrix}A=[21​12​], eigenvectors are [11]\begin{bmatrix} 1 \\ 1 \end{bmatrix}[11​] and [1−1]\begin{bmatrix} 1 \\ -1 \end{bmatrix}[1−1​]. Their dot product: 1⋅1+1⋅(−1)=01 \cdot 1 + 1 \cdot (-1) = 01⋅1+1⋅(−1)=0 — they are orthogonal.

This property generalizes to n×nn \times nn×n real symmetric matrices: eigenvectors corresponding to distinct eigenvalues are orthogonal. Eigenvectors of symmetric matrices also form a basis (a set of linearly independent vectors spanning the space).


Summary of Eigenvalue Concepts in 2D

  • An eigenvector of a matrix AAA is a non-zero vector that does not change direction when AAA acts on it; it only gets scaled.

  • The scaling factor is the eigenvalue.

  • Eigenvalues are found by solving the characteristic equation det⁡(A−λI)=0\det(A - \lambda I) = 0det(A−λI)=0.

  • For each eigenvalue, eigenvectors are found by solving (A−λI)u⃗=0⃗(A - \lambda I)\vec{u} = \vec{0}(A−λI)u=0.

  • Sum of eigenvalues = trace of AAA; product of eigenvalues = determinant of AAA.

  • A 2×22 \times 22×2 matrix may have two distinct real eigenvalues, one repeated real eigenvalue, or a pair of complex eigenvalues.

  • A real symmetric matrix with distinct eigenvalues has orthogonal eigenvectors.

  • The transformation AAA can have two fixed directions (two eigenvectors), one fixed direction (one eigenvector), or no fixed direction (complex eigenvalues, e.g., rotation).

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent