Matrix multiplication
If you multiply one matrix
Rule | Example |
---|---|
When multiplying matrices, the order matters | Although |
To multiply two matrices, | For example, you cannot multiply a |
The product | For example, multiplying a |
For example, In other words, starting from the first matrix in the product, multiply the first row by each column in the second matrix. Next, multiply the second row by each column in the second matrix. Then, multiply the third row by each column in the second matrix, and so on and so forth. | |
Each value in the product is calculated as its own product | For example, |
A sample problem below,
To double-check your answer, make sure the number final product has the same number of rows as the first matrix, and the same number of columns as the second matrix.