Machine-translated by Google. Questions are authored in English.
Top

Discussion

Consider the following two statements with respect to the matrices \(A_{m \times n}\), \(B_{n \times m}\), \(C_{n \times n}\) and \(D_{n \times n}\).

Statement 1: tr(AB) = tr(BA)
Statement 2: tr(CD) = tr(DC)

where tr() represents the trace of a matrix. Which one of the following holds?

  • A.Statement 1 is correct and Statement 2 is wrong.
  • B.Statement 1 is wrong and Statement 2 is correct.
  • C.Both Statement 1 and Statement 2 are correct.
  • D.Both Statement 1 and Statement 2 are wrong.

Answer: C

Both statements are correct.

For \(A\) of size \(m \times n\) and \(B\) of size \(n \times m\), \(AB\) is \(m \times m\) and \(BA\) is \(n \times n\), so both traces exist. Each is the same double sum:

\[ \begin{aligned} tr(AB) &= \sum_{i=1}^{m} \sum_{j=1}^{n} a_{ij} b_{ji} \\ tr(BA) &= \sum_{j=1}^{n} \sum_{i=1}^{m} b_{ji} a_{ij} \end{aligned} \]

The terms are identical, only summed in a different order, so \(tr(AB) = tr(BA)\) even though the two products have different sizes. Statement 2 is the special case \(m = n\), so it is correct too. The options calling either statement wrong confuse \(tr(AB) = tr(BA)\) with \(AB = BA\), which does fail in general.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.