Linear AlgebraLinear Transformations3 of 7
Linear Transformations · 3

Rotations, Shears, and Reflections

We often want to describe a geometric movement of the grid, like a reflection, a shear, or a rotation, using a 2×22 \times 2 matrix, and find where that movement sends any point.

1

Reflections Across the Axes and y=xy = x

We want to find the matrix that flips the grid across the vertical yy-axis or across the 45∘45^\circ diagonal line y=x\mirror{y = x}, and see where each reflection moves the point (3,2)\point{(3, 2)}.

Reflections Across the Axes and y = x
[10]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}
[01]\htmlClass{lc-pink}{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}
(3,2)\htmlClass{lc-blue}{(3, 2)}
Text solution
Track the Right-step and Up-step across the yy-axisFlipping the grid across the vertical axis sends the Right-step to the left side of the horizontal axis while leaving the Up-step right where it is on the mirror line.
[−10⏟new Right-step01]⏟new Up-step\displaystyle \underbrace{\left[\begin{matrix} \rstep{-1} \\ \rstep{0} \end{matrix}\right.}_{\rstep{\text{new Right-step}}} \quad \underbrace{\left.\begin{matrix} \ustep{0} \\ \ustep{1} \end{matrix}\right]}_{\ustep{\text{new Up-step}}}
Move (3,2)\point{(3, 2)} using 3\rstep{3} of Column 1 plus 2\ustep{2} of Column 2Because (3,2)\point{(3, 2)} is still 3\rstep{3} Right-steps plus 2\ustep{2} Up-steps after the flip, only its horizontal coordinate changes sign.
3[−10]+2[01]=[−30]+[02]=[−32]\displaystyle \begin{aligned} \rstep{3\begin{bmatrix} -1 \\ 0 \end{bmatrix}} + \ustep{2\begin{bmatrix} 0 \\ 1 \end{bmatrix}} &= \rstep{\begin{bmatrix} -3 \\ 0 \end{bmatrix}} + \ustep{\begin{bmatrix} 0 \\ 2 \end{bmatrix}} \\ &= \point{\begin{bmatrix} -3 \\ 2 \end{bmatrix}} \end{aligned}
Swap the two vectors across the line y=x\mirror{y = x}Reflecting across the 45∘45^\circ line swaps the horizontal and vertical axes, which swaps the columns of the starting matrix and swaps the coordinates of (3,2)\point{(3, 2)} to (2,3)\point{(2, 3)}.
[0110]:3[01]+2[10]=[03]+[20]=[23]\displaystyle \begin{bmatrix} \rstep{0} & \ustep{1} \\ \rstep{1} & \ustep{0} \end{bmatrix}: \qquad \begin{aligned} \rstep{3\begin{bmatrix} 0 \\ 1 \end{bmatrix}} + \ustep{2\begin{bmatrix} 1 \\ 0 \end{bmatrix}} &= \rstep{\begin{bmatrix} 0 \\ 3 \end{bmatrix}} + \ustep{\begin{bmatrix} 2 \\ 0 \end{bmatrix}} \\ &= \point{\begin{bmatrix} 2 \\ 3 \end{bmatrix}} \end{aligned}
2

Horizontal and Vertical Shears

Instead of flipping the grid across a line, we now want the matrix for a movement that keeps one axis fixed and slides the grid lines parallel to it: a horizontal shear that shifts every 11 unit of height by 2\ustep{2} units to the right, and where it moves (3,2)\point{(3, 2)} and any point (x,y)\point{(x, y)}.

