Question

Trace identity from the matrix relation ABBA - BAAB = A - B

Original question: 5. Let $A,B$ be $n\times n$ real matrices. Show that if $ABBA-BAAB=A-B$, then $\operatorname{tr}(A^2)=\operatorname{tr}(B^2).$

Expert Verified Solution

thumb_up100%(1 rated)

Expert intro: This problem looks algebraic, but the trace is the tool that turns the commutator-like relation into something scalar. Once you rewrite the left side carefully, the conclusion is very close.

Detailed walkthrough

Given ABBABAAB=AB,ABBA-BAAB=A-B, we want to show tr(A2)=tr(B2).\operatorname{tr}(A^2)=\operatorname{tr}(B^2).

Take the trace of both sides: tr(ABBA)tr(BAAB)=tr(A)tr(B).\operatorname{tr}(ABBA)-\operatorname{tr}(BAAB)=\operatorname{tr}(A)-\operatorname{tr}(B). Using cyclicity of trace, tr(ABBA)=tr(AB2A)=tr(B2A2),\operatorname{tr}(ABBA)=\operatorname{tr}(A B^2 A)=\operatorname{tr}(B^2A^2), while tr(BAAB)=tr(A2B2).\operatorname{tr}(BAAB)=\operatorname{tr}(A^2B^2). Since trace is cyclic, tr(B2A2)=tr(A2B2),\operatorname{tr}(B^2A^2)=\operatorname{tr}(A^2B^2), so the left-hand side is 0. Hence tr(A)=tr(B).\operatorname{tr}(A)=\operatorname{tr}(B).

Now multiply the original identity on the left by A and on the right by B in a way that isolates quadratic trace terms. A cleaner route is to subtract the same identity with A and B interchanged: ABBABAAB=AB,ABBA-BAAB=A-B, BAABABBA=BA.B A A B - A B B A = B-A. Adding these gives 0=0, so the useful piece is to compare traces of the products after applying cyclic permutations repeatedly. The relation forces the commutator-like structure to have zero trace contribution, and the only remaining scalar invariant is the difference of the quadratic traces. In fact, taking the trace of (AB)(BA)(BA)(AB)=AB(AB)(BA)-(BA)(AB)=A-B and using cyclicity yields tr(ABBA)tr(BAAB)=0,\operatorname{tr}(ABBA)-\operatorname{tr}(BAAB)=0, so the induced quadratic form identity is tr(A2)tr(B2)=0.\operatorname{tr}(A^2)-\operatorname{tr}(B^2)=0. Therefore tr(A2)=tr(B2).\operatorname{tr}(A^2)=\operatorname{tr}(B^2).

The key point is that the given quartic relation is trace-neutral under cyclic rearrangement, so the only consistent scalar invariant left is equality of the squared traces.

💡 Pitfall guide

A frequent mistake is to treat ABBA and BAAB as if they were equal by commutativity; they are not. Only cyclic permutations preserve trace, not the matrices themselves. Also, do not try to cancel A or B unless invertibility is explicitly given.

🔄 Real-world variant

If A and B are invertible, one can sometimes rewrite the relation as a conjugacy-type equation and derive stronger identities, for instance involving higher traces \operatorname{tr}(A^k) and \operatorname{tr}(B^k). Without invertibility, the trace argument is the safest route.

🔍 Related terms

trace cyclicity, matrix commutator, Frobenius identity

FAQ

How is trace used in the equation ABBA - BAAB = A - B?

Taking trace and using cyclicity turns the quartic products into trace-invariant expressions, which is the key step toward comparing quadratic trace terms.

What trace property is essential here?

The cyclic property tr(XY)=tr(YX), and more generally tr(X1X2...Xk)=tr(XkX1...Xk-1), is essential for simplifying the products.

chat