Intuition
Each entry of a product pairs one row of the first matrix with one column of the second: multiply the entries in pairs and add. This rule and the column-by-column definition are the same product, seen at two scales.
An order lists quantities and a price list lists prices, and the bill multiplies them item by item and adds. A table of bills, for several orders against several price lists, is a matrix product.
The row–column rule
Column of is , and component of is . So the entry in row and column of pairs row of with column of . The pairing needs a row of exactly as long as a column of , which is the shape condition met before.
What products obey, and what they do not
- , so a product of three matrices needs no brackets. The theorem below proves it.
- , and .
Multiplication is associative
Two matrices of the same shape are equal when they do the same thing to every vector, because column of a matrix is what it does to . Both sides apply , then , then , and the rule says so in two steps for each side.
Proof steps
The product of and applies first: that is the defining rule of a product.
The same rule once more, for acting on the vector .
The other side unfolds the same way: applies first, and applies and then .
Both sides send every vector to the same place. Taking the standard vectors in turn, their columns agree one by one.
Matrices with the same columns are the same matrix.
Applications
Practice
Row Times Column
To find the entry in row and column of , run along row of and down column of together, multiply the pairs you meet, and add.
Try it
is and is , so is . Select the entry of that is computed from row 3 of and column 2 of .
Try it
Let and . What is the entry in row 1, column 2 of ?
Try it
What is ?
Order Matters
Composing maps in the other order usually gives a different map, so and usually differ, even for square matrices of the same order.
Try it
For any two matrices and , .
Two Habits from Numbers That Fail
For numbers, forces or , and with forces . Neither survives for matrices.
Try it
and are matrices with . What follows?
Powers
For a square matrix, , , and so on. Because the product is associative, it does not matter how the factors are grouped.
Try it
Let . What is the entry in row 1, column 2 of ?
Try it
For square matrices and of the same order, what is ?
Try it
is a matrix. Which products are defined and equal to ?
Try it
What is the single entry of ?
Try it
If for matrices and , then .
What You Learned
- Entry of pairs row of with column of : multiply in pairs and add.
Final checkpoint
Try it
Let and . What is the entry in row 2, column 2 of ?
Try it
Which statement is true for all square matrices , , of the same order?
Try it
For every square matrix , each entry of is the square of the corresponding entry of .
Try it
The matrix records the roads between three towns: entry is when towns and are joined by a road. How many routes of exactly two roads lead from town 1 back to town 1?
Completion
Lesson complete
Great work! You now know how to:
- compute any entry of a product by pairing a row with a column;
- multiply matrices of compatible shapes;
- use associativity and distributivity, and recognise when order matters;
- compute powers of a square matrix.