Skip to main content
Logo image

Coordinated Linear Algebra

Section 8.1 Eigenvalues and Eigenvectors

At several places in this course it has been valuable to restrict ourselves to square matrices, and we do so again when discussing eigenvalues and eigenvectors. In Theorem 6.2.12, we proved that any \(n \times n\) matrix induces a linear transformation from \(\R^n\) to itself. For our first few examples, let us consider the case \(n = 2\text{.}\)

Exploration 8.1.1.

Let
\begin{equation*} A=\begin{bmatrix} 2\amp 1\\ 1\amp 2\end{bmatrix}. \end{equation*}
The following animation helps us to visualize the matrix transformation associated with \(A\text{.}\) Given a vector \(\mathbf{x}\) in \(\R^2\text{,}\) its image, \(A\mathbf{x}\text{,}\) is also in \(\R^2\text{.}\) Advance the slider to see the images of the given vectors.
Figure 8.1.1. A larger version of this activity is available here
 1 
geogebra.org
.
For many vectors, \(A\mathbf{x}\) does not point in the same direction as \(\mathbf{x}\text{.}\) This is the case for all of the gray vectors in the animation, as we can see that \(A\mathbf{x}\) points in a different direction than \(\mathbf{x}\text{.}\) But if we look at the red vectors (vectors parallel to \([-1,1]\)), we notice that they appear unchanged in magnitude and direction. Such vectors are sometimes called fixed vectors of \(A\text{.}\) Looking next at the blue vectors (vectors parallel to \([1,1]\)), we observe that the magnitudes of the vectors are changed, but the direction in which the blue vectors point is unchanged by this linear transformation.
In Exploration 8.1.1 we found that certain vectors do not change direction under the linear transformation induced by matrix \(A\text{.}\) Such vectors are examples of eigenvectors of \(A\text{.}\) In general, any nonzero vector whose image under a matrix transformation is parallel to the original vector is called an eigenvector of the matrix that induced the transformation. The following definition captures this idea algebraically.

Definition 8.1.2.

Let \(A\) be an \(n \times n\) matrix. We say that a non-zero vector \(\mathbf{x}\) is an eigenvector of \(A\) if
\begin{equation*} A\mathbf{x} = \lambda \mathbf{x}, \end{equation*}
for some scalar \(\lambda\text{.}\) We say that \(\lambda\) is an eigenvalue of \(A\) associated with the eigenvector \(\mathbf{x}\text{.}\)
Let’s revisit Exploration 8.1.1 in light of Definition 8.1.2. In the exploration, we observed visually that vectors parallel to \([1,1]\) were eigenvectors associated with
\begin{equation*} A=\begin{bmatrix} 2\amp 1\\ 1\amp 2 \end{bmatrix}, \end{equation*}
as these vectors changed length but remained parallel to the original vector under the linear transformation induced by \(A\text{.}\) To verify this algebraically, observe that all vectors parallel to \([1,1]\) can be written in the form \([a,a]\text{,}\) \((a\neq 0)\text{.}\) We compute
\begin{equation*} \begin{bmatrix} 2\amp 1\\ 1\amp 2 \end{bmatrix} \begin{bmatrix} a\\ a \end{bmatrix} = \begin{bmatrix} 3a\\ 3a \end{bmatrix}= 3 \begin{bmatrix} a\\ a \end{bmatrix}. \end{equation*}
This shows that any non-zero scalar multiple of \([1,1]\) is an eigenvector of \(A\) which has a corresponding eigenvalue of 3.
Eigenvalue property drawn
Fixed vectors of Exploration 8.1.1 are also eigenvectors. For example,
\begin{equation*} \begin{bmatrix} 2\amp 1\\ 1\amp 2 \end{bmatrix} \begin{bmatrix} 1\\ -1 \end{bmatrix} = \begin{bmatrix} 1\\ -1 \end{bmatrix}= 1 \begin{bmatrix} 1\\ -1 \end{bmatrix}. \end{equation*}
This shows that \([1,-1]\) is a fixed vector and an eigenvector of \(A\) which has a corresponding eigenvalue of \(1\text{.}\)
The above discussion leads us to the following result.

Proof.

Observation 8.1.4.

A couple of finer points of Definition 8.1.2 require clarification.
  • The definition requires that eigenvectors be non-zero. Imagine what would happen if we allowed \(\mathbf{x}=\mathbf{0}\) to be an eigenvector of \(A\text{.}\) Clearly \(A\mathbf{0}=\lambda\mathbf{0}\) for all scalars \(\lambda\text{.}\) This means that every number would be an eigenvalue of every matrix. Because eigenvalues are supposed to capture certain information about the matrix, allowing every number to be an eigenvalue of every matrix would defeat the purpose.
  • Until now, we had talked about eigenvectors as vectors whose images under a matrix transformation are parallel to the original vectors. But the algebraic definition allows non-zero vectors that map to zero to be considered eigenvectors. (What would an eigenvalue of such an eigenvector be?) The zero vector has no direction, so we cannot say that the image of such an eigenvector is parallel to the original vector. However, Example 8.1.5 will illustrate this point.
The observations are exemplified in detail below.

Example 8.1.5.

Let
\begin{equation*} P=\begin{bmatrix} 1\amp 0\\ 0\amp 0\end{bmatrix}. \end{equation*}
Note that \(P\) takes a vector in \(\R^2\) and projects it onto the \(x\)-axis, as we learned in Exercise 6.2.7.16.
Which vectors in \(\R^2\) would be the eigenvectors, and what are the corresponding eigenvalues?
Answer.
Since \(P\mathbf{x}\) is the projection of \(\mathbf{x}\) onto the \(x\)-axis, in many cases \(P\mathbf{x}\) and \(\mathbf{x}\) are not parallel. Notice, however, that all of the red vectors located along the \(x\)-axis in the diagram are fixed by \(P\text{.}\) So, for any of the red vectors we have \(P\mathbf{x}=\mathbf{x}=1\mathbf{x}\text{,}\) which means that each of the red vectors is an eigenvector of \(P\) with the corresponding eigenvalue of \(1\text{.}\)
Two eigenvectors graphed
The blue vectors along the y-axis are also eigenvectors. To see this, note that each of the blue vectors is of the form \(\mathbf{x}=[0,x_2]\text{.}\) But then
\begin{equation*} P\mathbf{x}=\begin{bmatrix}1\amp 0\\0\amp 0\end{bmatrix}\begin{bmatrix}0\\x_2\end{bmatrix}=\begin{bmatrix}0\\0\end{bmatrix}=0\begin{bmatrix}0\\x_2\end{bmatrix}=0\mathbf{x}. \end{equation*}
So each of the blue vectors is an eigenvector of \(P\) with the corresponding eigenvalue of \(0\text{.}\)

Exploration 8.1.2.

Let
\begin{equation*} A=\begin{bmatrix}1\amp 6\\1\amp 0\end{bmatrix}. \end{equation*}
The GeoGebra interactive below shows the action of \(A\) on several vectors. (Move the slider to \(s=1\) to see the result of the transformation induced by \(A\text{.}\))
Figure 8.1.6.

Problem 8.1.7.

Note that vectors
\begin{equation*} \mathbf{x}_1=\begin{bmatrix}3\\1\end{bmatrix} \text{ and } \mathbf{x}_2=\begin{bmatrix}-2\\1\end{bmatrix} \end{equation*}
(and their scalar multiples) remain positioned along the same lines even as they change magnitude and direction. This indicates that \(\mathbf{x}_1\) and \(\mathbf{x}_2\text{,}\) along with all of their scalar multiples, are eigenvectors of \(A\text{.}\) What are the eigenvalues associated with these eigenvectors?
Hint.
The interactive shows the result of multiplication by \(A\text{.}\) Consider one eigenvector at a time. Multiplication by what scalar would yield the same result?
Answer.
Eigenvalue associated with \(\mathbf{x}_1\) is \(\lambda_1=3\text{.}\)
Eigenvalue associated with \(\mathbf{x}_2\) is \(\lambda_2=-2\text{.}\)
A natural question is this: does every square matrix have eigenvalues and eigenvectors? We will address this question in later sections and there discover that the answer to this question is ``yes", provided that we permit eigenvalues and entries of eigenvectors to be complex numbers.
The next example is one that requires complex numbers.

Example 8.1.8.

Let
\begin{equation*} M=\begin{bmatrix} \frac{\sqrt{2}}{2} \amp -\frac{\sqrt{2}}{2}\\ \frac{\sqrt{2}}{2} \amp \frac{\sqrt{2}}{2}. \end{bmatrix} \end{equation*}
Note that \(M\) takes any vector \(\mathbf{x}\) in \(\R^2\) and rotates it \(45^{\circ}\text{,}\) as we saw in Example 6.4.4.
\begin{center}
Rotations graphed
Continuation of above
Since \(M\) rotates every vector in \(\R^2\text{,}\) every nonzero vector changes direction, so there are no eigenvectors in the plane. It turns out that \(M\) does have eigenvectors and eigenvalues, but in order to find them we need to work with vectors whose entries are complex numbers. Since these vectors are not in \(\R^2\text{,}\) we cannot see them.
To follow the computation below, you need to recall that the imaginary unit \(i\) is defined to by \(i^2=-1\text{.}\)
Consider the vector
\begin{equation*} \begin{bmatrix} \frac{\sqrt{2}}{2}\\ \frac{\sqrt{2}}{2} i \end{bmatrix}. \end{equation*}
We compute:
\begin{equation*} \begin{bmatrix} \frac{\sqrt{2}}{2} \amp -\frac{\sqrt{2}}{2}\\ \frac{\sqrt{2}}{2} \amp \frac{\sqrt{2}}{2} \end{bmatrix} \begin{bmatrix} \frac{\sqrt{2}}{2}\\ \frac{\sqrt{2}}{2} i \end{bmatrix} = \begin{bmatrix} \frac{1}{2}-\frac{1}{2} i\\ \frac{1}{2}+ \frac{1}{2} i \end{bmatrix}= \left (\frac{\sqrt{2}}{2}-\frac{\sqrt{2}}{2}i \right ) \begin{bmatrix} \frac{\sqrt{2}}{2}\\ \frac{\sqrt{2}}{2} i \end{bmatrix}, \end{equation*}
so \(\begin{bmatrix} \frac{\sqrt{2}}{2}\\ \frac{\sqrt{2}}{2} i \end{bmatrix}\) is an eigenvector of \(M\text{.}\) Its corresponding eigenvalue is
\begin{equation*} \frac{\sqrt{2}}{2}-\frac{\sqrt{2}}{2}i. \end{equation*}
We will continue to work with complex numbers as we study eigenvalues and eigenvectors.

Remark 8.1.9.

The first in-depth study of eigenvalues can probably be attributed to Fourier as he studied partial differential equations early in the nineteenth century, and in particular when he studied what is known as the heat equation. By the twentieth century mathematicians understood the connections between differential equations and eigenvalues. Systems of differential equations are often best represented by matrices, especially in the context of using computers to find numerical solutions. Most algorithms to solve these systems work by iterating some process, and eigenvalues along with their corresponding eigenvectors indicate what will happen to such a process after many repetitions.

Subsection 8.1.1 The Characteristic Equation

Let \(A\) be an \(n \times n\) matrix. In the first sections, we learned that the eigenvectors and eigenvalues of \(A\) are vectors \(\mathbf{x}\) and scalars \(\lambda\) that satisfy the equation
\begin{equation} A \mathbf{x} = \lambda \mathbf{x}.\tag{8.1.1} \end{equation}
We listed a few reasons why we are interested in finding eigenvalues and eigenvectors, but we did not give any process for finding them. In this section we will focus on a process which can be used for small matrices. For larger matrices, the best methods we have are iterative methods, and we will explore some of these in later sections.
For an \(n \times n\) matrix, we will see that the eigenvalues are the roots of a polynomial called the characteristic polynomial. So finding eigenvalues is equivalent to solving a polynomial equation of degree \(n\text{.}\) Finding the corresponding eigenvectors turns out to be a matter of computing the null space of a matrix, as the following exploration demonstrates.

Exploration 8.1.3.

If a vector \(\mathbf{x}\) is an eigenvector satisfying (8.1.1), then clearly it also satisfies \(A\mathbf{x}-\lambda \mathbf{x} = \mathbf{0} \text{.}\) It seems natural at this point to try to factor. We would love to ``factor out’’ \(\mathbf{x}\text{.}\) Here is the procedure:
\begin{align*} A\mathbf{x}-\lambda \mathbf{x} \amp = \mathbf{0}, \\ A\mathbf{x}-\lambda I\mathbf{x} \amp = \mathbf{0}, \\ (A-\lambda I)\mathbf{x} \amp = \mathbf{0}. \end{align*}
The middle step was necessary before factoring because we cannot subtract a \(1 \times 1\) scalar \(\lambda\) from an \(n \times n\) matrix \(A\text{.}\)
In the spirit of connecting eigenvalues to previous notions, the following questions are intended to keep you linking concepts together.
Problem 8.1.10.
Does the above show that any eigenvector \(\mathbf{x}\) of \(A\) is in the row space, column space or the null space of the related matrix, \(A-\lambda I\text{?}\)
Answer.
The null space.
Problem 8.1.11.
Since eigenvectors are non-zero vectors, this means that \(A\) will have eigenvectors if and only if the null space of \(A-\lambda I\) is nontrivial. Which option is correct of the following is correct? The only way that \(\mbox{null}(A-\lambda I)\) can be nontrivial is if \(\mbox{rank}(A-\lambda I)\) is equal to, less than or greater than \(n \text{.}\)
Answer.
Less than \(n \text{.}\)
If the rank of an \(n \times n\) matrix is less than \(n\text{,}\) then the matrix is singular. Since \((A-\lambda I)\) must be singular for any eigenvalue \(\lambda\text{,}\) we see that \(\lambda\) is an eigenvalue of \(A\) if and only if
\begin{equation} \mbox{det}(A-\lambda I) = 0\tag{8.1.2} \end{equation}
In theory, Exploration 8.1.3 offers us a way to find eigenvalues. To find the eigenvalues of \(A\text{,}\) one can solve (8.1.2) for \(\lambda\text{.}\)

Subsection 8.1.2 Eigenvalues

Definition 8.1.12.

The equation
\begin{equation*} \mbox{det}(A-\lambda I) = 0 \end{equation*}
is called the characteristic equation of \(A\text{.}\)
The characteristic equation is perhaps the most computational approach to finding eigenvalues. As such, examples are important to run through:

Example 8.1.13.

Let
\begin{equation*} A=\begin{bmatrix} 2\amp 1\\ 1\amp 2. \end{bmatrix} \end{equation*}
Compute the eigenvalues of this matrix using the characteristic equation.
Answer.
\begin{align*} \det(A-\lambda I) \amp =\begin{vmatrix}2-\lambda\amp 1\\1\amp 2-\lambda\end{vmatrix} \\ \amp =(2-\lambda)^2-1 \\ \amp =\lambda^2-4\lambda+3 \\ \amp =(\lambda-1)(\lambda-3). \end{align*}
The characteristic equation \((\lambda-1)(\lambda-3)=0\) has solutions \(\lambda_1=1\) and \(\lambda_2=3\text{.}\) These are the eigenvalues of \(A\text{.}\)

Example 8.1.14.

Let
\begin{equation*} B=\begin{bmatrix} 2\amp 1\\ 4\amp 2 \end{bmatrix}. \end{equation*}
Problem 8.1.15.
Compute the eigenvalues of \(B\) using the characteristic equation. (List your answers in an increasing order.)
Answer.
\begin{equation*} \lambda_1=0 \quad \text{and} \quad \lambda_2=4. \end{equation*}

Example 8.1.16.

