You are about to erase your work on this activity. Are you sure you want to do this?
Updated Version Available
There is an updated version of this activity. If you update to the most recent version of this activity, then your current progress on this activity will be erased. Regardless, your record of completion will remain. How would you like to proceed?
Mathematical Expression Editor
The Characteristic Equation
Let \(A\) be an \(n \times n\) matrix. In the previous section we learned that the eigenvectors and
eigenvalues of \(A\) are vectors \(\vec {x}\) and scalars \(\lambda \) that satisfy the equation
\begin{align}\label {def:eigen} A \vec {x} = \lambda \vec {x}\end{align}
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 The Power
Method and the Dominant Eigenvalue.
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\). Finding the corresponding eigenvectors turns out to
be a matter of computing the null space of a matrix, as the following exploration
demonstrates.
If a vector \(\vec {x}\) is an eigenvector satisfying Equation (def:eigen), then clearly it also satisfies \(A\vec {x}-\lambda \vec {x} =\) 0 \(\vec {0}\).
It seems natural at this point to try to factor. We would love to “factor out” \(\vec {x}\). Here is
the procedure:
This shows that any eigenvector \(\vec {x}\) of \(A\) is in the row spacecolumn spacenull space
of the related matrix, \(A-\lambda I\).
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. The only way that \(\mbox {null}(A-\lambda I)\) can be nontrivial is if \(\mbox {rank}(A-\lambda I)\) \(=\)\(<\)\(>\)\(n\).
If the rank of an \(n \times n\) matrix is less than \(n\), then the matrix is singular. Since \((A-\lambda I)\) must be
singular for any eigenvalue \(\lambda \), we see that \(\lambda \) is an eigenvalue of \(A\) if and only if
In
theory, Exploration exp:slowdown offers us a way to find eigenvalues. To find the eigenvalues of \(A\),
one can solve Equation (eqn:chareqn) for \(\lambda \).
Eigenvalues
The equation
\[\mbox {det}(A-\lambda I) = 0\]
is called the characteristic equation of \(A\).
Let \(A=\begin{bmatrix} 2& 1\\ 1&2 \end{bmatrix}\). Compute the eigenvalues of this matrix using the characteristic equation.
The characteristic equation \((\lambda -1)(\lambda -3)=0\) has solutions \(\lambda _1=1\) and \(\lambda _2=3\). These are the eigenvalues of \(A\).
Let \(B=\begin{bmatrix} 2& 1\\ 4&2 \end{bmatrix}\). Compute the eigenvalues of \(B\) using the characteristic equation. (List your
answers in an increasing order.)
\(\lambda _1=\answer {0}\) and \(\lambda _2=\answer {4}\)
Let \(C=\begin{bmatrix} 2 & 1 & 1\\ 1 & 2 & 1\\ 1 & 1 & 2\end{bmatrix}\). Compute the eigenvalues of \(C\) using the characteristic equation.
Matrix \(C\) has eigenvalues \(\lambda _1=1\) and \(\lambda _2=4\).
The factor \((\lambda -1)\) appears twice. This repeated factor gives rise to the eigenvalue \(\lambda _1=1\). We say
that the eigenvalue \(\lambda _1=1\) has algebraic multiplicity\(2\).
Algebraic multiplicity of an eigenvalue is its multiplicity as a root of the
characteristic equation.
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 illustrates this
point.
Let \(D=\begin{bmatrix} 0&0&0\\ 0 &1&1\\ 0 & -1&1\end{bmatrix}\). Compute the eigenvalues of this matrix.
So one of the eigenvalues of \(D\) is \(\lambda =0\). To get the other eigenvalues we must solve \(\lambda ^2-2\lambda +2=0\).
Using the quadratic formula, we compute that \(\lambda _1=1+i\) and \(\lambda _2=1-i\) are also eigenvalues of \(D\).
Let \(T=\begin{bmatrix} 1 & 2 & 3\\ 0 & 5 & 6\\ 0 & 0 & 9\end{bmatrix}\). Compute the eigenvalues of this matrix. (List your answers in an increasing
order.)
The eigenvalues are the diagonal
entries of the matrix.
What property of the matrix makes this “coincidence" possible?
\(T\) is a triangular matrix.
The matrix in Exploration Problem is a triangular matrix, and the property you
observed holds in general.
Let \(T\) be a triangular matrix. Then the eigenvalues of \(T\) are the entries on the main
diagonal.
See Practice Problem .
Let \(D\) be a diagonal matrix. Then the eigenvalues of \(D\) are the entries on the main
diagonal.
One final note about eigenvalues. We began this section with the sentence, "In theory,
then, to find the eigenvalues of \(A\), one can solve Equation (1) for \(\lambda \)." 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>4\). Instead,
one can often approximate the eigenvalues using iterative methods. We will
explore some of these techniques in The Power Method and the Dominant
Eigenvalue.
Eigenvectors
Once we have computed an eigenvalue \(\lambda \) of an \(n \times n\) matrix \(A\), the next step is to compute
the associated eigenvectors. In other words, we seek vectors \(\vec {x}\) such that \(A\vec {x}=\lambda \vec {x}\), or
equivalently,
As we have seen in the previous section, a (non-zero) scalar multiple of an eigenvector
is an eigenvector. So for any given eigenvalue \(\lambda \) there are infinitely many eigenvectors
associated with it. In fact, the eigenvectors associated with \(\lambda \), together with the zero
vector, form a subspace of \(\RR ^n\).
Let \(A\) be an \(n\times n\) matrix and let \(\lambda \) be an eigenvalue of \(A\). Then the set of all eigenvectors
associated with \(\lambda \), together with the zero vector, is a subspace of \(\RR ^n\).
See Practice Problems and ??.
This motivates the following definition.
The set of all eigenvectors associated with a given eigenvalue of a matrix, together
with the zero vector, is known as the eigenspace associated with that eigenvalue.
Given an eigenvalue \(\lambda \), there is an associated eigenspace \(\mathcal {S}_{\lambda }\). Our goal is to find a basis of
\(\mathcal {S}_{\lambda }\). Then any eigenvector \(\vec {x}\) associated with \(\lambda \) will be a linear combination of
the vectors in that basis. In seeking a basis for \(\mathcal {S}_{\lambda }\), we are trying to find a
basis for the set of vectors that satisfy \((A-\lambda I) \vec {x}=\vec {0}\), which means we seek a basis for
\(\mbox {null}(A-\lambda I)\).
Let’s return to the examples we did in the first part of this section.
Recall that \(A=\begin{bmatrix} 2& 1\\ 1&2 \end{bmatrix}\) has eigenvalues \(\lambda _1=1\) and \(\lambda _2=3\). Compute a basis for the eigenspace associated
with each of these eigenvalues.
Eigenvectors associated with the eigenvalue \(\lambda _1=1\) are in the
null space of \(A-I\). So we seek a basis for \(\mbox {null}(A-I)\). We compute:
From this we see that the eigenspace \(\mathcal {S}_1\) associated with \(\lambda _1=1\) consists of vectors of the form \(\begin{bmatrix}-1\\1\end{bmatrix}t\).
This means that \(\left \{\begin{bmatrix}-1\\1\end{bmatrix}\right \}\) is one possible basis for \(\mathcal {S}_1\).
In a similar way, we compute a basis for \(\mathcal {S}_3\), the subspace of all eigenvectors associated
with the eigenvalue \(\lambda _2=3\). Now we compute:
Vectors in the null space have the form \(\begin{bmatrix}1\\1\end{bmatrix}t\) This means that \(\left \{\begin{bmatrix}1\\1\end{bmatrix}\right \}\) is one possible basis for the
eigenspace \(\mathcal {S}_3\).
These computations reinforce the geometric insights into this problem that we gained
in the previous section.
(Finding eigenvectors for Example 7) We know from Example 7 that \(B=\begin{bmatrix} 2& 1\\ 4&2 \end{bmatrix}\) has
eigenvalues \(\lambda _1=0\) and \(\lambda _2=4\). Compute a basis for the eigenspace associated with each of these
eigenvalues.
Let’s begin by finding a basis for the eigenspace \(\mathcal {S}_0\), which is the subspace
of \(\RR ^n\) consisting of eigenvectors corresponding to the eigenvalue \(\lambda _1=0\). We need to compute a
basis for \(\mbox {null}(B-0I) = \mbox {null}(B)\). We compute:
From this we see that an eigenvector in \(\mathcal {S}_0\) has the form \(\begin{bmatrix}-1/2\\1\end{bmatrix}t\). This means that \(\left \{\begin{bmatrix}-1/2\\1\end{bmatrix}\right \}\) is one
possible basis for the eigenspace \(\mathcal {S}_0\). By letting \(t=-2\), we obtain an arguably nicer-looking
basis: \(\left \{\begin{bmatrix}1\\-2\end{bmatrix}\right \}\).
To compute a basis for \(\mathcal {S}_4\), the subspace of all eigenvectors associated to the eigenvalue \(\lambda _2=4\),
we compute:
From this we find that \(\left \{\begin{bmatrix}1\\\answer {2}\end{bmatrix}\right \}\) is one possible basis for the eigenspace \(\mathcal {S}_4\).
(Finding eigenvectors for Example 8) We know from Example 8 that \(C=\begin{bmatrix} 2 & 1 & 1\\ 1 & 2 & 1\\ 1 & 1 & 2\end{bmatrix}\) has
eigenvalues \(\lambda _1=1\) and \(\lambda _2=4\). Compute a basis for the eigenspace associated to each of these
eigenvalues.
We first find a basis for the eigenspace \(\mathcal {S}_1\). We need to compute a basis for \(\mbox {null}(C-I)\).
We compute:
So one possible basis for the eigenspace \(\mathcal {S}_1\) is given by \(\left \{\begin{bmatrix}-1\\1\\0\end{bmatrix}, \begin{bmatrix}-1\\0\\1\end{bmatrix}\right \}\).
Next we find a basis for the eigenspace \(\mathcal {S}_4\). We need to compute a basis for \(\mbox {null}(C-4I)\). We
compute:
This time there is one free variable. The eigenvectors in \(\mathcal {S}_4\) have the form \(\begin{bmatrix}t\\t\\t\end{bmatrix}\), so a possible
basis for the eigenspace \(\mathcal {S}_4\) is given by \(\left \{\begin{bmatrix}1\\1\\1\end{bmatrix}\right \}\).
Recall that \(\lambda _1=1\) has algebraic multiplicity \(2\). Note that \(\text {dim}(\mathcal {S}_{\lambda _1})=2\). We say that \(\lambda _1\) has geometric
multiplicity \(2\). We have to be careful, and not draw hasty conclusions. Geometric and
algebraic multiplicity are NOT always the same! We will revisit this issue later in the
text.
The geometric multiplicity of an eigenvalue is the dimension of the eigenspace
corresponding to it.
(Finding eigenvectors for Example 12) We know from Example 12 that \(D=\begin{bmatrix} 0&0&0\\ 0 &1&1\\ 0 & -1&1\end{bmatrix}\) has
eigenvalues \(\lambda =0\), \(\lambda _1=1+i\), and \(\lambda _2=1-i\). Compute a basis for the eigenspace associated with each
eigenvalue.
We first find a basis for the eigenspace \(\mathcal {S}_0\). We need to compute a basis for \(\mbox {null}(D-0I)=\mbox {null}(D)\).
We compute:
From this we see that for any eigenvector \(\begin{bmatrix}x_1\\x_2\\x_3\end{bmatrix}\) in \(\mathcal {S}_0\) we have \(x_2=0\) and \(x_3=0\), but \(x_1\) is a free variable.
So one possible basis for the eigenspace \(\mathcal {S}_0\) is given by
There is one free variable. Setting \(x_3=t\), we get \(x_1=0\) and \(x_2=ti\). From this we see that
eigenvectors in \(\mathcal {S}_{1+i}\) have the form \(\begin{bmatrix}0\\-i\\1\end{bmatrix}t\), so a possible basis for the eigenspace \(\mathcal {S}_{1+i}\) is
given by \(\left \{\begin{bmatrix}0\\-i\\1\end{bmatrix}\right \}\). We ask you in Practice Problem to show that \(\left \{\begin{bmatrix}0\\i\\1\end{bmatrix}\right \}\) is a basis for \(\mathcal {S}_{1-i}\).
We conclude this section by establishing the significance of a matrix having an
eigenvalue of zero.
A square matrix has an eigenvalue of zero if and only if it is singular.
A square matrix \(A\) is singular if and only if \(\det {A}=0\). But \(\det {A}=0\) if and only if \(\det {A-0I}=0\), which is true if and
only if zero is an eigenvalue of \(A\).
Practice Problems
Compute the eigenvalues of \(A\), and find the corresponding eigenspaces.
\[A=\begin{bmatrix}4&1\\8&-3\end{bmatrix}\]
Answer: (List the eigenvalues in an increasing order.)
A basis for \(\mathcal {S}_{\lambda _1}\) is \(\left \{\begin{bmatrix}\answer {-1/8}\\1\end{bmatrix}\right \}\). A basis for \(\mathcal {S}_{\lambda _2}\) is \(\left \{\begin{bmatrix}\answer {1}\\1\end{bmatrix}\right \}\).
Compute the eigenvalues of \(A\), and find the corresponding eigenspaces.
A basis for \(\mathcal {S}_{\lambda _1}\) is \(\left \{\begin{bmatrix}i\\\answer {1}\end{bmatrix}\right \}\). A basis for \(\mathcal {S}_{\lambda _2}\) is \(\left \{\begin{bmatrix}-i\\\answer {1}\end{bmatrix}\right \}\).
Let \(T=\begin{bmatrix} 1 & 2 & 3\\ 0 & 5 & 6\\ 0 & 0 & 9\end{bmatrix}\). Compute a basis for each of the eigenspaces of this matrix, \(\mathcal {S}_1\), \(\mathcal {S}_5\), and \(\mathcal {S}_9\).
Compute a basis for each of the eigenspaces of \(A\), \(\mathcal {S}_{\lambda _1}\), \(\mathcal {S}_{\lambda _2}\), and \(\mathcal {S}_{\lambda _3}\).
Answer: A basis for \(\mathcal {S}_{\lambda _1}\) is \(\left \{\begin{bmatrix}1\\\answer {2}\\\answer {-2}\end{bmatrix}\right \}\), a basis for \(\mathcal {S}_{\lambda _2}\) is \(\left \{\begin{bmatrix}-2\\\answer {-2}\\\answer {3}\end{bmatrix}\right \}\),
and a basis for \(\mathcal {S}_{\lambda _3}\) is \(\left \{\begin{bmatrix}2\\\answer {1}\\\answer {-2}\end{bmatrix}\right \}\).
Complete Example 28 by showing that a basis for \(\mathcal {S}_{1-i}\) is given by \(\left \{\begin{bmatrix}0\\i\\1\end{bmatrix}\right \}\), where \(\mathcal {S}_{1-i}\) is the
eigenspace associated with the eigenvalue \(\lambda =1-i\) of the matrix \(D=\begin{bmatrix} 0&0&0\\ 0 &1&1\\ 0 & -1&1\end{bmatrix}\).
What do we know about the determinant of a triangular
matrix?
Recall that a vertical stretch/compression of the plane is a linear transformation
whose standard matrix is
\[M_v=\begin{bmatrix}1&0\\0&k\end{bmatrix}\]
Find the eigenvalues of \(M_v\). Find a basis for the eigenspace corresponding to each
eigenvalue.
Answer: A basis for \(\mathcal {S}_1\) is \(\left \{\begin{bmatrix}1\\\answer {0}\end{bmatrix}\right \}\) and a basis for \(\mathcal {S}_k\) is \(\left \{\begin{bmatrix}\answer {0}\\1\end{bmatrix}\right \}\)
Sketch several vectors in each eigenspace and use geometry to explain why the
eigenvectors you sketched make sense.
Recall that a horizontal shear of the plane is a linear transformation whose
standard matrix is
\[M_{hs}=\begin{bmatrix}1&k\\0&1\end{bmatrix}\]
Find the eigenvalue of \(M_{hs}\).
Answer: \(\lambda =\answer {1}\)
Find a basis for the eigenspace corresponding to \(\lambda \).
Answer: A basis for \(\mathcal {S}\) is \(\left \{\begin{bmatrix}1\\\answer {0}\end{bmatrix}\right \}\)
What is the algebraic multiplicity of \(\lambda \)? \(\answer {2}\)
What is the geometric multiplicity of \(\lambda \)? \(\answer {1}\)
Recall that a counterclockwise rotation of the plane through angle \(\theta \) is a linear
transformation whose standard matrix is
Use algebra, then use geometry to explain why \(\lambda \) is a real number if and only if \(\theta \) is a
multiple of \(\pi \).
Suppose \(\theta =\pi \). Then \(\lambda =\answer {-1}\) has algebraic multiplicity \(\answer {2}\). Which of the following describes the
corresponding eigenspace?
All vectors in \(\RR ^2\).All vectors along the \(x\)-axis.All
vectors along the \(y\)-axis.All vectors along the line \(y=x\).
Recall that a reflection of the plane about the line \(y=mx\) is a linear transformation whose
standard matrix is
Verify that the eigenvalues of \(M_{y=mx}\) are \(1\) and \(-1\).
Find a basis for eigenspaces \(\mathcal {S}_{1}\) and \(\mathcal {S}_{-1}\). (For simplicity, assume that \(m\neq 0\).)
Answer: A basis for \(\mathcal {S}_{1}\) is \(\left \{\begin{bmatrix}1\\\answer {m}\end{bmatrix}\right \}\) and a basis for \(\mathcal {S}_{-1}\) is \(\left \{\begin{bmatrix}m\\\answer {-1}\end{bmatrix}\right \}\)
Choose the best description of \(\mathcal {S}_{1}\).
All vectors in \(\RR ^2\).All vectors with “slope" \(m\).All
vectors with “slope" \(1/m\).All vectors with “slope" \(-1/m\).
Choose the best description of \(\mathcal {S}_{-1}\).
All vectors along the line \(y=mx\).All vectors parallel to
the \(x\)-axis.All vectors parallel to the \(y\)-axis.All vectors perpendicular to the line \(y=mx\).
Use geometry to explain why the eigenspaces you found make sense.
Prove that the eigenvectors associated with an eigenvalue \(\lambda \) of an \(n \times n\) matrix \(A\), together
with the zero vector, form a subspace of \(\RR ^n\).