philh comments on Stupid Questions September 2016 - Less Wrong
You are viewing a comment permalink. View the original post to see all comments and the full post content.
You are viewing a comment permalink. View the original post to see all comments and the full post content.
Comments (33)
Matrix multiplication
Could somebody explain to me, in a way I'd actually understand, how to (remember how to) go about multiplying a pair of matrixes? I've looked at Wikipedia, I've read linear algebra books up to where they supposedly explain matrixes, and I keep bouncing up against a mental wall where I can't seem to remember how to figure out how to get the answer.
Low confidence that this will help, but my approach: I mentally move the right-hand matrix up, so that the space "in between" them (right of the first, below the second) is the right shape for the result. Each value of the result is the dot product of the vectors to the left and above it. (I don't have a trick for dot products, I just know how to calculate them.)
"becomes"
and e.g. S is (a b c) dot (g j m), Y is (d e f) dot (h k n).
I use exactly the same approach! When you position the matrices this way, it becomes completely obvious.
By Juniper, I think this is the one. It's simple enough that I can actually remember this, and I can solve arbitrary matrixes with this approach.
Feel free to have an internet cookie in thanks. :)