AI by Hand ✍️

AI by Hand ✍️

Not Commutative

Matrix Multiplication: 9 of 16

Prof. Tom Yeh's avatar
Prof. Tom Yeh
Jan 16, 2026
∙ Paid

Library › Matrix Multiplication

  1. Calculate

  2. Complexity

  3. Shape

  4. Identity

  5. Scale

  6. Shift

  7. Combine Rows

  8. Combine Columns

  9. Not Commutative

  10. Associative

  11. Distributive

  12. Chain

  13. Transpose

  14. Inverse

  15. Linear Equations

  16. Tiled Algorithm

In this chapter you will practice swapping the order of a product to see that A · B is not B · A. Reversing the order can change the result, and often even changes the shape of the answer. Order carries meaning in matrix math, which is why the sequence of layers in a model matters.


The rest of the chapter (Page 147 ~ 151) and the solutions are available to AI by Hand Academy members. You can become a member via a paid Substack subscription.

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2026 Tom Yeh · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture