Skip to content

Eigenvalues and eigenvectors ​

Introduction ​

Eigenvalues are special scalars associated with a linear system of equations (i.e., a matrix equation) that are sometimes also known as characteristic roots, characteristic values, proper values, or latent roots.

Eigenvectors are special vectors associated with a linear system of equations (i.e., a matrix equation) that are sometimes also known as characteristic vectors, proper vectors, or latent vectors.

Calculation ​

Let

A∈Kn×n

be a square matrix. The eigenvalues and eigenvectors of A are calculated using the following steps:

  1. Calculate the characteristic polynomial
  2. Calculate the roots of the characteristic polynomial
  3. Calculate the eigenvectors

Characteristic polynomial ​

The characteristic polynomial of a matrix is calculated using the following formula:

det(A−λI)=0

where λ is the eigenvalue of A.

Roots of the characteristic polynomial ​

The roots of the characteristic polynomial are calculated using the following formula:

λi=12(−b±b2−4ac)

where a, b, c are the coefficients of the characteristic polynomial.

Eigenvectors ​

The eigenvectors are calculated using the following formula:

(A−λiI)⋅vi=0

where vi is the eigenvector of A.

Example ​

Let

A=[2−1−13−2−3−112]

be a square matrix. The eigenvalues and eigenvectors of A are calculated using the following steps:

  1. Calculate the characteristic polynomial
  2. Calculate the roots of the characteristic polynomial
  3. Calculate the eigenvectors

Characteristic polynomial ​

The characteristic polynomial of A is calculated using the following formula:

det(A−λI)=0

where λ is the eigenvalue of A.

λI=[λ000λ000λ]det(A−λI)=|2−λ−1−13−2−λ−3−112−λ|=0

Use diagonal rule to calculate the determinant.

det(A−λI)=(2−λ)⋅(−2−λ)⋅(2−λ)+3⋅1⋅(−1)+(−1)⋅(−3)⋅(−1) ⟩− (−1)⋅(−2−λ)⋅(−1)−3⋅(−1)⋅(2−λ)−(2−λ)⋅1⋅(−3)==(2−λ)⋅(−2−λ)⋅(2−λ)−6+(2+λ)+3⋅(2−λ)+3⋅(2−λ)==(2−λ)⋅(−2−λ)⋅(2−λ)−6+2+λ+6−3λ+6−3λ==(2−λ)⋅(−2−λ)⋅(2−λ)+8−5λ==(2−λ)⋅(−4−2λ+2λ+λ2)+8−5λ==(2−λ)⋅(−4+λ2)+8−5λ==−8+2λ2+4λ−λ3+8−5λ==−λ3+2λ2−λ==−λ⋅(λ2−2λ+1)==−λ⋅(λ−1)2=0

The characteristic polynomial of A is:

λ⋅(λ−1)2=0

Roots of the characteristic polynomial ​

The roots of the characteristic polynomial are:

λ1=1, λ2=1, λ3=0

You can also say that the eigenvalues of A are:

λ1=1, λ2=1, λ3=0

Eigenvectors ​

The eigenvectors are calculated using the following formula:

(A−λiI)⋅vi=0

where vi is the eigenvector of A.

So we put eigenvalues one-by-one into the formula:

First, calculate for λ1=1:

(A−λ1I)⋅v1=0(A−1⋅I)⋅v1=0[2−1−1−13−2−1−3−112−1]⋅v1=0[1−1−13−3−3−111]⋅v1=0[1−1−13−3−3−111]→R2−3R1R3+R1[1−1−1000000]{x−y−z=00=00=0 → x=y+z

Now we can determine the eigenspace of λ1=1:

Eλ1=([xyz]| x,y,z∈K)

Substitute x=y+z:

Eλ1=([y+zyz]| y,z∈K)Eλ1=(y⋅[110]+z⋅[101]| y,z∈K)dim⁡(Eλ1)=2Eλ1=Span([110],[101])

Therefore

v1=[110], v2=[101]

There is no need to calculate for λ2, because characteristic polynomial has a double root, which means that λ1 has a multiplicity of 2.

Second, calculate for λ3=0:

(A−λ3I)⋅v2=0(A−0⋅I)⋅v2=0[2−1−13−2−3−112]⋅v2=0[2−1−13−2−3−112]→R2+2R3R1+R3[101101−112]→R3+R1R2−R1[101000013]{x+z=00=0y+3z=0 → {x=−zy=−3z

Now we can determine the eigenspace of λ3=0:

Eλ3=([xyz]| x,y,z∈K)

Substitute x=−z and y=−3z:

Eλ3=([−z−3zz]| z∈K)Eλ3=(z⋅[−1−31]| z∈K)dim⁡(Eλ3)=1Eλ3=Span([−1−31])

Therefore

v3=[−1−31]

Eigenbasis ​

Eigenbasis is a basis consisting of eigenvectors of a matrix.

If we consider previous example, then

B=([110],[101],[−1−31])

is an eigenbasis of A, assuming that vectors are linearly independent.