Written by the Fiveable Content Team โข Last updated September 2025
Written by the Fiveable Content Team โข Last updated September 2025
Definition
Matrix multiplication is an operation that takes two matrices and produces another matrix. It involves multiplying rows of the first matrix by columns of the second matrix and summing the products.
5 Must Know Facts For Your Next Test
Matrix multiplication is not commutative: $AB \neq BA$ in general.
The resulting matrix from multiplying an $m \times n$ matrix by an $n \times p$ matrix will be an $m \times p$ matrix.
Each element in the resulting matrix is computed as the dot product of a row from the first matrix with a column from the second matrix.
Matrix multiplication is associative: $(AB)C = A(BC)$.
To multiply matrices, the number of columns in the first matrix must equal the number of rows in the second matrix.