Let
be a matrix with n {\displaystyle {}n} different eigenvalues. Show that the trace of M {\displaystyle {}M} is the sum of these eigenvalues.