In the basis where they are both diagonal , it is clear that their product does not depend on their order .
Multiplication of diagonal matrices is just multiplication of numbers .
In the basis where they are both diagonal , it is clear that their product does not depend on their order because multiplication of diagonal matrices is just multiplication of numbers .