Question:medium

If \( A = \begin{bmatrix} 2 & 0 & 1 \\ 2 & 1 & 3 \\ 1 & -1 & 0 \end{bmatrix} \), then compute \( A^{2} - 5A + 4I \).

Show Hint

Find A squared by row-by-column multiplication, subtract 5A, and add 4 on the diagonal.
Updated On: Oct 22, 2026
Show Solution

Solution and Explanation

Step 1: Factor the first two terms:
Since $A^2 - 5A = A(A - 5I)$, we can multiply $A$ by $A-5I$ and then add $4I$. This is a different order of work from computing $A^2$ and $5A$ separately.

Step 2: Form $A - 5I$:
Subtract 5 from each diagonal entry of $A$.
\[ A - 5I = \begin{bmatrix} -3 & 0 & 1 \\ 2 & -4 & 3 \\ 1 & -1 & -5 \end{bmatrix} \]

Step 3: Multiply $A(A-5I)$:
Row 1 of $A$ is $(2,0,1)$. It gives $(-6+0+1,\ 0+0-1,\ 2+0-5) = (-5,-1,-3)$.
Row 2 is $(2,1,3)$. It gives $(-6+2+3,\ 0-4-3,\ 2+3-15) = (-1,-7,-10)$.
Row 3 is $(1,-1,0)$. It gives $(-3-2+0,\ 0+4+0,\ 1-3+0) = (-5,4,-2)$.
\[ A^2 - 5A = \begin{bmatrix} -5 & -1 & -3 \\ -1 & -7 & -10 \\ -5 & 4 & -2 \end{bmatrix} \]

Step 4: Add $4I$:
Only the diagonal changes, each by $+4$.
\[ A^2 - 5A + 4I = \begin{bmatrix} -1 & -1 & -3 \\ -1 & -3 & -10 \\ -5 & 4 & 2 \end{bmatrix} \]

Final Answer:
The result is the matrix above. \[ \boxed{\begin{bmatrix} -1 & -1 & -3 \\ -1 & -3 & -10 \\ -5 & 4 & 2 \end{bmatrix}} \]
Was this answer helpful?
0