I can
- write the matrix of a rotation, reflection, enlargement, stretch or shear
- find the image of a point under a reflection or a rotation
- find the angle from a rotation matrix
Key idea
Each transformation has a matrix. Find it from where (1, 0) and (0, 1) go.
Rotation about the origin: 90° anticlockwise is [[0, −1], [1, 0]]. 180° is [[−1, 0], [0, −1]]. 270° anticlockwise (90° clockwise) is [[0, 1], [−1, 0]].
Reflections: in the x-axis [[1, 0], [0, −1]], in the y-axis [[−1, 0], [0, 1]], in y = x [[0, 1], [1, 0]]. Reflecting in y = x swaps x and y.
Enlargement, centre O, scale factor k: [[k, 0], [0, k]].
Stretch: parallel to the x-axis with factor k is [[k, 0], [0, 1]]. Parallel to the y-axis is [[1, 0], [0, k]].
Shear with the x-axis invariant, (0, 1) to (k, 1): [[1, k], [0, 1]].
Worked examples
Example 1: rotation of 90° anticlockwise
Watch it: rotation of 90° anticlockwise: the matrix, step by step:
- The first column is where (1, 0) goes. The second column is where (0, 1) goes.
- First column: 0 and 1.
- Second column: −1 and 0.
- So the matrix is (0, −1, 1, 0), row by row.
- (1, 0) turns to (0, 1). That is the first column.
- (0, 1) turns to (−1, 0). That is the second column.
Matrix (0, -1, 1, 0)
Example 2: find the angle
Watch it: [[−1, 0], [0, −1]] is a rotation through θ, with 0 < θ < 360, step by step:
- The matrix sends (1, 0) to its first column, (−1, 0).
- (−1, 0) is straight across the origin from (1, 0).
- Half a turn is 180°.
- (1, 0) turns through 180° to (−1, 0).
[[−1, 0], [0, −1]] is a rotation anticlockwise through θ, with 0 < θ < 360. It sends (1, 0) to (−1, 0), which is half a turn.
θ = 180
Example 3: reflection
Watch it: the image of P(7, −4) under the reflection in the line y = x, step by step:
- The mirror line y = x exchanges x and y.
- 7 and −4 swap places.
- The image of P is (−4, 7).
- P and its image are the same distance from the mirror line y = x.
Find the image of P(7, −4) under the reflection in the line y = x.
- Reflecting in y = x swaps the coordinates.
The image is (-4, 7)
Try it
Show answer
(1, 0, 0, -1)Show answer
(1, -5)Show answer
270Show answer
(2, 0, 0, 2)Show answer
(1, 5, 0, 1)Common mistakes
- Mixing up clockwise and anticlockwise. Anticlockwise is the positive direction.
- Putting the shear number in the wrong corner. With the x-axis invariant it sits top right.
Remember
- Columns of the matrix are the images of (1, 0) and (0, 1).
- Learn the rotation and reflection matrices above.
Practise this
Worksheets 64 to 72 of Matrices practise this note. Sign in to Mathhh, write your answers by hand and see your marks straight away.
Open Mathhh