Trace of a product

For conformable matrices AA and BB, is tr(AB)=tr(BA)\mathrm{tr}(AB) = \mathrm{tr}(BA) always true (even though ABBAAB \ne BA in general)?

Show hints (2)+
  1. Write the trace as a double sum.
  2. It is the cyclic property of trace.

Answer

Reveal answer →

Yes, always — both equal i,jAijBji\sum_{i,j} A_{ij}B_{ji}

Want the full step-by-step worked solution? It's part of Premium — along with a worked solution for every question in the bank.

Asked at: Jane Street, Two Sigma

Related questions