Steply

What does [1, 0; 0, -1] do to the unit square

Step by step, with the reason for every step · Matrix transformations · Linear Algebra

Step by step

The question

Question: find what A does to the unit square.

A = [1, 0; 0, −1]

Times A turns every point into a new point.

So A moves the whole plane.

The unit square has corners (0, 0), (1, 0), (1, 1) and (0, 1).

A × (point) = new point:
A moves every point of the plane

1 Where (1, 0) goes

First, where does (1, 0) go?

A times (1, 0).

= [1, 0; 0, −1] × [1; 0]
= [1 × 1 + 0 × 0; 0 × 1 + (−1) × 0]
= [1; 0]

(1, 0): that is the first column of A.

2 Where (0, 1) goes

Now (0, 1).

A times (0, 1).

= [1, 0; 0, −1] × [0; 1]
= [1 × 0 + 0 × 1; 0 × 0 + (−1) × 1]
= [0; −1]

(0, −1): the second column of A.

Careful!

The columns of A show where (1, 0) and (0, 1) go.

Not the rows.

Careful: columns, not rows

3 Draw the new shape

The unit square, dashed.

(1, 0) goes to (1, 0).

(0, 1) goes to (0, −1).

The square goes to the shape with these two sides.

Its far corner is (1, −1).

4 Name it

(1, 0) stays, and (0, 1) flips down.

It is a mirror in the x-axis.

So A is a flip in the x-axis.

= a flip in the x-axis

The determinant tells the area: det A = −1.

The square's area 1 becomes 1.

The minus sign means the shape is flipped over.

det A = 1 × (−1) − 0 × 0 = −1
area: 1 → 1 (flipped)

5 Check

Let's check the far corner: A times (1, 1).

= [1, 0; 0, −1] × [1; 1]
= [1 × 1 + 0 × 1; 0 × 1 + (−1) × 1]
= [1; −1]

We get (1, −1): the far corner of the new shape, column 1 plus column 2.

So the picture is right!

Let's look back.

First: where (1, 0) goes.

Then: where (0, 1) goes.

Then: draw the new shape.

Then: name it.

Last: check.

Answer
= a flip in the x-axis

Your turn

Try this one yourself, then check:

What does [−1, 0; 0, 1] do to the square?
Show the answer
a flip in the y-axis

More from Matrix transformations

The whole lesson: Matrix transformations →