Show that trace of AB = trace of BA
> A:=Matrix([[a,b],[c,d]]);
> B:=Matrix([[p,q],[r,s]]);
> A.B;
> B.A;
> trace(A.B);
> trace(B.A);
發現兩者trace相等 故得證