SOLVER7 Study. Nothing Else.
Exercise 3.2 Q14(ii)

Show that\[ \left[\begin{array}\text 1&2&3\\ 0&1&0\\ 1&1&0\end{array} \right] \left[ \begin{array}\text -1&1&0\\ 0&-1&1\\ 2&3&4\end{array} \right]\ne \left[ \begin{array}\text -1&1&0\\ 0&-1&1\\ 2&3&4\end{array} \right] \left[ \begin{array}\text 1&2&3\\ 0&1&0\\ 1&1&0\end{array} \right] \]

CBSE Class 12 Maths · Matrices

Solution

👶 Simple Explanation

Simple Explanation

Imagine putting on socks and then shoes — that is very different from putting on shoes and then socks! Multiplying two matrices works the same way. When we multiply matrix A by matrix B, we get one answer. When we flip the order and multiply B by A, we get a completely different answer. This is unlike regular numbers, where 3 times 4 always equals 4 times 3. Matrices are special: swapping the order usually changes everything.

Answer: The two products are \[AB = \begin{bmatrix} 5 & 8 & 14 \\ 0 & -1 & 1 \\ -1 & 0 & 1 \end{bmatrix}, \quad BA = \begin{bmatrix} -1 & -1 & -3 \\ 1 & 0 & 0 \\ 6 & 11 & 6 \end{bmatrix}\] Since \(AB \ne BA\), the given inequality is proved, confirming that matrix multiplication is not commutative in general.

📖 Matrix Multiplication is Not Commutative

Detailed Explanation

For two square matrices \(A\) and \(B\) of the same order, both products \(AB\) and \(BA\) exist, but they need NOT be equal. Unlike ordinary numbers, matrix multiplication is not commutative in general. To multiply two matrices, the element in row \(i\), column \(j\) of the product is obtained by taking the dot product of row \(i\) of the first matrix with column \(j\) of the second matrix. In this problem we let \[A = \begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 0 \\ 1 & 1 & 0 \end{bmatrix}, \quad B = \begin{bmatrix} -1 & 1 & 0 \\ 0 & -1 & 1 \\ 2 & 3 & 4 \end{bmatrix}\] and show that \(AB \ne BA\) by computing both products and comparing them.

Formula Used

If \(A = [a_{ik}]\) and \(B = [b_{kj}]\) are matrices, then the product \(C = AB = [c_{ij}]\) is given by \[c_{ij} = \sum_{k} a_{ik}\, b_{kj}\] (row of \(A\) times column of \(B\)).

