First, let's calculate the product \( AB \): \[ A = \begin{pmatrix} 1 & -2 & 1 \\ 2 & 1 & 3 \end{pmatrix}, \quad B = \begin{pmatrix} 2 & 1 \\ 3 & 2 \\ 1 & 1 \end{pmatrix} \] The product of two matrices \( AB \) is calculated as follows: \[ AB = \begin{pmatrix} 1 & -2 & 1 \\ 2 & 1 & 3 \end{pmatrix} \times \begin{pmatrix} 2 & 1 \\ 3 & 2 \\ 1 & 1 \end{pmatrix} \] Now, we multiply the rows of \( A \) with the columns of \( B \): - First row, first column: \( 1 \times 2 + (-2) \times 3 + 1 \times 1 = 2 - 6 + 1 = -3 \)
First row, second column: \( 1 \times 1 + (-2) \times 2 + 1 \times 1 = 1 - 4 + 1 = -2 \)
Second row, first column: \( 2 \times 2 + 1 \times 3 + 3 \times 1 = 4 + 3 + 3 = 10 \)
Second row, second column: \( 2 \times 1 + 1 \times 2 + 3 \times 1 = 2 + 2 + 3 = 7 \)
Therefore, \( AB = \begin{pmatrix} -3 & -2 \\ 10 & 7 \end{pmatrix} \).
Now, we need to find \( (AB)^\prime \), which is the transpose of \( AB \).
The transpose of a matrix is obtained by switching its rows and columns: \[ (AB)^\prime = \begin{pmatrix} -3 & 10 \\ -2 & 7 \end{pmatrix} \]
Thus, the correct answer is \( \begin{pmatrix} -3 & 10 \\ -2 & 7 \end{pmatrix} \), which corresponds to option (B).