Let
\begin{equation*} C=\begin{bmatrix} 2 \amp 1 \amp 1\\ 1 \amp 2 \amp 1\\ 1 \amp 1 \amp 2\end{bmatrix}. \end{equation*}
Compute the eigenvalues of \(C\) using the characteristic equation.
Answer.
\begin{align*} \det(C-\lambda I)\amp =\begin{vmatrix}2-\lambda \amp 1 \amp 1\\ 1 \amp 2-\lambda \amp 1\\ 1 \amp 1 \amp 2-\lambda\end{vmatrix} \\ \amp =(2-\lambda)\begin{vmatrix}2-\lambda\amp 1\\1\amp 2-\lambda\end{vmatrix}-1\begin{vmatrix}1\amp 1\\1\amp 2-\lambda\end{vmatrix}+1\begin{vmatrix}1\amp 2-\lambda\\1\amp 1\end{vmatrix} \\ \amp =(2-\lambda)^3-(2-\lambda)-((2-\lambda)-1)+1-(2-\lambda) \\ \amp =8-12\lambda+6\lambda^2-\lambda^3-2+\lambda-2+\lambda+1+1-2+\lambda \\ \amp =4-9\lambda+6\lambda^2-\lambda^3 \\ \amp =-(\lambda-4)(\lambda-1)^2. \end{align*}
Matrix \(C\) has eigenvalues \(\lambda_1=1\) and \(\lambda_2=4\text{.}\)
In Example 8.1.16, the factor \((\lambda-1)\) appears twice. This repeated factor gives rise to the eigenvalue \(\lambda_1=1\text{.}\) We say that the eigenvalue \(\lambda_1=1\) has algebraic multiplicity \(2\text{.}\)
The three examples above are a bit contrived. It is not always possible to completely factor the characteristic polynomial using only real numbers. However, a fundamental fact from algebra is that every degree \(n\) polynomial has \(n\) roots (counting multiplicity) provided that we allow complex numbers. This is why sometimes eigenvalues and their corresponding eigenvectors involve complex numbers. The next example highlights this point.

Example 8.1.17.

Let
\begin{equation*} D=\begin{bmatrix} 0\amp 0\amp 0\\ 0 \amp 1\amp 1\\ 0 \amp -1\amp 1\end{bmatrix}. \end{equation*}
Compute the eigenvalues of this matrix.
Answer.
\begin{align*} \det(D-\lambda I)\amp =\begin{vmatrix} -\lambda\amp 0\amp 0\\ 0 \amp 1-\lambda\amp 1\\ 0 \amp -1\amp 1-\lambda\end{vmatrix} \\ \amp =-\lambda\begin{vmatrix}1-\lambda\amp 1\\-1\amp 1-\lambda\end{vmatrix} \\ \amp =-\lambda((1-\lambda)^2+1) \\ \amp =-\lambda(\lambda^2-2\lambda+2). \end{align*}
So one of the eigenvalues of \(D\) is \(\lambda=0\text{.}\) To get the other eigenvalues we must solve \(\lambda^2-2\lambda+2=0\text{.}\) Using the quadratic formula, we compute that \(\lambda_1=1+i\) and \(\lambda_2=1-i\) are also eigenvalues of \(D\text{.}\)

Exploration 8.1.4.

Let
\begin{equation*} T=\begin{bmatrix} 1 \amp 2 \amp 3\\ 0 \amp 5 \amp 6\\ 0 \amp 0 \amp 9\end{bmatrix}. \end{equation*}
Problem 8.1.18.
Compute the eigenvalues of this matrix. (Hint: The eigenvalues are the diagonal entries of the matrix.)
Answer.
\begin{equation*} \lambda_1=1,\quad\lambda_2=5,\quad\text{and}\quad\lambda_3=9. \end{equation*}
What do you observe about the eigenvalues? What property of the matrix makes this ``coincidence" possible? (Hint: \(T\) is a triangular matrix).
The matrix in Exploration 8.1.4 is a triangular matrix, and the property you observed holds in general.

Proof.

One final note about eigenvalues. We began this section with the sentence, "In theory, then, to find the eigenvalues of \(A\text{,}\) one can solve (8.1.2) for \(\lambda\text{.}\)" In general, one does not attempt to compute eigenvalues by solving the characteristic equation of a matrix, as there is no simple way to solve this polynomial equation for \(n\gt 4\text{.}\) Instead, one can often approximate the eigenvalues using iterative methods.

Subsection 8.1.3 Eigenvectors

Once we have computed an eigenvalue \(\lambda\) of an \(n \times n\) matrix \(A\text{,}\) the next step is to compute the associated eigenvectors. In other words, we seek vectors \(\mathbf{x}\) such that \(A\mathbf{x}=\lambda \mathbf{x}\text{,}\) or equivalently,
\begin{equation} (A-\lambda I) \mathbf{x}=\mathbf{0}.\tag{8.1.3} \end{equation}
For any given eigenvalue \(\lambda\) there are infinitely many eigenvectors associated with it. In fact, the eigenvectors associated with \(\lambda\) form a subspace of \(\R^n\text{.}\)

Proof.

This motivates the following definition.

Definition 8.1.22.

The set of all eigenvectors associated with a given eigenvalue of a matrix is known as the eigenspace associated with that eigenvalue.
So given an eigenvalue \(\lambda\text{,}\) there is an associated eigenspace \(\mathcal{S}\text{,}\) and our goal is to find a basis of \(\mathcal{S}\text{,}\) for then any eigenvector \(\mathbf{x}\) will be a linear combination of the vectors in that basis. Moreover, we are trying to find a basis for the set of vectors that satisfy (8.1.3), which means we seek a basis for \(\mbox{null}(A-\lambda I)\text{.}\) We have already learned how to compute a basis of a null space.
Let’s return to the examples we did in the first part of this section.

