If the matrix
\[
A =
\begin{pmatrix}
2 & 0 & -1 \\
5 & 1 & 0 \\
0 & 1 & 3
\end{pmatrix}
\]
satisfies the matrix equation:
Show Hint
Using the formula \( \lambda^3 - (\text{tr}(A))\lambda^2 + (\text{sum of diagonal cofactors})\lambda - \det(A) = 0 \) is a much faster way to find the characteristic equation for a 3x3 matrix than expanding \( \det(A - \lambda I) \) directly, reducing the chance of algebraic errors.