Step 1: Compute \( A^2 \). This is done by multiplying matrix \( A \) by itself: \[ A^2 = \begin{bmatrix} 3 & 1 \\ -1 & 2 \end{bmatrix} \begin{bmatrix} 3 & 1 \\ -1 & 2 \end{bmatrix} = \begin{bmatrix} 8 & 5 \\ 1 & 3 \end{bmatrix} \]
Step 2: Substitute \( A^2 \) into the equation \( A^2 + 7I = kA \). The equation becomes: \[ \begin{bmatrix} 8 & 5 \\ 1 & 3 \end{bmatrix} + 7 \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = k \begin{bmatrix} 3 & 1 \\ -1 & 2 \end{bmatrix} \] Simplify the left side: \[ \begin{bmatrix} 8 & 5 \\ 1 & 3 \end{bmatrix} + \begin{bmatrix} 7 & 0 \\ 0 & 7 \end{bmatrix} = \begin{bmatrix} 15 & 5 \\ 1 & 10 \end{bmatrix} \] Equate this to \( kA \): \[ \begin{bmatrix} 15 & 5 \\ 1 & 10 \end{bmatrix} = k \begin{bmatrix} 3 & 1 \\ -1 & 2 \end{bmatrix} \] By equating corresponding elements, we find \( k = 5 \).
Step 3: Verify the options. The calculated value \( k = 5 \) matches option (C).