Why Does Tr(AB) Equal Tr(BA) for Matrices?

  • Thread starter Thread starter Bipolarity
  • Start date Start date
  • Tags Tags
    Splitting
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
Bipolarity
Messages
773
Reaction score
2

Homework Statement

Prove the following statement, where A and B are nxn matrices.

[tex]Tr(AB) = Tr(BA)[/tex]

Homework Equations


The Attempt at a Solution


Using some manipulations, I arrived at
[tex]\sum^{n}_{p=1}\sum^{n}_{k=1}A_{pk}B_{kp} = \sum^{n}_{p=1}\sum^{n}_{k=1}B_{pk}A_{kp}[/tex]

If I can prove the above, I am done, but I have never worked with double sigma notations before, so any advice folks?

BiP
 
Physics news on Phys.org
Bipolarity said:

Homework Statement

Prove the following statement, where A and B are nxn matrices.

[tex]Tr(AB) = Tr(BA)[/tex]



Homework Equations





The Attempt at a Solution


Using some manipulations, I arrived at
[tex]\sum^{n}_{p=1}\sum^{n}_{k=1}A_{pk}B_{kp} = \sum^{n}_{p=1}\sum^{n}_{k=1}B_{pk}A_{kp}[/tex]

If I can prove the above, I am done, but I have never worked with double sigma notations before, so any advice folks?

BiP

k and p are what are called 'dummy indices'. You can change k to any other letter, like q and you still have a good formula for Tr. Just interchange k and p.
 
Dick said:
k and p are what are called 'dummy indices'. You can change k to any other letter, like q and you still have a good formula for Tr. Just interchange k and p.

Ah, ingenious! Thanks!

BiP