Suppose A=(aij)n×nA=(a_{ij})_{n\times n}A=(aij)n×n is an square matrix. Trace of AAA is the sum of the diagonal entries.
Trace is also equal to the sum of eigenvalues.