Horizontal and Vertical Shears
[10]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}
[01]\htmlClass{lc-pink}{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}
22
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
3\htmlClass{lc-mute}{3}
Text solution
Keep the Right-step fixed and slide the Up-step right by 2\ustep{2}The horizontal axis does not move, while the line at height y=1y = 1 slides right by 2\ustep{2} without changing its height.
[1201]⏟horizontal shear\displaystyle \underbrace{\begin{bmatrix} \rstep{1} & \ustep{2} \\ \rstep{0} & \ustep{1} \end{bmatrix}}_{\text{horizontal shear}}
Shift (3,2)\point{(3, 2)} sideways based on its heightAt height y=2y = 2, the point gets twice the Up-step's horizontal shift of 2\ustep{2}, moving from x=3\point{x = 3} to x=7\point{x = 7} at the same height.
3[10]+2[21]=[30]+[42]=[72]\displaystyle \begin{aligned} \rstep{3\begin{bmatrix} 1 \\ 0 \end{bmatrix}} + \ustep{2\begin{bmatrix} 2 \\ 1 \end{bmatrix}} &= \rstep{\begin{bmatrix} 3 \\ 0 \end{bmatrix}} + \ustep{\begin{bmatrix} 4 \\ 2 \end{bmatrix}} \\ &= \point{\begin{bmatrix} 7 \\ 2 \end{bmatrix}} \end{aligned}
Write the shift for any point (x,y)\point{(x, y)} and for a vertical shearA horizontal shear adds 2\ustep{2} to xx for each unit of height yy, whereas a vertical shear keeps the Up-step fixed on the vertical axis and slides the Right-step up or down by k\rstep{k}.
x[10]+y[21]=[x+2yy],[10k1]⏟vertical shear\displaystyle \begin{gathered} \rstep{x\begin{bmatrix} 1 \\ 0 \end{bmatrix}} + \ustep{y\begin{bmatrix} 2 \\ 1 \end{bmatrix}} = \point{\begin{bmatrix} x + 2y \\ y \end{bmatrix}}, \\[6pt] \underbrace{\begin{bmatrix} \rstep{1} & \ustep{0} \\ \rstep{k} & \ustep{1} \end{bmatrix}}_{\text{vertical shear}} \end{gathered}

Try sliding the Up-step sideways by k\ustep{k} along y=1y = 1 to see how every point (x,y)\point{(x, y)} shifts horizontally by ky\ustep{ky}.

Sliding the Up-step sideways keeps the horizontal axis still and shifts every point sideways based on its height.
3

Rotations by 90∘90^\circ and Any Angle θ\theta

Rather than keeping one axis fixed, we now want the matrix that turns the entire grid counterclockwise around (0,0)(0, 0), first by 90∘90^\circ, and then by any angle θ\theta, such as rotating (3,2)\point{(3, 2)} counterclockwise by 60∘60^\circ.

Rotations by 90° and Any Angle θ
[10]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}
[01]\htmlClass{lc-pink}{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}
90∘90^\circ
θ\theta
cos⁡θ\htmlClass{lc-green}{\cos\theta}
sin⁡θ\htmlClass{lc-green}{\sin\theta}
θ\theta
cos⁡θ\htmlClass{lc-pink}{\cos\theta}
−sin⁡θ\htmlClass{lc-pink}{-\sin\theta}
Text solution
Turn both vectors 90∘90^\circ counterclockwise to rotate (3,2)\point{(3, 2)}Turning the Right-step up to the vertical axis and the Up-step left to the negative horizontal axis moves (3,2)\point{(3, 2)} into the second quadrant at (−2,3)\point{(-2, 3)}.
[0−110]:3[01]+2[−10]=[03]+[−20]=[−23]\displaystyle \begin{bmatrix} \rstep{0} & \ustep{-1} \\ \rstep{1} & \ustep{0} \end{bmatrix}: \qquad \begin{aligned} \rstep{3\begin{bmatrix} 0 \\ 1 \end{bmatrix}} + \ustep{2\begin{bmatrix} -1 \\ 0 \end{bmatrix}} &= \rstep{\begin{bmatrix} 0 \\ 3 \end{bmatrix}} + \ustep{\begin{bmatrix} -2 \\ 0 \end{bmatrix}} \\ &= \point{\begin{bmatrix} -2 \\ 3 \end{bmatrix}} \end{aligned}
Turn the Right-step's θ\theta triangle by 90∘90^\circ for the Up-stepAt any angle θ\theta, the Up-step makes the exact same right triangle against the vertical axis as the Right-step makes against the horizontal axis, sending the Up-step left to −sin⁡θ\ustep{-\sin\theta} and up to cos⁡θ\ustep{\cos\theta}.
[cos⁡θ−sin⁡θsin⁡θcos⁡θ]\displaystyle \begin{bmatrix} \rstep{\cos\theta} & \ustep{-\sin\theta} \\ \rstep{\sin\theta} & \ustep{\cos\theta} \end{bmatrix}
Plug in θ=60∘\theta = 60^\circ to rotate (3,2)\point{(3, 2)}Using cos⁡60∘=0.5\cos 60^\circ = 0.5 and sin⁡60∘=32≈0.866\sin 60^\circ = \frac{\sqrt{3}}{2} \approx 0.866, taking 3\rstep{3} of Column 1 plus 2\ustep{2} of Column 2 moves (3,2)\point{(3, 2)} to about (−0.23,3.60)\point{(-0.23, 3.60)}.
3[0.50.866]+2[−0.8660.5]=[3(0.5)−2(0.866)3(0.866)+2(0.5)]≈[−0.233.60]\displaystyle \begin{aligned} &\rstep{3\begin{bmatrix} 0.5 \\ 0.866 \end{bmatrix}} + \ustep{2\begin{bmatrix} -0.866 \\ 0.5 \end{bmatrix}} \\ &= \begin{bmatrix} \rstep{3(0.5)} - \ustep{2(0.866)} \\ \rstep{3(0.866)} + \ustep{2(0.5)} \end{bmatrix} \\ &\approx \point{\begin{bmatrix} -0.23 \\ 3.60 \end{bmatrix}} \end{aligned}

