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 of a Matrix

Eigenvectors and Eigenvalues

Let AAA be a square matrix. A nonzero eigenvector of AAA is a vector v\mathbf{v}v whose direction is unchanged when the matrix acts on it. The matrix may stretch, shrink, or reverse the vector, but it does not rotate it into a different direction.

Mathematically, an eigenvector satisfies

Av=λv,A\mathbf{v}=\lambda\mathbf{v},Av=λv,

where:

  • v≠0\mathbf{v}\neq \mathbf{0}v=0 is the eigenvector.

  • λ\lambdaλ is the eigenvalue associated with v\mathbf{v}v.

  • AvA\mathbf{v}Av is the result of applying the matrix transformation to v\mathbf{v}v.

  • λv\lambda\mathbf{v}λv is the original vector scaled by the number λ\lambdaλ.

An eigenvector is a nonzero vector that is scaled by the action of a matrix. The corresponding scaling factor is its eigenvalue.

The zero vector is excluded from the definition of an eigenvector because every matrix maps the zero vector to itself:

A0=0=λ0A\mathbf{0}=\mathbf{0}=\lambda\mathbf{0}A0=0=λ0

for every value of λ\lambdaλ. If the zero vector were allowed, every number would appear to be an eigenvalue, which would make the definition uninformative.

Interpretation of the Eigenvalue

The eigenvalue describes how the matrix changes the eigenvector:

  • If λ>1\lambda>1λ>1, the vector is stretched.

  • If 0<λ<10<\lambda<10<λ<1, the vector is shortened.

  • If λ=1\lambda=1λ=1, the vector is unchanged.

  • If λ=0\lambda=0λ=0, the vector is mapped to the zero vector.

  • If λ<0\lambda<0λ<0, the vector is reversed in direction as well as scaled.


Verifying Eigenvectors Directly

To determine whether a given nonzero vector is an eigenvector of a matrix:

  1. Multiply the matrix by the vector.

  2. Compare the result with the original vector.

  3. Check whether the result is a scalar multiple of the original vector.

  4. If so, the scalar is the eigenvalue.

Example: A Matrix with Two Eigenvectors

Consider

A=[−114−1].A= \begin{bmatrix} -1 & 1\\ 4 & -1 \end{bmatrix}.A=[−14​1−1​].

Vector v=[1−2]\mathbf{v}=\begin{bmatrix}1\\-2\end{bmatrix}v=[1−2​]

Multiply AAA by v\mathbf{v}v:

Av=[−114−1][1−2]=[−1−24+2]=[−36].A\mathbf{v} = \begin{bmatrix} -1 & 1\\ 4 & -1 \end{bmatrix} \begin{bmatrix} 1\\ -2 \end{bmatrix} = \begin{bmatrix} -1-2\\ 4+2 \end{bmatrix} = \begin{bmatrix} -3\\ 6 \end{bmatrix}.Av=[−14​1−1​][1−2​]=[−1−24+2​]=[−36​].

The result can be written as

[−36]=−3[1−2].\begin{bmatrix} -3\\ 6 \end{bmatrix} = -3 \begin{bmatrix} 1\\ -2 \end{bmatrix}.[−36​]=−3[1−2​].

Therefore,

Av=−3v.A\mathbf{v}=-3\mathbf{v}.Av=−3v.

Thus:

  • v=[1−2]\mathbf{v}=\begin{bmatrix}1\\-2\end{bmatrix}v=[1−2​] is an eigenvector.

  • Its associated eigenvalue is λ=−3\lambda=-3λ=−3.

The negative eigenvalue means that the vector is reversed in direction and multiplied in length by a factor of 333.

Vector v=[12]\mathbf{v}=\begin{bmatrix}1\\2\end{bmatrix}v=[12​]

Now consider

v=[12].\mathbf{v}= \begin{bmatrix} 1\\ 2 \end{bmatrix}.v=[12​].

Multiplication gives

