silemus.

42Trace of A2A^2

Let A=[1234]\displaystyle A = \begin{bmatrix}1 & 2\\3 & 4\end{bmatrix}. Find the trace of A2\displaystyle A^2.

Square the matrix A, then add its diagonal entries. A² has diagonal entries 7 and 22, so tr(A²) = 7 + 22 = 29. Checked with the identity tr(A)² − 2det(A) = 25 − 2(−2) = 29.

How good is this answer?