Example 8.1.23.

(Finding eigenvectors for Example 8.1.13) Recall that
\begin{equation*} A=\begin{bmatrix} 2\amp 1\\ 1\amp 2 \end{bmatrix} \end{equation*}
has eigenvalues \(\lambda_1=1\) and \(\lambda_2=3\text{.}\) Compute a basis for the eigenspace associated with each of these eigenvalues.
Answer.
Eigenvectors associated with the eigenvalue \(\lambda_1=1\) are in the null space of \(A-I\text{.}\) So we seek a basis for \(\mbox{null}(A-I)\text{.}\) We compute:
\begin{equation*} \mbox{rref}(A-I)=\mbox{rref}\left (\begin{bmatrix}1\amp 1\\1\amp 1\end{bmatrix}\right ) =\begin{bmatrix}1\amp 1\\0\amp 0\end{bmatrix}. \end{equation*}
From this we see that the eigenspace \(\mathcal{S}_1\) associated with \(\lambda_1=1\) consists of vectors of the form \([-1,1]t\text{.}\) This means that \(\left\{[-1,1]\right\}\) is one possible basis for \(\mathcal{S}_1\text{.}\)
In a similar way, we compute a basis for \(\mathcal{S}_3\text{,}\) the subspace of all eigenvectors associated with the eigenvalue \(\lambda_2=3\text{.}\) Now we compute:
\begin{equation*} \mbox{rref}(A-3I)=\mbox{rref}\left(\begin{bmatrix}-1\amp 1\\1\amp -1\end{bmatrix}\right)=\begin{bmatrix}1\amp -1\\0\amp 0\end{bmatrix}, \end{equation*}
Vectors in the null space have the form \([1,1]t\) This means that \({ [1,1] }\) is one possible basis for the eigenspace \(\mathcal{S}_3\text{.}\)

Example 8.1.24.

(Finding eigenvectors for Example 8.1.14) We know from Example 8.1.14 that
\begin{equation*} B=\begin{bmatrix} 2\amp 1\\ 4\amp 2 \end{bmatrix} \end{equation*}
has eigenvalues \(\lambda_1=0\) and \(\lambda_2=4\text{.}\) Compute a basis for the eigenspace associated with each of these eigenvalues.
Answer.
Let’s begin by finding a basis for the eigenspace \(\mathcal{S}_0\text{,}\) which is the subspace of \(\R^n\) consisting of eigenvectors corresponding to the eigenvalue \(\lambda_1=0\text{.}\) We need to compute a basis for \(\mbox{null}(B-0I) = \mbox{null}(B)\text{.}\) We compute:
\begin{equation*} \mbox{rref}(B)=\mbox{rref}\left(\begin{bmatrix}2\amp 1\\4\amp 2\end{bmatrix}\right) =\begin{bmatrix}1\amp \frac{1}{2}\\0\amp 0\end{bmatrix}. \end{equation*}
From this we see that an eigenvector in \(\mathcal{S}_0\) has the form \([-1/2, 1]t\text{.}\) This means that \(\left\{ [-1/2, 1] \right\}\) is one possible basis for the eigenspace \(\mathcal{S}_0\text{.}\) By letting \(t=-2\text{,}\) we obtain an arguably nicer-looking basis: \({[-1/2, 1]}\text{.}\)

Example 8.1.25.

(Finding eigenvectors for Example 8.1.16) We know from Example 8.1.16 that
\begin{equation*} C=\begin{bmatrix} 2 \amp 1 \amp 1\\ 1 \amp 2 \amp 1\\ 1 \amp 1 \amp 2\end{bmatrix}. \end{equation*}
has eigenvalues \(\lambda_1=1\) and \(\lambda_2=4\text{.}\) Compute a basis for the eigenspace associated to each of these eigenvalues.
Answer.
We first find a basis for the eigenspace \(\mathcal{S}_1\text{.}\) We need to compute a basis for \(\mbox{null}(C-I)\text{.}\) We compute:
\begin{equation*} \mbox{rref}(C-I)=\mbox{rref}\left(\begin{bmatrix} 1 \amp 1 \amp 1\\ 1 \amp 1 \amp 1\\ 1 \amp 1 \amp 1\end{bmatrix}\right) =\begin{bmatrix} 1 \amp 1 \amp 1\\ 0 \amp 0 \amp 0\\ 0 \amp 0 \amp 0\end{bmatrix}. \end{equation*}
Notice that there are two free variables. The eigenvectors in \(\mathcal{S}_1\) have the form
\begin{equation*} \begin{bmatrix}-s-t\\s\\t\end{bmatrix} = s\begin{bmatrix}-1\\1\\0\end{bmatrix} + t\begin{bmatrix}-1\\0\\1\end{bmatrix}. \end{equation*}
So one possible basis for the eigenspace\(\mathcal{S}_1\) is given by
\begin{equation*} \left \lbrace \begin{bmatrix}-1\\1\\0\end{bmatrix}, \begin{bmatrix}-1\\0\\1\end{bmatrix} \right \rbrace. \end{equation*}
Next we find a basis for the eigenspace \(\mathcal{S}_4\text{.}\) We need to compute a basis for \(\mbox{null}(C-4I)\text{.}\) We compute:
\begin{equation*} \mbox{rref}(C-4I)=\mbox{rref}\left(\begin{bmatrix} -2 \amp 1 \amp 1\\ 1 \amp -2 \amp 1\\ 1 \amp 1 \amp -2\end{bmatrix}\right) =\begin{bmatrix} 1 \amp 0 \amp -1\\ 0 \amp 1 \amp -1\\ 0 \amp 0 \amp 0\end{bmatrix}. \end{equation*}
This time there is one free variable. From this we see The eigenvectors in \(\mathcal{S}_4\) have the form \([t,t,t]\text{,}\) so a possible basis for the eigenspace \(\mathcal{S}_4\) is given by
\begin{equation*} \left \lbrace \begin{bmatrix}1\\1\\1\end{bmatrix}\right \rbrace. \end{equation*}

