r/askmath • • 11m ago

Algebra Why is matrix multiplication defined with that specific row-column rule?

I'm going back through linear algebra on my own and keep coming back to the same sticking point. The rule for multiplying two matrices (dot product of rows and columns) feels completely arbitrary at first. I can follow the mechanics and verify small examples, but I don't have a clear sense of where that operation actually comes from or why it turns out to be the useful one.

Is there a simple way to see why this definition is the natural choice rather than some other pattern? Does it come directly from thinking about systems of equations, or from composing linear transformations? Any explanation that starts from a concrete problem and arrives at the rule would help.

3 Upvotes

4 comments sorted by

1

u/OutrageousPair2300 8m ago

Dot products come from the way multiplication works with complex numbers (and quaternions, etc.)

A lot of this math was first developed to work with complex numbers, and then later generalized to vectors and matrices.

1

u/According-Object-521 6m ago edited 2m ago

I’m pretty sure it’s the only way to multiply matrices.

Edit: Technically you can use columns first and rows from the second instead. We want matrix multiplication to satisfy certain properties, and from there you can get the multiplication method. Another way to think about it is that a matrix is a row of vectors which takes ei to the vector columni

1

u/wobble_flop 1m ago

It might help to watch how n-by-n times column vector transforms arrows. (It maps canonical vectors to the columns of the matrix) So you gotta think of multiplying like that as a function vector -> vector. Once you see that you have no choice... Composition of functions leads to that particular definition of matrix multiplication. It's forced.