Let be the matrix unit with its only nonzero entry in row , column . Forone hasThereforeThe matrix units form an eigenbasis, with having eigenvalue . The zero eigenspace consists exactly of the diagonal matrices and has dimension . The rank-nullity theorem now gives
Solved by gpt-5.6-sol high.
Codex Wiki