Rotations, reflections and projections
Write the standard 2 × 2 matrices for rotation, reflection, scaling, shear and projection by reading the images of e₁ and e₂, and describe each by its effect on the unit square.
It opens on
Turn the unit square a quarter turn about the origin: where do its corners go, and can you write one 2 × 2 matrix that does it?
Why it matters
Graphics, data augmentation and coordinate changes are built from these few matrices, and the unit square shows at a glance what each one does to size, orientation and shape.
Good to know first
- Linear transformations: T(x) = x₁T(e₁) + x₂T(e₂), so the columns of the matrix are T(e₁) and T(e₂)
- the unit square has sides e₁ and e₂
Step by step
Rotation and reflection
Write the matrices of the quarter-turn rotation and the reflection in the x-axis and say how each moves the corners of the square.
Put the images as columns: the quarter-turn matrix is R = [[0, −1], [1, 0]].
A common mix-up
Reflections and rotations are the same because both keep lengths.
In fact: a reflection reverses the order of the corners; no rotation can do that.
Scaling and shear
Write the matrices that stretch and slant the square and read the image corners from the columns.
For a = 2 and b = 3, S = [[2, 0], [0, 3]].
A common mix-up
A shear changes the area of the square because the shape changes.
In fact: The base and the height are still 1, so the area stays 1.
Projection
Write the matrix that projects the plane onto the x-axis or the line y = x and explain why a projection cannot be undone.
Projecting onto the x-axis sends (x, y) to (x, 0): e₁ stays and e₂ goes to (0, 0), so P = [[1, 0], [0, 0]], and the square collapses onto its bottom side.
A common mix-up
A projection keeps all the information about a vector, just shorter.
In fact: Many vectors share one projection, so the original cannot be recovered.
Try it
Write the matrix of reflection in the y-axis and apply it to (3, 2).Answer
[[−1, 0], [0, 1]] and (−3, 2)
Hint: e₁ goes to (−1, 0), e₂ stays
Write the shear that fixes e₁ and sends e₂ to (2, 1), and give the image of the corner C.Answer
[[1, 2], [0, 1]] and C′ = (3, 1)
Hint: The second column is (2, 1)
Apply P = [[0.5, 0.5], [0.5, 0.5]] to (4, 2).Answer
(3, 3)
Hint: Both entries are (4 + 2)/2
Where does R send the point (2, 3)?Answer
(−3, 2), since R(2, 3) = 2(0, 1) + 3(−1, 0).
Where does the midpoint of the top edge, (0.5, 1), go under S?Answer
(1, 3), since S(0.5, 1) = (2·0.5, 3·1).
