Skip to main content
Logo image

Discover Linear Algebra

Exercises 25.7 Exercises

Diagonalizing matrices.

The following matrices have previously appeared in Exercisesย 24.7 under the heading Calculating eigenvalues and eigenspaces, where you were previously asked to compute the characteristic polynomial (in factored form), eigenvalues, and eigenspaces for each matrix. Following up on that information, for each matrix:
  1. Confirm Corollaryย 25.6.6 by demonstrating that the full collection of calculated basis vectors from all the eigenspaces, taken all together, form a linearly independent set.
  2. Determine the algebraic multiplicity and geometric multiplicity of each eigenvalue, and confirm that Theoremย 25.6.7 holds true in each case.
  3. State whether the matrix is diagonalizable and, if so, produce a transition matrix \(P \) and diagonal matrix \(D \) so that \(\inv{P} A P = D \) is true, where \(A \) is the given matrix. (Note: You should not need to calculate \(\inv{P} \) in order to produce \(D \text{.}\))

1.

\(\displaystyle \begin{abmatrix}{rr} -1 \amp -4 \\ 1 \amp -5 \end{abmatrix}\)
Answer.
  1. A collection consisting of a single nonzero vector is always independent.
  2. The geometric multiplicity is \(\dim E_{-3}(A) = 1 \) and the algebraic multiplicity is \(2 \text{.}\) This is consistent with Theoremย 25.6.7 as the geometric multiplicity is not greater than the algebraic multiplicity.
  3. This matrix is not diagonalizable because it has an eigenvalue whose geometric multiplicity is strictly less than its algebraic multiplicity.

2.

\(\displaystyle \begin{abmatrix}{rr} -11 \amp 18 \\ -9 \amp 16 \end{abmatrix}\)
Answer.
In these answers we use the eigenvectors from the provided answers to Exerciseย 24.7.6, where needed.
  1. Independence is verified by the calculation
    \begin{equation*} \begin{bmatrix} 1 \amp 2 \\ 1 \amp 1 \end{bmatrix} \quad\rowredarrow\quad \bidentmattwo\text{.} \end{equation*}
  2. For each of the two eigenvalues both the geometric and algebraic multiplicities are equal to \(1 \text{.}\) This is consistent with Theoremย 25.6.7 as in neither case is the geometric multiplicity is greater than the algebraic multiplicity.
  3. The matrix is diagonalizable, and a suitable transition matrix and corresponding diagonal form matrix are
    \begin{align*} P \amp = \begin{bmatrix} 1 \amp 2 \\ 1 \amp 1 \end{bmatrix} \text{,} \amp D \amp = \begin{bmatrix} 7 \\ \amp -2 \end{bmatrix} \text{.} \end{align*}

3.

\(\displaystyle \begin{abmatrix}{rrr} 8 \amp - 4 \amp 0 \\ 2 \amp 2 \amp 0 \\ 10 \amp -10 \amp 1 \end{abmatrix}\)
Answer.
In these answers we use the eigenvectors from the provided answers to Exerciseย 24.7.7, where needed.
  1. Independence is verified by the calculation
    \begin{equation*} \begin{bmatrix} 0 \amp 1 \amp 2 \\ 0 \amp 1 \amp 1 \\ 1 \amp 0 \amp 2 \end{bmatrix} \quad\rowredarrow\quad \bidentmatthree\text{.} \end{equation*}
  2. For each of the three eigenvalues both the geometric and algebraic multiplicities are equal to \(1 \text{.}\) This is consistent with Theoremย 25.6.7 as in no case is the geometric multiplicity is greater than the algebraic multiplicity.
  3. The matrix is diagonalizable, and a suitable transition matrix and corresponding diagonal form matrix are
    \begin{align*} P \amp = \begin{bmatrix} 0 \amp 1 \amp 2 \\ 0 \amp 1 \amp 1 \\ 1 \amp 0 \amp 2 \end{bmatrix} \text{,} \amp D \amp = \begin{bmatrix} 1 \\ \amp 4 \\ \amp \amp 6 \end{bmatrix} \text{.} \end{align*}

