Jump to content

Trace(AB) = Trace(BA)?


Recommended Posts

Look at the matrix algebra involved with the definition of the trace:

 

[math] tr(\mathbf{A}) = A_{ii} [/math]

 

where the repeated index indicates summation (i.e. Einstein notation)

 

So

 

[math] tr(\mathbf{AB}) = (AB)_{ii} = A_{ij}B_{ji}[/math]

 

now rearrange the order of multiplication

 

[math] = B_{ji}A_{ij} [/math]

 

then, contract on the repeated index i

 

[math] = (BA)_{jj} [/math]

 

finally, note that the j is just a dummy variable (any letter can be used, i, j, k, p, etc.) and that this step looks just like the first step applying the definition of the trace. So

 

[math] (BA)_{jj} = tr(\mathbf{BA}) [/math]

 

Therefore [math] tr(\mathbf{AB}) = tr(\mathbf{BA}) [/math]

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.