ViewWiki

Lesson 1 of 3

Matrices that move the plane.

About 30 minutes · 7 practice questions

A linear map moves the whole plane at once, keeping lines straight and parallel: where the unit vectors go, how the rotation matrix is built, where any point goes, and why a shear does not change area.

Step 1 of 7 · The unit vectors

Step 1 of 7

The unit vectors

In the trigonometry Unit a vector was an arrow with components. Now we move the whole plane at once. A linear map of the plane sends every point (x,y)(x, y)⁠ to a new point so that straight lines stay straight and parallel, and the origin stays put. The glowing grid on the board is the plane; the F, mint on top and violet underneath, is a shape with no symmetry, so you can see any flip.

Two arrows are enough to describe such a map: ı^=(1,0)\hat\imath = (1, 0)⁠, the pink one, and ȷ^=(0,1)\hat\jmath = (0, 1)⁠, the blue one. Every point is (x,y)=xı^+yȷ^(x, y) = x\hat\imath + y\hat\jmath⁠, so it is enough to know where they go. Here the map is a turn of 90°90^\circ⁠. Predict where ı^\hat\imath⁠ will land, then watch.

To the question

Step 2 of 7

The rotation matrix

The new places of ı^\hat\imath⁠ and ȷ^\hat\jmath⁠ are written as the columns of a 2×22 \times 2⁠ matrix:

M=(abcd),Mı^=(ac),Mȷ^=(bd)M = \begin{pmatrix} a & b \\ c & d \end{pmatrix}, \qquad M\hat\imath = \begin{pmatrix} a \\ c \end{pmatrix}, \quad M\hat\jmath = \begin{pmatrix} b \\ d \end{pmatrix}⁠

In a turn by θ\theta⁠, ı^\hat\imath⁠ lands on (cos⁡θ,sin⁡θ)(\cos\theta, \sin\theta)⁠, like a point on the unit circle. ȷ^\hat\jmath⁠ starts a quarter turn ahead of it, so it lands on (−sin⁡θ,cos⁡θ)(-\sin\theta, \cos\theta)⁠. Here Turn is 30°30^\circ⁠. The card in the corner shows MM⁠ as you drag Apply the transformation: before the map it shows a matrix that moves nothing.

To the question

Step 3 of 7

Where any point goes

Once MM⁠ is known, every point goes to the same mix of its columns:

M(xy)=x(ac)+y(bd)=(ax+bycx+dy)M\begin{pmatrix} x \\ y \end{pmatrix} = x\begin{pmatrix} a \\ c \end{pmatrix} + y\begin{pmatrix} b \\ d \end{pmatrix} = \begin{pmatrix} ax + by \\ cx + dy \end{pmatrix}⁠

Here Stretch 22⁠ stretches ı^\hat\imath⁠ to (2,0)(2, 0)⁠, and Shear 0.50.5⁠ leans ȷ^\hat\jmath⁠ over to (0.5,1)(0.5, 1)⁠. The unit square, whose far corner is (1,1)(1, 1)⁠, becomes a parallelogram. Work out where that corner lands.

To the question

Step 4 of 7

Shear

A shear slides every row of the plane sideways, more the higher it is, like a deck of cards pushed into a slant. Here Shear is 11⁠: ı^\hat\imath⁠ stays put, and ȷ^\hat\jmath⁠ goes to (1,1)(1, 1)⁠. Predict the area of the parallelogram the unit square becomes.

To the question

Step 5 of 7

Build a matrix

You can also build a matrix from what you want it to do. Stretch, Shear and Turn set MM⁠, and the card shows it. Here Shear is locked at 00⁠; build a map that sends ı^\hat\imath⁠ to a given place.

To the question

Step 6 of 7

ȷ^\hat\jmath⁠ after a turn

The second column of MM⁠ is where the blue arrow, ȷ^\hat\jmath⁠, lands.

To the question

Step 7 of 7

The diagonal

Every point is a mix of ı^\hat\imath⁠ and ȷ^\hat\jmath⁠, so it lands on the same mix of the columns.

To the question

Still of the Vectors and transformations 3D scene
Interactive scene

Loading the interactive version…

Each step sets up the Scene for you, and a control marked “fixed” stays put for that step.

To the experiment

Practice · Predict, then look

Stretch is 11⁠, Shear 00⁠ and Turn 90°90^\circ⁠. Where will the pink arrow, ı^=(1,0)\hat\imath = (1, 0)⁠, land?

To the experiment

Practice · Calculate

Turn is 30°30^\circ⁠, with no stretch and no shear. What is the top-right entry of MM⁠, the horizontal component of where ȷ^\hat\jmath⁠ lands? Answer, then drag Apply the transformation all the way.

To the experiment

Practice · Calculate

Stretch is 22⁠, Shear 0.50.5⁠ and Turn 0°0^\circ⁠, so M=(20.501)M = \begin{pmatrix} 2 & 0.5 \\ 0 & 1 \end{pmatrix}⁠. Where does the unit square’s corner (1,1)(1, 1)⁠ land? Give its xx⁠. Answer, then drag Apply the transformation.

To the experiment

Practice · Predict, then look

Shear is 11⁠, with no stretch and no turn: every row slides right by its own height. The unit square becomes a parallelogram. What will its area be?

To the experiment

Practice · Reach the target

Build a matrix that sends ı^\hat\imath⁠ to (0,2)(0, 2)⁠: straight up, length 22⁠. Shear is locked; change Stretch and Turn, then press Check.

To the experiment

Practice · Calculate

Stretch 11⁠, Shear 00⁠ and Turn 60°60^\circ⁠. What is the bottom-right entry of MM⁠, the vertical component of where ȷ^=(0,1)\hat\jmath = (0, 1)⁠ lands?

To the experiment

Practice · Calculate

Stretch 11⁠, Shear 00⁠ and Turn 45°45^\circ⁠. The corner (1,1)(1, 1)⁠ of the unit square turns with the plane. How high, yy⁠, does it land?