4.

\(\displaystyle \begin{abmatrix}{rrr} -21 \amp 0 \amp 7 \\ 28 \amp -7 \amp -14 \\ -42 \amp 0 \amp 14 \end{abmatrix}\)
Answer.
In these answers we use the eigenvectors from the provided answers to Exerciseย 24.7.8, where needed.
  1. Independence is verified by the calculation
    \begin{equation*} \begin{abmatrix}{rrr} 1 \amp 1 \amp 0 \\ -2 \amp 0 \amp 1 \\ 3 \amp 2 \amp 0 \end{abmatrix} \quad\rowredarrow\quad \bidentmatthree\text{.} \end{equation*}
  2. For eigenvalue \(\lambda = 0 \) both the geometric and algebraic multiplicities are \(1 \text{,}\) and for eigenvalue \(\lambda = -7 \) both the geometric and algebraic multiplicities are \(2 \text{.}\) This is consistent with Theoremย 25.6.7 as in neither case is the geometric multiplicity is greater than the algebraic multiplicity.
  3. The matrix is diagonalizable, and a suitable transition matrix and corresponding diagonal form matrix are
    \begin{align*} P \amp = \begin{abmatrix}{rrr} 1 \amp 1 \amp 0 \\ -2 \amp 0 \amp 1 \\ 3 \amp 2 \amp 0 \end{abmatrix} \text{,} \amp D \amp = \begin{bmatrix} 0 \\ \amp -7 \\ \amp \amp -7 \end{bmatrix} \text{.} \end{align*}

5.

\(\displaystyle \begin{abmatrix}{rrr} 0 \amp -14 \amp -15 \\ -1 \amp 7 \amp 9 \\ 1 \amp -10 \amp -12 \end{abmatrix}\)
Answer.
In these answers we use the eigenvectors from the provided answers to Exerciseย 24.7.9, where needed.
  1. Independence is verified by the calculation
    \begin{equation*} \begin{abmatrix}{rr} 1 \amp 6 \\ -1 \amp -3 \\ 1 \amp 4 \end{abmatrix} \quad\rowredarrow\quad \bidentmatthree\text{.} \end{equation*}
  2. For eigenvalue \(\lambda = -3 \) both the geometric and algebraic multiplicities are \(1 \text{,}\) but for eigenvalue \(\lambda = -1 \) the algebraic multiplicity is \(2 \) while the geometric multiplicity is only \(1 \text{.}\) This is consistent with Theoremย 25.6.7 as in neither case is the geometric multiplicity is greater than the algebraic multiplicity.
  3. This matrix is not diagonalizable because it has an eigenvalue whose geometric multiplicity is strictly less than its algebraic multiplicity.

6.

\(\displaystyle \begin{abmatrix}{rrr} 0 \amp 3 \amp - 6 \\ -13 \amp 16 \amp -26 \\ - 5 \amp 5 \amp - 7 \end{abmatrix}\)
Answer.
  1. Since there is only a single eigenvalue, we know that the basis vectors for that single eigenspace that we have already computed (see the provided answers to Exerciseย 24.7.10) form an independent set.
  2. For the single eigenvalue the algebraic multiplicity is \(3 \) while the geometric multiplicity is only \(2 \text{.}\) This is consistent with Theoremย 25.6.7 as the geometric multiplicity is not greater than the algebraic multiplicity.
  3. This matrix is not diagonalizable because it has an eigenvalue whose geometric multiplicity is strictly less than its algebraic multiplicity.

7.

\(\displaystyle \begin{abmatrix}{rrr} -1 \amp 0 \amp 1 \\ -3 \amp 1 \amp 1 \\ -2 \amp 1 \amp 0 \end{abmatrix}\)
Answer.
  1. Since there is only a single eigenvalue, we know that the single basis vector for that single eigenspace that we have already computed (see the provided answers to Exerciseย 24.7.11) forms an independent set.
  2. For the single eigenvalue the algebraic multiplicity is \(3 \) while the geometric multiplicity is only \(1 \text{.}\) This is consistent with Theoremย 25.6.7 as the geometric multiplicity is not greater than the algebraic multiplicity.
  3. This matrix is not diagonalizable because it has an eigenvalue whose geometric multiplicity is strictly less than its algebraic multiplicity.