Av=[−114−1][12]=[−1+24−2]=[12].A\mathbf{v} = \begin{bmatrix} -1 & 1\\ 4 & -1 \end{bmatrix} \begin{bmatrix} 1\\ 2 \end{bmatrix} = \begin{bmatrix} -1+2\\ 4-2 \end{bmatrix} = \begin{bmatrix} 1\\ 2 \end{bmatrix}.Av=[−14​1−1​][12​]=[−1+24−2​]=[12​].

The result is exactly the original vector:

Av=1v.A\mathbf{v}=1\mathbf{v}.Av=1v.

Therefore:

  • v=[12]\mathbf{v}=\begin{bmatrix}1\\2\end{bmatrix}v=[12​] is an eigenvector.

  • Its associated eigenvalue is λ=1\lambda=1λ=1.

This vector is unchanged by the matrix transformation.


Rewriting the Eigenvector Equation

The defining equation is

Av=λv.A\mathbf{v}=\lambda\mathbf{v}.Av=λv.

Subtract λv\lambda\mathbf{v}λv from both sides:

Av−λv=0.A\mathbf{v}-\lambda\mathbf{v}=\mathbf{0}.Av−λv=0.

At first, it may seem natural to factor out v\mathbf{v}v and write

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

However, this expression is not mathematically valid because AAA is a matrix while λ\lambdaλ is a scalar. Matrix subtraction requires two matrices of the same size; a scalar cannot be directly subtracted from a matrix.

Using the Identity Matrix

To make the subtraction well-defined, introduce the identity matrix III:

λv=λIv.\lambda\mathbf{v}=\lambda I\mathbf{v}.λv=λIv.

The identity matrix has the property

Iv=v,I\mathbf{v}=\mathbf{v},Iv=v,

so multiplying by λI\lambda IλI has the same effect as multiplying by the scalar λ\lambdaλ:

λIv=λv.\lambda I\mathbf{v}=\lambda\mathbf{v}.λIv=λv.

Substituting this into the eigenvector equation gives

Av−λIv=0.A\mathbf{v}-\lambda I\mathbf{v}=\mathbf{0}.Av−λIv=0.

Now the vector can be factored correctly:

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

This is the key reformulation of the eigenvector equation.

The expression A−λIA-\lambda IA−λI is used instead of A−λA-\lambdaA−λ because both AAA and λI\lambda IλI are matrices of the same size.


Eigenvectors and Null Spaces

The equation

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

shows that v\mathbf{v}v belongs to the null space of A−λIA-\lambda IA−λI:

v∈Null⁡(A−λI).\mathbf{v}\in\operatorname{Null}(A-\lambda I).v∈Null(A−λI).

Therefore, the eigenvectors associated with an eigenvalue λ\lambdaλ are found by calculating the null space of A−λIA-\lambda IA−λI.

Because an eigenvector must be nonzero, the matrix A−λIA-\lambda IA−λI must have a nontrivial null space—a null space containing at least one nonzero vector.

Connection to Singular Matrices

An invertible matrix has only the trivial null space:

Null⁡(B)={0}.\operatorname{Null}(B)=\{\mathbf{0}\}.Null(B)={0}.

If A−λIA-\lambda IA−λI contains a nonzero vector in its null space, then it cannot be invertible. Therefore, it must be singular.

A singular matrix has determinant zero, so

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

This equation provides a method for finding eigenvalues.

If λ\lambdaλ is an eigenvalue of AAA, then A−λIA-\lambda IA−λI is singular and satisfies det⁡(A−λI)=0\det(A-\lambda I)=0det(A−λI)=0.


Finding Eigenvalues from Scratch

Given a square matrix AAA, eigenvalues can be found through the following process:

  1. Form the matrix A−λIA-\lambda IA−λI.

  2. Calculate its determinant.

  3. Set the determinant equal to zero.

  4. Solve the resulting equation for λ\lambdaλ.

  5. The solutions are the eigenvalues of AAA.

Because III has ones on its main diagonal and zeros elsewhere, forming A−λIA-\lambda IA−λI means subtracting λ\lambdaλ from every diagonal entry of AAA. The off-diagonal entries remain unchanged.