Solution

  1. Step 1: Name the matrices and note both products exist. Let \[A = \begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 0 \\ 1 & 1 & 0 \end{bmatrix}, \quad B = \begin{bmatrix} -1 & 1 & 0 \\ 0 & -1 & 1 \\ 2 & 3 & 4 \end{bmatrix}\] Both are \(3 \times 3\), so \(AB\) and \(BA\) are both defined and each is \(3 \times 3\).
  2. Step 2: Compute the first row of \(AB\) using row 1 of \(A\), which is \((1, 2, 3)\), against each column of \(B\). \[1(-1)+2(0)+3(2) = 5\] \[1(1)+2(-1)+3(3) = 8\] \[1(0)+2(1)+3(4) = 14\] So the first row of \(AB\) is \((5, 8, 14)\).
  3. Step 3: Compute the second row of \(AB\) using row 2 of \(A\), which is \((0, 1, 0)\). \[0(-1)+1(0)+0(2) = 0\] \[0(1)+1(-1)+0(3) = -1\] \[0(0)+1(1)+0(4) = 1\] So the second row of \(AB\) is \((0, -1, 1)\).
  4. Step 4: Compute the third row of \(AB\) using row 3 of \(A\), which is \((1, 1, 0)\). \[1(-1)+1(0)+0(2) = -1\] \[1(1)+1(-1)+0(3) = 0\] \[1(0)+1(1)+0(4) = 1\] So the third row of \(AB\) is \((-1, 0, 1)\). Therefore \[AB = \begin{bmatrix} 5 & 8 & 14 \\ 0 & -1 & 1 \\ -1 & 0 & 1 \end{bmatrix}\]
  5. Step 5: Now compute \(BA\). First row of \(BA\) uses row 1 of \(B\), which is \((-1, 1, 0)\), against the columns of \(A\). \[-1(1)+1(0)+0(1) = -1\] \[-1(2)+1(1)+0(1) = -1\] \[-1(3)+1(0)+0(0) = -3\] So the first row of \(BA\) is \((-1, -1, -3)\).
  6. Step 6: Second row of \(BA\) uses row 2 of \(B\), which is \((0, -1, 1)\). \[0(1)+(-1)(0)+1(1) = 1\] \[0(2)+(-1)(1)+1(1) = 0\] \[0(3)+(-1)(0)+1(0) = 0\] So the second row of \(BA\) is \((1, 0, 0)\).
  7. Step 7: Third row of \(BA\) uses row 3 of \(B\), which is \((2, 3, 4)\). \[2(1)+3(0)+4(1) = 6\] \[2(2)+3(1)+4(1) = 11\] \[2(3)+3(0)+4(0) = 6\] So the third row of \(BA\) is \((6, 11, 6)\). Therefore \[BA = \begin{bmatrix} -1 & -1 & -3 \\ 1 & 0 & 0 \\ 6 & 11 & 6 \end{bmatrix}\]
  8. Step 8: Compare the two products entry by entry. For example, the top-left entry of \(AB\) is \(5\) while the top-left entry of \(BA\) is \(-1\). Since even one pair of corresponding entries differs, the whole matrices are unequal. \[AB = \begin{bmatrix} 5 & 8 & 14 \\ 0 & -1 & 1 \\ -1 & 0 & 1 \end{bmatrix} \ne \begin{bmatrix} -1 & -1 & -3 \\ 1 & 0 & 0 \\ 6 & 11 & 6 \end{bmatrix} = BA\]

Final Answer

The two products are \[AB = \begin{bmatrix} 5 & 8 & 14 \\ 0 & -1 & 1 \\ -1 & 0 & 1 \end{bmatrix}, \quad BA = \begin{bmatrix} -1 & -1 & -3 \\ 1 & 0 & 0 \\ 6 & 11 & 6 \end{bmatrix}\] Since \(AB \ne BA\), the given inequality is proved, confirming that matrix multiplication is not commutative in general.

Common Mistake

