I'm working on an independent project where I am attempting to find what rotation will result in transforming from one Euclidean space to another, where they have the same origin. Assumption is that such a transform exists. I was having some trouble (haven't used my matrix algebra in a while), and I was assuming:
$$ AB = I $$ $$ A = IB^{-1} $$ $$ A = B^{-1}I $$ $$ BA = I $$ thus: $$ AB = BA $$ Since I was having trouble, I was relooking at the matrix operations and saw that this is not true in general.
In general, $AB \ne BA$, even if $A$ and $B$ are both square. If $AB = BA$, then we say that $A$ and $B$ commute.
Am I correct in my matrix operation assumptions?
Edit
@Onir brings up an example showing that they are not, however I'm confused as to what operation that I started above is invalid. Can someone explain?