No history yet

Eigenvalues and Eigenvectors

The Unchanging Vector

When a matrix acts on a vector, it usually transforms it, changing its direction, its length, or both. Think of a matrix as a function that takes an input vector and produces a new, output vector.

But for any given matrix, there are often special vectors that don't change their direction under the transformation. They might get stretched or shrunk, but their direction remains exactly the same. These special vectors are called eigenvectors.

An eigenvector of a matrix is a vector that is only scaled by the matrix; its direction is left unchanged.

The amount by which the eigenvector is scaled is called its eigenvalue. If the eigenvalue is 2, the eigenvector is doubled in length. If it's -0.5, it's halved and points in the opposite direction. If it's 1, it's completely unchanged.

This relationship is captured in a simple, powerful equation. If AA is a square matrix, v\vec{v} is an eigenvector, and λ\lambda (the Greek letter lambda) is its corresponding eigenvalue, then:

Av=λvA\vec{v} = \lambda\vec{v}

This equation states that the action of the matrix AA on the vector v\vec{v} is the same as just scaling v\vec{v} by the number λ\lambda. For this to be meaningful, we're only interested in non-zero eigenvectors. The zero vector always satisfies this equation, but it doesn't tell us anything useful.

Finding the Eigenvalues

How do we find these special values? We start with the defining equation and rearrange it. To work with both sides as matrices, we can rewrite the right side by multiplying λ\lambda by the identity matrix, II.

Av=(λI)vA\vec{v} = (\lambda I)\vec{v}

Now we can move everything to one side:

Av(λI)v=0A\vec{v} - (\lambda I)\vec{v} = \vec{0}

And factor out the vector v\vec{v}:

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

This equation is the key. We are looking for a non-zero vector v\vec{v} that the matrix (AλI)(A - \lambda I) transforms into the zero vector. This only happens if the matrix (AλI)(A - \lambda I) squishes space into a lower dimension. A matrix that does this has a determinant of zero.

So, to find the eigenvalues, we must find the values of λ\lambda that make this determinant zero.

This leads us to the characteristic equation: det(AλI)=0\det(A - \lambda I) = 0.

Solving this equation for λ\lambda will give us all the eigenvalues of the matrix AA. The expression det(AλI)\det(A - \lambda I) is a polynomial in λ\lambda, known as the characteristic polynomial.

Calculating Eigenvectors

Once we have the eigenvalues, finding the corresponding eigenvectors is straightforward. We take each eigenvalue one by one and plug it back into our rearranged equation:

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

For a given λ\lambda, this becomes a system of linear equations. The solutions for v\vec{v} form the set of eigenvectors for that eigenvalue. Let's walk through an example.

Suppose we have the matrix AA:

A=(3102)A = \begin{pmatrix} 3 & 1 \\ 0 & 2 \end{pmatrix}

First, we find the eigenvalues using the characteristic equation, det(AλI)=0\det(A - \lambda I) = 0.

AλI=(3102)λ(1001)=(3λ102λ)A - \lambda I = \begin{pmatrix} 3 & 1 \\ 0 & 2 \end{pmatrix} - \lambda\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} = \begin{pmatrix} 3-\lambda & 1 \\ 0 & 2-\lambda \end{pmatrix}

Now, we calculate the determinant:

det(AλI)=(3λ)(2λ)(1)(0)=0\det(A - \lambda I) = (3-\lambda)(2-\lambda) - (1)(0) = 0

This simplifies to (3λ)(2λ)=0(3-\lambda)(2-\lambda) = 0, giving us two eigenvalues: λ1=3\lambda_1 = 3 and λ2=2\lambda_2 = 2.

Next, let's find the eigenvector for each eigenvalue.

For λ1=3\lambda_1 = 3: We solve (A3I)v=0(A - 3I)\vec{v} = \vec{0}.

(331023)(xy)=(00)\begin{pmatrix} 3-3 & 1 \\ 0 & 2-3 \end{pmatrix}\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}
(0101)(xy)=(00)\begin{pmatrix} 0 & 1 \\ 0 & -1 \end{pmatrix}\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}

This matrix equation gives us the linear system 0x+1y=00x + 1y = 0 and 0x1y=00x - 1y = 0. Both equations tell us that y=0y=0. The value of xx can be anything. So, any vector of the form (x0)\begin{pmatrix} x \\ 0 \end{pmatrix} where x0x \neq 0 is an eigenvector. A simple choice is:

v1=(10)\vec{v}_1 = \begin{pmatrix} 1 \\ 0 \end{pmatrix}

For λ2=2\lambda_2 = 2: Now we solve (A2I)v=0(A - 2I)\vec{v} = \vec{0}.

(321022)(xy)=(00)\begin{pmatrix} 3-2 & 1 \\ 0 & 2-2 \end{pmatrix}\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}
(1100)(xy)=(00)\begin{pmatrix} 1 & 1 \\ 0 & 0 \end{pmatrix}\begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} 0 \\ 0 \end{pmatrix}

This gives us the equation x+y=0x+y=0, or x=yx = -y. Any vector where the x-component is the negative of the y-component is an eigenvector. If we choose y=1y=1, then x=1x=-1. A simple choice is:

v2=(11)\vec{v}_2 = \begin{pmatrix} -1 \\ 1 \end{pmatrix}

So, we've found the eigenvalues λ=3\lambda = 3 and λ=2\lambda = 2, with their corresponding eigenvectors (10)\begin{pmatrix} 1 \\ 0 \end{pmatrix} and (11)\begin{pmatrix} -1 \\ 1 \end{pmatrix}.

A Geometric View

Eigenvectors represent the axes of a linear transformation. They are the directions that are preserved. Imagine stretching a sheet of rubber. The directions in which the material is only stretched, without any rotation or shear, are the directions of the eigenvectors.

The matrix A=(3102)A = \begin{pmatrix} 3 & 1 \\ 0 & 2 \end{pmatrix} from our example performs a shear and stretch. Vectors along the x-axis, like our first eigenvector (10)\begin{pmatrix} 1 \\ 0 \end{pmatrix}, are simply stretched by a factor of 3. Vectors along the line y=xy=-x, like our second eigenvector (11)\begin{pmatrix} -1 \\ 1 \end{pmatrix}, are stretched by a factor of 2. Any other vector will have its direction changed.

The diagram shows how the eigenvectors v1\vec{v}_1 and v2\vec{v}_2 stay on the same line after being transformed by matrix AA, while another vector u\vec{u} is knocked off its original line. This geometric property is what makes eigenvectors and eigenvalues so fundamental to understanding the behavior of matrices.

Quiz Questions 1/5

What is the defining characteristic of a non-zero eigenvector of a matrix A?

Quiz Questions 2/5

Which equation is solved to find the eigenvalues (λ\lambda) of a square matrix A?