The trace of a square matrix is the sum of its main-diagonal entries. Its properties give the trace of sums and products without computing the whole matrix.
| Step | On | |
|---|---|---|
| 1 | Check that the matrix is square. The trace of a non-square matrix is not defined. | ✓ |
| 2 | Pick out the main diagonal. The entries , from top left to bottom right. | , , |
| 3 | Add them. The off-diagonal entries play no part. | |
| 4 | Use the trace as a check on eigenvalues. The trace equals the sum of the eigenvalues, counted with multiplicity. | the three eigenvalues of add up to |