Let us now endeavor to work through an example with a little bit of nuance. Take
\begin{equation*}
A = \left[ \begin{matrix} -1 \amp 1 \amp 0 \amp 0 \\ -1 \amp -3 \amp 0 \amp 0 \\ 0 \amp 0 \amp -3 \amp -1 \\ 1 \amp 1 \amp 2 \amp 0 \end{matrix} \right].
\end{equation*}
One can compute the characteristic polynomial of this matrix as usual, or they can observe that it is a block lower triangular matrix with diagonal blocks
\begin{equation*}
C_1 = \left[ \begin{matrix} -1 \amp 1 \\ -1 \amp -3 \end{matrix} \right]
\end{equation*}
and
\begin{equation*}
C_2 = \left[ \begin{matrix} -3 \amp -1 \\ 2 \amp 0 \end{matrix} \right] .
\end{equation*}
This implies that \(p_A (t) = p_{C_1} (t) p_{C_2} (t)\) which simplifies our computation. We check that
\begin{equation*}
p_{C_1} (t) = (t + 1) (t + 3) + 1 = (t + 2)^2
\end{equation*}
and
\begin{equation*}
p_{C_2} (t) = (t + 3) t + 2 = (t + 2) (t + 1)
\end{equation*}
so that
\begin{align*}
p_A (t) \amp = p_{C_1} (t) p_{C_2} (t), \\
\amp = (t + 2)^3 (t + 1).
\end{align*}
Thus the eigenvalues of
\(A\) are
\(-2\) and
\(-1\text{.}\) Theorem 4.2.12 gives us that
\(\dim V_{-2} = 3\) and
\(\dim V_{-1} = 1\text{.}\) So we first find a
\((-1)\)-eigenvector by solving the equation
\((-I - A) \mb{x} = \mb{0}\) or
\begin{equation*}
\left[ \begin{matrix} 0 \amp -1 \amp 0 \amp 0 \\ 1 \amp 2 \amp 0 \amp 0 \\ 0 \amp 0 \amp 2 \amp 1 \\ -1 \amp -1 \amp -2 \amp -1 \end{matrix} \right] \left[ \begin{matrix} x_1 \\ x_2 \\ x_3 \\ x_4 \end{matrix} \right] = \left[ \begin{matrix} 0 \\ 0 \\ 0 \\ 0 \end{matrix} \right] .
\end{equation*}
One can find here that
\begin{equation*}
\left[ \begin{matrix} x_1 \\ x_2 \\ x_3 \\ x_4 \end{matrix} \right] = \left[ \begin{matrix} 0 \\ 0 \\ 1 \\ -2 \end{matrix} \right]
\end{equation*}
gives a non-trivial solution. For the generalized \((-2)\)-eigenspace we consider the matrix \((-2I - A)\) which is
\begin{equation*}
-2I - A = \left[ \begin{matrix} -1 \amp -1 \amp 0 \amp 0 \\ 1 \amp 1 \amp 0 \amp 0 \\ 0 \amp 0 \amp 1 \amp 1 \\ -1 \amp -1 \amp -2 \amp -2 \end{matrix} \right]
\end{equation*}
The generalized \((-2)\)-eigenspace \(V_{-2}\) has dimension \(3\text{,}\) so \((-2I - A)^3\) is zero on this space (by the Cayley-Hamilton Theorem) and we can find a basis for it by simply solving the equation \((-2 I - A)^3 \mb{x} = 0\text{.}\) However, this is not the most effective way at seeing the Jordan Normal Form. Instead, we will first find our \((-2)\)-eigenspace by solving
\begin{equation}
\left[ \begin{matrix} -1 \amp -1 \amp 0 \amp 0 \\ 1 \amp 1 \amp 0 \amp 0 \\ 0 \amp 0 \amp 1 \amp 1 \\ -1 \amp -1 \amp -2 \amp -2 \end{matrix} \right] \left[ \begin{matrix} x_1 \\ x_2 \\ x_3 \\ x_4 \end{matrix} \right] = \left[ \begin{matrix} 0 \\ 0 \\ 0 \\ 0 \end{matrix} \right] .\tag{4.2.4}
\end{equation}
We can see that
\begin{equation*}
\left[ \begin{matrix} -1 \\ 1 \\ -1 \\ 1 \end{matrix} \right] \hspace{.1in} \text{and} \hspace{.1in} \left[ \begin{matrix} -1 \\ 1 \\ 0 \\ 0 \end{matrix} \right]
\end{equation*}
are linearly independent
\((-2)\)-eigenvectors. We can also see that these span our solution space to equation
(4.2.4). This means that
\(A\) is not diagonalizable, but that there is a non-trivial Jordan block. To find it, we just need some vector that would be sent to one of the two
\((-2)\)-eigenvectors above by
\(( A - (-2)I)\text{.}\) Had I chosen my solutions above at random, there may not be such a vector and we would have to adjust the two eigenvectors so that one of them is in the image of
\((A - (-2)I)\text{.}\) However, I have been judicious in my choice and we see that
\begin{equation*}
\left[ \begin{matrix} -1 \\ 0 \\ 1 \\ 0 \end{matrix} \right]
\end{equation*}
is indeed such a vector. Thus the basis
\begin{equation*}
\mathcal{B} = \left\{ \left[ \begin{matrix} 0 \\ 0 \\ 1 \\ -2 \end{matrix} \right] , \left[ \begin{matrix} -1 \\ 1 \\ -1 \\ 1 \end{matrix} \right] , \left[ \begin{matrix} -1 \\ 0 \\ 1 \\ 0 \end{matrix} \right] , \left[ \begin{matrix} -1 \\ 1 \\ 0 \\ 0 \end{matrix} \right] \right\}
\end{equation*}
will satisfy the requirements of
Theorem 4.2.14. Indeed, taking
\(P^{-1}\) to be the matrix with columns given by these vectors, we have
\begin{equation*}
P A P^{-1} = \left[ \begin{matrix} -1 \amp 0 \amp 0 \amp 0 \\ 0 \amp -2 \amp 1 \amp 0 \\ 0 \amp 0 \amp -2 \amp 0 \\ 0 \amp 0 \amp 0 \amp -2 \end{matrix} \right].
\end{equation*}
Here we have two block matrices \(B_{-1}\) and \(B_{-2}\) with three Jordan matrices, \(J_{-1,1}\) in \(B_1\) and \(J_{-2,2}, J_{-2,1}\) in \(B_2\text{.}\)