pretiosus.io

Eigenvalues and Eigenvectors

Topic

Tags

Linear-Algebra
Matrix

Eigenvalues and Eigenvectors of a Linear Transformation describe the change in the system. The eigenvalues are denoted by the symbol λ\lambda, which relates to the magnitude of the transformation. Whereas, the eigenvector represents the way of transformation, such as a rotation or change in size.

A visual representation of a transformation can be seen below. Let's say we start with a unit square, dimensions 1-by-1. Now after applying a specific transformation the unit square deforms into the green parallelogram. The way of transforming an object by a rotation or magnification is described in the eigenvector. The size of this transformation is stored in the eigenvalue.

Visualization of the eigenvalues and eigenvectors
Visualization of the eigenvalues and eigenvectors

Mathematically a linear transformation can be described by a n-by-n matrix A. For the matrix the following formula can be used for solving for the eigenvalues and eigenvectors.

Av=λv\begin{equation} Av = \lambda v \end{equation}

with the transformation matrix A, the eigenvalues λ\lambda and eigenvectors vv.

Eigenvalues λ\lambda

If we want to solve for the eigenvalues λ\lambda equation (1) should be stated as

(AλI)v=0\begin{equation} (A-\lambda I)v = 0 \end{equation}

where II is the Identity-matrix and 00 the zero vector both with dimensions n-by-n.

There only exists a nonzero solution for the eigenvectors vv if and only if the determinant of equation 2 is zero. Therefore, equation 2 can be rewritten into equation 3.

det(AλI)=0\begin{equation} \det(A-\lambda I) = 0 \end{equation}

Since A is a n-by-n matrix, the polynomial that results from equation 3 will also be of degree n. This polynomial is also called the characteristic polynomial. From the characteristic polynomial each eigenvalue can be computed by solving the polynomial. This is shown in the example at the end of this page.

Eigenvectors vv

Now for each uniquely found eigenvalue λ\lambda there exists an unique eigenvector vv. The eigenvectors can be computed by substituting each λi\lambda_i into equation 2 and by knowing that the resulting system should be zero for every vv the eigenvectors can be found.

(AλiI)vi=0\begin{equation} (A-\lambda_i I) v_i = 0 \end{equation}

Example

A concise example is shown below for both computing the eigenvalues and eigenvectors. In this example the following transformation A matrix is considered

A=[2112]\mathbf{A} = \left[\begin{array} {cc} 2 & 1 \\ 1 & 2 \end{array}\right]

First the determinant of the transformation matrix a is computed this results into the characteristic polynomial as shown below.

det(AλI)=[2λ112λ]=λ24λ+3\det(A-\lambda I) = \left[\begin{array} {cc} 2-\lambda & 1 \\ 1 & 2-\lambda \end{array}\right] = \lambda^2 - 4\lambda + 3

By solving the characteristic polynomial, n eigenvalues can be found namely

λ1=1,λ2=3\lambda_1 = 1, \lambda_2 = 3

By substituting λ1\lambda_1 and λ2\lambda_2 into equation 4, the corresponding eigenvectors are found. As there can be seen a system is obtained form substituting the eigenvalues. Since there are two equations and also two unknowns the system can be solved by substitution.

Solving for λ1\lambda_1

(AI)vλ=1=[211121][v1v2]=0(A-I)v_{\lambda=1} = \left[\begin{array} {cc} 2-1 & 1 \\ 1 & 2-1 \end{array}\right]\left[\begin{array} {c} v_{1} \\ v_{2} \end{array}\right] = 0
v1+v2=0v_1 + v_2 = 0
v1=v2v_1 = -v_2
vλ=1=[v1v1]=[11]v_{\lambda=1} = \left[\begin{array} {c} v_{1} \\ -v_{1} \end{array}\right] = \left[\begin{array} {c} 1 \\ -1 \end{array}\right]

Solving for λ2\lambda_2

(A3I)vλ=3=[231123][v1v2]=0(A-3I)v_{\lambda=3} = \left[\begin{array} {cc} 2-3 & 1 \\ 1 & 2-3 \end{array}\right]\left[\begin{array} {c} v_{1} \\ v_{2} \end{array}\right] = 0
v1+v2=0-v_1 + v_2 = 0
v1v2=0v_1 - v_2 = 0
v1=v2v_1 = v_2
vλ=3=[v1v2]=[11]v_{\lambda=3} = \left[\begin{array} {c} v_{1} \\ v_{2} \end{array}\right] = \left[\begin{array} {c} 1 \\ 1 \end{array}\right]

It is important to note that any other multiplicity of the eigenvector is also an eigenvector of the transformation matrix A. Such another multiplicity can be of the for

vλ=1=[22]v_{\lambda=1} = \left[\begin{array} {c} 2 \\ -2 \end{array}\right]

Now by knowing this we can extend the usage of eigenvalues and eigenvectors. Interesting applications where this math can be applied to is for example in a dynamic analysis or for checking the stability of a system.