Where the unit square goes
The unit square has corners (0, 0), (1, 0), (1, 1) and (0, 1), and area 1. A matrix sends (1, 0) to its first column and (0, 1) to its second, so the unit square lands on the parallelogram whose sides are the two columns. Its area is the size of the determinant, |ad − bc|.
The matrix (2 0; 0 2) doubles both directions. It sends the unit square to a 2 by 2 square, of area 4, and its determinant is 2 × 2 − 0 × 0 = 4. Because every shape in the plane is made of small squares, and each one is enlarged in the same way, every area is multiplied by 4.
A slanted example
Take M = (2 1; 1 3). Its determinant is 2 × 3 − 1 × 1 = 6 − 1 = 5. Its columns are (2, 1) and (1, 3), so the unit square lands on the parallelogram with corners (0, 0), (2, 1), (3, 4) and (1, 3).
Check that area directly. The parallelogram fits in a 3 by 4 rectangle of area 12. Outside it but inside the rectangle are two right triangles with legs 2 and 1, of area 1 each, two right triangles with legs 1 and 3, of area 1.5 each, and two 1 by 1 squares. So the parallelogram has area 12 − 2 − 3 − 2 = 5, the determinant.
The unit square, of area 1, and its image under (2 1; 1 3), the parallelogram on the columns (2, 1) and (1, 3), of area 5.
Every shape, the same factor
Any shape can be filled with small squares, as closely as you like. M turns each small square into a small parallelogram with 5 times its area, so it multiplies the area of the whole shape by 5.
Check it on a triangle. The triangle with corners (0, 0), (1, 0) and (0, 1) has area . M sends it to the triangle with corners (0, 0), (2, 1) and (1, 3), which is half of the parallelogram above, so its area is , and .
Determinant 1: moved, not resized
The quarter turn (0 −1; 1 0) has determinant 0 × 0 − (−1) × 1 = 1. It moves the unit square round the origin without resizing it, so every area stays the same.
A shear changes the shape and still keeps the area. (1 2; 0 1) has determinant 1 × 1 − 2 × 0 = 1. It sends the unit square to a parallelogram with base 1 along the x-axis and height 1, so its area is still 1 × 1 = 1, however far over it leans.
det [[a, b], [0, 1]] = a × 1 − b × 0 = a, so b never appears: a shear leaves the area unchanged
Make the determinant 2
The two handles are the two columns of (a b; 0 1). Moving b shears the square and the area stays a. Moving a stretches it, and the area follows a. At a = 0 the square is flat, and past 0 it is turned over, with a negative determinant.
A negative determinant: a flip
The reflection in the x-axis, (1 0; 0 −1), has determinant 1 × (−1) − 0 × 0 = −1. The unit square lands on the square with corners (0, 0), (1, 0), (1, −1) and (0, −1), which still has area 1. So the area is multiplied by 1, the size of the determinant.
The minus sign says the plane has been turned over. Going round the unit square from (0, 0) to (1, 0) to (1, 1) to (0, 1) is counterclockwise; going round their images, (0, 0) to (1, 0) to (1, −1) to (0, −1), is clockwise. An area is never negative: the size of the determinant gives the area factor, and its sign says whether the order of the corners is reversed.
Determinant 0: no area at all
For B = (2 4; 1 2), ad − bc = 2 × 2 − 4 × 1 = 0. Its columns, (2, 1) and (4, 2), lie along one line, since (4, 2) is twice (2, 1). B sends (x, y) to (2x + 4y, x + 2y), which is (x + 2y) times (2, 1), so every point of the plane lands on the line through the origin and (2, 1), the line .
The unit square is squashed onto the segment from (0, 0) to (6, 3), with no area left, and the area of every shape is multiplied by 0. Different points land on the same point, which is why B has no inverse.
Under (2 4; 1 2) the unit square lands on a segment of the line , from (0, 0) to (6, 3): a shape with no area.
Using the scale factor
The stretch (3 0; 0 2) has determinant 3 × 2 − 0 × 0 = 6. It turns the circle of radius 1, area , into an ellipse that reaches 3 along the x-axis and 2 up the y-axis, and the ellipse has area . That agrees with the formula for the area of an ellipse, .
An enlargement with scale factor k has matrix (k 0; 0 k), whose determinant is . So an enlargement by 3 multiplies areas by 9, as similar shapes do.
The usual mistakes
Adding the two diagonal products. For (2 1; 1 3), 6 + 1 = 7 is not the area factor; it is 6 − 1 = 5.
Using the main diagonal alone. 2 × 3 = 6 leaves out the bc term.
Adding the stretch factors. (3 0; 0 2) multiplies widths by 3 and heights by 2, so areas are multiplied by 3 × 2 = 6, not 3 + 2 = 5.
Giving a negative area. A determinant of −1 keeps every area the same and turns the plane over.
Reading a determinant of 0 as every point going to the origin. The points of the plane land on a line; it is the area that becomes 0.
A flower bed, a stencil and a photo
In the applications below, a flower bed is stretched by (3 0; 0 2) and its new area is found twice, directly and as the old area times the determinant 6. A stencil is reflected in y = x, a matrix with determinant −1, which keeps its area and reverses the order of its corners. And a photo is flattened onto a line by a matrix with determinant 0, which no matrix can undo.
Worked example: A Flower Bed on a Garden Plan Stretched to Fit a Larger Garden
Question A flower bed on a garden plan is a trapezium with corners P(1, 3), Q(5, 3), R(4, 5) and S(2, 5), in meters. To fit a larger garden, the designer applies the stretch M = 3002 to the plan. (a) Find the corners of the new bed, and find its area directly from its parallel sides. (b) Find det M, and show that the new area is the old area times det M.
1.The old bed has parallel sides PQ = 5 − 1 = 4 m and SR = 4 − 2 = 2 m, and they are 5 − 3 = 2 m apart. Its area is 12(4 + 2) × 2 = 6 square meters.
The old bed has parallel sides of 4 m and 2 m, 2 m apart: its area is 12(4 + 2) × 2 = 6 square meters. 2.Multiply each corner by M. The stretch multiplies every x-coordinate by 3 and every y-coordinate by 2: M13 = 36, M53 = 156, M45 = 1210 and M25 = 610.
The stretch multiplies each x-coordinate by 3 and each y-coordinate by 2: M13 = 36. 3.(a) The new bed has corners P'(3, 6), Q'(15, 6), R'(12, 10) and S'(6, 10). Its parallel sides are 15 − 3 = 12 m and 12 − 6 = 6 m, and they are 10 − 6 = 4 m apart, so its area is 12(12 + 6) × 4 = 36 square meters.
(a) The new bed P'(3, 6), Q'(15, 6), R'(12, 10), S'(6, 10) has area 12(12 + 6) × 4 = 36 square meters. 4.The determinant is det M = 3 × 2 − 0 × 0 = 6, so the stretch multiplies every area by 6.
det M = 3 × 2 − 0 × 0 = 6: the stretch multiplies every area by 6. 5.(b) The old area times the determinant is 6 × 6 = 36 square meters, which agrees with the area found directly. The bed is 3 times as wide and 2 times as long, and 3 × 2 = 6.
(b) 6 × 6 = 36 square meters, the area found directly.
Answer: (a) P'(3, 6), Q'(15, 6), R'(12, 10) and S'(6, 10), and the new bed has an area of 36 square meters; (b) det M = 6, and 6 × 6 = 36 square meters
Common mistakes
- Adding the two stretch factors and multiplying the area by 3 + 2 = 5, which gives 30 square meters. Widths are multiplied by 3 and lengths by 2, and an area is a width times a length, so the factor is 3 × 2 = 6.
- Treating the stretch as an enlargement with scale factor 3 and multiplying the area by 32 = 9. Only the x-direction is stretched by 3; the determinant, 6, is the area factor.
More matrices as transformations problems, worked step by step →
Worked example: A Sign-Writer's Stencil Turned Over, and the Determinant That Shows the Flip
Question A sign-writer's stencil is a triangle with corners A(4, 1), B(7, 1) and C(4, 3), in decimeters. Turning the stencil over reflects it in the line y = x, which is the matrix F = 0110. (a) Find the corners A', B' and C' of the image. (b) Find det F, and explain what its size and its sign say about the area of the stencil and the order of its corners.
1.Fxy = 0 × x + 1 × y1 × x + 0 × y = yx, so F swaps the two coordinates of every point.
Fxy = yx: the reflection in y = x swaps the two coordinates of every point. 2.(a) A' is (1, 4), B' is (1, 7) and C' is (3, 4). Each corner and its image are the same distance from the mirror line y = x, on opposite sides of it.
(a) A'(1, 4), B'(1, 7) and C'(3, 4), each as far from the mirror line as its corner, on the other side. 3.The determinant is det F = 0 × 0 − 1 × 1 = −1. Its size is 1, so the area does not change: the stencil has area 12 × 3 × 2 = 3 square decimeters, and the image, with sides A'B' = 3 and A'C' = 2 at a right angle, also has area 3 square decimeters.
det F = −1. Its size is 1, so the area stays 3 square decimeters. 4.Its sign is negative, so the stencil has been turned over. Going from A to B to C round the stencil is counterclockwise, and going from A' to B' to C' round the image is clockwise.
The sign is negative: A, B, C run counterclockwise round the stencil, and A', B', C' run clockwise round the image. 5.(b) det F = −1: the area stays 3 square decimeters, and the minus sign shows that the image is the stencil turned over, a mirror image in which the order of the corners is reversed.
(b) det F = −1: the same area, 3 square decimeters, and the stencil turned over.
Answer: (a) A'(1, 4), B'(1, 7) and C'(3, 4); (b) det F = −1: the area of 3 square decimeters is unchanged, and the minus sign shows the stencil is turned over, with its corners now running clockwise
Common mistakes
- Multiplying the area by −1 and giving the image an area of −3. An area cannot be negative; the area factor is the size of the determinant, 1, and the sign says only that the shape is turned over.
- Deciding from the size 1 that the stencil is unchanged. A determinant of 1 or −1 keeps areas, but −1 means a reflection, and the image is in a different place with its corners in the reverse order.
More matrices as transformations problems, worked step by step →
Worked example: A Photo Flattened onto a Line by a Typing Slip in a Photo Editor
Question A photo on a screen is a rectangle with corners A(3, 1), B(5, 1), C(5, 2) and D(3, 2), in centimeters. A typing slip turns the transformation an editor meant to apply into M = 1111. (a) Find the images of the four corners, and find det M. (b) Explain what happens to the photo and to its area, and why no matrix can undo the slip.
1.Mxy = x + yx + y, so every point goes to a point whose two coordinates are equal.
Mxy = x + yx + y: every image has two equal coordinates. 2.(a) A' is (4, 4), B' is (6, 6), C' is (7, 7) and D' is (5, 5). The determinant is det M = 1 × 1 − 1 × 1 = 0.
(a) A'(4, 4), B'(6, 6), C'(7, 7) and D'(5, 5), and det M = 1 × 1 − 1 × 1 = 0. 3.Every image lies on the line y = x, so the photo is flattened onto the segment of that line from (4, 4) to (7, 7).
Every image lies on y = x: the photo is flattened onto the segment from (4, 4) to (7, 7). 4.The photo's area of 2 × 1 = 2 square centimeters is multiplied by det M = 0, so the image has an area of 2 × 0 = 0, as a piece of a line must.
The area of 2 square centimeters is multiplied by det M = 0: the image has area 0. 5.(b) Different points land on the same point: B(5, 1) and the point (4, 2) on the top edge both go to (6, 6), because 5 + 1 = 4 + 2. A matrix that undid M would have to send (6, 6) back to two places at once, so none exists; det M = 0 says the same, because a matrix with determinant 0 has no inverse.
(b) B(5, 1) and (4, 2) both land on (6, 6), so no matrix can send the image back: M has no inverse.
Answer: (a) A'(4, 4), B'(6, 6), C'(7, 7) and D'(5, 5), and det M = 0; (b) the whole photo is flattened onto the line y = x with an area of 0, and since points such as (5, 1) and (4, 2) land on the same point, no matrix can undo it
Common mistakes
- Reading det M = 0 as every point being sent to the origin. The images lie along the line y = x, not at one point; only the area has shrunk to 0.
- Trying to undo the slip with 1det M1−1−11. That needs 10, which does not exist, and no other matrix can do it either, since two points share each image.
More matrices as transformations problems, worked step by step →