A very common mistake is multiplying corresponding entries directly (like \(1 \times -1\), \(2 \times 1\), etc.) instead of taking the proper row-by-column dot products. Another frequent error is swapping the roles of rows and columns, or assuming \(AB = BA\) as with ordinary numbers, which is false for matrices in general.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write down both matrices and confirm both products are defined. Let \[A = \begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 0 \\ 1 & 1 & 0 \end{bmatrix}, \quad B = \begin{bmatrix} -1 & 1 & 0 \\ 0 & -1 & 1 \\ 2 & 3 & 4 \end{bmatrix}\] — Reason: Both matrices are \(3 \times 3\), so both \(AB\) and \(BA\) are defined and each result is also a \(3 \times 3\) matrix.
  2. Step 2: Compute the first row of \(AB\) using Row 1 of \(A\), which is \((1,\, 2,\, 3)\), dotted with each column of \(B\). Column 1 of \(B\) is \((-1,\, 0,\, 2)\): \[1(-1) + 2(0) + 3(2) = -1 + 0 + 6 = 5\] Column 2 of \(B\) is \((1,\, -1,\, 3)\): \[1(1) + 2(-1) + 3(3) = 1 - 2 + 9 = 8\] Column 3 of \(B\) is \((0,\, 1,\, 4)\): \[1(0) + 2(1) + 3(4) = 0 + 2 + 12 = 14\] — Reason: The \((1,j)\) entry of \(AB\) is always the dot product of Row 1 of \(A\) with Column \(j\) of \(B\).
  3. Step 3: Compute the second and third rows of \(AB\). Row 2 of \(A\) is \((0,\, 1,\, 0)\): \[0(-1)+1(0)+0(2) = 0, \quad 0(1)+1(-1)+0(3) = -1, \quad 0(0)+1(1)+0(4) = 1\] Row 3 of \(A\) is \((1,\, 1,\, 0)\): \[1(-1)+1(0)+0(2) = -1, \quad 1(1)+1(-1)+0(3) = 0, \quad 1(0)+1(1)+0(4) = 1\] — Reason: Repeating the dot-product rule for every remaining row of \(A\) fills out all nine entries of \(AB\).
  4. Step 4: Record the complete product \(AB\): \[AB = \begin{bmatrix} 5 & 8 & 14 \\ 0 & -1 & 1 \\ -1 & 0 & 1 \end{bmatrix}\] — Reason: Collecting all three rows computed above gives the full matrix \(AB\).
  5. Step 5: Now compute \(BA\) by taking rows of \(B\) and dotting them with columns of \(A\). Row 1 of \(B\) is \((-1,\, 1,\, 0)\): \[-1(1)+1(0)+0(1) = -1, \quad -1(2)+1(1)+0(1) = -1, \quad -1(3)+1(0)+0(0) = -3\] Row 2 of \(B\) is \((0,\, -1,\, 1)\): \[0(1)+(-1)(0)+1(1) = 1, \quad 0(2)+(-1)(1)+1(1) = 0, \quad 0(3)+(-1)(0)+1(0) = 0\] Row 3 of \(B\) is \((2,\, 3,\, 4)\): \[2(1)+3(0)+4(1) = 6, \quad 2(2)+3(1)+4(1) = 11, \quad 2(3)+3(0)+4(0) = 6\] — Reason: For \(BA\), the roles of the two matrices are swapped; we now use rows of \(B\) with columns of \(A\).
  6. Step 6: Record the complete product \(BA\): \[BA = \begin{bmatrix} -1 & -1 & -3 \\ 1 & 0 & 0 \\ 6 & 11 & 6 \end{bmatrix}\] — Reason: Assembling all three rows gives the full matrix \(BA\), which we can now compare directly with \(AB\).
  7. Step 7: Compare \(AB\) and \(BA\) entry by entry. Even the \((1,1)\) entries differ: \(AB\) has \(5\) while \(BA\) has \(-1\). Therefore \(AB \ne BA\). — Reason: Two matrices are equal only if every corresponding entry is equal; a single mismatch is enough to confirm they are different, proving non-commutativity.

Final Answer

The two products are \[AB = \begin{bmatrix} 5 & 8 & 14 \\ 0 & -1 & 1 \\ -1 & 0 & 1 \end{bmatrix}, \quad BA = \begin{bmatrix} -1 & -1 & -3 \\ 1 & 0 & 0 \\ 6 & 11 & 6 \end{bmatrix}\] Since \(AB \ne BA\), the given inequality is proved, confirming that matrix multiplication is not commutative in general.

Common Mistake

One common mistake: Students accidentally swap the order of multiplication mid-calculation — for example, using rows of \(B\) when computing \(AB\) instead of rows of \(A\). Always remember: in \(AB\), take rows from the FIRST matrix (\(A\)) and columns from the SECOND matrix (\(B\)).

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Given Matrices: \[A = \begin{bmatrix} 1 & 2 & 3 \\ 0 & 1 & 0 \\ 1 & 1 & 0 \end{bmatrix}, \quad B = \begin{bmatrix} -1 & 1 & 0 \\ 0 & -1 & 1 \\ 2 & 3 & 4 \end{bmatrix}\]
  2. Step 2: Compute AB: Row 1 of \(AB\): \(1(-1)+2(0)+3(2)=5\), \(1(1)+2(-1)+3(3)=8\), \(1(0)+2(1)+3(4)=14\). Row 2 of \(AB\): \(0(-1)+1(0)+0(2)=0\), \(0(1)+1(-1)+0(3)=-1\), \(0(0)+1(1)+0(4)=1\). Row 3 of \(AB\): \(1(-1)+1(0)+0(2)=-1\), \(1(1)+1(-1)+0(3)=0\), \(1(0)+1(1)+0(4)=1\). \[AB = \begin{bmatrix} 5 & 8 & 14 \\ 0 & -1 & 1 \\ -1 & 0 & 1 \end{bmatrix}\]
  3. Step 3: Compute BA: Row 1 of \(BA\): \((-1)(1)+1(0)+0(1)=-1\), \((-1)(2)+1(1)+0(1)=-1\), \((-1)(3)+1(0)+0(0)=-3\). Row 2 of \(BA\): \(0(1)+(-1)(0)+1(1)=1\), \(0(2)+(-1)(1)+1(1)=0\), \(0(3)+(-1)(0)+1(0)=0\). Row 3 of \(BA\): \(2(1)+3(0)+4(1)=6\), \(2(2)+3(1)+4(1)=11\), \(2(3)+3(0)+4(0)=6\). \[BA = \begin{bmatrix} -1 & -1 & -3 \\ 1 & 0 & 0 \\ 6 & 11 & 6 \end{bmatrix}\]