Example 8.1.26.

(Finding eigenvectors for Example Example 8.1.17) We know from’ Example 8.1.17 that
\begin{equation*} D=\begin{bmatrix} 0\amp 0\amp 0\\ 0 \amp 1\amp 1\\ 0 \amp -1\amp 1\end{bmatrix} \end{equation*}
has eigenvalues \(\lambda=0\text{,}\) \(\lambda_1=1+i\text{,}\) and \(\lambda_2=1-i\text{.}\) Compute a basis for the eigenspace associated with each eigenvalue.
Answer.
We first find a basis for the eigenspace \(\mathcal{S}_0\text{.}\) We need to compute a basis for \(\mbox{null}(D-0I)=\mbox{null}(D)\text{.}\) We compute:
\begin{equation*} \mbox{rref}(D)=\mbox{rref}\left(\begin{bmatrix} 0\amp 0\amp 0\\ 0 \amp 1\amp 1\\ 0 \amp -1\amp 1\end{bmatrix}\right) =\begin{bmatrix} 0 \amp 1 \amp 1\\ 0 \amp 0 \amp 1\\ 0 \amp 0 \amp 0\end{bmatrix}. \end{equation*}
From this we see that for any eigenvector \([x_1, x_2, x_3]\) in \(\mathcal{S}_0\) we have \(x_2=0\) and \(x_3=0\text{,}\) but \(x_1\) is a free variable. So one possible basis for the eigenspace \(\mathcal{S}_0\) is given by
\begin{equation*} \left \lbrace \begin{bmatrix}1\\0\\0\end{bmatrix}\right \rbrace. \end{equation*}
Next we find a basis for the eigenspace \(\mathcal{S}_{1+i}\text{.}\) We need to compute a basis for \(\mbox{null}(D-(1+i)I)\text{.}\) We compute:
\begin{align*} \mbox{rref}(D-(1+i)I)\amp =\mbox{rref}\left(\begin{bmatrix} -(1+i)\amp 0\amp 0\\ 0 \amp 1-(1+i)\amp 1\\ 0 \amp -1\amp 1-(1+i)\end{bmatrix}\right) \\ \amp =\begin{bmatrix} 1 \amp 0 \amp 0\\ 0 \amp 1 \amp i\\ 0 \amp 0 \amp 0\end{bmatrix} \end{align*}
There is one free variable. Setting \(x_3=t\text{,}\) we get \(x_1=0\) and \(x_2=ti\text{.}\) From this we see that eigenvectors in \(\mathcal{S}_{1+i}\) have the form \([0,i,1]t\text{,}\) so a possible basis for the eigenspace \(\mathcal{S}_{1+i}\) is given by
\begin{equation*} \left \lbrace \begin{bmatrix}0\\i\\1\end{bmatrix}\right \rbrace. \end{equation*}
We ask you in Exercise 8.1.4.18 to show that
\begin{equation*} \left \lbrace \begin{bmatrix}0\\-i\\1\end{bmatrix}\right \rbrace. \end{equation*}
is a basis for \(\mathcal{S}_{1-i}\text{.}\)
We conclude this section by establishing the significance of a matrix having an eigenvalue of zero.

Proof.

A square matrix \(A\) is singular if and only if \(\det{A}=0\text{.}\)(see Theorem 7.2.13). But \(\det{A}=0\) if and only if \(\det{A-0I}=0\text{,}\) which is true if and only if zero is an eigenvalue of \(A\text{.}\)

Exercises 8.1.4 Exercises

Exercise Group.

Let
\begin{equation*} C=\begin{bmatrix} 2 \amp 1 \amp 1\\ 1 \amp 2 \amp 1\\ 1 \amp 1 \amp 2\end{bmatrix}. \end{equation*}
1.
Show that
\begin{equation*} \begin{bmatrix} 1\\1\\1 \end{bmatrix} \end{equation*}
is an eigenvector of \(C\text{.}\) What is its corresponding eigenvalue?
Answer.
\begin{equation*} 4. \end{equation*}
2.
Show that
\begin{equation*} \begin{bmatrix} 1\\-1\\0 \end{bmatrix} \end{equation*}
is an eigenvector of \(C\text{.}\) What is its corresponding eigenvalue?
Answer.
\begin{equation*} 1. \end{equation*}
3.
Show that
\begin{equation*} \begin{bmatrix} 1\\1\\-2 \end{bmatrix} \end{equation*}
is an eigenvector of \(C\text{.}\) What is its corresponding eigenvalue?
Answer.
\begin{equation*} 1 \end{equation*}

4.