8.

\(\displaystyle \begin{abmatrix}{rrrr} -19 \amp 0 \amp -30 \amp 0 \\ 0 \amp -4 \amp 0 \amp 0 \\ 9 \amp 0 \amp 14 \amp 0 \\ - 3 \amp 0 \amp - 6 \amp -4 \end{abmatrix}\)
Answer.
In these answers we use the eigenvectors from the provided answers to Exerciseย 24.7.12, where needed.
  1. Independence is verified by the calculation
    \begin{equation*} \begin{abmatrix}{rrrr} 5 \amp 0 \amp -2 \amp 0 \\ 0 \amp 1 \amp 0 \amp 0 \\ -3 \amp 0 \amp 1 \amp 0 \\ 1 \amp 0 \amp 0 \amp 1 \end{abmatrix} \quad\rowredarrow\quad \bidentmatfour\text{.} \end{equation*}
  2. For eigenvalue \(\lambda = -1 \) both the geometric and algebraic multiplicities are \(1 \text{,}\) and for eigenvalue \(\lambda = -4 \) both the geometric and algebraic multiplicities are \(3 \text{.}\) This is consistent with Theoremย 25.6.7 as in neither case is the geometric multiplicity is greater than the algebraic multiplicity.
  3. The matrix is diagonalizable, and a suitable transition matrix and corresponding diagonal form matrix are
    \begin{align*} P \amp = \begin{abmatrix}{rrrr} 5 \amp 0 \amp -2 \amp 0 \\ 0 \amp 1 \amp 0 \amp 0 \\ -3 \amp 0 \amp 1 \amp 0 \\ 1 \amp 0 \amp 0 \amp 1 \end{abmatrix} \text{,} \amp D \amp = \begin{bmatrix} -1 \\ \amp -4 \\ \amp \amp -4 \\ \amp \amp \amp -4 \end{bmatrix} \text{.} \end{align*}

9.

\(\displaystyle \begin{abmatrix}{rrrr} -19 \amp 5 \amp 1 \amp -18 \\ -46 \amp 1 \amp -31 \amp -49 \\ 18 \amp 1 \amp 17 \amp 19 \\ 1 \amp -6 \amp -18 \amp - 1 \end{abmatrix}\)
Answer.
In these answers we use the eigenvectors from the provided answers to Exerciseย 24.7.13, where needed.
  1. Independence is verified by the calculation
    \begin{equation*} \begin{abmatrix}{rrrr} - 8 \amp -1 \amp -2 \\ -17 \amp -1 \amp -3 \\ 5 \amp 0 \amp 1 \\ 4 \amp 1 \amp 1 \end{abmatrix} \quad\rowredarrow\quad \begin{bmatrix} 1 \amp 0 \amp 0 \\ 0 \amp 1 \amp 0 \\ 0 \amp 0 \amp 1 \\ 0 \amp 0 \amp 0 \end{bmatrix}\text{.} \end{equation*}
  2. For each of the eigenvalues \(\lambda = 0 \) and \(\lambda = 4 \) both the geometric and algebraic multiplicities are \(1 \text{,}\) but for eigenvalue \(\lambda = -3 \) the algebraic multiplicity is \(2 \) while the geometric multiplicity is only \(1 \text{.}\) This is consistent with Theoremย 25.6.7 as in no case is the geometric multiplicity is greater than the algebraic multiplicity.
  3. This matrix is not diagonalizable because it has an eigenvalue whose geometric multiplicity is strictly less than its algebraic multiplicity.

10.

