← 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 AA and BB of order 2, show trace(AB)=trace(BA)\operatorname{trace}(AB)=\operatorname{trace}(BA). Hence show ABBAI2AB-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)=ikaikbki\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)=ikbikaki\operatorname{trace}(BA)=\sum_i\sum_k b_{ik}a_{ki}.

Swap dummies iki\leftrightarrow k in the second: trace(BA)=kibkiaik=ikaikbki=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 ABBAI2AB-BA\ne I_2

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

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

Contradiction: 0=20=2.

So ABBAI2AB-BA\ne I_2.

Answer

  trace(AB)=trace(BA),    ABBAI2 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 — 13 years, mapped. Get the take-away PDF free.