Example: Finding the Eigenvalues

Consider

A=[−1−4−3−2].A= \begin{bmatrix} -1 & -4\\ -3 & -2 \end{bmatrix}.A=[−1−3​−4−2​].

Step 1: Form A−λIA-\lambda IA−λI

The identity matrix of the same size is

I=[1001].I= \begin{bmatrix} 1 & 0\\ 0 & 1 \end{bmatrix}.I=[10​01​].

Therefore,

A−λI=[−1−4−3−2]−λ[1001].A-\lambda I = \begin{bmatrix} -1 & -4\\ -3 & -2 \end{bmatrix} - \lambda \begin{bmatrix} 1 & 0\\ 0 & 1 \end{bmatrix}.A−λI=[−1−3​−4−2​]−λ[10​01​].

Subtracting λ\lambdaλ from the diagonal entries gives

A−λI=[−1−λ−4−3−2−λ].A-\lambda I = \begin{bmatrix} -1-\lambda & -4\\ -3 & -2-\lambda \end{bmatrix}.A−λI=[−1−λ−3​−4−2−λ​].

Step 2: Calculate the Determinant

For a 2×22\times22×2 matrix

[abcd],\begin{bmatrix} a & b\\ c & d \end{bmatrix},[ac​bd​],

the determinant is ad−bcad-bcad−bc. Thus,

det⁡(A−λI)=(−1−λ)(−2−λ)−(−4)(−3).\det(A-\lambda I) = (-1-\lambda)(-2-\lambda)-(-4)(-3).det(A−λI)=(−1−λ)(−2−λ)−(−4)(−3).

Expanding the first product:

(−1−λ)(−2−λ)=λ2+3λ+2.(-1-\lambda)(-2-\lambda) = \lambda^2+3\lambda+2.(−1−λ)(−2−λ)=λ2+3λ+2.

The second product is

(−4)(−3)=12.(-4)(-3)=12.(−4)(−3)=12.

Therefore,

det⁡(A−λI)=λ2+3λ+2−12=λ2+3λ−10.\det(A-\lambda I) = \lambda^2+3\lambda+2-12 = \lambda^2+3\lambda-10.det(A−λI)=λ2+3λ+2−12=λ2+3λ−10.

Step 3: Set the Determinant Equal to Zero

The eigenvalue equation is

λ2+3λ−10=0.\lambda^2+3\lambda-10=0.λ2+3λ−10=0.

Factor the quadratic:

(λ+5)(λ−2)=0.(\lambda+5)(\lambda-2)=0.(λ+5)(λ−2)=0.

Therefore,

λ+5=0orλ−2=0.\lambda+5=0 \quad\text{or}\quad \lambda-2=0.λ+5=0orλ−2=0.

The eigenvalues are

λ=2andλ=−5.\boxed{\lambda=2} \qquad\text{and}\qquad \boxed{\lambda=-5}.λ=2​andλ=−5​.

The determinant equation used to find these values is called the characteristic equation. The expression obtained from the determinant,

det⁡(A−λI),\det(A-\lambda I),det(A−λI),

is commonly called the characteristic polynomial, depending on the sign convention used.


Finding Eigenvectors

After finding the eigenvalues, the corresponding eigenvectors are found one eigenvalue at a time.

For each eigenvalue λ\lambdaλ:

  1. Calculate A−λIA-\lambda IA−λI.

  2. Find the null space of A−λIA-\lambda IA−λI.

  3. Every nonzero vector in that null space is an eigenvector associated with λ\lambdaλ.

The complete null space is called the eigenspace associated with λ\lambdaλ.


Eigenvectors for λ=2\lambda=2λ=2

Start with

A=[−1−4−3−2].A= \begin{bmatrix} -1 & -4\\ -3 & -2 \end{bmatrix}.A=[−1−3​−4−2​].

Calculate

