Matrix-matrix multiplication is explained through visual X-diagrams that show how input values flow through transformations. The article derives the multiplication formula by demonstrating that multiplying matrices A*B creates a combined transformation equivalent to applying B first, then A. This visualization clearly explains why matrix multiplication is non-commutative (A*B ≠ B*A) and shows how special matrices like scale, shift, permutation, and triangular matrices behave when multiplied together, with their properties preserved in the resulting products.

15m read timeFrom towardsdatascience.com
Post cover image
Table of contents
The concept of multiplying matricesDerivation of the matrices multiplication formulaWhy is it that “A*B ≠ B*A”Multiplying chain of matricesMultiplying matrices of special typesConclusionReferences
1 Comment

Sort: