For a square matrix , its trace is defined as the sum of its diagonal entries
Theorem 1.
Let and be matrices of size and respectively. Then, .
Proof
Another way to prove this theorem would be to consider two linear transformations (from the space of all matrices to a field ) defined by
To prove the theorem it is sufficient to prove .
Recall that a linear transformation is completely defined by its values on a generating system. An example of a simple generating system for would bewhere is a matrix where , and all other cells are zero. Thus, we only have to show that
which is trivial.