A−2I=[−1−2−4−3−2−2]=[−3−4−3−4].A-2I = \begin{bmatrix} -1-2 & -4\\ -3 & -2-2 \end{bmatrix} = \begin{bmatrix} -3 & -4\\ -3 & -4 \end{bmatrix}.A−2I=[−1−2−3​−4−2−2​]=[−3−3​−4−4​].

To find its null space, solve

(A−2I)x=0.(A-2I)\mathbf{x}=\mathbf{0}.(A−2I)x=0.

Writing x\mathbf{x}x as

x=[x1x2],\mathbf{x}= \begin{bmatrix} x_1\\ x_2 \end{bmatrix},x=[x1​x2​​],

the system is

[−3−4−3−4][x1x2]=[00].\begin{bmatrix} -3 & -4\\ -3 & -4 \end{bmatrix} \begin{bmatrix} x_1\\ x_2 \end{bmatrix} = \begin{bmatrix} 0\\ 0 \end{bmatrix}.[−3−3​−4−4​][x1​x2​​]=[00​].

The two rows are identical, so there is only one independent equation:

−3x1−4x2=0.-3x_1-4x_2=0.−3x1​−4x2​=0.

Solving for x1x_1x1​ gives

x1=−43x2.x_1=-\frac{4}{3}x_2.x1​=−34​x2​.

The variable x2x_2x2​ is free. Letting x2=tx_2=tx2​=t, the vectors in the null space have the form

x=[−43tt]=t[−431].\mathbf{x} = \begin{bmatrix} -\frac{4}{3}t\\ t \end{bmatrix} = t \begin{bmatrix} -\frac{4}{3}\\ 1 \end{bmatrix}.x=[−34​tt​]=t[−34​1​].

Thus, the eigenspace associated with λ=2\lambda=2λ=2 is

E2=span⁡{[−431]}.E_2 = \operatorname{span} \left\{ \begin{bmatrix} -\frac{4}{3}\\ 1 \end{bmatrix} \right\}.E2​=span{[−34​1​]}.

Every nonzero vector of the form

t[−431],t≠0,t \begin{bmatrix} -\frac{4}{3}\\ 1 \end{bmatrix}, \qquad t\neq 0,t[−34​1​],t=0,

is an eigenvector associated with λ=2\lambda=2λ=2.

A simpler equivalent eigenvector can be obtained by choosing t=3t=3t=3:

[−43].\begin{bmatrix} -4\\ 3 \end{bmatrix}.[−43​].