\(\displaystyle \begin{abmatrix}{rrrr} -4 \amp 34 \amp 4 \amp 36 \\ 0 \amp 10 \amp 0 \amp 12 \\ -1 \amp 23 \amp 0 \amp 24 \\ 0 \amp -8 \amp 0 \amp -10 \end{abmatrix}\)
Answer.
In these answers we use the eigenvectors from the provided answers to Exerciseย 24.7.14, where needed.
  1. Independence is verified by the calculation
    \begin{equation*} \begin{abmatrix}{rrrr} -9 \amp 2 \amp 1 \\ -3 \amp 0 \amp -1 \\ -6 \amp 1 \amp 0 \\ 2 \amp 0 \amp 1 \end{abmatrix} \quad\rowredarrow\quad \begin{bmatrix} 1 \amp 0 \amp 0 \\ 0 \amp 1 \amp 0 \\ 0 \amp 0 \amp 1 \\ 0 \amp 0 \amp 0 \end{bmatrix}\text{.} \end{equation*}
  2. For eigenvalue \(\lambda = 2 \) both the geometric and algebraic multiplicities are \(1 \text{,}\) but for eigenvalue \(\lambda = -2 \) the algebraic multiplicity is \(3 \) while the geometric multiplicity is only \(2 \text{.}\) This is consistent with Theoremย 25.6.7 as in neither case is the geometric multiplicity is greater than the algebraic multiplicity.
  3. This matrix is not diagonalizable because it has an eigenvalue whose geometric multiplicity is strictly less than its algebraic multiplicity.

11.

\(\displaystyle \begin{abmatrix}{rrrr} -1 \amp 5 \amp -1 \amp -1 \\ 5 \amp - 1 \amp -1 \amp -1 \\ 28 \amp -27 \amp 3 \amp 0 \\ 25 \amp -25 \amp 1 \amp 5 \end{abmatrix}\)
Answer.
In these answers we use the eigenvectors from the provided answers to Exerciseย 24.7.15, where needed.
  1. The two basis eigenvectors are clearly independent from each other, as neither is a scalar multiple of the other.
  2. For eigenvalue \(\lambda = 2-6 \) both the geometric and algebraic multiplicities are \(1 \text{,}\) but for eigenvalue \(\lambda = 4 \) the algebraic multiplicity is \(3 \) while the geometric multiplicity is only \(1 \text{.}\) This is consistent with Theoremย 25.6.7 as in neither case is the geometric multiplicity is greater than the algebraic multiplicity.
  3. This matrix is not diagonalizable because it has an eigenvalue whose geometric multiplicity is strictly less than its algebraic multiplicity.

12.

\(\displaystyle \begin{abmatrix}{rrrr} 0 \amp 0 \amp 0 \amp 1 \\ -2 \amp 2 \amp -3 \amp -1 \\ 1 \amp -1 \amp 1 \amp 1 \\ -3 \amp 3 \amp -4 \amp -3 \end{abmatrix}\)
Answer.
  1. Since there is only a single eigenvalue, we know that the single basis vector for that single eigenspace that we have already computed (see the provided answers to Exerciseย 24.7.16) forms an independent set.
  2. For the single eigenvalue the algebraic multiplicity is \(4 \) while the geometric multiplicity is only \(1 \text{.}\) This is consistent with Theoremย 25.6.7 as the geometric multiplicity is not greater than the algebraic multiplicity.
  3. This matrix is not diagonalizable because it has an eigenvalue whose geometric multiplicity is strictly less than its algebraic multiplicity.

Predicting diagonal form.

In each case, assume that \(A \) is a diagonalizable square matrix with the given characteristic polynomial.
  1. State the size of \(A \text{.}\)
  2. Provide a diagonal form matrix to which \(A \) is similar.

13.

\(c_A(\lambda) = (\lambda + 3) (\lambda + 1) \)
Answer.
  1. \(\displaystyle 2 \times 2 \)
  2. \(\displaystyle \begin{bmatrix} -3 \\ \amp -1 \end{bmatrix} \) or \(\displaystyle \begin{bmatrix} -1 \\ \amp -3 \end{bmatrix} \)

18.

\(c_A(\lambda) = {(\lambda + 8)}^2 (\lambda + 1) (\lambda - 5) (\lambda - 7) \)
Answer.
  1. \(\displaystyle 5 \times 5 \)
  2. \(\displaystyle \begin{bmatrix} -8 \\ \amp -8 \\ \amp \amp -1 \\ \amp \amp \amp 5 \\ \amp \amp \amp \amp 7 \end{bmatrix} \)
    or any reordering of those five diagonal entries.

19.

\(c_A(\lambda) = (\lambda + 9) {(\lambda + 6)}^2 {(\lambda - 1)}^3 {(\lambda - 5)}^4 \)
Answer.
  1. \(\displaystyle 10 \times 10 \)
  2. \(\displaystyle \begin{bmatrix} -9 \\ \amp -6 \\ \amp \amp -6 \\ \amp \amp \amp 1 \\ \amp \amp \amp \amp 1 \\ \amp \amp \amp \amp \amp 1 \\ \amp \amp \amp \amp \amp \amp 5 \\ \amp \amp \amp \amp \amp \amp \amp 5 \\ \amp \amp \amp \amp \amp \amp \amp \amp 5 \\ \amp \amp \amp \amp \amp \amp \amp \amp \amp 5 \\ \end{bmatrix}\)
    or any reordering of those ten diagonal entries.

Extracting information from diagonal form.

In each case, assume that \(A \) is similar to the given diagonal matrix. State the eigenvalues of \(A \text{,}\) the algebraic multiplicity of each eigenvalue, and the characteristic polynomial of \(A \text{.}\)

20.

\(\displaystyle \begin{bmatrix} -1 \\ \amp 4 \end{bmatrix} \)
Answer.
\(\lambda = -1, 4 \text{,}\) each with multiplicity \(1 \text{.}\)
\(c_A(\lambda) = (\lambda + 1) (\lambda - 4) \)

21.

\(\displaystyle \begin{bmatrix} -2 \\ \amp 0 \\ \amp \amp 0 \end{bmatrix} \)
Answer.
\(\lambda_1 = -2 \) with multiplicity \(1 \text{;}\) \(\lambda_2 = 0 \) with multiplicity \(2 \text{.}\)
\(c_A(\lambda) = {\lambda}^2 (\lambda + 2) \)

22.

\(\displaystyle \begin{bmatrix} -8 \\ \amp -2 \\ \amp \amp 5 \\ \amp \amp \amp -8 \end{bmatrix} \)
Answer.
\(\lambda_1 = -8 \) with multiplicity \(2 \text{;}\) \(\lambda_2 = -2 \) with multiplicity \(1 \text{;}\) \(\lambda_3 = 5 \) with multiplicity \(1 \text{.}\)
\(c_A(\lambda) = {(\lambda + 8)}^2 (\lambda + 2) (\lambda - 5) \)

23.

\(\displaystyle \begin{bmatrix} 6 \\ \amp 6 \\ \amp \amp 6 \\ \amp \amp \amp 7 \\ \amp \amp \amp \amp 7 \\ \amp \amp \amp \amp \amp 1 \\ \amp \amp \amp \amp \amp \amp -3 \\ \end{bmatrix}\)
Answer.
\(\lambda_1 = 6 \) with multiplicity \(3 \text{;}\) \(\lambda_2 = 7 \) with multiplicity \(2 \text{;}\) \(\lambda_3 = 1 \) with multiplicity \(1 \text{;}\) \(\lambda_4 = -3 \) with multiplicity \(1 \text{.}\)
\(c_A(\lambda) = {(\lambda - 6)}^3 {(\lambda - 7)}^2 (\lambda - 1) (\lambda + 3) \)

25. Reordering eigenvalues.

