Lesson 3 of 8 · 18 min

Rotation and reflection matrices

Derive and use the exact matrices for rotations about the origin and reflections in lines y=xtan⁡(θ)y = x\tan(\theta), and recognise and describe a rotation or reflection from its matrix.

What you will be able to do

  • Explain where the rotation matrix comes from, using the images of (1,0)(1, 0) and (0,1)(0, 1).
  • Write exact matrices for rotations about the origin, anticlockwise or clockwise.
  • Find θ\theta for a mirror line y=xtan⁡(θ)y = x\tan(\theta) and write the reflection matrix.
  • Recognise a rotation or reflection from its matrix and describe it fully.

Last lesson you found that the columns of a matrix are the images of (1,0)(1, 0) and (0,1)(0, 1). Use that idea on a rotation and the matrix falls out of the unit circle you already know.

Rotate (1,0)(1, 0) anticlockwise about OO through θ\theta. It stays on the unit circle, so it lands on (cos⁡(θ),sin⁡(θ))(\cos(\theta), \sin(\theta)). The point (0,1)(0, 1) starts a quarter-turn further round, at angle 90°90°, so it lands at angle 90°+θ90° + \theta: on (cos⁡(90°+θ),sin⁡(90°+θ))=(−sin⁡(θ),cos⁡(θ))(\cos(90° + \theta), \sin(90° + \theta)) = (-\sin(\theta), \cos(\theta)).

Both unit vectors turn through θ\theta. Their images are the columns of the rotation matrix.

Key idea

Rotation about the origin

The rotation of angle θ\theta anticlockwise about the origin has matrix

Rθ=[cos⁡(θ)−sin⁡(θ)sin⁡(θ)cos⁡(θ)]\bm{R}_\theta = \begin{bmatrix} \cos(\theta) & -\sin(\theta) \\ \sin(\theta) & \cos(\theta) \end{bmatrix}

For a clockwise rotation, use a negative angle: a clockwise rotation through θ\theta is R−θ=[cos⁡(θ)sin⁡(θ)−sin⁡(θ)cos⁡(θ)]\bm{R}_{-\theta} = \begin{bmatrix} \cos(\theta) & \sin(\theta) \\ -\sin(\theta) & \cos(\theta) \end{bmatrix}. This matrix is on the formula sheet.

Rotations you will use often. Each comes straight from the exact values.
Rotation about OOθ\thetaMatrix
90°90° anticlockwiseπ2\frac{\pi}{2}[0−110]\begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix}
180°180°π\pi[−100−1]\begin{bmatrix} -1 & 0 \\ 0 & -1 \end{bmatrix}
90°90° clockwise−π2-\frac{\pi}{2}[01−10]\begin{bmatrix} 0 & 1 \\ -1 & 0 \end{bmatrix}
45°45° anticlockwiseπ4\frac{\pi}{4}[22−222222]\begin{bmatrix} \frac{\sqrt{2}}{2} & -\frac{\sqrt{2}}{2} \\ \frac{\sqrt{2}}{2} & \frac{\sqrt{2}}{2} \end{bmatrix}

Worked example

Rotate a point 60°60° about the origin

  • Simple familiar
  • Technology free

(a) Write the exact matrix for the rotation of 60°60° anticlockwise about the origin.

(b) Find the exact image of P(4,2)P(4, 2).

3 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Anticlockwise angle in, exact values out.

  2. Multiply the matrix by the point.

  3. Check that the distance from the origin is unchanged.

Watch out for

  • Putting the minus sign on the bottom-left sin⁡(θ)\sin(\theta), which rotates clockwise.

  • Rounding 32\frac{\sqrt{3}}{2} to 0.870.87 in a technology-free question.

Write the exact matrix for the rotation of 45°45° clockwise about the origin.

Now reflections. A line through the origin can be written y=xtan⁡(θ)y = x\tan(\theta), where θ\theta is the angle it makes with the positive xx-axis: its gradient is tan⁡(θ)\tan(\theta).

Reflect (1,0)(1, 0) in this line. It sits θ\theta below the mirror, so its image sits θ\theta above it, at angle 2θ2\theta from the xx-axis: the image is (cos⁡(2θ),sin⁡(2θ))(\cos(2\theta), \sin(2\theta)). The same argument for (0,1)(0, 1), at angle 90°90°, gives an image at angle 2θ−90°2\theta - 90°, which is (sin⁡(2θ),−cos⁡(2θ))(\sin(2\theta), -\cos(2\theta)).

Key idea

Reflection in a line through the origin

The reflection in the line y=xtan⁡(θ)y = x\tan(\theta) has matrix

Sθ=[cos⁡(2θ)sin⁡(2θ)sin⁡(2θ)−cos⁡(2θ)]\bm{S}_\theta = \begin{bmatrix} \cos(2\theta) & \sin(2\theta) \\ \sin(2\theta) & -\cos(2\theta) \end{bmatrix}

The angles are 2θ2\theta, twice the angle of the mirror. This matrix is on the formula sheet.

Why the image of (0,1)(0, 1) is (sin⁡(2θ),−cos⁡(2θ))(\sin(2\theta), -\cos(2\theta))