Let
\begin{equation*} Q=\begin{bmatrix} 0\amp 0\\ 0\amp 1\end{bmatrix}. \end{equation*}
Note that \(Q\) takes any vector in \(\R^2\) and projects it onto the \(y\)-axis, as we learned in Exercise 6.2.7.17. Which vectors in \(\R^2\) would be eigenvectors, and what are the corresponding eigenvalues?

5.

Returning to Example 8.1.8, let
\begin{equation*} M=\begin{bmatrix} \frac{\sqrt{2}}{2} \amp -\frac{\sqrt{2}}{2}\\ \frac{\sqrt{2}}{2} \amp \frac{\sqrt{2}}{2} \end{bmatrix}. \end{equation*}
Show that \(\begin{bmatrix} \frac{\sqrt{2}}{2}\\ -\frac{\sqrt{2}}{2} i \end{bmatrix}\) is an eigenvector of \(M\text{.}\) What is its corresponding eigenvalue?
Answer.
\begin{equation*} \frac{\sqrt{2}}{2}+\frac{\sqrt{2}}{2}i \end{equation*}

6.

    Arguing geometrically, identify the linear transformation whose standard matrix has eigenvalues \(\lambda_1=1\) and \(\lambda_2=-1\text{.}\)
  • Vertical Shear.
  • Horizontal Shear.
  • Counterclockwise Rotation through a \(90^\circ\) angle.
  • Reflection About the line \(y=mx\text{.}\)
  • Horizontal Stretch.
  • Vertical Stretch.

7.

Let
\begin{equation*} A=\begin{bmatrix} 3\amp 0\amp 0\\0\amp 3\amp 0\\0\amp 0\amp 3\end{bmatrix}. \end{equation*}
Can you find an eigenvector and its corresponding eigenvalue? Can you find another ``eigenpair’’? Can you find all of the eigenvectors of \(A\text{?}\)

8.

The rotation matrix in Example 8.1.8 has complex eigenvectors and eigenvalues. Think geometrically to find an example of a (non-identity) rotation matrix with real eigenvectors and eigenvalues. Enter degree measure between 0 and 360.
Answer.
Rotation through \(180\) degrees.

9.

    Can an eigenvalue have multiple eigenvectors associated with it?
  • Yes.
  • No.

10.

    Can an eigenvector have multiple eigenvalues associated with it?
  • Yes
  • No

Exercise Group.

In the next two exercises, we will prove that the eigenvectors associated with an eigenvalue \(\lambda\) of an \(n \times n\) matrix \(A\) form a subspace of \(\R^n\text{.}\)
12.
Let \(\mathbf{x}\) and \(\mathbf{y}\) be eigenvectors of \(A\) associated with \(\lambda\text{.}\) Show that \(\mathbf{x}+\mathbf{y}\) is also an eigenvector of \(A\) associated with \(\lambda\text{.}\) (This shows that the set of eigenvectors of \(A\) associated with \(\lambda\) is closed under addition).
13.
Show that the set of eigenvectors of \(A\) associated with \(\lambda\) is closed under scalar multiplication.

Exercise Group.

Compute the eigenvalues of the given matrix and find the corresponding eigenspaces.
14.
\begin{equation*} \begin{bmatrix}4\amp 1\\8\amp -3\end{bmatrix}. \end{equation*}
Answer.
\begin{equation*} \lambda_1=-4,\quad\lambda_2=5. \end{equation*}
A basis for \(\lambda_1\) is
\begin{equation*} \left \lbrace \begin{bmatrix}-1/8\\1\end{bmatrix}\right \rbrace. \end{equation*}
A basis for \(\lambda_2\) is
\begin{equation*} \left \lbrace \begin{bmatrix}1\\1\end{bmatrix}\right \rbrace. \end{equation*}
15.
\begin{equation*} \begin{bmatrix}1\amp -2\\2\amp 1\end{bmatrix}. \end{equation*}
Answer.
\begin{equation*} \lambda_1=1+2i,\quad\lambda_2=1-2i. \end{equation*}
A basis for \(\lambda_1\) is
\begin{equation*} \left \lbrace \begin{bmatrix}i\\1\end{bmatrix}\right \rbrace.\text{.} \end{equation*}
A basis for \(\lambda_2\) is
\begin{equation*} \left \lbrace \begin{bmatrix}-i\\1\end{bmatrix}\right \rbrace. \end{equation*}
16.
Let
\begin{equation*} T=\begin{bmatrix} 1 \amp 2 \amp 3\\ 0 \amp 5 \amp 6\\ 0 \amp 0 \amp 9\end{bmatrix}. \end{equation*}
Compute a basis for each of the eigenspaces of this matrix, \(\mathcal{S}_1\text{,}\) \(\mathcal{S}_5\text{,}\) and \(\mathcal{S}_9\text{.}\)

17.

Let
\begin{equation*} A=\begin{bmatrix} 9 \amp 2 \amp 8\\ 2 \amp -6 \amp -2\\ -8 \amp 2 \amp -5\end{bmatrix}. \end{equation*}
Compute the three eigenvalues of this matrix and find a basis for each of the eigenspaces of this matrix: \(\mathcal{S}_{\lambda_1}\text{,}\) \(\mathcal{S}_{\lambda_2}\text{,}\) and \(\mathcal{S}_{\lambda_3}\text{.}\)
Hint.
One of the eigenvalues of \(A\) is -3.
Answer.
The eigenvalues are
\begin{equation*} \lambda_1 = -3,\quad \lambda_2 = -1,\quad \lambda_3 = 2. \end{equation*}
The bases are, respectively,
\begin{equation*} \left \lbrace \begin{bmatrix}1\\2\\-2\end{bmatrix}\right \rbrace, \quad \left \lbrace \begin{bmatrix}-2\\-2\\3\end{bmatrix}\right \rbrace, \quad \left \lbrace \begin{bmatrix}2\\1\\-2\end{bmatrix}\right \rbrace. \end{equation*}

