Matrix Multiplication Formula
Matrix multiplication is multiplying matrices A (m x n) and B (n x p) by taking dot products of rows of A with columns of B to produce an m x p result.
The Formula
When to use: Imagine each row of as a question and each column of as an answer key. You 'grade' each row against each column by multiplying corresponding entries and summing. This is why column count of must match row count of —the question and answer key must have the same length.
Quick Example
Notation
What This Formula Means
Multiplying matrices () and () by taking dot products of rows of with columns of to produce an result.
Imagine each row of as a question and each column of as an answer key. You 'grade' each row against each column by multiplying corresponding entries and summing. This is why column count of must match row count of —the question and answer key must have the same length.
Formal View
Worked Examples
Example 1
mediumAnswer
First step
See the full worked solution + why-it-works coaching
SetupKey insightWhy it worksCommon pitfallConnection
Example 2
hardExample 3
challengeCommon Mistakes
- Multiplying when inner dimensions disagree — is undefined; the inner numbers must match.
- Assuming — matrix multiplication is generally non-commutative, so order matters.
- Multiplying entrywise — each result entry is a row-by-column SUM of products, not a single product.
Why This Formula Matters
It is the operation behind composing linear transformations, applying a system, and inverse matrices, and it is famously non-commutative — in general — which reshapes how students think about multiplication. Recognizing it by "Does the column count of equal the row count of , and am I dotting rows with columns?" — rather than by familiar numbers — is what lets a student tell it apart from matrix addition and scalar multiplication and dot product (vectors) in a mixed problem set.
Frequently Asked Questions
What is the Matrix Multiplication formula?
Multiplying matrices () and () by taking dot products of rows of with columns of to produce an result.
How do you use the Matrix Multiplication formula?
Imagine each row of as a question and each column of as an answer key. You 'grade' each row against each column by multiplying corresponding entries and summing. This is why column count of must match row count of —the question and answer key must have the same length.
What do the symbols mean in the Matrix Multiplication formula?
means multiply by (row-by-column). Dimensions: . The inner dimensions must match.
Why is the Matrix Multiplication formula important in Math?
It is the operation behind composing linear transformations, applying a system, and inverse matrices, and it is famously non-commutative — in general — which reshapes how students think about multiplication. Recognizing it by "Does the column count of equal the row count of , and am I dotting rows with columns?" — rather than by familiar numbers — is what lets a student tell it apart from matrix addition and scalar multiplication and dot product (vectors) in a mixed problem set.
What do students get wrong about Matrix Multiplication?
The procedure for matrix multiplication is the easy part; the trap is multiplying when inner dimensions disagree. Asking "Does the column count of equal the row count of , and am I dotting rows with columns?" first is what keeps a correct-looking calculation from being attached to the wrong concept.
What should I learn before the Matrix Multiplication formula?
Before studying the Matrix Multiplication formula, you should understand: matrix operations, matrix definition.
Want the Full Guide?
This formula is covered in depth in our complete guide:
Solving Systems of Equations: Substitution, Elimination, and Matrices →