The trace of a square matrix is the sum of the elements of the main diagonal of the matrix. For example, the trace of the matrix is .
Viewed as a function from matrices to the underlying field (frequently the real numbers), the trace is a linear map: it is not difficult to verify that for any matrices and and any scalar .
This article is a stub. Help us out by expanding it.