Matrices and Determinants of Order 2
Senior 4 · Mathematics
Matrices and Determinants of Order 2
Lesson 3 of 5
25 min
Go back to the coffee roaster. In week 1 the two shops sold bags (rows: shops; columns: and bags). Suppose a bag sells for 3000 Frw and a bag for 5500 Frw (illustrative prices). Shop 1 took in
a row of quantities multiplied, entry by entry, with a column of prices and added up. Do the same for Shop 2 and you have
Add a second column of wholesale prices, 2500 Frw and 4800 Frw, and each shop gets a second total in the same way:
This "row times column" rule is matrix multiplication. It is the same rule you already use for , applied to each column in turn.
Definition
Matrix product: if is and is , the product is the matrix whose entry in row , column is row of times column of :
For order 2:
The product exists only when the number of columns of equals the number of rows of .
Example: (a matrix), while .
Worked example 1: and
Let and . Find and .
Solution.
: matrix multiplication is not commutative.
Let and be linear with matrices and . The composite means "first , then ": . Writing out the components shows that for every . Hence
This explains the rule for the product, and also why order matters. Let (reflection in the -axis) and (rotation of anticlockwise about ). Then
"Reflect, then rotate" is the reflection in ; "rotate, then reflect" is the reflection in . The diagram shows the two different images of the same triangle.
Important
Properties of the product (whenever the products are defined). With the identity matrix , the matrix of the transformation that changes nothing:
Powers of a square matrix are , , and so on; associativity makes them unambiguous.
Worked example 2: a zero product and powers
(a) Show that and satisfy . (b) Find and for the rotation .
Solution.
(a) . Geometrically, projects onto the -axis and then projects onto the -axis, which sends everything on the -axis to .
(b) , the rotation of . Then : four quarter-turns bring every point back.
Worked example 3: a matrix equation
Show that satisfies .
Solution. . Then
(The numbers 5 and 4 are not chance: is the sum of the diagonal entries and is the determinant, the subject of the next lesson.)

Warning
Habits from numbers that fail for matrices. , which is not unless . From you may not cancel to get . And a product is never computed entry by entry: .
Tip
Run your left index finger along a row of and your right index finger down a column of , multiplying as you go; the total lands where that row and that column cross in . Before you start, check "inner orders match": .
3Blue1Brown: Matrix multiplication as composition, Chapter 4 of Essence of Linear Algebra (about 10 min). Watch for why the product is read from right to left, and why the order of two transformations matters.
Practice
Work each one, then open the answers.
Key points
Sources and credits
Quick check