← 2021 Paper 1
UPSC 2021 Maths Optional Paper 1 Q3c-ii — Step-by-Step Solution
7 marks · Section A
Algebra of matrices · Linear Algebra · asked 5× in 13 yrs · Read the full method →
Question
For two square matrices A and B of order 2, show trace(AB)=trace(BA). Hence show AB−BA=I2.
Technique
Direct manipulation of trace formula; swap dummies.
Solution
Step 1 — trace(AB)=trace(BA)
Let A=(aij), B=(bij). Then (AB)ii=∑kaikbki, so
trace(AB)=∑i∑kaikbki.
Similarly (BA)ii=∑kbikaki, so trace(BA)=∑i∑kbikaki.
Swap dummies i↔k in the second: trace(BA)=∑k∑ibkiaik=∑i∑kaikbki=trace(AB) ✓.
This works for any square matrices of any order — not just n=2.
Step 2 — Hence AB−BA=I2
If AB−BA=I2, then trace(AB−BA)=trace(I2)=2.
But trace(AB−BA)=trace(AB)−trace(BA)=0 (from Step 1).
Contradiction: 0=2.
So AB−BA=I2.
Answer
trace(AB)=trace(BA),AB−BA=I2 for any matrices A,B.