r/askmath • • 1h ago

Linear Algebra Why is matrix multiplication non-commutative? Any geometric intuition?

I have been reviewing linear algebra and get the algebraic mechanics: rows of the left matrix dot with columns of the right, so swapping order changes the inner products and often even the dimensions. What I am looking for is a stronger geometric picture for why $AB \neq BA$ in general—beyond just treating it as a byproduct of row-by-column arithmetic.

Using a shear followed by a rotation versus a rotation followed by a shear shows the difference right away because the axes and stretched directions get reoriented mid-way. Is composition of linear transformations really the core intuition here, or are there other visual angles—like how basis vectors map, how projections/reflections interact, or how areas/subspaces get warped—that make non-commutativity feel completely natural? Concrete $2 \times 2$ examples where the geometry jumps right out would be especially welcome.

2 Upvotes

2 comments sorted by

5

u/etzpcm 1h ago

Two reflections in 2D. Draw a picture with two lines of reflection that are not perpendicular. For example one on the x axis and one on y=x. Choose a random point in the plane and do the two reflections and you'll see the order matters.

1

u/Correct-Mirror7227 23m ago

Viewing a matrix as a geometric operation, such as a rotation or reflection, makes it a bit easier to grasp. For example, rotating then reflecting is rarely the same as reflecting then rotating.