Lesson 2 of 8 · 14 min

Matrices that move the plane

Use a 2 × 2 matrix to transform points, build the matrix of a linear transformation from the images of (1,0)(1, 0) and (0,1)(0, 1), and write the matrix of any dilation.

What you will be able to do

  • Find the image of a point under the transformation with matrix T\bm{T} by calculating T[xy]\bm{T}\begin{bmatrix} x \\ y \end{bmatrix}.
  • Explain why the columns of T\bm{T} are the images of (1,0)(1, 0) and (0,1)(0, 1), and use this to find a transformation's matrix.
  • Write the matrix of the dilation (x,y)→(ax,by)(x, y) \to (ax, by) and describe it in words.

In Unit 1 you multiplied a 2×22 \times 2 matrix by a 2×12 \times 1 column. Read a point (x,y)(x, y) as the column [xy]\begin{bmatrix} x \\ y \end{bmatrix} and that product becomes a new point. So a matrix is a rule that moves every point of the plane: a transformation.

[x′y′]=[abcd][xy]=[ax+bycx+dy]\begin{bmatrix} x' \\ y' \end{bmatrix} = \begin{bmatrix} a & b \\ c & d \end{bmatrix}\begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} ax + by \\ cx + dy \end{bmatrix}

Transformations of this form are called linear transformations. For example, T=[2113]\bm{T} = \begin{bmatrix} 2 & 1 \\ 1 & 3 \end{bmatrix} sends (1,2)(1, 2) to (2×1+1×2, 1×1+3×2)=(4,7)(2 \times 1 + 1 \times 2,\ 1 \times 1 + 3 \times 2) = (4, 7).

Find the image of (2,−1)(2, -1) under the transformation with matrix [31−24]\begin{bmatrix} 3 & 1 \\ -2 & 4 \end{bmatrix}.

Interactive

Watch a matrix move the unit square

The unit square OABCOABC has A=(1,0)A = (1, 0) and C=(0,1)C = (0, 1). Where do AA and CC land? Compare them with the columns of the matrix, then change an entry and look again.

Key idea

The columns are the images of the unit vectors

[abcd][10]=[ac][abcd][01]=[bd]\begin{bmatrix} a & b \\ c & d \end{bmatrix}\begin{bmatrix} 1 \\ 0 \end{bmatrix} = \begin{bmatrix} a \\ c \end{bmatrix} \qquad \begin{bmatrix} a & b \\ c & d \end{bmatrix}\begin{bmatrix} 0 \\ 1 \end{bmatrix} = \begin{bmatrix} b \\ d \end{bmatrix}

The first column is where (1,0)(1, 0) goes and the second column is where (0,1)(0, 1) goes. To find the matrix of any linear transformation, find those two images and write them as columns.

Worked example

Build a matrix from the images of (1, 0) and (0, 1)

  • Simple familiar
  • Technology free

A linear transformation TT maps (1,0)(1, 0) to (2,1)(2, 1) and (0,1)(0, 1) to (−1,3)(-1, 3).

(a) Write the matrix of TT.

(b) Find the image of (3,−2)(3, -2) under TT.

3 steps

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

Method

  1. Image of (1,0)(1, 0) is column 1; image of (0,1)(0, 1) is column 2.

  2. Multiply the matrix by the point as a column.

Watch out for

  • Writing the images as rows, which gives [21−13]\begin{bmatrix} 2 & 1 \\ -1 & 3 \end{bmatrix} and the wrong image.

Note

What a linear transformation keeps

Because (x,y)=x(1,0)+y(0,1)(x, y) = x(1, 0) + y(0, 1), its image is xx times the first column plus yy times the second. That one fact explains everything a linear transformation does:

  • the origin stays put, since T0=0\bm{T}\bm{0} = \bm{0};
  • straight lines go to straight lines (or, for a singular matrix, possibly a single point);
  • for a non-singular matrix, parallel lines stay parallel, so the grid of squares becomes a grid of parallelograms. A singular matrix can collapse lines to points or make their images coincide.

The simplest linear transformations are dilations: stretches from an axis. The rule (x,y)→(ax,by)(x, y) \to (ax, by) multiplies every xx-coordinate by aa and every yy-coordinate by bb. Under it, (1,0)→(a,0)(1, 0) \to (a, 0) and (0,1)→(0,b)(0, 1) \to (0, b), so the matrix is

[a00b]\begin{bmatrix} a & 0 \\ 0 & b \end{bmatrix}

This is a dilation of factor aa parallel to the xx-axis and factor bb parallel to the yy-axis. A factor bigger than 1 stretches, a factor between 0 and 1 compresses, and a factor of 1 leaves that direction alone.

The dilation (x,y)→(3x,12y)(x, y) \to (3x, \tfrac{1}{2}y) stretches the square by factor 3 parallel to the xx-axis and compresses it by factor 12\tfrac{1}{2} parallel to the yy-axis.

Write the matrix of the dilation of factor 4 parallel to the yy-axis.

Common mistake

Parallel to an axis, or from an axis?

A dilation parallel to the xx-axis moves points horizontally, so it multiplies xx-coordinates. You will also hear it called a dilation from the yy-axis, because distances from the yy-axis are multiplied. Both phrases mean (x,y)→(ax,y)(x, y) \to (ax, y). When a=b=ka = b = k, the matrix kIk\bm{I} is a dilation of factor kk from the origin.

Which of these transformations cannot be represented by a 2×22 \times 2 matrix?

Choose one answer

Summary

  • A matrix T\bm{T} transforms the point (x,y)(x, y) to T[xy]\bm{T}\begin{bmatrix} x \\ y \end{bmatrix}: row by column, as in Unit 1.

  • The columns of T\bm{T} are the images of (1,0)(1, 0) and (0,1)(0, 1). Find those two images and you have the matrix.

  • The dilation of factor aa parallel to the xx-axis and factor bb parallel to the yy-axis is (x,y)→(ax,by)(x, y) \to (ax, by), with matrix [a00b]\begin{bmatrix} a & 0 \\ 0 & b \end{bmatrix}.

  • Linear transformations fix the origin. Non-singular ones send lines to lines and keep parallel lines parallel; singular ones can collapse lines to points.

Finished the lesson?

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

Lesson 2 of 80% read

Save your progress with a free account