\hbox{tr}(A)=\sum_{k=1}^{n}{a_{kk}}=a_{11}+a_{22}+\dots+a_{nn}