Is it always true that AB = BA?
NO! Even when both products can be formed they are rarely equal.
For example, calculate both of the following products (you might wish to use paper and pencil):
The results show that in general for matrices A and B, AB =/= BA.