26 min read
Matrix Multiplication
Multiplying two matrices combines rows of the first with columns of the second — a very different rule from addition.
Row Times Column
For two matrices, each element of the product is found by multiplying a ROW of the first matrix by a COLUMN of the second, and adding the results:
Matrix lab
Matrix A
Matrix B
AB = [[19,22],[43,50]]
Change a value and watch: Each entry of the result combines one row of A with one column of B.
Example 1 — multiplying two matrices
Find AB, where A = and B = .
- Top-left: () + () =
- Top-right: () + () =
- Bottom-left: () + () =
- Bottom-right: () + () =
Answer: AB =
Example 2 — order matters
Using the same A and B, find BA, and compare with AB.
- Top-left: () + () =
- Top-right: () + () =
- Bottom-left: () + () =
- Bottom-right: () + () =
Answer: BA = — different from AB! Matrix multiplication is NOT commutative: order matters.
Practice
A = and B = . Find the element in row , column of AB.
Your answer
More lessons in Matrices and Determinants · Next: The Identity Matrix · Previous: Scalar Multiplication