Turn the angle θ\theta around the unit circle to see the Up-step's right triangle stay 90∘90^\circ counterclockwise from the Right-step's triangle, keeping cos⁡θ\cos\theta on the main diagonal and giving the sin⁡θ\sin\theta entries opposite signs.

Because the Up-step stays a quarter-turn ahead of the Right-step, its triangle is just the Right-step’s triangle turned on its side.
4

Reflections Across Any Line Through the Origin

Our first reflections flipped across the axes and y=x\mirror{y = x}, where the vectors landed right on the grid lines. Now we want the matrix that reflects the grid across a line through the origin tilted at any angle θ\theta above the horizontal axis, such as θ=30∘\theta = 30^\circ.

Reflections Across Any Line Through the Origin
[10]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}
[01]\htmlClass{lc-pink}{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}
θ\theta
θ=30∘\theta = 30^\circ
θ=30∘\theta = 30^\circ
θ\theta
θ\theta
2θ=60∘2\theta = 60^\circ
cos⁡2θ\htmlClass{lc-green}{\cos 2\theta}
sin⁡2θ\htmlClass{lc-green}{\sin 2\theta}
sin⁡2θ\htmlClass{lc-pink}{\sin 2\theta}
−cos⁡2θ\htmlClass{lc-pink}{-\cos 2\theta}
Text solution
Double the line's angle θ\theta to find where the Right-step landsBecause the Right-step starts θ\theta below the mirror line and flips to θ\theta above it, its right triangle against the horizontal axis has angle θ+θ=2θ\theta + \theta = 2\theta.
Column 1=[cos⁡2θsin⁡2θ]\displaystyle \text{Column 1} = \rstep{\begin{bmatrix} \cos 2\theta \\ \sin 2\theta \end{bmatrix}}
Turn 90∘90^\circ clockwise from the Right-step to find where the Up-step landsFlipping the grid reverses which way the vectors sit relative to each other, placing the Up-step 90∘90^\circ clockwise from the reflected Right-step so its 2θ2\theta triangle sits against the negative vertical axis.
[cos⁡2θsin⁡2θsin⁡2θ−cos⁡2θ]\displaystyle \begin{bmatrix} \rstep{\cos 2\theta} & \ustep{\sin 2\theta} \\ \rstep{\sin 2\theta} & \ustep{-\cos 2\theta} \end{bmatrix}
Plug in 2θ=60∘2\theta = 60^\circ for the θ=30∘\theta = 30^\circ lineDoubling the mirror angle θ=30∘\theta = 30^\circ to 2θ=60∘2\theta = 60^\circ lets us plug cos⁡60∘=0.5\cos 60^\circ = 0.5 and sin⁡60∘≈0.866\sin 60^\circ \approx 0.866 right into the two columns.
[cos⁡60∘sin⁡60∘sin⁡60∘−cos⁡60∘]≈[0.50.8660.866−0.5]\displaystyle \begin{bmatrix} \rstep{\cos 60^\circ} & \ustep{\sin 60^\circ} \\ \rstep{\sin 60^\circ} & \ustep{-\cos 60^\circ} \end{bmatrix} \approx \begin{bmatrix} \rstep{0.5} & \ustep{0.866} \\ \rstep{0.866} & \ustep{-0.5} \end{bmatrix}

Tilt the mirror line to any angle θ\theta to see the Right-step flip to 2θ2\theta while the Up-step lands 90∘90^\circ clockwise from it, making the off-diagonal entries match and giving the main diagonal entries opposite signs.

Reflecting across a line at any angle swings the Right-step to twice that angle and flips orientation so the Up-step sits 90° clockwise from it.
5

Reading the Geometry from a Matrix

Now we want to work backwards: given a 2×22 \times 2 matrix, we want to tell whether it is a shear, a rotation, or a reflection, and find its exact shift or angle.

Reading the Geometry from a Matrix
[10−31]\begin{bmatrix} \htmlClass{lc-green}{1} & \htmlClass{lc-pink}{0} \\ \htmlClass{lc-green}{-3} & \htmlClass{lc-pink}{1} \end{bmatrix}
??
1\htmlClass{lc-mute}{1}
2\htmlClass{lc-mute}{2}
−3\htmlClass{lc-mute}{-3}
−2\htmlClass{lc-mute}{-2}
−1\htmlClass{lc-mute}{-1}
Text solution
Check for a fixed axis in [10−31]\begin{bmatrix} \rstep{1} & \ustep{0} \\ \rstep{-3} & \ustep{1} \end{bmatrix}Column 2 leaves the Up-step fixed at [01]\ustep{\begin{bmatrix} 0 \\ 1 \end{bmatrix}} while Column 1 slides the Right-step down by 3\rstep{3}, so this is a vertical shear of −3\rstep{-3}.
[1−3⏟slid down 301]⏟fixed\displaystyle \underbrace{\left[\begin{matrix} \rstep{1} \\ \rstep{-3} \end{matrix}\right.}_{\rstep{\text{slid down } 3}} \quad \underbrace{\left.\begin{matrix} \ustep{0} \\ \ustep{1} \end{matrix}\right]}_{\ustep{\text{fixed}}}
Compare where the Up-step lands in A=[22−222222]A = \begin{bmatrix} \rstep{\tfrac{\sqrt{2}}{2}} & \ustep{-\tfrac{\sqrt{2}}{2}} \\[4pt] \rstep{\tfrac{\sqrt{2}}{2}} & \ustep{\tfrac{\sqrt{2}}{2}} \end{bmatrix} and B=[222222−22]B = \begin{bmatrix} \rstep{\tfrac{\sqrt{2}}{2}} & \ustep{\tfrac{\sqrt{2}}{2}} \\[4pt] \rstep{\tfrac{\sqrt{2}}{2}} & \ustep{-\tfrac{\sqrt{2}}{2}} \end{bmatrix}Both matrices put the Right-step at 45∘45^\circ (since 22=cos⁡45∘=sin⁡45∘\frac{\sqrt{2}}{2} = \cos 45^\circ = \sin 45^\circ); Matrix AA puts the Up-step 90∘90^\circ counterclockwise for a 45∘45^\circ counterclockwise rotation, while Matrix BB puts the Up-step 90∘90^\circ clockwise for a reflection across the halfway line at 45∘2=22.5∘\frac{45^\circ}{2} = 22.5^\circ.
A=[22−222222]⏟rotation by 45∘,B=[222222−22]⏟reflection across 22.5∘\displaystyle \begin{aligned} A &= \underbrace{\begin{bmatrix} \rstep{\tfrac{\sqrt{2}}{2}} & \ustep{-\tfrac{\sqrt{2}}{2}} \\[4pt] \rstep{\tfrac{\sqrt{2}}{2}} & \ustep{\tfrac{\sqrt{2}}{2}} \end{bmatrix}}_{\text{rotation by } 45^\circ}, \\[6pt] B &= \underbrace{\begin{bmatrix} \rstep{\tfrac{\sqrt{2}}{2}} & \ustep{\tfrac{\sqrt{2}}{2}} \\[4pt] \rstep{\tfrac{\sqrt{2}}{2}} & \ustep{-\tfrac{\sqrt{2}}{2}} \end{bmatrix}}_{\text{reflection across } 22.5^\circ} \end{aligned}
Find the halfway line for [0−1−10]\begin{bmatrix} \rstep{0} & \ustep{-1} \\ \rstep{-1} & \ustep{0} \end{bmatrix}The Right-step turns 90∘90^\circ clockwise to [0−1]\rstep{\begin{bmatrix} 0 \\ -1 \end{bmatrix}} (−90∘-90^\circ) while the Up-step turns 90∘90^\circ counterclockwise to [−10]\ustep{\begin{bmatrix} -1 \\ 0 \end{bmatrix}}, flipping across the halfway line at −45∘-45^\circ (y=−x\mirror{y = -x}).
[0−1−10]:halfway between 0∘ and −90∘is −45∘ (y=−x)\displaystyle \begin{bmatrix} \rstep{0} & \ustep{-1} \\ \rstep{-1} & \ustep{0} \end{bmatrix}: \qquad \begin{aligned} &\text{halfway between } 0^\circ \text{ and } {-90^\circ} \\ &\text{is } {-45^\circ} \text{ } (\mirror{y = -x}) \end{aligned}

