Skip to content

Eigenvalues and Eigenvectors

The subject of eigenvalues and eigenvectors will take up most of the rest of the course. We will again be working with square matrices. Eigenvalues are special numbers associated with a matrix and eigenvectors are special vectors.

Eigenvectors and Eigenvalues

A matrix A acts on vectors x like a function does, with input x and output Ax. Eigenvectors are vectors for which Ax is parallel to x. In other words:

Ax=λx

In this equation, x is an eigenvector of A and λ is an eigenvalue of A.

Eigenvalue 0

If the eigenvalue λ equals 0 then Ax=0x=0. Vectors with eigenvalue 0 make up the nullspace of A; if A is singular, then λ=0 is an eigenvalue of A.

Examples

Suppose P is the matrix of a projection onto a plane. For any x in the plane Px=0, so this is an eigenvector with eigenvalue λ=0. The eigenvectors of P span the whole space(but his is not true for every matrix).

The matrix B=[0110] has an eigenvector x=[11] with eigenvalue 1 and another eigenvector x=[11] with eigenvalue -1. These eigenvectors span the space. They are perpendicular because B=BT (as we will prove).

det(A - \lambda I) = 0

An n by n matrix will have n eigenvalues, and their sum will be the sum of the diagonal entries of the matrix, if we know one eigenvalue we can use this fact to find the second.

Can we solve Ax=λx for the eigenvalues and eigenvectors of A? Both λ and x are unknown; we need to be clever to solve this problem:

Ax=λx(AλI)x=0

In order for x to be an eigenvector, AλI must be singular. In other words, det(AλI)=0. We can solve this characteristic equation for λ to get n solutions.

If we're lucky, the solutions are distinct. If not, we have one or more repeated eigenvalues.

Once we've found an eigenvlaue λ, we can use elimination to find the nullspace of AλI. The vectors in that nullspace are eigenvectors of A with eigenvalue λ.

Calculating Eigenvalues and Eigenvectors

Let A=[3113], then:

det(AλI)=|3λ113λ|=(3λ)21=λ26λ+8

Note that the coefficient 6 is the trace (sum of diagonal entries) and 8 is the determinant of A. In general, the eigenvlaues of a 2 by 2 matrix are the solutions to:

λ2trac(A)λ+detA=0

Just as the trace is the sum of the eigenvalues of a matrix, the product of the eigenvalues of any matrix equals its determinant.

For A=[3113], the eigenvalues are λ1=4 and λ2=2. We find the eigenvectors x1=[11] for λ1=4 in the nullspace of Aλ1I=[1111].

x2 will be in the nullsapce of A2I=[1111]. The nullspace is an entire line; x2 could be any vector on that line. A natural choice is x2=[11].

Note that these eigenvectors are the same as those of B=[0110]. Adding 3I to the matrix B=[0110] added 3 to each of its eigenvalues and did not change its eigenvectors, because Ax=(B+3I)x=λx+3x=(λ+3)x.

A caution

Similarly, if Ax=λx and Bx=αx, (A+B)x=(λ+α)x. It would be nice if the eigenvalues of a matrix sum were always the sums of eigenvalues, but this is only true if A and B have the same eigenvalues. The eigenvalues of the product AB aren't usually equal to the products λ(A)λ(B), either.

Complex eigenvalues

The matrix Q=[0110] rotates every vector in the plane by 90. It has trace 0=λ1+λ2 and determinant 1=λ1λ2. Its only real eigenvector is the zero vector; any other vector's direction changes when it is multiplied by Q. How will this affect our eigenvalue calculation?

det(AλI)=|λ11λ|=λ2+1

det(AλI)=0 has solutions λ1=i and λ2=i. If a matrix has a complex eigenvalues a+bi then the complex conjugate abi is also an eigenvalue of that matrix.

Symmetric matrices have real eigenvalues. For antisymmetric matrices like Q, for which AT=A, all eigenvalues are imaginary (λ=bi).

Triangular matrices and repeated eigenvalues

For triangular matrices such as A=[3103], the eigenvalues are exactly the entries on the diagonal. In this case, the eigenvalues are 3 and 3:

det(AλdetI)=|3λ103λ|=(3λ)(3λ)=0

so λ1=3 and λ2=3. To find the eigenvectors, solve:

(AλI)x=[0100]x=0

to get x1=[10]. There is no independent eigenvector x2.