The product of matrices is not done element by element: it follows the row-by-column rule, and for this reason it requires the dimensions to be compatible.
Property — Row-by-column product
If is and is , the product is with Mnemonic: “row of against column of ”. The dimensions must “glue together”: . It is not commutative: in general even when both products are defined.
Connections
Topics: Linear systems
Concepts: Matrix · Product of matrices
Skills: Using formulae