Determine the product of the two matrices
Check the shapes and fix the rule. is and is , so the inner dimensions match and is . The entry in row , column is the dot product of row of with column of :
Multiplying entry by entry in the same position is the classic error — that is not matrix multiplication.
Compute row 1 of the product. Row of is :
Compute row 2. Row of is :
Compute row 3. Row of is , so the third column of never contributes through its bottom entry:
Assemble the product.
Spot-check with a column vector. Multiplying by picks out its first column ; then , which is exactly the first column of ✓. Remember also that matrix multiplication is not commutative: is a different matrix.
Need to solve a different problem like this? Open the solver →