Processing math: 99%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

7.1: Eigenvalues and Eigenvectors of a Matrix

( \newcommand{\kernel}{\mathrm{null}\,}\)

Outcomes
  1. Describe eigenvalues geometrically and algebraically.
  2. Find eigenvalues and eigenvectors for a square matrix.

Spectral Theory refers to the study of eigenvalues and eigenvectors of a matrix. It is of fundamental importance in many areas and is the subject of our study for this chapter.

Definition of Eigenvectors and Eigenvalues

In this section, we will work with the entire set of complex numbers, denoted by C. Recall that the real numbers, R are contained in the complex numbers, so the discussions in this section apply to both real and complex numbers.

To illustrate the idea behind what will be discussed, consider the following example.

Example 7.1.1: Eigenvectors and Eigenvalues

Let A=[051002216092] Compute the product AX for X=[543],X=[100] What do you notice about AX in each of these products?

Solution

First, compute AX for X=[543]

This product is given by AX=[051002216092][543]=[504030]=10[543]

In this case, the product AX resulted in a vector which is equal to 10 times the vector X. In other words, AX=10X.

Let’s see what happens in the next product. Compute AX for the vector X=[100]

This product is given by AX=[051002216092][100]=[000]=0[100]

In this case, the product AX resulted in a vector equal to 0 times the vector X, AX=0X.

Perhaps this matrix is such that AX results in kX, for every vector X. However, consider [051002216092][111]=[53811] In this case, AX did not result in a vector of the form kX for some scalar k.

There is something special about the first two products calculated in Example 7.1.1. Notice that for each, AX=kX where k is some scalar. When this equation holds for some X and k, we call the scalar k an eigenvalue of A. We often use the special symbol λ instead of k when referring to eigenvalues. In Example 7.1.1, the values 10 and 0 are eigenvalues for the matrix A and we can label these as λ1=10 and λ2=0.

When AX=λX for some X0, we call such an X an eigenvector of the matrix A. The eigenvectors of A are associated to an eigenvalue. Hence, if λ1 is an eigenvalue of A and AX=λ1X, we can label this eigenvector as X1. Note again that in order to be an eigenvector, X must be nonzero.

There is also a geometric significance to eigenvectors. When you have a nonzero vector which, when multiplied by a matrix results in another vector which is parallel to the first or equal to 0, this vector is called an eigenvector of the matrix. This is the meaning when the vectors are in Rn.

The formal definition of eigenvalues and eigenvectors is as follows.

Definition 7.1.1: Eigenvalues and Eigenvectors

Let A be an n×n matrix and let XCn be a nonzero vector for which

AX=λX for some scalar λ. Then λ is called an eigenvalue of the matrix A and X is called an eigenvector of A associated with λ, or a λ-eigenvector of A.

The set of all eigenvalues of an n×n matrix A is denoted by σ(A) and is referred to as the spectrum of A.

The eigenvectors of a matrix A are those vectors X for which multiplication by A results in a vector in the same direction or opposite direction to X. Since the zero vector 0 has no direction this would make no sense for the zero vector. As noted above, 0 is never allowed to be an eigenvector.

Let’s look at eigenvectors in more detail. Suppose X satisfies (???). Then AXλX=0or(AλI)X=0 for some X0. Equivalently you could write (λIA)X=0, which is more commonly used. Hence, when we are looking for eigenvectors, we are looking for nontrivial solutions to this homogeneous system of equations!

Recall that the solutions to a homogeneous system of equations consist of basic solutions, and the linear combinations of those basic solutions. In this context, we call the basic solutions of the equation (λIA)X=0 basic eigenvectors. It follows that any (nonzero) linear combination of basic eigenvectors is again an eigenvector.

Suppose the matrix (λIA) is invertible, so that (λIA)1 exists. Then the following equation would be true. X=IX=((λIA)1(λIA))X=(λIA)1((λIA)X)=(λIA)10=0 This claims that X=0. However, we have required that X0. Therefore (λIA) cannot have an inverse!

Recall that if a matrix is not invertible, then its determinant is equal to 0. Therefore we can conclude that det(λIA)=0 Note that this is equivalent to det(AλI)=0.

The expression det(λIA) is a polynomial (in the variable x) called the characteristic polynomial of A, and det(λIA)=0 is called the characteristic equation. For this reason we may also refer to the eigenvalues of A as characteristic values, but the former is often used for historical reasons.