Answer: The two products are \[AB = \begin{bmatrix} 5 & 8 & 14 \\ 0 & -1 & 1 \\ -1 & 0 & 1 \end{bmatrix}, \quad BA = \begin{bmatrix} -1 & -1 & -3 \\ 1 & 0 & 0 \\ 6 & 11 & 6 \end{bmatrix}\] Since \(AB \ne BA\), the given inequality is proved, confirming that matrix multiplication is not commutative in general.

➕ More Examples

More Examples

Example 1

Question: Let \[A = \begin{bmatrix} 2 & 1 & 0 \\ 0 & 3 & 1 \\ 1 & 0 & 2 \end{bmatrix}, \quad B = \begin{bmatrix} 1 & 0 & 2 \\ 3 & 1 & 0 \\ 0 & 2 & 1 \end{bmatrix}.\] Show that \( AB \ne BA \).

Solution: We compute AB first. Row 1 of A times columns of B: Entry (1,1): \( 2(1) + 1(3) + 0(0) = 2 + 3 + 0 = 5 \) Entry (1,2): \( 2(0) + 1(1) + 0(2) = 0 + 1 + 0 = 1 \) Entry (1,3): \( 2(2) + 1(0) + 0(1) = 4 + 0 + 0 = 4 \) Row 2 of A times columns of B: Entry (2,1): \( 0(1) + 3(3) + 1(0) = 0 + 9 + 0 = 9 \) Entry (2,2): \( 0(0) + 3(1) + 1(2) = 0 + 3 + 2 = 5 \) Entry (2,3): \( 0(2) + 3(0) + 1(1) = 0 + 0 + 1 = 1 \) Row 3 of A times columns of B: Entry (3,1): \( 1(1) + 0(3) + 2(0) = 1 + 0 + 0 = 1 \) Entry (3,2): \( 1(0) + 0(1) + 2(2) = 0 + 0 + 4 = 4 \) Entry (3,3): \( 1(2) + 0(0) + 2(1) = 2 + 0 + 2 = 4 \) Therefore: \[AB = \begin{bmatrix} 5 & 1 & 4 \\ 9 & 5 & 1 \\ 1 & 4 & 4 \end{bmatrix}\] Now we compute BA. Row 1 of B times columns of A: Entry (1,1): \( 1(2) + 0(0) + 2(1) = 2 + 0 + 2 = 4 \) Entry (1,2): \( 1(1) + 0(3) + 2(0) = 1 + 0 + 0 = 1 \) Entry (1,3): \( 1(0) + 0(1) + 2(2) = 0 + 0 + 4 = 4 \) Row 2 of B times columns of A: Entry (2,1): \( 3(2) + 1(0) + 0(1) = 6 + 0 + 0 = 6 \) Entry (2,2): \( 3(1) + 1(3) + 0(0) = 3 + 3 + 0 = 6 \) Entry (2,3): \( 3(0) + 1(1) + 0(2) = 0 + 1 + 0 = 1 \) Row 3 of B times columns of A: Entry (3,1): \( 0(2) + 2(0) + 1(1) = 0 + 0 + 1 = 1 \) Entry (3,2): \( 0(1) + 2(3) + 1(0) = 0 + 6 + 0 = 6 \) Entry (3,3): \( 0(0) + 2(1) + 1(2) = 0 + 2 + 2 = 4 \) Therefore: \[BA = \begin{bmatrix} 4 & 1 & 4 \\ 6 & 6 & 1 \\ 1 & 6 & 4 \end{bmatrix}\] Comparing the (1,1) entries: the entry in AB is 5, while the entry in BA is 4. Since \( 5 \ne 4 \), the matrices AB and BA differ. Hence \( AB \ne BA \).

