Matrices and Determinants of Order 3
Senior 5 · Mathematics
Matrices and Determinants of Order 3
Lesson 2 of 5
40 min
Back at the cooperative of lesson 1, suppose a bag of beans sells for 40,000 FRW, a bag of maize for 25,000 FRW and a bag of potatoes for 15,000 FRW (illustrative prices). The income of the Musanze market in week 1 is : a row of the sales matrix "times" the column of prices. Doing this for every row at once is matrix multiplication. The same row-by-column rule moves points in space, which is why every 3-D drawing program, from an architect's model to a phone game, multiplies by matrices millions of times a second.
Definition
Product of matrices. If is an matrix and is an matrix, their product is the matrix with entries
that is, row of multiplied, entry by entry, with column of , and the products added. The product exists only when the number of columns of equals the number of rows of . Two matrices can always be multiplied, and the result is .
Worked example 1: income per market
With the week-1 sales of lesson 1 and the price column , find the income of each market.
Musanze earned 1,505,000 FRW, Huye 1,295,000 FRW and Rubavu 1,225,000 FRW. A matrix times a column gives a column.
Worked example 2: the order of the factors matters
Find and for and .
Solution. The first entry of is row 1 of times column 1 of : . Continuing in the same way,
: matrix multiplication is not commutative.
Important
Properties of the product (for matrices whose products exist, and a real number ):
Reason for the transpose rule. The entry of is the entry of , namely . The entry of is , the same number.
Worked example 3: a non-zero matrix whose cube is zero
Let . Find and .
Solution.
So although . With numbers, forces ; with matrices it does not. A matrix with some power equal to is called nilpotent.
Definition
A linear transformation of space is a function such that, for all vectors and real ,
Its matrix (in the standard basis , , ) is the matrix whose columns are , and . Then the image of any point is a product:
Reason. , so by linearity , which is exactly the product of with the column .
The figure shows the shear . Its columns are , , , so its matrix is . Every horizontal layer slides in the direction by its height , and the cube becomes a slanted box (a parallelepiped).
| Transformation | Image of | Matrix |
|---|---|---|
| Enlargement, centre , scale factor | ||
| Reflection in the -plane | ||
| Reflection in the -plane | ||
| Orthogonal projection onto the -plane | ||
| Rotation through about the -axis |
The rotation keeps and turns the -plane exactly as the rotation matrix of S4 does; the angle is anticlockwise when you look down the -axis towards the origin.
Important
Composition is multiplication. If has matrix and has matrix , then "first , then ", that is , has matrix : the transformation applied first is written on the right, next to the column it acts on.
Worked example 4: rotate, reflect, and the order of the two
is the rotation through about the -axis and is the reflection in the -plane. (a) Find the matrix of and the image of . (b) Find the matrices of " then " and of " then ", and the image of under each.
Solution. (a) With and :
(b) . " then " has matrix
The two orders send to different points, as predicts.
Warning
Tip
Before multiplying, write the orders side by side: . If the two inner numbers match, the product exists, and the two outer numbers give its order.
3Blue1Brown: Three-dimensional linear transformations, Chapter 5 of Essence of Linear Algebra (about 5 min). Watch the columns of a 3 × 3 matrix appear as the landing places of i, j and k, exactly as in this lesson's figure.
Practice
Questions 1 to 3 are routine; 4 to 6 need more care; 7 asks for a reason.
Sources and credits