When a matrix is full of sines and cosines, you can spot the type quickly from the signs: a rotation has matching main diagonal entries and opposite signs off the diagonal, while a reflection has opposite signs on the main diagonal and matching entries off the diagonal. Still, sketching the two columns on a grid makes sure you get the angle and direction right.

Key concepts

Every 2×22 \times 2 matrix tells you where the grid moves by putting the new Right-step in Column 1 and the new Up-step in Column 2, and it moves any point (x,y)\point{(x, y)} by taking x\rstep{x} of Column 1 plus y\ustep{y} of Column 2. When a reflection or 90∘90^\circ turn lands the two vectors right on the axes, like reflecting across the yy-axis with [−1001]\begin{bmatrix} \rstep{-1} & \ustep{0} \\ \rstep{0} & \ustep{1} \end{bmatrix} or rotating 90∘90^\circ counterclockwise with [0−110]\begin{bmatrix} \rstep{0} & \ustep{-1} \\ \rstep{1} & \ustep{0} \end{bmatrix}, you don't need trigonometry at all; just read where the two vectors land off the grid.

When the vectors don't just land on the axes, how the two columns move relative to each other tells you the exact movement:

One vector stays fixed and the other slides parallel to it (Shear)

A horizontal shear keeps the Right-step fixed and slides the Up-step sideways by k\ustep{k} in [1k01]\begin{bmatrix} \rstep{1} & \ustep{k} \\ \rstep{0} & \ustep{1} \end{bmatrix} (so [1201]\begin{bmatrix} \rstep{1} & \ustep{2} \\ \rstep{0} & \ustep{1} \end{bmatrix} sends (x,y)\point{(x, y)} to (x+2y,y)\point{(x + 2y, y)}), while a vertical shear keeps the Up-step fixed and slides the Right-step up or down by k\rstep{k} in [10k1]\begin{bmatrix} \rstep{1} & \ustep{0} \\ \rstep{k} & \ustep{1} \end{bmatrix} (like [10−31]\begin{bmatrix} \rstep{1} & \ustep{0} \\ \rstep{-3} & \ustep{1} \end{bmatrix}).

Both vectors turn together, keeping the Up-step 90∘90^\circ counterclockwise (Rotation by θ\theta)

The Right-step's cos⁡θ,sin⁡θ\rstep{\cos\theta}, \rstep{\sin\theta} triangle turns 90∘90^\circ counterclockwise for the Up-step, making the main diagonal entries match and giving opposite signs off the diagonal:

[cos⁡θ−sin⁡θsin⁡θcos⁡θ],such as [0.5−0.8660.8660.5]for θ=60∘\displaystyle \begin{gathered} \begin{bmatrix} \rstep{\cos\theta} & \ustep{-\sin\theta} \\ \rstep{\sin\theta} & \ustep{\cos\theta} \end{bmatrix}, \\[6pt] \text{such as } \begin{bmatrix} \rstep{0.5} & \ustep{-0.866} \\ \rstep{0.866} & \ustep{0.5} \end{bmatrix} \\[4pt] \text{for } \theta = 60^\circ \end{gathered}

The grid flips across a line at angle θ\theta, putting the Up-step 90∘90^\circ clockwise (Reflection across θ\theta)

The Right-step flips across θ\theta to the double angle 2θ2\theta, giving opposite signs on the main diagonal and matching entries off the diagonal:

[cos⁡2θsin⁡2θsin⁡2θ−cos⁡2θ],such as [0.50.8660.866−0.5]for a 30∘ line (2θ=60∘)\displaystyle \begin{gathered} \begin{bmatrix} \rstep{\cos 2\theta} & \ustep{\sin 2\theta} \\ \rstep{\sin 2\theta} & \ustep{-\cos 2\theta} \end{bmatrix}, \\[6pt] \text{such as } \begin{bmatrix} \rstep{0.5} & \ustep{0.866} \\ \rstep{0.866} & \ustep{-0.5} \end{bmatrix} \\[4pt] \text{for a } 30^\circ \text{ line } (2\theta = 60^\circ) \end{gathered}
When reading a reflection matrix backwards, Column 1 gives the Right-step's landing angle 2θ2\theta, so take half of that angle to find the line of reflection.

6

Practice

1

Write the 2×22 \times 2 matrix that reflects the grid across the horizontal xx-axis, and find where it moves the point (3,2)\point{(3, 2)}.

Check which of the two unit vectors lies right on the horizontal xx-axis and which one flips across it.

The Right-step lies on the horizontal xx-axis, so it stays at [10]\rstep{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}, while the Up-step flips across the xx-axis from [01]\ustep{\begin{bmatrix} 0 \\ 1 \end{bmatrix}} to [0−1]\ustep{\begin{bmatrix} 0 \\ -1 \end{bmatrix}} (be careful not to flip the xx-coordinate using [−1001]\begin{bmatrix} -1 & 0 \\ 0 & 1 \end{bmatrix}, which reflects across the vertical yy-axis and gives (−3,2)(-3, 2)):
[100−1]\displaystyle \begin{bmatrix} \rstep{1} & \ustep{0} \\ \rstep{0} & \ustep{-1} \end{bmatrix}
Taking 3\rstep{3} of Column 1 plus 2\ustep{2} of Column 2 moves (3,2)\point{(3, 2)} to:
3[10]+2[0−1]=(3,−2)\displaystyle \rstep{3\begin{bmatrix} 1 \\ 0 \end{bmatrix}} + \ustep{2\begin{bmatrix} 0 \\ -1 \end{bmatrix}} = \point{(3, -2)}
2

A horizontal shear shifts every 11 unit of height by 33 units to the left. Write its 2×22 \times 2 matrix and find where it moves the point (4,2)\point{(4, 2)}.

Check which unit vector starts at height 11, and pay attention to the sign for a shift to the left.

The Right-step on the horizontal axis stays at [10]\rstep{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}, and the Up-step at height 11 shifts 3\ustep{3} units to the left to [−31]\ustep{\begin{bmatrix} -3 \\ 1 \end{bmatrix}} (using +3+3 instead of −3-3 shifts the grid right and gives (10,2)(10, 2), while putting −3-3 in Column 1 makes a vertical shear):
[1−301]\displaystyle \begin{bmatrix} \rstep{1} & \ustep{-3} \\ \rstep{0} & \ustep{1} \end{bmatrix}
Multiplying (4,2)\point{(4, 2)} by this matrix gives:
4[10]+2[−31]=(−2,2)\displaystyle \rstep{4\begin{bmatrix} 1 \\ 0 \end{bmatrix}} + \ustep{2\begin{bmatrix} -3 \\ 1 \end{bmatrix}} = \point{(-2, 2)}
3

Write the 2×22 \times 2 matrix for a vertical shear that shifts every 11 unit of horizontal position up by 44 units, and write a formula for where it sends any point (x,y)\point{(x, y)}.

In a vertical shear, the vertical axis stays fixed. Check where the Right-step [10]\rstep{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} slides.

The Right-step at x=1x = 1 slides up by 4\rstep{4} to [14]\rstep{\begin{bmatrix} 1 \\ 4 \end{bmatrix}} while the Up-step on the vertical axis stays at [01]\ustep{\begin{bmatrix} 0 \\ 1 \end{bmatrix}} (putting 44 in the second column as [1401]\begin{bmatrix} 1 & 4 \\ 0 & 1 \end{bmatrix} would make a horizontal shear [x+4yy]\begin{bmatrix} x + 4y \\ y \end{bmatrix}):
[1041]\displaystyle \begin{bmatrix} \rstep{1} & \ustep{0} \\ \rstep{4} & \ustep{1} \end{bmatrix}
Multiplying by any point (x,y)\point{(x, y)} sends it to:
x[14]+y[01]=[x4x+y]\displaystyle \rstep{x\begin{bmatrix} 1 \\ 4 \end{bmatrix}} + \ustep{y\begin{bmatrix} 0 \\ 1 \end{bmatrix}} = \point{\begin{bmatrix} x \\ 4x + y \end{bmatrix}}
4

By tracking where the Right-step and Up-step land, write the matrix for a 90∘90^\circ clockwise rotation around the origin, and find where it moves the point (3,2)\point{(3, 2)}.

Sketch both unit vectors and turn each one 90∘90^\circ clockwise (the way clock hands move) to read off the two columns.

Turning 90∘90^\circ clockwise sends the Right-step down to [0−1]\rstep{\begin{bmatrix} 0 \\ -1 \end{bmatrix}} and the Up-step right to [10]\ustep{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} (don't use the counterclockwise matrix [0−110]\begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix}, which puts the minus sign in Column 2 and lands at (−2,3)(-2, 3)):
[01−10]\displaystyle \begin{bmatrix} \rstep{0} & \ustep{1} \\ \rstep{-1} & \ustep{0} \end{bmatrix}
Moving (3,2)\point{(3, 2)} takes 3\rstep{3} of Column 1 plus 2\ustep{2} of Column 2:
3[0−1]+2[10]=(2,−3)\displaystyle \rstep{3\begin{bmatrix} 0 \\ -1 \end{bmatrix}} + \ustep{2\begin{bmatrix} 1 \\ 0 \end{bmatrix}} = \point{(2, -3)}
5

Write the matrix for a counterclockwise rotation by 30∘30^\circ (using cos⁡30∘≈0.866\cos 30^\circ \approx 0.866 and sin⁡30∘=0.5\sin 30^\circ = 0.5), and find approximately where it moves the point (2,4)\point{(2, 4)}.

Put the Right-step's cos⁡30∘\rstep{\cos 30^\circ} and sin⁡30∘\rstep{\sin 30^\circ} triangle in Column 1, then turn the Up-step 90∘90^\circ counterclockwise into negative xx for Column 2.

The Right-step lands at [0.8660.5]\rstep{\begin{bmatrix} 0.866 \\ 0.5 \end{bmatrix}} and the Up-step turns left into the second quadrant at [−0.50.866]\ustep{\begin{bmatrix} -0.5 \\ 0.866 \end{bmatrix}} (forgetting the minus sign on −0.5\ustep{-0.5} in Column 2 adds 4(0.5)4(0.5) instead of subtracting it and gives (3.73,4.46)(3.73, 4.46)):
[0.866−0.50.50.866]\displaystyle \begin{bmatrix} \rstep{0.866} & \ustep{-0.5} \\ \rstep{0.5} & \ustep{0.866} \end{bmatrix}
Taking 2\rstep{2} of Column 1 plus 4\ustep{4} of Column 2 moves (2,4)\point{(2, 4)} to:
2[0.8660.5]+4[−0.50.866]≈(−0.27,4.46)\displaystyle \rstep{2\begin{bmatrix} 0.866 \\ 0.5 \end{bmatrix}} + \ustep{4\begin{bmatrix} -0.5 \\ 0.866 \end{bmatrix}} \approx \point{(-0.27, 4.46)}
6

Write the matrix that reflects the grid across the line through the origin at θ=60∘\theta = 60^\circ above the horizontal axis (using cos⁡120∘=−0.5\cos 120^\circ = -0.5 and sin⁡120∘≈0.866\sin 120^\circ \approx 0.866).

Find the total angle 2θ2\theta where the Right-step lands after flipping across the 60∘60^\circ line, and watch the double negative in the bottom-right corner −cos⁡2θ\ustep{-\cos 2\theta}.

Flipping across θ=60∘\theta = 60^\circ sends the Right-step to the double angle 2θ=120∘2\theta = 120^\circ (using 60∘60^\circ without doubling gives [0.50.8660.866−0.5]\begin{bmatrix} 0.5 & 0.866 \\ 0.866 & -0.5 \end{bmatrix}, the matrix for a 30∘30^\circ line). Plugging cos⁡120∘=−0.5\cos 120^\circ = -0.5 and sin⁡120∘≈0.866\sin 120^\circ \approx 0.866 into [cos⁡2θsin⁡2θsin⁡2θ−cos⁡2θ]\begin{bmatrix} \rstep{\cos 2\theta} & \ustep{\sin 2\theta} \\ \rstep{\sin 2\theta} & \ustep{-\cos 2\theta} \end{bmatrix}, and watching that −cos⁡120∘=−(−0.5)=+0.5-\cos 120^\circ = -(-0.5) = +0.5 rather than leaving it as −0.5-0.5, gives:
[−0.50.8660.8660.5]\displaystyle \begin{bmatrix} \rstep{-0.5} & \ustep{0.866} \\ \rstep{0.866} & \ustep{0.5} \end{bmatrix}
7

Given M=[0.8660.50.5−0.866]M = \begin{bmatrix} \rstep{0.866} & \ustep{0.5} \\ \rstep{0.5} & \ustep{-0.866} \end{bmatrix} and N=[0.866−0.50.50.866]N = \begin{bmatrix} \rstep{0.866} & \ustep{-0.5} \\ \rstep{0.5} & \ustep{0.866} \end{bmatrix} (where cos⁡30∘≈0.866\cos 30^\circ \approx 0.866 and sin⁡30∘=0.5\sin 30^\circ = 0.5), tell which matrix is a rotation and which is a reflection, and find the angle of rotation and the angle of the line of reflection.

In both matrices, Column 1 puts the Right-step at 30∘30^\circ; check whether Column 2 is 90∘90^\circ counterclockwise or 90∘90^\circ clockwise from it, and remember where the mirror line sits relative to the Right-step's landing angle.

In both matrices, Column 1 puts the Right-step at [0.8660.5]\rstep{\begin{bmatrix} 0.866 \\ 0.5 \end{bmatrix}}, which is at 30∘30^\circ. In NN, the Up-step [−0.50.866]\ustep{\begin{bmatrix} -0.5 \\ 0.866 \end{bmatrix}} is 90∘90^\circ counterclockwise from the Right-step, while in MM, the Up-step [0.5−0.866]\ustep{\begin{bmatrix} 0.5 \\ -0.866 \end{bmatrix}} is 90∘90^\circ clockwise from the Right-step. For the reflection MM, remember that 30∘30^\circ is the double angle 2θ2\theta where the Right-step lands (don't give 30∘30^\circ as the mirror angle; the mirror line sits halfway between 0∘0^\circ and 30∘30^\circ):
N is a counterclockwiserotation by 30∘, and M is a reflection acrossthe line at 15∘.\displaystyle \begin{aligned} & N \text{ is a counterclockwise} \\ & \text{rotation by } 30^\circ, \text{ and } M \\ & \text{ is a reflection across} \\ & \text{the line at } 15^\circ. \end{aligned}
8

Find the exact geometric movement (shear, rotation, or reflection, and by how much) given by the matrix [−22222222]\begin{bmatrix} \rstep{-\tfrac{\sqrt{2}}{2}} & \ustep{\tfrac{\sqrt{2}}{2}} \\[4pt] \rstep{\tfrac{\sqrt{2}}{2}} & \ustep{\tfrac{\sqrt{2}}{2}} \end{bmatrix}.

Plot Column 1 in the second quadrant to find the Right-step's angle from the positive horizontal axis, then plot Column 2 in the first quadrant to see which way the Up-step sits from the Right-step.

Column 1 puts the Right-step at [−2222]\rstep{\begin{bmatrix} -\tfrac{\sqrt{2}}{2} \\[4pt] \tfrac{\sqrt{2}}{2} \end{bmatrix}} in the second quadrant, which is at 135∘135^\circ from the positive horizontal axis (don't just see 22\frac{\sqrt{2}}{2} and assume the angle is 45∘45^\circ, which would give 22.5∘22.5^\circ). Column 2 puts the Up-step at [2222]\ustep{\begin{bmatrix} \tfrac{\sqrt{2}}{2} \\[4pt] \tfrac{\sqrt{2}}{2} \end{bmatrix}} (45∘45^\circ), which is 90∘90^\circ clockwise from 135∘135^\circ, so the grid has been flipped in a reflection. Taking half of the Right-step's 135∘135^\circ angle (rather than leaving it as 135∘135^\circ) gives the mirror line at 135∘2=67.5∘\frac{135^\circ}{2} = 67.5^\circ:
A reflection across the linethrough the origin at 67.5∘.\displaystyle \begin{aligned} & \text{A reflection across the line} \\ &\quad \text{through the origin at } 67.5^\circ. \end{aligned}