Answer: \[AB = \begin{bmatrix} 5 & 1 & 4 \\ 9 & 5 & 1 \\ 1 & 4 & 4 \end{bmatrix} \ne \begin{bmatrix} 4 & 1 & 4 \\ 6 & 6 & 1 \\ 1 & 6 & 4 \end{bmatrix} = BA\]

Example 2

Question: Let \[P = \begin{bmatrix} 0 & 1 & 2 \\ 1 & 0 & 3 \\ 2 & 1 & 0 \end{bmatrix}, \quad Q = \begin{bmatrix} 1 & 2 & 0 \\ 0 & 1 & 3 \\ 1 & 0 & 2 \end{bmatrix}.\] Show that \( PQ \ne QP \).

Solution: We first compute PQ. Row 1 of P times columns of Q: Entry (1,1): \( 0(1) + 1(0) + 2(1) = 0 + 0 + 2 = 2 \) Entry (1,2): \( 0(2) + 1(1) + 2(0) = 0 + 1 + 0 = 1 \) Entry (1,3): \( 0(0) + 1(3) + 2(2) = 0 + 3 + 4 = 7 \) Row 2 of P times columns of Q: Entry (2,1): \( 1(1) + 0(0) + 3(1) = 1 + 0 + 3 = 4 \) Entry (2,2): \( 1(2) + 0(1) + 3(0) = 2 + 0 + 0 = 2 \) Entry (2,3): \( 1(0) + 0(3) + 3(2) = 0 + 0 + 6 = 6 \) Row 3 of P times columns of Q: Entry (3,1): \( 2(1) + 1(0) + 0(1) = 2 + 0 + 0 = 2 \) Entry (3,2): \( 2(2) + 1(1) + 0(0) = 4 + 1 + 0 = 5 \) Entry (3,3): \( 2(0) + 1(3) + 0(2) = 0 + 3 + 0 = 3 \) Therefore: \[PQ = \begin{bmatrix} 2 & 1 & 7 \\ 4 & 2 & 6 \\ 2 & 5 & 3 \end{bmatrix}\] Now we compute QP. Row 1 of Q times columns of P: Entry (1,1): \( 1(0) + 2(1) + 0(2) = 0 + 2 + 0 = 2 \) Entry (1,2): \( 1(1) + 2(0) + 0(1) = 1 + 0 + 0 = 1 \) Entry (1,3): \( 1(2) + 2(3) + 0(0) = 2 + 6 + 0 = 8 \) Row 2 of Q times columns of P: Entry (2,1): \( 0(0) + 1(1) + 3(2) = 0 + 1 + 6 = 7 \) Entry (2,2): \( 0(1) + 1(0) + 3(1) = 0 + 0 + 3 = 3 \) Entry (2,3): \( 0(2) + 1(3) + 3(0) = 0 + 3 + 0 = 3 \) Row 3 of Q times columns of P: Entry (3,1): \( 1(0) + 0(1) + 2(2) = 0 + 0 + 4 = 4 \) Entry (3,2): \( 1(1) + 0(0) + 2(1) = 1 + 0 + 2 = 3 \) Entry (3,3): \( 1(2) + 0(3) + 2(0) = 2 + 0 + 0 = 2 \) Therefore: \[QP = \begin{bmatrix} 2 & 1 & 8 \\ 7 & 3 & 3 \\ 4 & 3 & 2 \end{bmatrix}\] Comparing entry (1,3): in PQ it is 7, while in QP it is 8. Since \( 7 \ne 8 \), we conclude \( PQ \ne QP \).

Answer: \[PQ = \begin{bmatrix} 2 & 1 & 7 \\ 4 & 2 & 6 \\ 2 & 5 & 3 \end{bmatrix} \ne \begin{bmatrix} 2 & 1 & 8 \\ 7 & 3 & 3 \\ 4 & 3 & 2 \end{bmatrix} = QP\]