`


Eigenvectors for λ=−5\lambda=-5λ=−5

For λ=−5\lambda=-5λ=−5,

A−λI=A−(−5)I=A+5I.A-\lambda I=A-(-5)I=A+5I.A−λI=A−(−5)I=A+5I.

Add 555 to each diagonal entry:

A+5I=[−1+5−4−3−2+5]=[4−4−33].A+5I = \begin{bmatrix} -1+5 & -4\\ -3 & -2+5 \end{bmatrix} = \begin{bmatrix} 4 & -4\\ -3 & 3 \end{bmatrix}.A+5I=[−1+5−3​−4−2+5​]=[4−3​−43​].

Find the null space by solving

(A+5I)x=0.(A+5I)\mathbf{x}=\mathbf{0}.(A+5I)x=0.

This gives the system

[4−4−33][x1x2]=[00].\begin{bmatrix} 4 & -4\\ -3 & 3 \end{bmatrix} \begin{bmatrix} x_1\\ x_2 \end{bmatrix} = \begin{bmatrix} 0\\ 0 \end{bmatrix}.[4−3​−43​][x1​x2​​]=[00​].

The second row is a scalar multiple of the first, so the meaningful equation is

4x1−4x2=0.4x_1-4x_2=0.4x1​−4x2​=0.

Therefore,

x1=x2.x_1=x_2.x1​=x2​.

Let x2=tx_2=tx2​=t. Then

x=[tt]=t[11].\mathbf{x} = \begin{bmatrix} t\\ t \end{bmatrix} = t \begin{bmatrix} 1\\ 1 \end{bmatrix}.x=[tt​]=t[11​].

Thus, the eigenspace associated with λ=−5\lambda=-5λ=−5 is

E−5=span⁡{[11]}.E_{-5} = \operatorname{span} \left\{ \begin{bmatrix} 1\\ 1 \end{bmatrix} \right\}.E−5​=span{[11​]}.

Every nonzero vector of the form

t[11],t≠0,t \begin{bmatrix} 1\\ 1 \end{bmatrix}, \qquad t\neq 0,t[11​],t=0,

is an eigenvector associated with λ=−5\lambda=-5λ=−5.


Eigenspaces

For a particular eigenvalue λ\lambdaλ, the eigenspace is the null space

Eλ=Null⁡(A−λI).E_\lambda=\operatorname{Null}(A-\lambda I).Eλ​=Null(A−λI).

It contains:

  • The zero vector.

  • Every eigenvector associated with λ\lambdaλ.

  • All scalar multiples and linear combinations of those eigenvectors.

The zero vector belongs to the eigenspace because every null space contains the zero vector, but it is not itself considered an eigenvector.

For the example matrix:

  • The eigenspace for λ=2\lambda=2λ=2 is the line spanned by [−431]\begin{bmatrix}-\frac{4}{3}\\1\end{bmatrix}[−34​1​].

  • The eigenspace for λ=−5\lambda=-5λ=−5 is the line spanned by [11]\begin{bmatrix}1\\1\end{bmatrix}[11​].

An eigenspace describes all vectors that the matrix scales by the same eigenvalue.


Complete Procedure

Checking a Given Vector

To test whether a nonzero vector v\mathbf{v}v is an eigenvector of AAA:

  1. Compute AvA\mathbf{v}Av.

  2. Determine whether AvA\mathbf{v}Av is a scalar multiple of v\mathbf{v}v.

  3. If Av=λvA\mathbf{v}=\lambda\mathbf{v}Av=λv for some scalar λ\lambdaλ, then v\mathbf{v}v is an eigenvector and λ\lambdaλ is its eigenvalue.

  4. If the result is not a scalar multiple of v\mathbf{v}v, then v\mathbf{v}v is not an eigenvector.

Finding Eigenvalues

  1. Form A−λIA-\lambda IA−λI.

  2. Subtract λ\lambdaλ only from the diagonal entries of AAA.

  3. Compute det⁡(A−λI)\det(A-\lambda I)det(A−λI).

  4. Set the determinant equal to zero:

    det⁡(A−λI)=0.\det(A-\lambda I)=0.det(A−λI)=0.
  5. Solve for λ\lambdaλ.

  6. The solutions are the eigenvalues.

Finding Eigenvectors

For each eigenvalue λ\lambdaλ:

  1. Form A−λIA-\lambda IA−λI.

  2. Solve the homogeneous system

    (A−λI)v=0.(A-\lambda I)\mathbf{v}=\mathbf{0}.(A−λI)v=0.
  3. Find the null space of A−λIA-\lambda IA−λI.

  4. Express the null space using parameters and a span.

  5. Exclude the zero vector when listing the eigenvectors themselves.


Key Relationships

The central relationships among eigenvalues, eigenvectors, determinants, and null spaces are

Av=λv,A\mathbf{v}=\lambda\mathbf{v},Av=λv,
(A−λI)v=0,(A-\lambda I)\mathbf{v}=\mathbf{0},(A−λI)v=0,
v∈Null⁡(A−λI),\mathbf{v}\in\operatorname{Null}(A-\lambda I),v∈Null(A−λI),

and

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

These statements describe the same eigenvalue problem from different perspectives:

  • The first describes how the matrix scales an eigenvector.

  • The second rewrites the eigenvector equation as a homogeneous system.

  • The third identifies the eigenvector as a null-space vector.

  • The fourth provides the determinant condition used to find eigenvalues.

The determinant condition finds the possible eigenvalues, while the null-space calculation finds the corresponding eigenspaces and eigenvectors.

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent