Steply

What does [0, 1; -1, 0] 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 = [0, 1; −1, 0]

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).

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

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

2 Where (0, 1) goes

Now (0, 1).

A times (0, 1).

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

(1, 0): 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 (0, −1).

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

The square goes to the shape with these two sides.

Its far corner is (1, −1).

4 Name it

(1, 0) goes down to (0, −1), and (0, 1) goes right to (1, 0).

Everything turns a quarter turn, clockwise.

So A is a turn of 90° clockwise.

= a turn of 90° clockwise

The determinant tells the area: det A = 1.

The square's area 1 becomes 1.

det A = 0 × 0 − −1 × 1 = 1
area: 1 → 1

5 Check

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

= [0, 1; −1, 0] × [1; 1]
= [0 × 1 + 1 × 1; −1 × 1 + 0 × 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 turn of 90° clockwise

Your turn

Try this one yourself, then check:

What does [−1, 0; 0, −1] do to the square?
Show the answer
a turn of 180°

More from Matrix transformations

The whole lesson: Matrix transformations →