The trace of a $n \times n$ matrix $A \in \mathcal{M}_{n \times n}$ is defined to be the sum of its diagonal entries: $\operatorname{tr} A=a_{11}+a_{22}+\cdots+a_{n n}$. (a) Compute the trace of (i) $\left(\begin{array}{rr}1 & -1 \\ 2 & 3\end{array}\right)$,
(ii) $\left(\begin{array}{rrr}1 & 3 & 2 \\ -1 & 0 & 1 \\ -4 & 3 & -1\end{array}\right)$
(b) Prove that $\operatorname{tr}(A+B)=\operatorname{tr} A+\operatorname{tr} B$. (c) Prove that $\operatorname{tr}(A B)=\operatorname{tr}(B A)$. (d) Prove that the commutator matrix $C=A B-B A$ has zero trace: $\operatorname{tr} C=0$. (e) Is part (c) valid if $A$ has size $m \times n$ and $B$ has size $n \times m$ ? (f) Prove that $\operatorname{tr}(A B C)=\operatorname{tr}(C A B)=\operatorname{tr}(B C A)$. On the other hand, find an example where $\operatorname{tr}(A B C) \neq \operatorname{tr}(A C B)$.