18.

Complete Example 8.1.26 by showing that a basis for \(\mathcal{S}_{1-i}\) is given by
\begin{equation*} \left \lbrace \begin{bmatrix}0\\-i\\1\end{bmatrix}\right \rbrace, \end{equation*}
where \(\mathcal{S}_{1-i}\) is the eigenspace associated with the eigenvalue \(\lambda=1-i\) of the matrix
\begin{equation*} D=\begin{bmatrix} 0\amp 0\amp 0\\ 0 \amp 1\amp 1\\ 0 \amp -1\amp 1\end{bmatrix}. \end{equation*}

19.

Prove Theorem 8.1.19. (HINT: Proceed by induction on the dimension n. For the inductive step, compute \(\det(A-\lambda I)\) by expanding along the first column (or row) if \(T\) is upper (lower) triangular.)

Exercise Group.

The following set of problems deals with geometric interpretation of eigenvalues and eigenvectors, as well as linear transformations of the plane.
20.
Recall that a vertical stretch/compression of the plane is a linear transformation whose standard matrix is
\begin{equation*} M_v=\begin{bmatrix}1\amp 0\\0\amp k\end{bmatrix}. \end{equation*}
Find the eigenvalues of \(M_v\text{.}\) Find a basis for the eigenspace corresponding to each eigenvalue.
Answer.
A basis for \(\mathcal{S}_1\) is
\begin{equation*} \left \lbrace \begin{bmatrix}1\\0\end{bmatrix}\right \rbrace. \end{equation*}
and a basis for \(\mathcal{S}_k\) is
\begin{equation*} \left \lbrace \begin{bmatrix}0\\1\end{bmatrix}\right \rbrace. \end{equation*}
21.
Recall that a horizontal shear of the plane is a linear transformation whose standard matrix is
\begin{equation*} M_{hs}=\begin{bmatrix}1\amp k\\0\amp 1\end{bmatrix}. \end{equation*}
Find the eigenvalue of \(M_{hs}\) and its corresponding eigenspace.
Answer.
The eigenvalue is \(\lambda=1\) and a basis for its eigenspace is
\begin{equation*} \left \lbrace \begin{bmatrix}1\\0\end{bmatrix}\right \rbrace. \end{equation*}
22.
    Recall that a counterclockwise rotation of the plane through angle \(\theta\) is a linear transformation whose standard matrix is
    \begin{equation*} M_{\theta}=\begin{bmatrix}\cos\theta\amp -\sin\theta\\\sin\theta\amp \cos\theta\end{bmatrix}. \end{equation*}
    Verify that the eigenvalues of \(M_{\theta}\) are
    \begin{equation*} \lambda=\cos\theta\pm\sqrt{\cos^2\theta-1}. \end{equation*}
    Explain why \(\lambda\) is real number if and only if \(\theta\) is a multiple of \(\pi\text{.}\) After this, suppose \(\theta\) is a muliple of \(\pi\text{.}\) Then the eigenspaces corresponding to the two eigenvalues are the same. Which of the following describes the eigenspace?
  • All vectors in \(\R^2\text{.}\)
  • All vectors along the \(x\)-axis.
  • All vectors along the \(y\)-axis.
  • All vectors along the line \(y=x\text{.}\)

Exercise Group.

A reflection of the plane about the line \(y=mx\) is a linear transformation whose standard matrix is
\begin{equation*} M_{y=mx}=\frac{1}{1+m^2}\begin{bmatrix} 1-m^2 \amp 2m \\ 2m \amp m^2-1 \end{bmatrix}. \end{equation*}
You can take this for granted.
23.
Verify that the eigenvalues of \(M_{y=mx}\) are \(1\) and \(-1\text{.}\) Then find a basis for eigenspaces \(\mathcal{S}_{1}\) and \(\mathcal{S}_{-1}\text{.}\) (For simplicity, assume that \(m\neq 0\text{.}\))
Answer.
A basis for \(\mathcal{S}_{1}\) is
\begin{equation*} \left \lbrace \begin{bmatrix}1\\m\end{bmatrix}\right \rbrace \end{equation*}
and a basis for \(\mathcal{S}_{-1}\) is
\begin{equation*} \left \lbrace \begin{bmatrix}m\\-1\end{bmatrix}\right \rbrace. \end{equation*}
24.
    Choose the best description of \(\mathcal{S}_{1}\text{.}\)
  • All vectors in \(\R^2\text{.}\)
  • All vectors with ``slope" \(m\text{.}\)
  • All vectors with ``slope" \(1/m\text{.}\)
  • All vectors with ``slope" \(-1/m\text{.}\)
25.
    Choose the best description of \(\mathcal{S}_{-1}\text{.}\)
  • All vectors along the line \(y=mx\text{.}\)
  • All vectors parallel to the \(x\)-axis.
  • All vectors parallel to the \(y\)-axis.
  • All vectors perpendicular to the line \(y=mx\text{.}\)