Problem outline
For 2×2 matrices write tr for the diagonal sum. Prove tr(MN)=tr(NM) and give the sum rule for tr(M+N). Let M′ denote entrywise differentiation in t. For invertible M establish (detM)′/detM=tr(M−1M′). When M′=MN−NM, with N also depending on t, show detM, trM and tr(M2) are constant. Solve this equation with N=(t0tt) and M(0)=(ACBD). Finally, if invertible matrices obey M′=MN and trM is a nonzero constant, must trN vanish? Justify your answer.
Show final result
Writing s=t2/2, the solution has rows (A−Cs, B+(A−D)s−Cs2) and (C, D+Cs). The last implication is false. Take M with rows (1,t),(−t,1) and N=M−1M′. Then trM=2 but trN=2t/(1+t2).