Multiply matrices step by step, computing each entry as the dot product of a row and column.
A (m×n) × B (n×p) = C (m×p)
For A×B to be defined, A's column count must equal B's row count — the inner dimensions must match. The result C has the outer dimensions.
Think of it this way: the shared dimension n is "consumed" during multiplication. What remains are the outer dimensions m (rows of A) and p (cols of B).
To find entry Cij: take the dot product of row i of A with column j of B — multiply matching entries and add them all up.
AB ≠ BA (not commutative)
Matrix multiplication is not commutative — swapping the order almost always changes the result, and sometimes AB is defined while BA is not (when dimensions don't match in reverse).
However, matrix multiplication is associative and distributive:
(AB)C = A(BC) — associative: grouping doesn't matter.
A(B+C) = AB + AC — distributive over addition.
One-on-one Algebra 2 tutoring makes the dot product click — we work through your actual assignments so you can solve any matrix problem with confidence.