The following theorem claims that the roots of the characteristic polynomial are the eigenvalues of A. Thus when [eigen2] holds, A has a nonzero eigenvector.

Theorem 7.1.1: The Existence of an Eigenvector

Let A be an n×n matrix and suppose det(λIA)=0 for some λC.
Then λ is an eigenvalue of A and thus there exists a nonzero vector XCn such that AX=λX.

Proof

For A an n×n matrix, the method of Laplace Expansion demonstrates that det(λIA) is a polynomial of degree n. As such, the equation (???) has a solution λC by the Fundamental Theorem of Algebra. The fact that λ is an eigenvalue is left as an exercise.

Finding Eigenvectors and Eigenvalues

Now that eigenvalues and eigenvectors have been defined, we will study how to find them for a matrix A.

First, consider the following definition.

Definition 7.1.2: Multiplicity of an Eigenvalue

Let A be an n×n matrix with characteristic polynomial given by det(λIA). Then, the multiplicity of an eigenvalue λ of A is the number of times λ occurs as a root of that characteristic polynomial.

For example, suppose the characteristic polynomial of A is given by (λ2)2. Solving for the roots of this polynomial, we set (λ2)2=0 and solve for λ. We find that λ=2 is a root that occurs twice. Hence, in this case, λ=2 is an eigenvalue of A of multiplicity equal to 2.

We will now look at how to find the eigenvalues and eigenvectors for a matrix A in detail. The steps used are summarized in the following procedure.

Procedure 7.1.1: Finding Eigenvalues and Eigenvectors

Let A be an n×n matrix.

  1. First, find the eigenvalues λ of A by solving the equation det(λIA)=0.
  2. For each λ, find the basic eigenvectors X0 by finding the basic solutions to (λIA)X=0.

To verify your work, make sure that AX=λX for each λ and associated eigenvector X.

We will explore these steps further in the following example.

Example 7.1.2: Find the Eigenvalues and Eigenvectors

Let A=[5274]. Find its eigenvalues and eigenvectors.

Solution

We will use Procedure 7.1.1. First we find the eigenvalues of A by solving the equation det(λIA)=0

This gives det(λ[1001][5274])=0det[λ+527λ4]=0

Computing the determinant as usual, the result is λ2+λ6=0

Solving this equation, we find that λ1=2 and λ2=3.

Now we need to find the basic eigenvectors for each λ. First we will find the eigenvectors for λ1=2. We wish to find all vectors X0 such that AX=2X. These are the solutions to (2IA)X=0. (2[1001][5274])[xy]=[00][7272][xy]=[00]

The augmented matrix for this system and corresponding reduced row-echelon form are given by [720720][1270000]

The solution is any vector of the form [27ss]=s[271]

Multiplying this vector by 7 we obtain a simpler description for the solution to this system, given by t[27]

This gives the basic eigenvector for λ1=2 as [27]

To check, we verify that AX=2X for this basic eigenvector.

[5274][27]=[414]=2[27]

This is what we wanted, so we know this basic eigenvector is correct.

Next we will repeat this process to find the basic eigenvector for λ2=3. We wish to find all vectors X0 such that AX=3X. These are the solutions to ((3)IA)X=0. ((3)[1001][5274])[xy]=[00][2277][xy]=[00]

The augmented matrix for this system and corresponding reduced row-echelon form are given by [220770][110000]

The solution is any vector of the form [ss]=s[11]

This gives the basic eigenvector for λ2=3 as [11]

To check, we verify that AX=3X for this basic eigenvector.

[5274][11]=[33]=3[11]

This is what we wanted, so we know this basic eigenvector is correct.

The following is an example using Procedure 7.1.1 for a 3×3 matrix.

Example 7.1.3: Find the Eigenvalues and Eigencectors

Find the eigenvalues and eigenvectors for the matrix A=[51052142486]

Solution

We will use Procedure 7.1.1. First we need to find the eigenvalues of A. Recall that they are the solutions of the equation det(λIA)=0

In this case the equation is det(λ[100010001][51052142486])=0 which becomes det[λ51052λ14248λ6]=0

Using Laplace Expansion, compute this determinant and simplify. The result is the following equation. (λ5)(λ220λ+100)=0

Solving this equation, we find that the eigenvalues are λ1=5,λ2=10 and λ3=10. Notice that 10 is a root of multiplicity two due to λ220λ+100=(λ10)2 Therefore, λ2=10 is an eigenvalue of multiplicity two.

Now that we have found the eigenvalues for A, we can compute the eigenvectors.

First we will find the basic eigenvectors for λ1=5. In other words, we want to find all non-zero vectors X so that AX=5X. This requires that we solve the equation (5IA)X=0 for X as follows. (5[100010001][51052142486])[xyz]=[000]

That is you need to find the solution to [0105292481][xyz]=[000]

By now this is a familiar problem. You set up the augmented matrix and row reduce to get the solution. Thus the matrix you must row reduce is [0105029204810] The reduced row-echelon form is [10540011200000] and so the solution is any vector of the form [54s12ss]=s[54121] where sR. If we multiply this vector by 4, we obtain a simpler description for the solution to this system, as given by t[524] where tR. Here, the basic eigenvector is given by X1=[524]

Notice that we cannot let t=0 here, because this would result in the zero vector and eigenvectors are never equal to 0! Other than this value, every other choice of t in (???) results in an eigenvector.

It is a good idea to check your work! To do so, we will take the original matrix and multiply by the basic eigenvector X1. We check to see if we get 5X1. [51052142486][524]=[251020]=5[524] This is what we wanted, so we know that our calculations were correct.

Next we will find the basic eigenvectors for λ2,λ3=10. These vectors are the basic solutions to the equation, (10[100010001][51052142486])[xyz]=[000] That is you must find the solutions to [5105242484][xyz]=[000]

Consider the augmented matrix [5105024204840] The reduced row-echelon form for this matrix is [121000000000] and so the eigenvectors are of the form [2stst]=s[210]+t[101] Note that you can’t pick t and s both equal to zero because this would result in the zero vector and eigenvectors are never equal to zero.

Here, there are two basic eigenvectors, given by X2=[210],X3=[101]

Taking any (nonzero) linear combination of X2 and X3 will also result in an eigenvector for the eigenvalue λ=10. As in the case for λ=5, always check your work! For the first basic eigenvector, we can check AX2=10X2 as follows. [51052142486][101]=[10010]=10[101] This is what we wanted. Checking the second basic eigenvector, X3, is left as an exercise.

It is important to remember that for any eigenvector X, X0. However, it is possible to have eigenvalues equal to zero. This is illustrated in the following example.

Example 7.1.4: A Zero Eigenvalue

Let A=[222131111] Find the eigenvalues and eigenvectors of A.

Solution

First we find the eigenvalues of A. We will do so using Definition 7.1.1.

In order to find the eigenvalues of A, we solve the following equation. det(λIA)=det[λ2221λ3111λ1]=0

This reduces to λ36λ2+8λ=0. You can verify that the solutions are λ1=0,λ2=2,λ3=4. Notice that while eigenvectors can never equal 0, it is possible to have an eigenvalue equal to 0.

Now we will find the basic eigenvectors. For λ1=0, we need to solve the equation (0IA)X=0. This equation becomes AX=0, and so the augmented matrix for finding the solutions is given by [222013101110] The reduced row-echelon form is [101001000000] Therefore, the eigenvectors are of the form t[101] where t0 and the basic eigenvector is given by X1=[101]

We can verify that this eigenvector is correct by checking that the equation AX1=0X1 holds. The product AX1 is given by AX1=[222131111][101]=[000]

This clearly equals 0X1, so the equation holds. Hence, AX1=0X1 and so 0 is an eigenvalue of A.

Computing the other basic eigenvectors is left as an exercise.

In the following sections, we examine ways to simplify this process of finding eigenvalues and eigenvectors by using properties of special types of matrices.

Eigenvalues and Eigenvectors for Special Types of Matrices

There are three special kinds of matrices which we can use to simplify the process of finding eigenvalues and eigenvectors. Throughout this section, we will discuss similar matrices, elementary matrices, as well as triangular matrices.

We begin with a definition.

Definition 7.1.3: Similar Matrices

Let A and B be n×n matrices. Suppose there exists an invertible matrix P such that A=P1BP Then A and B are called similar matrices.

It turns out that we can use the concept of similar matrices to help us find the eigenvalues of matrices. Consider the following lemma.

Lemma 7.1.1: Similar Matrices and Eigenvalues

Let A and B be similar matrices, so that A=P1BP where A,B are n×n matrices and P is invertible. Then A,B have the same eigenvalues.

Proof

We need to show two things. First, we need to show that if A=P1BP, then A and B have the same eigenvalues. Secondly, we show that if A and B have the same eigenvalues, then A=P1BP.

Here is the proof of the first statement. Suppose A=P1BP and λ is an eigenvalue of A, that is AX=λX for some X0. Then P1BPX=λX and so BPX=λPX

Since P is one to one and X0, it follows that PX0. Here, PX plays the role of the eigenvector in this equation. Thus λ is also an eigenvalue of B. One can similarly verify that any eigenvalue of B is also an eigenvalue of A, and thus both matrices have the same eigenvalues as desired.

Proving the second statement is similar and is left as an exercise.

Note that this proof also demonstrates that the eigenvectors of A and B will (generally) be different. We see in the proof that AX=λX, while B(PX)=λ(PX). Therefore, for an eigenvalue λ, A will have the eigenvector X while B will have the eigenvector PX.

The second special type of matrices we discuss in this section is elementary matrices. Recall from Definition 2.8.1 that an elementary matrix E is obtained by applying one row operation to the identity matrix.

It is possible to use elementary matrices to simplify a matrix before searching for its eigenvalues and eigenvectors. This is illustrated in the following example.

Example 7.1.5: Simplify Using Elementary Matrices

Find the eigenvalues for the matrix A=[33105105102830206062]

Solution

This matrix has big numbers and therefore we would like to simplify as much as possible before computing the eigenvalues.

We will do so using row operations. First, add 2 times the second row to the third row. To do so, left multiply A by E(2,2). Then right multiply A by the inverse of E(2,2) as illustrated. [100010021][33105105102830206062][100010021]=[33105105103230002] By Lemma 7.1.1, the resulting matrix has the same eigenvalues as A where here, the matrix E(2,2) plays the role of P.

We do this step again, as follows. In this step, we use the elementary matrix obtained by adding 3 times the second row to the first row. [130010001][33105105103230002][130010001]=[301510230002] Again by Lemma 7.1.1, this resulting matrix has the same eigenvalues as A. At this point, we can easily find the eigenvalues. Let B=[301510230002] Then, we find the eigenvalues of B (and therefore of A) by solving the equation det(λIB)=0. You should verify that this equation becomes (λ+2)(λ+2)(λ3)=0 Solving this equation results in eigenvalues of λ1=2,λ2=2, and λ3=3. Therefore, these are also the eigenvalues of A.

Through using elementary matrices, we were able to create a matrix for which finding the eigenvalues was easier than for A. At this point, you could go back to the original matrix A and solve (λIA)X=0 to obtain the eigenvectors of A.

Notice that when you multiply on the right by an elementary matrix, you are doing the column operation defined by the elementary matrix. In (???) multiplication by the elementary matrix on the right merely involves taking three times the first column and adding to the second. Thus, without referring to the elementary matrices, the transition to the new matrix in (???) can be illustrated by [33105105103230002][3915103230002][301510230002]

The third special type of matrix we will consider in this section is the triangular matrix. Recall Definition 3.1.6 which states that an upper (lower) triangular matrix contains all zeros below (above) the main diagonal. Remember that finding the determinant of a triangular matrix is a simple procedure of taking the product of the entries on the main diagonal.. It turns out that there is also a simple way to find the eigenvalues of a triangular matrix.

In the next example we will demonstrate that the eigenvalues of a triangular matrix are the entries on the main diagonal.

Example 7.1.6: Eigenvalues for a Triangular Matrix

Let A=[124047006]. Find the eigenvalues of A.

Solution

We need to solve the equation det(λIA)=0 as follows det(λIA)=det[λ1240λ4700λ6]=(λ1)(λ4)(λ6)=0

Solving the equation (λ1)(λ4)(λ6)=0 for \lambda results in the eigenvalues \lambda_1 = 1, \lambda_2 = 4 and \lambda_3 = 6. Thus the eigenvalues are the entries on the main diagonal of the original matrix.

The same result is true for lower triangular matrices. For any triangular matrix, the eigenvalues are equal to the entries on the main diagonal. To find the eigenvectors of a triangular matrix, we use the usual procedure.

In the next section, we explore an important process involving the eigenvalues and eigenvectors of a matrix.


This page titled 7.1: Eigenvalues and Eigenvectors of a Matrix is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Ken Kuttler (Lyryx) via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?