Matrix multiplication is not commutative, so the expansion (A+B)(A−B)=A2−AB+BA−B2 does not simplify to A2−B2 unless AB=BA. Here AB=BA, so the two sides differ. We compute both sides explicitly and confirm they are unequal.
The core idea here is that the familiar algebraic identity (a+b)(a−b)=a2−b2 works for numbers because multiplication commutes — ab=ba. But matrices do not generally commute. So when you expand (A+B)(A−B), you get:
(A+B)(A−B)=A2−AB+BA−B2
The middle terms −AB+BA cancel only if AB=BA. If they don't, the expression is different from A2−B2. The problem asks us to verify this non-equality for the given matrices.
Let’s work through it step by step.
1. Compute A+B and A−B
A+B=[0111]+[01−10]=[0+01+11+(−1)1+0]=[0201]
A−B=[0111]−[01−10]=[0−01−11−(−1)1−0]=[0021]
2. Compute (A+B)(A−B)
Multiply the two 2×2 matrices:
(A+B)(A−B)=[0201][0021]
- Row 1, Column 1: (0)(0)+(0)(0)=0
- Row 1, Column 2: (0)(2)+(0)(1)=0
- Row 2, Column 1: (2)(0)+(1)(0)=0
- Row 2, Column 2: (2)(2)+(1)(1)=4+1=5
So:
(A+B)(A−B)=[0005]
3. Compute A2 and B2 separately
First A2:
A2=[0111][0111]=[(0)(0)+(1)(1)(1)(0)+(1)(1)(0)(1)+(1)(1)(1)(1)+(1)(1)]=[1112]
Now B2:
B2=[01−10][01−10]=[(0)(0)+(−1)(1)(1)(0)+(0)(1)(0)(−1)+(−1)(0)(1)(−1)+(0)(0)]=[−100−1]
So B2=−I, which is a rotation by 90∘ twice — indeed it gives the negative identity.
4. Compute A2−B2 …