← 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 14 yrs · Read the full method →

Question

For two square matrices AA and BB of order 2, show trace⁡(AB)=trace⁡(BA)\operatorname{trace}(AB)=\operatorname{trace}(BA). Hence show AB−BA≠I2AB-BA\ne I_2.

Technique

Direct manipulation of trace formula; swap dummies.

Solution

Step 1 — trace(AB)=(AB)=trace(BA)(BA)

Let A=(aij)A=(a_{ij}), B=(bij)B=(b_{ij}). Then (AB)ii=∑kaikbki(AB)_{ii}=\sum_k a_{ik}b_{ki}, so trace⁡(AB)=∑i∑kaikbki\operatorname{trace}(AB)=\sum_i\sum_k a_{ik}b_{ki}.

Similarly (BA)ii=∑kbikaki(BA)_{ii}=\sum_k b_{ik}a_{ki}, so trace⁡(BA)=∑i∑kbikaki\operatorname{trace}(BA)=\sum_i\sum_k b_{ik}a_{ki}.

Swap dummies i↔ki\leftrightarrow k in the second: trace⁡(BA)=∑k∑ibkiaik=∑i∑kaikbki=trace⁡(AB)\operatorname{trace}(BA)=\sum_k\sum_i b_{ki}a_{ik}=\sum_i\sum_k a_{ik}b_{ki}=\operatorname{trace}(AB) ✓.

This works for any square matrices of any order — not just n=2n=2.

Step 2 — Hence AB−BA≠I2AB-BA\ne I_2

If AB−BA=I2AB-BA=I_2, then trace⁡(AB−BA)=trace⁡(I2)=2\operatorname{trace}(AB-BA)=\operatorname{trace}(I_2)=2.

But trace⁡(AB−BA)=trace⁡(AB)−trace⁡(BA)=0\operatorname{trace}(AB-BA)=\operatorname{trace}(AB)-\operatorname{trace}(BA)=0 (from Step 1).

Contradiction: 0=20=2.

So AB−BA≠I2AB-BA\ne I_2.

Answer

  trace⁡(AB)=trace⁡(BA),    AB−BA≠I2 for any matrices A,B.  \boxed{\;\operatorname{trace}(AB)=\operatorname{trace}(BA),\;\;AB-BA\ne I_2\text{ for any matrices }A,B.\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 14 years, mapped. Get the take-away PDF free.