Geometric Transformations with Matrices

Store polygon vertices as columns in a coordinate matrix, then slide by addition, resize by scalar multiplication, and flip or turn by left-multiplying with a 2×2 matrix. Worked examples show how to compute image vertices and check whether their positions match the intended motion.

Course cover for Geometric Transformations with Matrices

Shapes That Move by Numbers

A moving game character provides the setting for this lesson: a computer can move a whole shape using a calculation on a small block of numbers called a matrix, rather than moving its corners by counting grid squares one at a time

The game's collision triangle has vertices D(-2, 1), E(3, 4), and F(1, -3). It may need to slide out of the way, shrink, flip, or turn. The driving question is: can one number recipe handle all four moves? The common starting point is a coordinate matrix; the operation applied to it depends on the transformation

Shapes That Move by Numbers: -4 -2 2 4 4 2 -2 -4 x y D(-2, 1) E(3, 4) F(1, -3)

Storing a Figure as a Matrix

Write each vertex as a column, with its x-coordinate on top and its y-coordinate underneath. For D(-2, 1), E(3, 4), and F(1, -3), the coordinate matrix is

;

$$1, 4, -3$$

]. Here and below, a semicolon separates the matrix rows. This is a 2×3 matrix: the first row contains the x-coordinates and the second contains the y-coordinates

Read the matrix in reverse to recover the vertices: column 1 gives D(-2, 1), column 2 gives E(3, 4), and column 3 gives F(1, -3). Keep this column order fixed during a transformation. The first result column will belong to D's image, D′, and the next two to E′ and F′

Practice 1: Complete a coordinate matrix

Complete the coordinate matrix for quadrilateral GHIJ. The vertices are G(-1, 2), H(4, 0), I(2, -3), and J(-2, -1). With columns G, H, I, J, the incomplete matrix is

;

$$2, □, -3, □$$

]. The available values are 4, 0, -1, -4, 1, and 2. The blanks ask for x for H, y for H, and y for J

The answers are 4, 0, and -1, respectively, giving

;

$$2, 0, -3, -1$$

]. The practice feedback emphasizes reading each ordered pair in its listed order: the first number goes in the top row, and the second goes underneath in the same column

Translation: Add a Matrix

A translation is a slide: every point moves the same distance in the same direction. Size and shape stay unchanged. Right and up correspond to positive shifts; left and down correspond to negative shifts

Add a translation matrix of the same size as the coordinate matrix. Every entry in its top row is the horizontal shift h, and every entry in its bottom row is the vertical shift v. For a triangle, this matrix is

;

$$v, v, v$$

]. Add corresponding entries to obtain the image matrix

Worked example: Sliding the game triangle

Triangle DEF has D(-2, 1), E(3, 4), F(1, -3). Translate it 2 units right and 1 unit down. Find D′, E′, F′. The horizontal shift is +2 and the vertical shift is -1, so

;

$$1, 4, -3$$

] +

;

$$-1, -1, -1$$

] =

;

$$0, 3, -4$$

]

Translation: Add a Matrix: -4 -2 2 4 6 2 4 -2 -4 0 D(-2,1) E(3,4) F(1,-3) D'(0,0) E'(5,3) F'(3,-4)

The top-row sums are -2 + 2 = 0, 3 + 2 = 5, and 1 + 2 = 3. The bottom-row sums are 1 + (-1) = 0, 4 + (-1) = 3, and -3 + (-1) = -4. Reading the result columns gives D′(0, 0), E′(5, 3), and F′(3, -4)

For a geometric check, compare each original vertex with its image. D moves from (-2, 1) to the origin, exactly 2 units right and 1 unit down. E and F make the same move. The image is congruent to the preimage, the figure before the transformation, so translation is rigid

Practice 2: Signs and matrix addition

Translate triangle PQR 3 units left and 2 units up using matrix addition. Its vertices are P(1, -2), Q(4, 0), and R(2, 3). Complete the shifts h and v and the x-coordinate of P′ in

;

$$-2, 0, 3$$

] +

;

$$v, v, v$$

] =

;

$$?, ?, ?$$

]. The available values are -3, 3, 2, -2, 4, and -1; the question marks are not answer blanks

The answers are h = -3, v = 2, and x of P′ = -2, since 1 + (-3) = -2. The source leaves the other image entries unresolved in this practice. Its feedback stresses that left makes the top-row shift negative and up makes the bottom-row shift positive; then the entries are added in matching positions

Dilation: Multiply by a Scalar

A dilation multiplies every coordinate by the same scale factor n: image matrix = n × coordinate matrix. The exploration asks what changes—size, shape, or both—when n is below 1 and above 1. Its original triangle has vertices (2, 1), (4, 3), and (6, 1), and the image vertices are (2n, n), (4n, 3n), and (6n, n). The factors considered range from 0.5 to 1.5 in increments of 0.5. At n = 1, the image coincides with the original

Dilation: Multiply by a Scalar: x y O 2 2 4 4 6 6 8 8 10 10

