If \( A=\left[\begin{array}\text 1&-2&3\\ -4&2&5\end{array} \right] \text and\ B=\left[ \begin{array}\text 2&3&\\ 4&5\\ 2&1\end{array} \right], \) then find AB, BA. Show that \(AB\ne BA.\)
CBSE Class 12 Maths · Matrices
CBSE Class 12 Maths · Matrices
Imagine two friends swapping gifts. The gift A gives to B is never the same as the gift B gives to A. Matrix multiplication works the same way. When you multiply matrix A and matrix B, the answer you get is different from multiplying B and then A. Sometimes the answers are even different sizes, like a small box versus a big box. Here, one answer is a tiny \(2 \times 2\) grid and the other is a bigger \(3 \times 3\) grid, so they simply cannot be equal.
Answer: \[AB = \begin{bmatrix} 0 & -4 \\ 10 & 3 \end{bmatrix}, \quad BA = \begin{bmatrix} -10 & 2 & 21 \\ -16 & 2 & 37 \\ -2 & -2 & 11 \end{bmatrix}\] Since \(AB\) is \(2 \times 2\) and \(BA\) is \(3 \times 3\), they have different orders, hence \(AB \ne BA\).
Two matrices can be multiplied only when the number of columns of the first equals the number of rows of the second. If \(A\) is of order \(m \times n\) and \(B\) is of order \(n \times p\), then the product \(AB\) exists and has order \(m \times p\). To find each entry of the product, we take a row of the first matrix and a column of the second, multiply corresponding elements, and add them. Here \(A\) is a \(2 \times 3\) matrix and \(B\) is a \(3 \times 2\) matrix. So \(AB\) is \(2 \times 2\) while \(BA\) is \(3 \times 3\). Since \(AB\) and \(BA\) even have different orders, they can never be equal. This shows that matrix multiplication is not commutative in general.
If \(A = [a_{ij}]_{m \times n}\) and \(B = [b_{jk}]_{n \times p}\), then \((AB)_{ik} = \sum_{j=1}^{n} a_{ij} b_{jk}\), and \(AB\) has order \(m \times p\).
\[AB = \begin{bmatrix} 0 & -4 \\ 10 & 3 \end{bmatrix}, \quad BA = \begin{bmatrix} -10 & 2 & 21 \\ -16 & 2 & 37 \\ -2 & -2 & 11 \end{bmatrix}\] Since \(AB\) is \(2 \times 2\) and \(BA\) is \(3 \times 3\), they have different orders, hence \(AB \ne BA\).
A common mistake is to multiply column of the first matrix by row of the second, or to assume \(AB = BA\). Always use row-of-first times column-of-second, and remember that matrix multiplication is generally not commutative.
\[AB = \begin{bmatrix} 0 & -4 \\ 10 & 3 \end{bmatrix}, \quad BA = \begin{bmatrix} -10 & 2 & 21 \\ -16 & 2 & 37 \\ -2 & -2 & 11 \end{bmatrix}\] Since \(AB\) is \(2 \times 2\) and \(BA\) is \(3 \times 3\), they have different orders, hence \(AB \ne BA\).
One common mistake: Students often try to verify \(AB = BA\) by comparing individual entries without first checking whether the two products even have the same order — if the orders differ, equality is impossible without any further calculation.
Answer: \[AB = \begin{bmatrix} 0 & -4 \\ 10 & 3 \end{bmatrix}, \quad BA = \begin{bmatrix} -10 & 2 & 21 \\ -16 & 2 & 37 \\ -2 & -2 & 11 \end{bmatrix}\] Since \(AB\) is \(2 \times 2\) and \(BA\) is \(3 \times 3\), they have different orders, hence \(AB \ne BA\).
Question: Let \[A = \begin{bmatrix} 2 & -1 & 4 \\ 0 & 3 & -2 \end{bmatrix}\] and \[B = \begin{bmatrix} 1 & 0 \\ -1 & 2 \\ 3 & 1 \end{bmatrix}.\] Find AB and BA, and show that \(AB \ne BA\).
Solution: Step 1: Identify the orders of the matrices. Matrix A has order \(2 \times 3\) and matrix B has order \(3 \times 2\). Step 2: Compute AB. Since A is \(2 \times 3\) and B is \(3 \times 2\), the product AB has order \(2 \times 2\). The (1,1) entry of AB: \((2)(1) + (-1)(-1) + (4)(3) = 2 + 1 + 12 = 15\) The (1,2) entry of AB: \((2)(0) + (-1)(2) + (4)(1) = 0 - 2 + 4 = 2\) The (2,1) entry of AB: \((0)(1) + (3)(-1) + (-2)(3) = 0 - 3 - 6 = -9\) The (2,2) entry of AB: \((0)(0) + (3)(2) + (-2)(1) = 0 + 6 - 2 = 4\) Therefore, \[AB = \begin{bmatrix} 15 & 2 \\ -9 & 4 \end{bmatrix}.\] Step 3: Compute BA. Since B is \(3 \times 2\) and A is \(2 \times 3\), the product BA has order \(3 \times 3\). The (1,1) entry: \((1)(2) + (0)(0) = 2\) The (1,2) entry: \((1)(-1) + (0)(3) = -1\) The (1,3) entry: \((1)(4) + (0)(-2) = 4\) The (2,1) entry: \((-1)(2) + (2)(0) = -2\) The (2,2) entry: \((-1)(-1) + (2)(3) = 1 + 6 = 7\) The (2,3) entry: \((-1)(4) + (2)(-2) = -4 - 4 = -8\) The (3,1) entry: \((3)(2) + (1)(0) = 6\) The (3,2) entry: \((3)(-1) + (1)(3) = -3 + 3 = 0\) The (3,3) entry: \((3)(4) + (1)(-2) = 12 - 2 = 10\) Therefore, \[BA = \begin{bmatrix} 2 & -1 & 4 \\ -2 & 7 & -8 \\ 6 & 0 & 10 \end{bmatrix}.\] Step 4: Compare AB and BA. AB is a \(2 \times 2\) matrix while BA is a \(3 \times 3\) matrix. Since they have different orders, \(AB \ne BA\).
Answer: \(AB = \begin{bmatrix} 15 & 2 \\ -9 & 4 \end{bmatrix}\) (order \(2 \times 2\)), \(BA = \begin{bmatrix} 2 & -1 & 4 \\ -2 & 7 & -8 \\ 6 & 0 & 10 \end{bmatrix}\) (order \(3 \times 3\)). Since AB and BA have different orders, \(AB \ne BA\).
Question: Let \[P = \begin{bmatrix} 1 & 2 \\ -3 & 4 \\ 0 & 5 \end{bmatrix}\] and \[Q = \begin{bmatrix} 3 & -1 & 2 \\ 1 & 4 & -3 \end{bmatrix}.\] Find PQ and QP, and verify that \(PQ \ne QP\).
Solution: Step 1: Identify the orders. Matrix P has order \(3 \times 2\) and matrix Q has order \(2 \times 3\). Step 2: Compute PQ. Since P is \(3 \times 2\) and Q is \(2 \times 3\), the product PQ has order \(3 \times 3\). The (1,1) entry: \((1)(3) + (2)(1) = 3 + 2 = 5\) The (1,2) entry: \((1)(-1) + (2)(4) = -1 + 8 = 7\) The (1,3) entry: \((1)(2) + (2)(-3) = 2 - 6 = -4\) The (2,1) entry: \((-3)(3) + (4)(1) = -9 + 4 = -5\) The (2,2) entry: \((-3)(-1) + (4)(4) = 3 + 16 = 19\) The (2,3) entry: \((-3)(2) + (4)(-3) = -6 - 12 = -18\) The (3,1) entry: \((0)(3) + (5)(1) = 0 + 5 = 5\) The (3,2) entry: \((0)(-1) + (5)(4) = 0 + 20 = 20\) The (3,3) entry: \((0)(2) + (5)(-3) = 0 - 15 = -15\) Therefore, \[PQ = \begin{bmatrix} 5 & 7 & -4 \\ -5 & 19 & -18 \\ 5 & 20 & -15 \end{bmatrix}.\] Step 3: Compute QP. Since Q is \(2 \times 3\) and P is \(3 \times 2\), the product QP has order \(2 \times 2\). The (1,1) entry: \((3)(1) + (-1)(-3) + (2)(0) = 3 + 3 + 0 = 6\) The (1,2) entry: \((3)(2) + (-1)(4) + (2)(5) = 6 - 4 + 10 = 12\) The (2,1) entry: \((1)(1) + (4)(-3) + (-3)(0) = 1 - 12 + 0 = -11\) The (2,2) entry: \((1)(2) + (4)(4) + (-3)(5) = 2 + 16 - 15 = 3\) Therefore, \[QP = \begin{bmatrix} 6 & 12 \\ -11 & 3 \end{bmatrix}.\] Step 4: Compare PQ and QP. PQ has order \(3 \times 3\) while QP has order \(2 \times 2\). Since they have different orders, \(PQ \ne QP\).
Answer: \(PQ = \begin{bmatrix} 5 & 7 & -4 \\ -5 & 19 & -18 \\ 5 & 20 & -15 \end{bmatrix}\) (order \(3 \times 3\)), \(QP = \begin{bmatrix} 6 & 12 \\ -11 & 3 \end{bmatrix}\) (order \(2 \times 2\)). Since PQ and QP have different orders, \(PQ \ne QP\).
Question: Let \[P = \begin{bmatrix} 2 & 1 & -3 \\ 0 & -2 & 4 \end{bmatrix}\] and \[Q = \begin{bmatrix} 1 & -1 \\ 3 & 2 \\ -1 & 0 \end{bmatrix}.\] Find the products PQ and QP. Hence show that \( PQ \ne QP \).
Answer: \[PQ = \begin{bmatrix} 8 & 0 \\ -10 & -4 \end{bmatrix}, \quad QP = \begin{bmatrix} 2 & 3 & -7 \\ 6 & -1 & -1 \\ -2 & -1 & 3 \end{bmatrix}\] Since PQ is of order \( 2 \times 2 \) and QP is of order \( 3 \times 3 \), they have different orders, and therefore \( PQ \ne QP \).