Sum of diagonal elements
\text{tr}(A) = \sum_{i=1}^{n} a_{ii}
Definition of matrix product
Determinant of 2×2 matrix
Inner product of two vectors