The point (0,1)(0, 1) is at angle 90°90°. The mirror is at angle θ\theta, so (0,1)(0, 1) is 90°−θ90° - \theta anticlockwise of the mirror. Its image is 90°−θ90° - \theta clockwise of the mirror, at angle θ−(90°−θ)=2θ−90°\theta - (90° - \theta) = 2\theta - 90°. Using the angle difference identities,

cos⁡(2θ−90°)=sin⁡(2θ),sin⁡(2θ−90°)=−cos⁡(2θ)\cos(2\theta - 90°) = \sin(2\theta), \qquad \sin(2\theta - 90°) = -\cos(2\theta)

so the image is (sin⁡(2θ),−cos⁡(2θ))(\sin(2\theta), -\cos(2\theta)), the second column of Sθ\bm{S}_\theta.

Reflections in the four special lines.
Mirror lineθ\theta2θ2\thetaMatrix
xx-axis (y=0y = 0)0000[100−1]\begin{bmatrix} 1 & 0 \\ 0 & -1 \end{bmatrix}
y=xy = x45°45°90°90°[0110]\begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}
yy-axis (x=0x = 0)90°90°180°180°[−1001]\begin{bmatrix} -1 & 0 \\ 0 & 1 \end{bmatrix}
y=−xy = -x−45°-45° (or 135°135°)−90°-90° (or 270°270°)[0−1−10]\begin{bmatrix} 0 & -1 \\ -1 & 0 \end{bmatrix}
Interactive

Flip the letter F

This is the reflection in y=xy = x: it swaps the coordinates of every point. Try the other three matrices in the table. Which way does the F face after each one?

Write the exact matrix for the reflection in the line y=x3y = \frac{x}{\sqrt{3}}.

Worked example

Reflect a point in the line y=3xy = \sqrt{3}x

  • Complex familiar
  • Technology free

(a) Find the exact matrix for the reflection in the line y=3xy = \sqrt{3}x.

(b) Find the image of Q(2,0)Q(2, 0) and verify that the line is the perpendicular bisector of QQ′QQ'.

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Find θ\theta from the gradient, tan⁡(θ)=m\tan(\theta) = m.

  2. Substitute 2θ2\theta into the reflection matrix.

  3. Check an image with the perpendicular bisector property.

Watch out for

  • Using θ=60°\theta = 60° in the matrix instead of 2θ=120°2\theta = 120°.

  • Treating the gradient 3\sqrt{3} as the angle.

To recognise a matrix, look at its pattern:

  • [p−qqp]\begin{bmatrix} p & -q \\ q & p \end{bmatrix} with p2+q2=1p^2 + q^2 = 1 is a rotation: cos⁡(θ)=p\cos(\theta) = p and sin⁡(θ)=q\sin(\theta) = q.
  • [pqq−p]\begin{bmatrix} p & q \\ q & -p \end{bmatrix} with p2+q2=1p^2 + q^2 = 1 is a reflection: cos⁡(2θ)=p\cos(2\theta) = p and sin⁡(2θ)=q\sin(2\theta) = q, and the mirror is y=xtan⁡(θ)y = x\tan(\theta).

The signs tell them apart: a rotation has equal entries on the leading diagonal, a reflection has equal entries on the other diagonal.

Describe the transformation with matrix [0−1−10]\begin{bmatrix} 0 & -1 \\ -1 & 0 \end{bmatrix}.

Choose one answer

Common mistake

Gradient, angle and double angle

Three numbers, three jobs. For the line y=3xy = \sqrt{3}x: the gradient is 3\sqrt{3}, the angle is θ=60°\theta = 60° because tan⁡(60°)=3\tan(60°) = \sqrt{3}, and the reflection matrix uses the double angle 2θ=120°2\theta = 120°. Putting the gradient or θ\theta into the matrix are the two commonest errors in this topic.

Exam tip

Describe it fully

"Describe the transformation" needs every detail: rotation with its angle, direction and centre ("60°60° anticlockwise about the origin"), or reflection with its mirror line ("in the line y=−xy = -x"), or dilation with each factor and its direction. Leaving out the direction of a rotation loses the mark.

Summary

  • Rotation of θ\theta anticlockwise about OO: [cos⁡(θ)−sin⁡(θ)sin⁡(θ)cos⁡(θ)]\begin{bmatrix} \cos(\theta) & -\sin(\theta) \\ \sin(\theta) & \cos(\theta) \end{bmatrix}. Clockwise means a negative θ\theta.

  • Reflection in y=xtan⁡(θ)y = x\tan(\theta): [cos⁡(2θ)sin⁡(2θ)sin⁡(2θ)−cos⁡(2θ)]\begin{bmatrix} \cos(2\theta) & \sin(2\theta) \\ \sin(2\theta) & -\cos(2\theta) \end{bmatrix}, with the double angle.

  • Find θ\theta from the gradient: tan⁡(θ)=m\tan(\theta) = m. The axes and y=±xy = \pm x give the four simplest reflections.

  • Rotations look like [p−qqp]\begin{bmatrix} p & -q \\ q & p \end{bmatrix} and reflections like [pqq−p]\begin{bmatrix} p & q \\ q & -p \end{bmatrix}, with p2+q2=1p^2 + q^2 = 1.

Finished the lesson?

Try the 3 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 3 of 80% read

Save your progress with a free account