(b) Prove that $\text{tr}(A) = \text{tr}(B)$. [Note that $\text{tr}(A)$ denoted by the sum of all the diagonal entries of $A$.]
(b) Prove that $\text{tr}(A) = \text{tr}(B)$. [Note that $\text{tr}(A)$ denoted by the sum of all the diagonal entries of $A$.]