🎯 Try a Similar Question

Try a Similar Question

Question: Let \[A = \begin{bmatrix} 2 & 1 & 0 \\ 1 & 0 & 3 \\ 0 & 2 & 1 \end{bmatrix} \quad \text{and} \quad B = \begin{bmatrix} 1 & 0 & 2 \\ 3 & 1 & 0 \\ 0 & 2 & 1 \end{bmatrix}\] Show that \( AB \ne BA \), thereby verifying that matrix multiplication is not commutative in general.

Solution

  1. Step 1: Compute AB: Multiply matrix A on the left by matrix B on the right. Each entry of AB is the dot product of a row of A with a column of B. Row 1 of A is \( \begin{bmatrix} 2 & 1 & 0 \end{bmatrix} \). Row 2 of A is \( \begin{bmatrix} 1 & 0 & 3 \end{bmatrix} \). Row 3 of A is \( \begin{bmatrix} 0 & 2 & 1 \end{bmatrix} \). Columns of B are: Col 1 = \( \begin{bmatrix} 1 \\ 3 \\ 0 \end{bmatrix} \), Col 2 = \( \begin{bmatrix} 0 \\ 1 \\ 2 \end{bmatrix} \), Col 3 = \( \begin{bmatrix} 2 \\ 0 \\ 1 \end{bmatrix} \).
  2. Step 2: Fill in the entries of AB: Computing each entry: \( (AB)_{11} = 2(1) + 1(3) + 0(0) = 2 + 3 + 0 = 5 \) \( (AB)_{12} = 2(0) + 1(1) + 0(2) = 0 + 1 + 0 = 1 \) \( (AB)_{13} = 2(2) + 1(0) + 0(1) = 4 + 0 + 0 = 4 \) \( (AB)_{21} = 1(1) + 0(3) + 3(0) = 1 + 0 + 0 = 1 \) \( (AB)_{22} = 1(0) + 0(1) + 3(2) = 0 + 0 + 6 = 6 \) \( (AB)_{23} = 1(2) + 0(0) + 3(1) = 2 + 0 + 3 = 5 \) \( (AB)_{31} = 0(1) + 2(3) + 1(0) = 0 + 6 + 0 = 6 \) \( (AB)_{32} = 0(0) + 2(1) + 1(2) = 0 + 2 + 2 = 4 \) \( (AB)_{33} = 0(2) + 2(0) + 1(1) = 0 + 0 + 1 = 1 \) Therefore, \[AB = \begin{bmatrix} 5 & 1 & 4 \\ 1 & 6 & 5 \\ 6 & 4 & 1 \end{bmatrix}\]
  3. Step 3: Compute BA: Now multiply matrix B on the left by matrix A on the right. Row 1 of B is \( \begin{bmatrix} 1 & 0 & 2 \end{bmatrix} \). Row 2 of B is \( \begin{bmatrix} 3 & 1 & 0 \end{bmatrix} \). Row 3 of B is \( \begin{bmatrix} 0 & 2 & 1 \end{bmatrix} \). Columns of A are: Col 1 = \( \begin{bmatrix} 2 \\ 1 \\ 0 \end{bmatrix} \), Col 2 = \( \begin{bmatrix} 1 \\ 0 \\ 2 \end{bmatrix} \), Col 3 = \( \begin{bmatrix} 0 \\ 3 \\ 1 \end{bmatrix} \).
  4. Step 4: Fill in the entries of BA: Computing each entry: \( (BA)_{11} = 1(2) + 0(1) + 2(0) = 2 + 0 + 0 = 2 \) \( (BA)_{12} = 1(1) + 0(0) + 2(2) = 1 + 0 + 4 = 5 \) \( (BA)_{13} = 1(0) + 0(3) + 2(1) = 0 + 0 + 2 = 2 \) \( (BA)_{21} = 3(2) + 1(1) + 0(0) = 6 + 1 + 0 = 7 \) \( (BA)_{22} = 3(1) + 1(0) + 0(2) = 3 + 0 + 0 = 3 \) \( (BA)_{23} = 3(0) + 1(3) + 0(1) = 0 + 3 + 0 = 3 \) \( (BA)_{31} = 0(2) + 2(1) + 1(0) = 0 + 2 + 0 = 2 \) \( (BA)_{32} = 0(1) + 2(0) + 1(2) = 0 + 0 + 2 = 2 \) \( (BA)_{33} = 0(0) + 2(3) + 1(1) = 0 + 6 + 1 = 7 \) Therefore, \[BA = \begin{bmatrix} 2 & 5 & 2 \\ 7 & 3 & 3 \\ 2 & 2 & 7 \end{bmatrix}\]
  5. Step 5: Compare AB and BA: We found \[AB = \begin{bmatrix} 5 & 1 & 4 \\ 1 & 6 & 5 \\ 6 & 4 & 1 \end{bmatrix}\] and \[BA = \begin{bmatrix} 2 & 5 & 2 \\ 7 & 3 & 3 \\ 2 & 2 & 7 \end{bmatrix}\] Since the corresponding entries differ (for example, \( (AB)_{11} = 5 \ne 2 = (BA)_{11} \)), we conclude that \( AB \ne BA \). This verifies that matrix multiplication is not commutative in general.

