Transformation Using Matrices

A vector can be represented as a column matrix. Here you will learn more about using matrices to transform the plane.

Transformation Using Matrices

The transformation matrix is a matrix that transforms one vector into another vector. The transformation matrix changes the Cartesian system and plots the vector coordinates to new coordinates.

Try it

Matrix Calculator

Open the full calculator →

Type the problems from this lesson and check each step.

Related Topics

A step-by-step guide to transformation using matrices

An ordered pair ((x,y)) can be used to represent a vector, however, a column matrix can also be used:

(begin{bmatrix}x \y end{bmatrix})

Polygons could also be represented in matrix form, we simply place all of the coordinates of the vertices into one matrix. This is called a vertex matrix.

Transformation Using Matrices, Example 1:

A square has its vertexes in the following coordinates ((1,1)), ((-1,1)), ((-1,-1)) and ((1,-1)). Create a vertex matrix.

To create a vertex matrix, plug each ordered pair into each column of a (4) column matrix:

 (begin{bmatrix}x_1 & x_2 & x_3 & x_4 \y_1 & y_2 & y_3 & y_4 end{bmatrix})(=) (begin{bmatrix}1 & -1 & -1 & 1 \1 & 1 & -1 & -1 end{bmatrix})

Transformation Using Matrices, Example 2:

Create a reflection of the vector in the (x)-axis. (v⃗ = begin{bmatrix}-1 & 3 \2 & -2 end{bmatrix})

To create a reflection, we have to multiply it by the correct reflection matrix:

(begin{bmatrix}-1 & 0 \0 & 1 end{bmatrix})

Original price was: $27.99.Current price is: $17.99.

So the vertex matrix of our reflection is:

(begin{bmatrix}-1 & 3 \2 & -2 end{bmatrix}). (begin{bmatrix}-1 & 0 \0 & 1 end{bmatrix})

(=begin{bmatrix}(-1.-1) + (3. Space0) & (-1. Space 0) + (3. Space 1) \ (2.space -1) +(-2.space 0) & (2. Space 0) (-2.space 1) end{bmatrix}) ( = begin{bmatrix}1 & 3 \-2 & -2end{bmatrix})

Exercises for Transformations Using Matrices

Try these 10 questions one at a time. After each answer you will see a step-by-step explanation, so you can learn from every question, right or wrong.

Question 1 of 10

1. The matrix [−1 0; 0 1] transforms (x, y) into what? (Matrices are written row by row, with rows separated by semicolons.)

  1. (−x, y)
  2. (x, −y)
  3. (−x, −y)
  4. (y, x)
Show the answer and explanation

Answer: A. (−x, y)

Multiply: [−1 0; 0 1] × [x; y] = [−x; y].

The x-coordinate changes sign and y stays the same.

This is a reflection over the y-axis.

2. Apply [2 0; 0 2] to the point (3, −1). What is the new x-coordinate?

Type your answer.

Show the answer and explanation

Answer: 6

Multiply: [2 0; 0 2] × [3; −1] = [6; −2].

The new point is (6, −2).

This matrix is a dilation (scaling) by a factor of 2.

3. Which transformation does [0 −1; 1 0] perform?

  1. Rotation 90° counterclockwise
  2. Rotation 90° clockwise
  3. Reflection over y = x
  4. Dilation by 2
Show the answer and explanation

Answer: A. Rotation 90° counterclockwise

Apply it to (1, 0): [0 −1; 1 0] × [1; 0] = [0; 1].

The point (1, 0) moves to (0, 1), a quarter turn counterclockwise.

So it rotates by 90° counterclockwise.

4. Apply [0 1; 1 0] to (4, 7). What is the new y-coordinate?

Type your answer.

Show the answer and explanation

Answer: 4

[0 1; 1 0] × [4; 7] = [7; 4].

The coordinates swap: (4, 7) becomes (7, 4).

This is a reflection over the line y = x.

5. The matrix [1 0; 0 −1] is a reflection over which line?

  1. The x-axis
  2. The y-axis
  3. y = x
  4. y = −x
Show the answer and explanation

Answer: A. The x-axis

It sends (x, y) to (x, −y).

Only the y-coordinate changes sign.

That flips points over the x-axis.

6. Apply [−1 0; 0 −1] to (2, 5). What is the new x-coordinate?

Type your answer.

Show the answer and explanation

Answer: −2

The matrix sends (x, y) to (−x, −y).

(2, 5) becomes (−2, −5).

This is a 180° rotation about the origin.

7. A triangle has area 6. After applying [3 0; 0 3], what is its area?

  1. 54
  2. 18
  3. 9
  4. 6
Show the answer and explanation

Answer: A. 54

A transformation scales area by the absolute value of its determinant.

det = 3 × 3 − 0 = 9.

6 × 9 = 54.

8. What is the determinant of the rotation matrix [0 −1; 1 0]?

Type your answer.

Show the answer and explanation

Answer: 1

ad − bc = 0 × 0 − (−1)(1).

= 0 + 1 = 1.

Rotations keep area the same, so their determinant is 1.

9. Applying [1 0; 0 1] to any point does what?

  1. Leaves it unchanged
  2. Reflects it
  3. Rotates it 90°
  4. Moves it to the origin
Show the answer and explanation

Answer: A. Leaves it unchanged

This is the identity matrix.

It sends (x, y) to (x, y).

It is the “do nothing” transformation.

10. Apply [1 2; 0 1] to (1, 3). What is the new x-coordinate?

Type your answer.

Show the answer and explanation

Answer: 7

New x = 1 × 1 + 2 × 3 = 7.

New y = 0 × 1 + 1 × 3 = 3.

This matrix is a shear: it slides points sideways depending on their height.

Related to This Article

What people say about "Transformations Using Matrices"?

No one replied yet.

Leave a Reply