Definition

Let : Square matrix

Then the trace of , denoted by , is defined to be the sum of the entries on the main diagonal of .

Remark

The trace of is undefined if is not a square matrix.