Differential Equations

Eigenvalue and Eigenvectors<!-- --> | Differential Equations

Eigenvalue and Eigenvectors

Sharan Sajiv Menon - August 16th, 2022


Eigenvalues and Eigenvectors

Eigenvalues and Eigenvectors are important for solving systems of differential equations.

According to Wikipedia, Eigenvalues and Eigenvectors are defined as

In linear algebra, an eigenvector (/ˈaɪɡənˌvɛktər/) or characteristic vector of a linear transformation is a nonzero vector that changes at most by a scalar factor when that linear transformation is applied to it. The corresponding eigenvalue, often denoted by λ{\displaystyle \lambda }, is the factor by which the eigenvector is scaled.

You start by finding the eigenvalues, then the eigenvector. These methods only work on square matrices, which should be fine for solving systems of differential equations.

Finding Eigenvalues

For a square matrix AA, the eigenvalue and eigenvector will make the following equation true:

Av=λv(1)Av={\lambda}v \tag{1}

Where vv is the eigenvector and λ\lambda is the eigenvalue. Square matrices tend to have multiple eigenvalues, and multiple eigenvectors.

To find an eigenvalue, one must solve the characteristic equation for the matrix.

AλI=0(2)|A-{\lambda}I=0| \tag{2}

Where II is the identity matrix. Also the | symbol does not mean absolute value but the determinant of the resultant matrix.

Example 1: Find the eigenvalues of the following matrix

A=(6345)A=\begin{pmatrix} -6 & 3 \\ 4 & 5 \end{pmatrix}

The characteristic equation for the above matrix will be the following.

(6345)λ(1001)=0|\begin{pmatrix} -6 & 3 \\ 4 & 5 \end{pmatrix}- \lambda\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}| = 0

Simplify that to get the following determinant matrix

6λ345λ=0\begin{vmatrix} -6-\lambda & 3 \\ 4 & 5-\lambda \end{vmatrix}=0

Now we just have to take the determinant of the left, and that should yield an equation which can be solved for λ\lambda.

(6λ)(5λ)12=0(-6-\lambda)(5-\lambda)-12=0

The above is a quadratic equation which can be simplified into this.

λ2+λ42=0\lambda^2+\lambda-42=0

Now, solve for λ\lambda using a quadratic equation solving method. You should get λ=7 or 6\lambda=-7 \text{ or } 6.

The eigenvalues of our square matrix AA are -7 and 6. With these eigenvalues, we can now find eigenvectors.

Finding Eigenvectors.

To find eigenvectors, we solve the following equation for all the eigenvalues of a matrix.

Av=λvAv={\lambda}v

Remember that vv is the eigenvector. We can make this simpler by changing the equation to the following:

(Aλi)v=0(3)(A-\lambda_i)v=0 \tag{3}

Solving the equation for vv will find the eigenvector for an eigenvalue. λi\lambda_i is the identity matrix with λ\lambda as the coefficent.

Example 1 Continued: Find the eigenvectors for the following matrix

A=(6345)A=\begin{pmatrix} -6 & 3 \\ 4 & 5 \end{pmatrix}

To find the eigenvectors for this matrix, we need the eigenvalues. Since this is the matrix from example 1, we already have the eigenvalues.

λ=7 or 6\lambda=-7 \text{ or } 6

Now, we have to plug each value into Equation 3 which was shown above. We will start with λ=6\lambda = 6.

Start by finding (Aλi)(A-\lambda_i) and set it equal to BB

(6345)6(1001)=(12341)=B\begin{pmatrix} -6 & 3 \\ 4 & 5 \end{pmatrix}- 6\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}= \begin{pmatrix} -12 & 3 \\ 4 & -1 \end{pmatrix}=B

So now we have Bv=0Bv=0 because B=(Aλi)B=(A-\lambda_i). This is a matrix system of equations which can be solved by traditional matrix methods.

(12341)(xy)=0\begin{pmatrix} -12 & 3 \\ 4 & -1 \end{pmatrix}\begin{pmatrix} x \\ y \end{pmatrix}=0

This is a simple system of equations, it can be solved using matrix methods or traditional methods like substitution. Once xx and yy are found, plug that into the following equation to find eigenvector vv

v=(xy)v=\begin{pmatrix} x \\ y \end{pmatrix}

Solving the following system gets us x=1x=1 and y=4y=4. So the eigenvector for λ=6\lambda=6 is

v=(14)v=\begin{pmatrix} 1 \\ 4 \end{pmatrix}

Now, repeat the same process for λ=7\lambda=-7.

Start by finding (Aλi)(A-\lambda_i) and set it equal to BB

(6345)(7)(1001)=(13412)=B\begin{pmatrix} -6 & 3 \\ 4 & 5 \end{pmatrix}- (-7)\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}= \begin{pmatrix} 1 & 3 \\ 4 & 12 \end{pmatrix}=B

Do the Bv=0Bv=0 next.

(13412)(xy)=0\begin{pmatrix} 1 & 3 \\ 4 & 12 \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix}=0

Solve this system of equations to get a value of vv.

v=(31)v = \begin{pmatrix} -3 \\ 1 \end{pmatrix}

Verifying eigenvalues/vectors

To verify eigenvalues and eigenvectors, just plug the value and the vector into equation 1

Av=λvAv={\lambda}v

If both sides are equal, then the eigenvalue and eigenvector work.

Example 1 continued: Verify the found eigenvalues and eigenvectors.

Start with λ=6\lambda=6

(6345)(14)=6(14)\begin{pmatrix} -6 & 3 \\ 4 & 5 \end{pmatrix}\begin{pmatrix} 1 \\ 4 \end{pmatrix}=6\begin{pmatrix} 1 \\ 4 \end{pmatrix}

Matrix multiply the left side and simplify the right side to get the following result:

(624)=(624)\begin{pmatrix} 6 \\ 24 \end{pmatrix}=\begin{pmatrix} 6 \\ 24 \end{pmatrix}

Because both sides are equal, λ=6\lambda=6 is a valid eigenvalue.

To verify λ=7\lambda=-7, just repeat the same process with the corresponding vector for λ=7\lambda=-7.

(6345)(31)=7(31)\begin{pmatrix} -6 & 3 \\ 4 & 5 \end{pmatrix}\begin{pmatrix} -3 \\ 1 \end{pmatrix}=-7\begin{pmatrix} -3 \\ 1 \end{pmatrix}

Simplifying that will give the following answer.

(217)=(217)\begin{pmatrix} 21 \\ -7 \end{pmatrix}=\begin{pmatrix} 21 \\ -7 \end{pmatrix}

Again, both sides are equal so λ=7\lambda=7 and its corresponding eigenvector are valid.

Created by Sharan Sajiv Menon, © 2022