Key idea: Matrix multiplication is not commutative — the order of multiplication matters, and the products are generally different even when both are defined.
(i) Compute AB and BA for A=[56−17], B=[2314].
Matrix multiplication is not commutative — swapping the order of two matrices almost always changes the product. For the given pairs, computing both orders shows they yield different matrices, confirming AB=BA.
Why Matrix Multiplication Isn't Like Number Multiplication
When you multiply two numbers, 3×5 always equals 5×3. But matrices are different. Each entry in a matrix product is a dot product of a row from the first matrix with a column from the second. Swap the matrices, and you're pairing entirely different rows with entirely different columns — so the result changes.
This is the core idea: compatibility for multiplication requires the number of columns in the first matrix to equal the number of rows in the second. When you reverse the order, that condition may still hold (as it does here), but the actual arithmetic is completely different.
Part (i): 2×2 Matrices
Let
A=[56−17],
B=[2314].
Both are 2×2, so AB and BA are both defined and also 2×2.
Step 1: Compute AB
Multiply A (rows) by B (columns):
Entry (1,1): row 1 of A⋅ column 1 of B=(5)(2)+(−1)(3)=10−3=7
Entry (1,2): row 1 of A⋅ column 2 of B=(5)(1)+(−1)(4)=5−4=1
Entry (2,1): row 2 of A⋅ column 1 of B=(6)(2)+(7)(3)=12+21=33
Entry (2,2): row 2 of A⋅ column 2 of B=(6)(1)+(7)(4)=6+28=34
So
AB=[733134].
Step 2: Compute BA
Now multiply B (rows) by A (columns):
Entry (1,1): row 1 of B⋅ column 1 of A=(2)(5)+(1)(6)=10+6=16
Entry (1,2): row 1 of B⋅ column 2 of A=(2)(−1)+(1)(7)=−2+7=5
Entry (2,1): row 2 of B⋅ column 1 of A=(3)(5)+(4)(6)=15+24=39
Entry (2,2): row 2 of B⋅ column 2 of A=(3)(−1)+(4)(7)=−3+28=25
So
BA=[1639525].
Step 3: Compare
AB=[733134]
BA=[1639525]
Every single entry is different. Clearly AB=BA.
Watch out
A common mistake is to assume that because both products are defined, they must be equal. But even for 2×2 matrices, the only time AB=BA is for very special pairs (like when one is a scalar multiple of the identity). Don't assume commutativity — always compute.
Part (ii): 3×3 Matrices
Let
P=101211300,
Q=−1021−13014.
Both are 3×3, so PQ and QP are both 3×3.
Step 1: Compute PQ
Multiply P (rows) by Q (columns). We'll do it entry by entry.
Row 1 of P: [1,2,3]
Column 1 of Q: [−1,0,2]T(1)(−1)+(2)(0)+(3)(2)=−1+0+6=5
Column 2 of Q: [1,−1,3]T(1)(1)+(2)(−1)+(3)(3)=1−2+9=8
Column 3 of Q: [0,1,4]T(1)(0)+(2)(1)+(3)(4)=0+2+12=14
Mistake 1: Assuming that because both products are defined they must be equal
Why it's wrong: matrix multiplication is generally non-commutative; being defined in both orders says nothing about equality. Correct approach: actually compute both products and compare.
Same / Similar Concept — real previous-year questions on the same or a closely similar concept, not this exact question.
CBSE 2020Set ANNUAL1 markMCQ
Q.If A=[12−1−1], B=[ab1−1] and (A+B)2=A2+B2, then the values of a and b are:
(a) a = 4, b = 1
(b) a = 1, b = 4
(c) a = 0, b = 4
(d) a = 2, b = 4
›Reveal solutionSolution
(A+B)2=A2+B2 requires AB+BA=0 (a zero matrix); computing this from A,B gives a=1,b=4.
Expanding, (A+B)2=A2+AB+BA+B2. For this to equal A2+B2, we need AB+BA=0 (the zero matrix), which is the real condition to use (matrix multiplication is not commutative, so we cannot cancel AB against BA individually).