Definition

if , then the trace of matrix is defined as

Properties

Sum of eigenvalues

The trace of a matrix is always the sum of its eigenvalues (including repeated ones). This relationship holds because the trace is invariant under similarity transformations and the characteristic polynomial of the matrix (which has roots equal to the eigenvalues) has coefficients that relate to the trace and determinant of the matrix.

Cyclic property

The trace of a matrix is an invariant under the commutation of matrix multiplication

Similarly,

Trace of a product

If , then:

In particular, if , we have