Find the product of the matrices [[2,-1,1],[0,0,-3],[-3,-3,0]] and [[1,-1,1],[0,4,-...

Check the final answer first, then review the worked steps.

Answer

\(\begin{bmatrix} 3 & -6 & 4 \\ -3 & 0 & -3 \\ -3 & -9 & 0 \end{bmatrix}\)

Work

$$\begin{bmatrix} 2 & -1 & 1 \\ 0 & 0 & -3 \\ -3 & -3 & 0 \end{bmatrix} \begin{bmatrix} 1 & -1 & 1 \\ 0 & 4 & -1 \\ 1 & 0 & 1 \end{bmatrix} = \begin{bmatrix} 2+0+1 & -2-4+0 & 2+1+1 \\ 0+0-3 & 0+0+0 & 0+0-3 \\ -3+0+0 & 3-12+0 & -3+3+0 \end{bmatrix} = \begin{bmatrix} 3 & -6 & 4 \\ -3 & 0 & -3 \\ -3 & -9 & 0 \end{bmatrix}$$

Step-by-step solution

  1. Multiply the first row of the left matrix by the columns of the right matrix: $(2)(1) + (-1)(0) + (1)(1) = 3$, $(2)(-1) + (-1)(4) + (1)(0) = -6$, and $(2)(1) + (-1)(-1) + (1)(1) = 4$.
  2. Multiply the second row of the left matrix by the columns of the right matrix: $(0)(1) + (0)(0) + (-3)(1) = -3$, $(0)(-1) + (0)(4) + (-3)(0) = 0$, and $(0)(1) + (0)(-1) + (-3)(1) = -3$.
  3. Multiply the third row of the left matrix by the columns of the right matrix: $(-3)(1) + (-3)(0) + (0)(1) = -3$, $(-3)(-1) + (-3)(4) + (0)(0) = 3 - 12 = -9$, and $(-3)(1) + (-3)(-1) + (0)(1) = -3 + 3 = 0$.