A \(4 \times 4 \) matrix \(A \) with characteristic polynomial
\begin{equation*} c_A(\lambda) = (\lambda - 1) (\lambda - 2) (\lambda - 3) (\lambda - 4) \end{equation*}
must be diagonalizable, by Statementย 2 of Corollaryย 25.6.9. In particular, if \(P \) is a \(4 \times 4 \) matrix constructed by an eigenvector for each of the eigenvalues \(\lambda = 1, 2, 3, 4 \text{,}\) in order, for its columns, then it will be that
\begin{equation*} \inv{P} A P = \begin{bmatrix} 1 \\ \amp 2 \\ \amp \amp 3 \\ \amp \amp \amp 4 \end{bmatrix} \text{.} \end{equation*}
Determine an invertible matrix \(E \) so that, for \(Q = P E \text{,}\) it will be that
\begin{equation*} \inv{Q} A Q = \begin{bmatrix} 3 \\ \amp 2 \\ \amp \amp 1 \\ \amp \amp \amp 4 \end{bmatrix} \text{.} \end{equation*}
Hint.
The letter \(E \) has been chosen deliberately to represent the matrix to be used to โ€œtransformโ€ the initial transition matrix \(P \) into a new transition matrix \(Q \text{.}\) Recall that the result of a matrix product \(E P \text{,}\) with an elementary matrix \(E \) on the left, is the same as if an elementary row operation had been performed on \(P \text{.}\) It turns out that the result of a matrix product \(P E \) with elementary \(E \) on the right is the same as if an โ€œelementary column operationโ€ had been performed on \(P \text{.}\) Apply this new pattern for elementary matrices, combined with the summary information in the concluding sentences of Procedureย 25.4.1
Answer.
\(\displaystyle E = \begin{bmatrix} 0 \amp 0 \amp 1 \amp 0 \\ 0 \amp 1 \amp 0 \amp 0 \\ 1 \amp 0 \amp 0 \amp 0 \\ 0 \amp 0 \amp 0 \amp 1 \end{bmatrix}\)

Similarity of diagonal matrices.

In each case, determine whether the pair of matrices are similar. If they are, exhibiting a specific transition matrix that achieves a similarity relationship between the two. If they are not, provide convincing reasoning to justify this answer based on facts from Sectionย 25.6.
Hint. In cases where you think they are similar, attempt to apply the technique of Exerciseย 25.

26.

\(\displaystyle \begin{bmatrix} 1 \\ \amp 2 \\ \amp \amp 3 \\ \amp \amp \amp 4 \\ \amp \amp \amp \amp 5 \end{bmatrix} \text{,}\) \(\displaystyle \begin{bmatrix} 5 \\ \amp 3 \\ \amp \amp 2 \\ \amp \amp \amp 4 \\ \amp \amp \amp \amp 1 \end{bmatrix} \text{.}\)
Answer.
Yes, they are similar. One possible transition matrix is
\begin{equation*} P = \begin{bmatrix} 0 \amp 0 \amp 0 \amp 0 \amp 1 \\ 0 \amp 0 \amp 1 \amp 0 \amp 0 \\ 0 \amp 1 \amp 0 \amp 0 \amp 0 \\ 0 \amp 0 \amp 0 \amp 1 \amp 0 \\ 1 \amp 0 \amp 0 \amp 0 \amp 0 \end{bmatrix}\text{.} \end{equation*}

27.

\(\displaystyle \begin{bmatrix} 1 \\ \amp 2 \\ \amp \amp 3 \\ \amp \amp \amp 4 \\ \amp \amp \amp \amp 5 \end{bmatrix} \text{,}\) \(\displaystyle \begin{bmatrix} 1 \\ \amp 2 \\ \amp \amp 3 \\ \amp \amp \amp 4 \\ \amp \amp \amp \amp -5 \end{bmatrix} \text{.}\)
Hint.
Consider any one of the statements of Propositionย 25.6.1.

28.

