Matrix Trace definition
The trace of a square matrix is the sum of the entries along its main diagonal.
Matrix Trace in a picture
How it works
For an n × n matrix, add a₁₁ through aₙₙ. Entries off the diagonal do not enter the sum. The trace stays the same under similarity. Over the complex numbers it also equals the sum of the eigenvalues counted with algebraic multiplicity.
Worked examples
Find the trace of diag(2, −4, 7).
2 − 4 + 7 = 5.
Find the trace of the 4 × 4 identity matrix.
4.
A 3 × 3 matrix has eigenvalues 2, 2, and −1. Find its trace.
3.
Common mistake
Add diagonal entries. The determinant uses a different calculation.
Quick check
Which entries are added?
Show answer
The main-diagonal entries.
Does trace change under similarity?
Show answer
No.
What is the trace of a square zero matrix?
Show answer
Zero.
Sources
Flashcard
Matrix Trace
Reveal the definition
The trace of a square matrix is the sum of the entries along its main diagonal.
Effortless Math. “Matrix Trace.” Math Dictionary.



