The matrix
You were probably taught to multiply a matrix by a vector like this: go across a row, down the vector, multiply and add. Take
Row one gives . Row two gives . So .
It works, and it feels like a rule somebody invented. It isn't. Watch what happens if you compute the exact same thing a different way.
Take the columns instead. The columns of are and . Now use the entries of as amounts: take 2 of the first column, 1 of the second.
The same answer, and this time you can see why.
Where the columns came from
Remember what actually means: it is the recipe . And the transformation is linear, which is exactly the promise that scaling and adding survive the trip:
So the output is built from and — where the two basis vectors landed. Feed in and the row rule returns : the first column. Feed in and you get : the second column.
A matrix is a list of where the basis vectors land. Column one is the new , column two is the new .
Multiplying by a vector is then just following that vector's own recipe to the new ingredients. The row-times-column rule is not a definition to memorise; it is the bookkeeping that falls out of this.
Check yourself
What does do? Read the columns: lands on , straight up; lands on , pointing left. Both arrows turned a quarter turn counter-clockwise. It is a 90 degree rotation, and you never had to multiply anything to know that.