intuition.
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
  20. 20
  21. 21
  22. 22
Linear Algebra
Step 9 of 22

Multiplication

Understand first: the matrix

A matrix is a motion. So what is multiplying two of them?

Rotate space, then shear it. Two motions, one after the other. The result is still linear — grid lines stayed straight and evenly spaced through both steps — so some single matrix must describe the combined trip. Finding it is matrix multiplication.

Working one out

Let AA shear and BB rotate by 90 degrees:

A=[1101],B=[0110]A = \begin{bmatrix} 1 & 1 \ 0 & 1 \end{bmatrix}, \qquad B = \begin{bmatrix} 0 & -1 \ 1 & 0 \end{bmatrix}

Apply BB first, then AA. Use the only tool you need: track the basis vectors.

Where does ı^\hat{\imath} end up? BB sends it to (0,1)(0,1), its first column. Now feed (0,1)(0,1) into AA, reading AA by columns: $0 \cdot (1,0) + 1 \cdot (1,1) = (1,1)$. So ı^\hat{\imath} finishes at (1,1)(1,1), and that is the first column of the answer.

Where does ȷ^\hat{\jmath} end up? BB sends it to (1,0)(-1,0). Feed that into AA: 1(1,0)+0(1,1)=(1,0)-1 \cdot (1,0) + 0 \cdot (1,1) = (-1,0). Second column.

AB=[1110]AB = \begin{bmatrix} 1 & -1 \ 1 & 0 \end{bmatrix}

Every number you computed answered one question: where does this basis vector end up after both motions? That is all matrix multiplication has ever been.

Two rules that stop being arbitrary

Order matters. ABBAAB \neq BA in general, because rotating then shearing is physically a different motion from shearing then rotating. Try both in the visual and watch them disagree. The notation reads right to left: in ABAB, the matrix BB acts first, because in A(Bx)A(Bx) the vector meets BB first.

Grouping does not. (AB)C=A(BC)(AB)C = A(BC), and you need no algebra to believe it. Both sides describe the same three motions performed in the same order. How you mentally bracket them cannot change what physically happens.

Everything so far has lived in the plane. Time to see whether any of it depended on that.