Answer: The two products are \[AB = \begin{bmatrix} 5 & 1 & 4 \\ 1 & 6 & 5 \\ 6 & 4 & 1 \end{bmatrix} \quad \text{and} \quad BA = \begin{bmatrix} 2 & 5 & 2 \\ 7 & 3 & 3 \\ 2 & 2 & 7 \end{bmatrix}\] Since \( AB \ne BA \), it is verified that matrix multiplication is not commutative in general.

Everything you get with Solver7

More questions in Matrices

Chapter 3 Examples Q1 65/1/1 2023 / Section A Q1 65/2/1 2024 / Section A Q1 65/3/1 2023 / Section A Q1 65/3/1 2024 / Section A Q1 65/4/1 2023 / Section A Q1 65/5/1 2026 / Section A Q1 Chapter 3 Examples Q2 65(B) 2026 / Section A Q2 65/1/1 2024 / Section A Q2 65/1/1 2026 / Section A Q2 65/3/1 2026 / Section A Q2 65/4/1 2023 / Section A Q2 65/4/1 2026 / Section A Q2 65/5/1 2026 / Section A Q2 Chapter 3 Examples Q3 65(B) 2026 / Section A Q3 65/1/1 2026 / Section A Q3 65/3/1 2023 / Section A Q3 65/3/1 2026 / Section A Q3 65/4/1 2023 / Section A Q3 Chapter 3 Examples Q4 65/1/1 2023 / Section A Q4 65/3/1 2023 / Section A Q4 65/3/1 2026 / Section A Q4 65/4/1 2023 / Section A Q4 65/5/1 2026 / Section A Q4 Chapter 3 Examples Q5 65/1/1 2024 / Section A Q5 65/3/1 2026 / Section A Q5 65/4/2 2024 / Section A Q5 Chapter 3 Examples Q6 65/1/1 2026 / Section A Q6 65/2/3 2026 / Section A Q6 Chapter 3 Examples Q7 65/2/3 2026 / Section A Q7 Chapter 3 Examples Q8 65/2/3 2026 / Section A Q8 Chapter 3 Examples Q9 65/2/3 2026 / Section A Q9 Chapter 3 Examples Q10 65/4/2 2024 / Section A Q10 Chapter 3 Examples Q11(i) 65/4/2 2024 / Section A Q11 Chapter 3 Examples Q11(ii) 65/2/1 2024 / Section A Q12 65/3/1 2024 / Section A Q12 65/4/2 2024 / Section A Q12 Chapter 3 Examples Q11(iii) Chapter 3 Examples Q12 65/1/1 2023 / Section A Q14 Chapter 3 Examples Q13 65/2/2 2023 / Section A Q15 Chapter 3 Examples Q14 65/2/2 2023 / Section A Q16 Chapter 3 Examples Q15 65/2/1 2024 / Section A Q17 Chapter 3 Examples Q16 65/1/1 2024 / Section A Q18 65/3/1 2024 / Section A Q18