Menu
Sign up Sign in

AI HL · AHL 5

Matrices

AHL 5.9

Composite transformations, area and invariant lines

AHL 5.9

Composite transformations, area and invariant lines

Target: Combine transformations in the right order (+2 more)

By the end of this section

Key points

One transformation after another

  • \(A\) followed by \(B\) has matrix \(BA\): the first one is written nearest the point, \(B(A\mathbf{x}) = (BA)\mathbf{x}\).
  • The order matters. \(B\) followed by \(A\) is \(AB\), usually a different transformation.
  • A translation is added, not multiplied. Do each step in the order given.

Area

  • Area of image = \(|\det M| \times\) area of object.
  • A negative determinant means the shape has been turned over.
  • Applying \(M\) \(n\) times multiplies area by \(|\det M|^n\).

Invariant lines

  • A line through the origin is invariant when every point on it stays on it.
  • These lines run along the eigenvectors. If the eigenvalue is 1, every point on the line stays exactly where it is.
  • No real eigenvalues means no invariant lines through the origin.

Explore: the determinant as an area

Drag A and B. The columns of the matrix are the position vectors of A and B. Say what the determinant will be before you read it.

Area of the parallelogram
Area of triangle OAB
From A to B is

Select a point (Tab) and use the arrow keys to move it.

  1. When is the determinant's value negative?
  2. When is the determinant's value 0?
  3. Keep the lengths of OA and OB the same. Where must B be for the determinant to be as large as possible?
  4. How can we use this to find the area of a triangle?

Explore: which vectors keep their direction?

Drag v (orange). The teal arrow is Mv. Find the directions where Mv lies along the same line as v: those v are the eigenvectors.

M =

v
Mv
Same line?

Dragged close to an eigenvector line, v clicks onto it. Select v (Tab) and use the arrow keys for small steps.

  1. For the first matrix, find two directions where Mv lies along v. What number is Mv a multiple of v each time?
  2. On one of those lines, make v twice as long. What happens to Mv? Is 2v also an eigenvector?
  3. Type the matrix with 0, −1 on the top row and 1, 0 on the bottom row. Can you find any direction that works? Why not?
  4. Type 2, 1 on the top row and 1, 3 on the bottom row. The eigenvalues are not whole numbers. Find the two lines anyway, then check with the characteristic equation.

Worked examples

Problems like the ones in class. Pick one, try it, then open the working.
Two transformations in order

\(A\) is a rotation of 90° anticlockwise about the origin. \(B\) is a reflection in the \(x\)-axis. Find the matrix for \(A\) followed by \(B\), and describe it.

Working
  1. The two matrices

    \(A = \begin{pmatrix}0 & -1 \\ 1 & 0\end{pmatrix},\quad B = \begin{pmatrix}1 & 0 \\ 0 & -1\end{pmatrix}\)

    From the formula booklet, or from where \((1, 0)\) and \((0, 1)\) go.

  2. A followed by B

    \(BA = \begin{pmatrix}1 & 0 \\ 0 & -1\end{pmatrix}\begin{pmatrix}0 & -1 \\ 1 & 0\end{pmatrix} = \begin{pmatrix}0 & -1 \\ -1 & 0\end{pmatrix}\)

    The first transformation goes on the right.

  3. Describe it

    A reflection in the line \(y = -x\)

    \((1, 0)\) goes to \((0, -1)\) and \((0, 1)\) goes to \((-1, 0)\).

  4. The other order

    \(AB = \begin{pmatrix}0 & 1 \\ 1 & 0\end{pmatrix}\)

    \(B\) followed by \(A\) is a reflection in \(y = x\). Different.

Video walkthrough coming
With a translation

The point \((3, 1)\) is enlarged with scale factor 2 about the origin and then translated by \(\begin{pmatrix}-4 \\ 5\end{pmatrix}\). Find the image. Then find the image if the translation is done first.

Working
  1. Enlarge, then translate

    \(2\begin{pmatrix}3 \\ 1\end{pmatrix} + \begin{pmatrix}-4 \\ 5\end{pmatrix} = \begin{pmatrix}2 \\ 7\end{pmatrix}\)

    \((2, 7)\).

  2. Translate, then enlarge

    \(2\left(\begin{pmatrix}3 \\ 1\end{pmatrix} + \begin{pmatrix}-4 \\ 5\end{pmatrix}\right) = \begin{pmatrix}-2 \\ 12\end{pmatrix}\)

    \((-2, 12)\). The order changes the answer.

Video walkthrough coming
Back from an image, with a translation

A point \(P\) is transformed by \(M = \begin{pmatrix}3 & 1 \\ 2 & 2\end{pmatrix}\) and then translated by \(\begin{pmatrix}-4 \\ 1\end{pmatrix}\). Its image is \((5, 11)\). Find \(P\).

Working
  1. Write the two steps

    \(M\begin{pmatrix}x \\ y\end{pmatrix} + \begin{pmatrix}-4 \\ 1\end{pmatrix} = \begin{pmatrix}5 \\ 11\end{pmatrix}\)

    The matrix first, then the translation is added.

  2. Undo the translation first

    \(M\begin{pmatrix}x \\ y\end{pmatrix} = \begin{pmatrix}5 \\ 11\end{pmatrix} - \begin{pmatrix}-4 \\ 1\end{pmatrix} = \begin{pmatrix}9 \\ 10\end{pmatrix}\)

    Going back, undo the last step first.

  3. Then use the inverse

    \(\begin{pmatrix}x \\ y\end{pmatrix} = \frac{1}{4}\begin{pmatrix}2 & -1 \\ -2 & 3\end{pmatrix}\begin{pmatrix}9 \\ 10\end{pmatrix} = \begin{pmatrix}2 \\ 3\end{pmatrix}\)

    \(\det M = 4\). \(P\) is \((2, 3)\).

  4. Check

    \(\begin{pmatrix}3 & 1 \\ 2 & 2\end{pmatrix}\begin{pmatrix}2 \\ 3\end{pmatrix} + \begin{pmatrix}-4 \\ 1\end{pmatrix} = \begin{pmatrix}5 \\ 11\end{pmatrix}\)

    Forwards again gives the image.

Video walkthrough coming
The area of an image

The triangle with vertices \((0, 0)\), \((4, 0)\) and \((1, 3)\) is transformed by \(\begin{pmatrix}3 & 1 \\ -2 & 2\end{pmatrix}\). Find the area of the image.

Working
  1. Area of the object

    \(\frac{1}{2}(4)(3) = 6\)

    Base 4, height 3.

  2. Determinant

    \(3(2) - 1(-2) = 8\)

    The scale factor for area.

  3. Area of the image

    \(8 \times 6 = 48\)

    No need to find the image points.

Video walkthrough coming
A negative determinant

The unit square is transformed by \(\begin{pmatrix}1 & 4 \\ 2 & 3\end{pmatrix}\). Find the area of the image.

Working
  1. Determinant

    \(1(3) - 4(2) = -5\)

    Leading diagonal, less the other diagonal.

  2. Area

    \(|-5| \times 1 = 5\)

    Use the size of the determinant. The negative sign means the square has been turned over.

Video walkthrough coming
The same transformation again and again

\(M = \begin{pmatrix}3 & 1 \\ 1 & 1\end{pmatrix}\). Find the area of the image of the unit square under \(M^5\).

Working
  1. Determinant

    \(3(1) - 1(1) = 2\)

    Each use of \(M\) doubles the area.

  2. Five times

    \(2^5 = 32\)

    No need to find \(M^5\).

Video walkthrough coming
Invariant lines

Find the equations of the invariant lines through the origin for the transformation with matrix \(\begin{pmatrix}4 & 1 \\ 2 & 3\end{pmatrix}\).

Working
  1. Eigenvectors

    \(\begin{pmatrix}1 \\ 1\end{pmatrix}\) for \(\lambda = 5\) and \(\begin{pmatrix}1 \\ -2\end{pmatrix}\) for \(\lambda = 2\)

    Found in the eigenvalues section.

  2. Lines along them

    \(y = x\) and \(y = -2x\)

    The gradient is the bottom number over the top number.

  3. What happens on each line

    Points on \(y = x\) move 5 times as far from the origin. Points on \(y = -2x\) move twice as far.

    They stay on their line.

Video walkthrough coming
A line of invariant points

The transformation \(T\) has matrix \(\begin{pmatrix}3 & -2 \\ 1 & 0\end{pmatrix}\). Show that every point on the line \(y = x\) is invariant, and find the other invariant line through the origin.

Working
  1. Invariant means unchanged

    \(M\begin{pmatrix}x \\ y\end{pmatrix} = \begin{pmatrix}x \\ y\end{pmatrix}\)

    This is the eigenvalue \(\lambda = 1\).

  2. Try a point on y = x

    \(M\begin{pmatrix}t \\ t\end{pmatrix} = \begin{pmatrix}3t - 2t \\ t\end{pmatrix} = \begin{pmatrix}t \\ t\end{pmatrix}\)

    Every point \((t, t)\) stays where it is. This is a line of invariant points.

  3. The eigenvalues

    \(\lambda^2 - 3\lambda + 2 = 0,\quad \lambda = 1 \text{ or } 2\)

    The other eigenvalue is 2.

  4. Eigenvector for 2

    \(x - 2y = 0\)

    So \(y = \tfrac{1}{2}x\). Points on this line stay on it but move twice as far from the origin: it is an invariant line, not a line of invariant points.

Video walkthrough coming
Three transformations in order

\(T\) is a horizontal stretch with scale factor 2, then a reflection in the line \(y = x\), then a rotation of 90° anticlockwise about the origin. Find the single matrix for \(T\), and the area of the image of a shape of area 5.

Working
  1. One matrix each

    \(S = \begin{pmatrix}2 & 0 \\ 0 & 1\end{pmatrix},\quad F = \begin{pmatrix}0 & 1 \\ 1 & 0\end{pmatrix},\quad R = \begin{pmatrix}0 & -1 \\ 1 & 0\end{pmatrix}\)

    In the order done: stretch, reflection, rotation.

  2. Multiply, last on the left

    \(RFS = \begin{pmatrix}0 & -1 \\ 1 & 0\end{pmatrix}\begin{pmatrix}0 & 1 \\ 1 & 0\end{pmatrix}\begin{pmatrix}2 & 0 \\ 0 & 1\end{pmatrix}\)

    The first transformation is closest to the point, so it is on the right.

  3. The single matrix

    \(\begin{pmatrix}-2 & 0 \\ 0 & 1\end{pmatrix}\)

    Work from the right: \(FS = \begin{pmatrix}0 & 1 \\ 2 & 0\end{pmatrix}\) first.

  4. The area

    \(\det = -2,\quad \text{area scale factor} = |{-2}| = 2\)

    The negative sign says the shape is flipped over. The area is 5 × 2 = 10.

Video walkthrough coming