Matrices as Transformations

Stage 13 of 23 Strand 3 of 5 6 lessons

6 illustrated lessons, each teaching the why before the how.

Start with Matrices as Transformations of the Plane in the app →
Revise Matrices as Transformations with flashcards →

Jump to a lesson

Matrices as Transformations of the Plane

The columns say where i and j land.

The columns of a 2 × 2 matrix are the places the unit vectors i and j land

Read the full lesson →

xyij

Start with the unit vectors i, one unit right, and j, one unit up.

R0−110

Column 1 of the matrix says where i lands: at (0, 1).

R0−110

Column 2 says where j lands: at (−1, 0).

Together the two columns rotate the whole plane 90° counterclockwise about the origin.

reflection100−1

Reflection in the x-axis leaves i where it is and sends j to (0, −1).

enlargement3003shear1201

An enlargement by 3 sends i and j three times as far, and this shear moves j sideways to (2, 1).

Now you

Which matrix rotates the plane 90° counterclockwise?

100−1

What does this matrix do to the plane?

The Determinant as an Area Scale Factor

What a determinant does to every area.

The determinant of a transformation matrix is the factor by which every area is multiplied

Read the full lesson →

The unit square has area 1. Doubling both directions makes it 2 by 2.

A2002

Its matrix has determinant 2 × 2 − 0 × 0 = 4, which is the new area.

A 90° rotation moves the square without resizing it, and (0 −1; 1 0) has determinant 1.

reflection100−1

A reflection has determinant −1: the area is unchanged, but the orientation is reversed.

B2412

Here ad − bc = 0, so the square is squashed onto a line with no area left.

Now you

B451215

The determinant of this matrix is 0. What happens to the unit square?

4515

By what factor does this matrix scale area?

Composing Transformations by Multiplying Matrices

One after another, read right to left.

Doing one transformation after another multiplies their matrices, with the one applied first on the right

Read the full lesson →

Xreflect the point firstM Xthen rotate the resultR (M X)

Reflect the point first, then rotate the result. Each new matrix is written on the left.

R0−110M100−1R M0110×=

One matrix does both transformations: R M, worked out as an ordinary product.

M100−1R0−110M R0−1−10×=

Swap the order and M R comes out different, so the combined transformation is different too.

R M0110M R0−1−10≠

R M and M R are not the same matrix, so the order you work in matters.

R0−110M100−1xy

The matrix next to the column acts first, so a product reads right to left.

Now you

P1324Q1032

Q is done first, then P. Which product does both?

P2123Q2342×

Q acts first, then P. What goes in row 2, column 1 of the matrix that does both?

Invariant Points and Lines

What a transformation leaves exactly where it was.

An invariant point is one a matrix sends to itself, found by solving that the image equals the point

Read the full lesson →

M(x, y) = (x, y)that is what invariant meansa point that does not move

A point is invariant when the transformation sends it back to exactly where it was.

M100−1

Take the reflection in the x-axis and ask which points it leaves where they are.

(x, −y) = (x, y)always truex = x−y = y2y = 0y = 0

The equations give y = 0, so every point on the mirror line is invariant.

Every point off that line moves to the other side of it, so only the line is fixed.

the line x = 3 goes to the line x = 3the line is invariant, its points are notbut (3, 2) goes to (3, −2)

A line can map onto itself while its points slide along it. That is an invariant line.

a quarter turn about the originevery other point movesonly (0, 0) stays

A rotation about the origin fixes just one point, and the origin is always that point.

Now you

the line maps onto itselfeach point of it moves

How can a line be invariant when its points are not?

Which points does a rotation about the origin leave where they are?

Matrices as Transformations of Space

Three columns, for where i, j and k land.

The columns of a 3 × 3 matrix are where the three unit vectors i, j and k land

Read the full lesson →

I100010001

Space has three unit vectors: i along x, j along y and k along z.

R0−10100001

Column 1 sends i to (0, 1, 0), a rotation of 90°, just as in the plane.

R0−10100001

Column 3 leaves k where it is, so this is a rotation about the z-axis.

M10001000−1

Send k to −k and leave i and j where they are: that is a reflection in the plane z = 0.

E200020002

Twos down the main diagonal send all three unit vectors twice as far: an enlargement by 2.

R0−10100001M10001000−1R M0−1010000−1×=

Doing one transformation after another still multiplies, and the matrix on the right still acts first.

Now you

222312132

Where does j land under this matrix?

423314114

Where does i land under this matrix?

The Determinant as a Volume Scale Factor

What a 3 × 3 determinant does to every volume.

The determinant of a 3 × 3 transformation is the factor by which every volume is multiplied

Read the full lesson →

111

Start from the unit cube, whose volume is 1, and let a matrix act on space.

A200030004

This one stretches x by 2, y by 3 and z by 4, each direction on its own.

234

The cube becomes a 2 by 3 by 4 box, and 24 unit cubes fit inside it.

det A = 2 × 3 × 4the new volume, from the same three numbersdet A = 24

Its determinant is 24 as well, and every volume is multiplied by that factor.

M10001000−1

A determinant of −1 keeps every volume but reverses orientation, as a reflection does.

B123246101

Row 2 is twice row 1, so det B is 0 and the cube is flattened onto a plane.

Now you

123246101

The determinant of this matrix is 0. What happens to the unit cube?

400030002

A solid of volume 3 is transformed by this matrix. What is its new volume?

Continue your journey in the app — save your progress