Linear transformations

Linear transformations

Spec C3 · AQA A-Level Further Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • A 2×22\times2 matrix M\mathbf{M} maps (xy)\begin{pmatrix}x\\ y\end{pmatrix} to M(xy)\mathbf{M}\begin{pmatrix}x\\ y\end{pmatrix} and always fixes the origin.
  • The columns of M\mathbf{M} are the images of the unit vectors (1,0)(1,0) and (0,1)(0,1).
  • AA followed by BB has matrix BA\mathbf{BA}: the first transformation is on the right.
  • Rotation through θ\theta anticlockwise: (cos⁡θ−sin⁡θsin⁡θcos⁡θ)\begin{pmatrix}\cos\theta&-\sin\theta\\ \sin\theta&\cos\theta\end{pmatrix}.
  • In 3D, reflections change one coordinate's sign; rotations about an axis fix that axis (right-hand rule).

Matrices as transformations

The columns of the matrix are where the unit vectors (1,0)(1,0) and (0,1)(0,1) go, so you can write down any matrix from two images.

A 2×22\times2 matrix M\mathbf{M} defines a linear transformation: (x′y′)=M(xy)\begin{pmatrix}x'\\ y'\end{pmatrix}=\mathbf{M}\begin{pmatrix}x\\ y\end{pmatrix}.

If (1,0)↦(a,c)(1,0)\mapsto(a,c) and (0,1)↦(b,d)(0,1)\mapsto(b,d) then M=(abcd)\mathbf{M}=\begin{pmatrix}a&b\\ c&d\end{pmatrix}. The unit vectors give the columns, so no formula is needed.

The image of a shape is found by transforming its corners.

OPQRP'Q'R'
Unit square and its image (shaded) under the matrix with columns (2, −1) and (3, 4)

Worked example

A transformation sends (1,0)(1,0) to (2,−1)(2,-1) and (0,1)(0,1) to (3,4)(3,4). Find its matrix and the image of (2,1)(2,1).

A transformation sends (1,0)(1,0) to (0,1)(0,1) and (0,1)(0,1) to (−1,0)(-1,0). What is its matrix?

Standard 2D transformations

Learn these ten matrices, with angles measured anticlockwise about the origin, and test each on (1,0)(1,0) and (0,1)(0,1).

A rotation through θ\theta anticlockwise has matrix (cos⁡θ−sin⁡θsin⁡θcos⁡θ)\begin{pmatrix}\cos\theta&-\sin\theta\\ \sin\theta&\cos\theta\end{pmatrix}: for 90∘90^\circ it is (0−110)\begin{pmatrix}0&-1\\1&0\end{pmatrix} and for 180∘180^\circ it is (−100−1)\begin{pmatrix}-1&0\\0&-1\end{pmatrix}.

To describe a transformation fully, name its type and give the key data:

  • rotation: centre, angle, direction
  • reflection: the mirror line
  • enlargement or stretch: the scale factor (and direction)
  • shear: the invariant line and where a point goes
OABCA'B'C'
Triangle ABC rotated 90° anticlockwise about the origin to A′B′C′

Reflections and rotation

  • Rotation through θ\theta: (cos⁡θ−sin⁡θsin⁡θcos⁡θ)\begin{pmatrix}\cos\theta&-\sin\theta\\ \sin\theta&\cos\theta\end{pmatrix}
  • In the xx-axis: (100−1)\begin{pmatrix}1&0\\0&-1\end{pmatrix}
  • In the yy-axis: (−1001)\begin{pmatrix}-1&0\\0&1\end{pmatrix}
  • In y=xy=x: (0110)\begin{pmatrix}0&1\\1&0\end{pmatrix}
  • In y=−xy=-x: (0−1−10)\begin{pmatrix}0&-1\\-1&0\end{pmatrix}

Enlargement, stretch, shear

  • Enlargement, factor kk: (k00k)\begin{pmatrix}k&0\\0&k\end{pmatrix}
  • Stretch, xx-direction, factor aa: (a001)\begin{pmatrix}a&0\\0&1\end{pmatrix}
  • Stretch, yy-direction, factor bb: (100b)\begin{pmatrix}1&0\\0&b\end{pmatrix}
  • Shear, xx-axis invariant: (1λ01)\begin{pmatrix}1&\lambda\\0&1\end{pmatrix}
  • Shear, yy-axis invariant: (10λ1)\begin{pmatrix}1&0\\ \lambda&1\end{pmatrix}

What transformation has matrix (100−1)\begin{pmatrix}1&0\\0&-1\end{pmatrix}?

Successive transformations

AA followed by BB has matrix BA\mathbf{BA}: the first transformation sits on the right, next to the vector.

If transformation AA has matrix A\mathbf{A} and BB has matrix B\mathbf{B}, then AA followed by BB has matrix BA\mathbf{B}\mathbf{A}, because B(Ax)=(BA)x\mathbf{B}(\mathbf{A}\mathbf{x})=(\mathbf{B}\mathbf{A})\mathbf{x}.

Matrix multiplication is not commutative, so the order matters.

Repeating a transformation nn times gives Mn\mathbf{M}^n: two shears (1201)\begin{pmatrix}1&2\\0&1\end{pmatrix} in a row give (1401)\begin{pmatrix}1&4\\0&1\end{pmatrix}.

  • AA then BBBA\mathbf{B}\mathbf{A}
  • AA repeated nn timesAn\mathbf{A}^n

Worked example

PP is a clockwise quarter turn, P=(01−10)\mathbf{P}=\begin{pmatrix}0&1\\-1&0\end{pmatrix}. QQ is a reflection in y=xy=x, Q=(0110)\mathbf{Q}=\begin{pmatrix}0&1\\1&0\end{pmatrix}. Find the single transformation for PP then QQ, and for QQ then PP.

Transformation AA is followed by transformation BB. Which matrix represents the combined transformation?

Three-dimensional transformations

In 3D the columns are the images of (1,0,0)(1,0,0), (0,1,0)(0,1,0) and (0,0,1)(0,0,1); you need reflections in coordinate planes and rotations about the axes.

A 3D transformation is a 3×33\times3 matrix. A reflection in a plane such as x=0x=0 changes the sign of one coordinate.

A rotation about an axis leaves that axis fixed. A positive angle θ\theta is anticlockwise when looking from the positive axis towards the origin (the right-hand rule).

The yy-rotation has its signs the opposite way round because z→xz\to x is the positive turn about yy. Test it: (0,0,1)(0,0,1) should go to (sin⁡θ,0,cos⁡θ)(\sin\theta,0,\cos\theta).

Reflections

  • In x=0x=0: (−100010001)\begin{pmatrix}-1&0&0\\0&1&0\\0&0&1\end{pmatrix}
  • In y=0y=0: (1000−10001)\begin{pmatrix}1&0&0\\0&-1&0\\0&0&1\end{pmatrix}
  • In z=0z=0: (10001000−1)\begin{pmatrix}1&0&0\\0&1&0\\0&0&-1\end{pmatrix}

Rotations through θ\theta

  • About xx: (1000cos⁡θ−sin⁡θ0sin⁡θcos⁡θ)\begin{pmatrix}1&0&0\\0&\cos\theta&-\sin\theta\\0&\sin\theta&\cos\theta\end{pmatrix}
  • About yy: (cos⁡θ0sin⁡θ010−sin⁡θ0cos⁡θ)\begin{pmatrix}\cos\theta&0&\sin\theta\\0&1&0\\-\sin\theta&0&\cos\theta\end{pmatrix}
  • About zz: (cos⁡θ−sin⁡θ0sin⁡θcos⁡θ0001)\begin{pmatrix}\cos\theta&-\sin\theta&0\\ \sin\theta&\cos\theta&0\\0&0&1\end{pmatrix}

Reflection after rotation

RR is a rotation through 90∘90^\circ about the xx-axis and TT is reflection in z=0z=0. Find the matrix for RR followed by TT, and the image of (2,3,4)(2,3,4).

Squaring a rotation

U=(001010−100)\mathbf{U}=\begin{pmatrix}0&0&1\\0&1&0\\-1&0&0\end{pmatrix} is a 90∘90^\circ rotation about the yy-axis. Describe U2\mathbf{U}^2.

A rotation of 90∘90^\circ about the xx-axis is applied. Where does (0,1,0)(0,1,0) go?

Try an exam question

A transformation RR is an anticlockwise rotation through 90∘90^\circ about the origin, and TT is a reflection in the xx-axis. Find the matrix of RR followed by TT, and the image of (2,1)(2,1).

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Which of the following describes TT?

1 mark, marked against the mark scheme

Revision notes