Explanation and Free Practice Resources
For finite matrices with real-number entries, multiplication is defined when the number of columns in the first matrix equals the number of rows in the second; each entry of the product is the sum of products pairing one row with one column. The product’s dimensions come from the outer dimensions, and reversing the factors generally changes the result or makes the product undefined, reflecting the order of composed linear transformations. Abstract and infinite-dimensional matrix products are not included.
On this page:
To multiply matrices, the number of columns in the first matrix must equal the number of rows in the second. Each entry in the product comes from multiplying one row by one column, then adding the results.
For example, let
Matrix is and is . The inner dimensions match, so is defined; its dimensions are the outer dimensions, .
Calculate each entry using a row of and a column of :
The order matters: reversing the factors gives a product, not the same matrix.
Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill
Earned ?
Print this free 'Multiply two matrices' worksheet to practice this skill away from the computer. Click 'Modify' to easily customize this worksheet to your exact needs.