\(\displaystyle \begin{bmatrix} 1 \\ \amp 2 \\ \amp \amp 2 \\ \amp \amp \amp 3 \\ \amp \amp \amp \amp 3 \\ \amp \amp \amp \amp \amp 3 \end{bmatrix} \text{,}\) \(\displaystyle \begin{bmatrix} 3 \\ \amp 2 \\ \amp \amp 3 \\ \amp \amp \amp 1 \\ \amp \amp \amp \amp 3 \\ \amp \amp \amp \amp \amp 2 \end{bmatrix} \text{.}\)
Answer.
Yes, they are similar. One possible transition matrix is
\begin{equation*} P = \begin{bmatrix} 0 \amp 0 \amp 0 \amp 1 \amp 0 \amp 0 \\ 0 \amp 1 \amp 0 \amp 0 \amp 0 \amp 0 \\ 0 \amp 0 \amp 0 \amp 0 \amp 0 \amp 1 \\ 1 \amp 0 \amp 0 \amp 0 \amp 0 \amp 0 \\ 0 \amp 0 \amp 0 \amp 0 \amp 1 \amp 0 \\ 0 \amp 0 \amp 1 \amp 0 \amp 0 \amp 0 \end{bmatrix}\text{.} \end{equation*}

29. Pattern of similarity for diagonal matrices.

(c)

Does the pattern of similarity between diagonal matrices, expressed using your reworded formulation from Taskย b, also accurately characterize when two diagonalizable (but not necessarily diagonal) matrices are similar?

Determining similarity.

In each case, determine whether the pair of matrices are similar. If they are, exhibiting a specific transition matrix that achieves a similarity relationship between the two. If they are not, provide convincing reasoning to justify this answer based on facts from Sectionย 25.6.

32.

The matrix from Exerciseย 3 along with the matrix below.
\begin{equation*} \begin{abmatrix}{rrr} - 7 \amp 4 \amp - 7 \\ -18 \amp 10 \amp -12 \\ 8 \amp -4 \amp 8 \end{abmatrix} \end{equation*}
Hint.
Is the second matrix diagonalizable? To what diagonal form matrix is it similar?
Solution.
Yes, they are similar.
Let \(A \) represent the matrix from Exerciseย 3. In the answer to that exercise we provided a transition matrix and corresponding diagonal form:
\begin{equation*} P = \begin{bmatrix} 0 \amp 1 \amp 2 \\ 0 \amp 1 \amp 1 \\ 1 \amp 0 \amp 2 \end{bmatrix} \quad\implies\quad \inv{P} A P = \begin{bmatrix} 1 \\ \amp 4 \\ \amp \amp 6 \end{bmatrix}\text{.} \end{equation*}
Let \(B \) represent the second matrix provided in this exercise. It can be determined that \(B \) is also diagonalizable, and following Procedureย 25.4.1 leads to a transition matrix and corresponding diagonal form:
\begin{equation*} Q = \begin{abmatrix}{rrr} 1 \amp 1 \amp 2 \\ 2 \amp 1 \amp 3 \\ 0 \amp -1 \amp -2 \end{abmatrix} \quad\implies\quad \inv{Q} B Q = \begin{bmatrix} 1 \\ \amp 4 \\ \amp \amp 6 \end{bmatrix}\text{.} \end{equation*}
So \(A \) and \(B \) are similar to the same diagonal form, and from that we have
\begin{equation*} \inv{Q} B Q = \inv{P} A P \text{.} \end{equation*}
Isolating \(B \) in this equality leads to similarity relation \(B = \inv{R} A R \) for transition matrix \(R = P \inv{Q} \text{.}\)

33. Similarity of upper/lower triangular.

Verify that for every upper triangular matrix there exists a lower triangular matrix to which it is similar.
Hint.
Reconsider the information in the hint to Exerciseย 25 in the following way: if \(E \) is an elementary matrix, then the result of \(\inv{E} A E \) can be re-interpreted as applying both an elementary column operation and the corresponding reverse elementary row operation.
Solution.
Use the โ€œanti-diagonalโ€ transition matrix \(P = \left[\begin{smallmatrix} \amp \amp \amp 1 \\ \amp \amp \iddots \\ \amp 1 \\ 1 \end{smallmatrix}\right] \text{.}\)

Similarity of scalar matrices.

In each case, verify that the matrix is similar to no other matrix besides itself.