Matrix Multiplication
Fill both 3x3 grids. Results update live.
Result
A x B
Edit the grids to compute.
-
Rule: C[i][j] = sum over k of A[i][k] x B[k][j]. Note that A x B is generally not equal to B x A.
Multiply two 3x3 matrices with the row-by-column dot product rule. Editable grids, live results.
Fill both 3x3 grids. Results update live.
Edit the grids to compute.
Each entry of the product is a dot product: take row i of A and column j of B, multiply the pairs, and add. For 3x3 matrices that is three multiplications per entry, 27 in total, which the tool recomputes on every keystroke.
Matrix multiplication is not commutative: A x B usually differs from B x A. Swapping the factors answers a different question, so double check which matrix goes on the left before reading the result.