For n > 1, the dilation is an enlargement. For 0 < n < 1, it is a reduction, also called a contraction. Shape stays the same, so the image is similar to the original. The origin is the center of the dilations in this lesson. The rule explanation describes the figure as being pulled toward the origin while discussing both enlargements and reductions

Worked example: Reducing a triangle to half size

Triangle GHI has G(-4, 2), H(2, 4), I(4, -2). Reduce it by a factor of 1/2. Find G′, H′, I′. Multiply every entry by 1/2: (1/2)

;

$$2, 4, -2$$

] =

;

$$1, 2, -1$$

]

For the first column, (1/2)(-4) = -2 and (1/2)(2) = 1. Applying the same multiplication to the remaining columns gives G′(-2, 1), H′(1, 2), and I′(2, -1). Each image vertex lies on the ray from the origin through its original vertex, half as far from the origin

Dilation: Multiply by a Scalar: x y O −4 −2 2 4 −2 2 4 G(-4, 2) H(2, 4) I(4, -2) G'(-2, 1) H'(1, 2) I'(2, -1)

In this half-size example, every image side is half as long as its corresponding original side, and corresponding angles match. The triangles are similar. The lesson contrasts dilation with translation: dilation is not rigid because size changes even though shape does not

Practice 3: Enlarge a vertex

Quadrilateral KLMN has K(-1, 2), L(2, 1), M(1, -1), and N(-2, 0). It is enlarged by a scale factor of 3 using scalar multiplication of its coordinate matrix

What are the coordinates of M' after the dilation by factor 3?

A

(3, -3)

B

(4, 2)

C

(3, -1)

D

(1, -3)

Reflection: Left-Multiply

Reflecting across the y-axis changes the sign of x and keeps y unchanged: (x, y) → (-x, y). Its transformation matrix is

;

$$0, 1$$

]. Place this 2×2 matrix on the left of the coordinate matrix. The order is transformation matrix × coordinate matrix, not coordinate matrix × transformation matrix

Different mirror lines use different matrices. Reflection across y = x uses

;

$$1, 0$$

], which swaps the coordinates: (x, y) → (y, x)

Worked example: Flipping a triangle across the y-axis

Triangle ABC has A(-4, 2), B(-1, 5), C(-3, -2). Reflect it across the y-axis using

;

$$0, 1$$

]. Find A′, B′, C′. Set up

;

$$0, 1$$

] ×

;

$$2, 5, -2$$

] =

;

$$2, 5, -2$$

]

Reflection: Left-Multiply: -4 -2 2 4 6 -6 -4 -2 2 4 6 x y A(-4, 2) B(-1, 5) C(-3, -2) A'(4, 2) B'(1, 5) C'(3, -2)

Each result entry comes from a row of the transformation matrix multiplied by a column of the coordinate matrix. For A′, the top entry is (-1)(-4) + (0)(2) = 4, and the bottom entry is (0)(-4) + (1)(2) = 2. Completing the other columns gives A′(4, 2), B′(1, 5), and C′(3, -2). The y-coordinates remain unchanged

The original triangle is left of the y-axis and its image is right of it. Each pair of corresponding vertices lies on a horizontal line, equally far from the y-axis on opposite sides. Folding the plane along the y-axis would make the triangles coincide. Reflection is rigid: the mirror image is congruent to the original

Practice 4: Identify a mirror image

Point P is at (-3, 2). The original numbered candidate points are 1 at (3, 2), 2 at (-3, -2), 3 at (3, -2), and 4 at (2, -3). These coordinates identify the candidates for the following question

Tap the image P' of P(-3, 2) after a reflection across the y-axis

A

1

B

2

C

3

D

4

Rotation: Left-Multiply

The matrix

;

$$-1, 0$$

] rotates a figure 90° clockwise about the origin. It sends (x, y) to (y, -x). As with reflection, the 2×2 transformation matrix must be on the left of the coordinate matrix

For a 180° rotation about the origin, use

;

$$0, -1$$

], which sends (x, y) to (-x, -y). A point at the center of rotation—the origin in these examples—does not move

Worked example: Turning a triangle about the origin

Triangle JKL has J(-2, 4), K(3, 1), L(0, 0). Rotate it about the origin using

;

$$-1, 0$$

]. Find J′, K′, L′. The product is

;

$$-1, 0$$

] ×

;

$$4, 1, 0$$

] =

;

$$2, -3, 0$$

]

For J′, the x-coordinate is (0)(-2) + (1)(4) = 4, and the y-coordinate is (-1)(-2) + (0)(4) = 2. Completing columns K and L gives J′(4, 2), K′(1, -3), and L′(0, 0). The result still has x-coordinates in the top row and y-coordinates in the bottom row. L begins at the origin and stays there

Following J from (-2, 4) to (4, 2) shows the quarter turn clockwise about the origin. The image is congruent to the preimage. A rotation is rigid: it turns the figure without resizing or mirroring it, preserving its orientation

Rotation: Left-Multiply: -2 2 4 2 4 -2 -4 x y J(-2,4) K(3,1) L(0,0) J'(4,2) K'(1,-3) L'(0,0) 90 degrees clockwise

Practice 5: Compute a rotated point

Compute S′ by left-multiplying with the rotation matrix. One vertex is S(2, 3); rotate it about the origin using

;

$$-1, 0$$

]. Complete

;

$$-1, 0$$

] ×

;

$$3$$

] =

;

$$□$$

]. The available values are 3, -3, 2, and -2

The top entry is 3 and the bottom entry is -2, so S′ = (3, -2). The feedback directs attention to the two dot products: 0 × 2 + 1 × 3 and -1 × 2 + 0 × 3. Pair each row entry with the corresponding column entry and keep the negative sign

Choosing the Right Operation

The four-move toolkit connects each transformation to its matrix operation. The reference-card review asks which operation belongs to each named move; the relationships are collected below

TransformationMatrix operationReference ruleImage relationship
Translation (slide)Add a same-size matrixTop row: horizontal shift; bottom row: vertical shift. Left/down are negative.Rigid: congruent image
Dilation (resize)Scalar multiply by n0 < n < 1 reduces; n > 1 enlarges.Similar; size changes
Reflection (flip)Left-multiply by a 2×2 matrixy-axis: [[-1, 0]; [0, 1]]. y = x: [[0, 1]; [1, 0]].Rigid: congruent image
Rotation (turn)Left-multiply by a 2×2 matrix90° clockwise: [[0, 1]; [-1, 0]]. 180°: [[-1, 0]; [0, -1]]. Both about the origin.Rigid: congruent image

The lesson's final comparison groups translation, reflection, and rotation as rigid transformations with congruent images. It describes dilation as the different case: a similar image with a different size. After computing, read the image points from the columns, plot them, and confirm the expected slide, resize, flip, or turn

Practice 6: Classify transformation tasks

Sort each task under the matrix operation that performs it. The tasks are “Slide a figure 4 units right,” “Shrink a figure by a factor of 0.4,” and “Reflect a figure across the line y = x.” The operation categories are “Add a matrix,” “Scalar multiply,” and “Left-multiply by a 2x2 matrix.”

The correct classification is: slide 4 units right → Add a matrix; shrink by 0.4 → Scalar multiply; reflect across y = x → Left-multiply by a 2x2 matrix. The feedback summarizes the pattern as slides add, resizes scale by a number, and flips or turns left-multiply by a 2×2 matrix

Summary

1. Coordinate matrix: each column is one vertex, with x on top and y underneath, in fixed vertex order

2. Translate: ADD a same-size matrix. Left and down are negative; right and up are positive

3. Dilate: scalar multiply by n. A factor 0 < n < 1 reduces, and n > 1 enlarges

  1. Reflect or rotate: LEFT-multiply by a 2×2 matrix. The reference matrices are y-axis reflection

;

$$0, 1$$

]; y = x reflection

;

$$1, 0$$

]; 90° clockwise rotation

;

$$-1, 0$$

]; and 180° rotation

;

$$0, -1$$

]. The rotations are about the origin

5. Read the image points from the result columns, then plot them to verify the motion

Quiz

Quiz 1: Reflect a coordinate matrix

Triangle ABC has coordinate matrix

;

$$5, 3, -4$$

], with columns A, B, C. It is reflected across y = x using

;

$$1, 0$$

]

Which is the image coordinate matrix after reflecting across y = x?

A

$$\begin{bmatrix} 5 & 3 & -4 \\ 2 & -1 & 0 \end{bmatrix}$$

B

$$\begin{bmatrix} -2 & 1 & 0 \\ 5 & 3 & -4 \end{bmatrix}$$

C

$$\begin{bmatrix} -2 & 1 & 0 \\ -5 & -3 & 4 \end{bmatrix}$$

D

$$\begin{bmatrix} 5 & 3 & -4 \\ -2 & 1 & 0 \end{bmatrix}$$

Quiz 2: Rotate a vertex 180°

Quadrilateral WXYZ has W(-3, 2), X(1, 4), Y(2, -1), Z(-2, -2). It is rotated 180° about the origin using

;

$$0, -1$$

]

What are the coordinates of W' after the 180 degree rotation?

A

(3, -2)

B

(-3, -2)

C

(3, 2)

D

(2, -3)

Quiz 3: Match matrices and transformations

Match each matrix to its transformation. One name is not used. The matrices are

;

$$0, 1$$

],

;

$$-1, 0$$

], and

;

$$0, -1$$

]. The available names are “Reflection across the y-axis,” “Rotation 90° clockwise about the origin,” “Rotation 180° about the origin,” and “Reflection across the line y = x.”

The correct matches are

;

$$0, 1$$

] → Reflection across the y-axis;

;

$$-1, 0$$

] → Rotation 90° clockwise about the origin;

;

$$0, -1$$

] → Rotation 180° about the origin. “Reflection across the line y = x” is unused. The feedback recommends testing each matrix on an easy point such as (1, 0), then checking whether x changes sign, both coordinates change sign, or the entries trade rows

Continue with the interactive lesson