Geometric Transformations in ℝ²
Every scaling, rotation, reflection, and shear of the plane is captured by a single matrix, and applying the transformation is just matrix-vector multiplication. This lesson teaches you to read a matrix as a geometric motion and to build the matrix for the motion you want.
Before you start — give these a try
Attempting first primes your brain for the lesson — even if you miss. Nothing is graded or saved; it's just a warm-up.
Write the matrix for a counterclockwise rotation by about the origin.
Write the matrix for a horizontal shear with shear factor .
What you’ll be able to do
- Construct the 2×2 matrix for scaling, rotation, reflection, and shear transformations of the plane.
- Identify the geometric transformation represented by a given 2×2 matrix.
- Compute the image of a point under a transformation using matrix-vector multiplication.
- Explain why the columns of a transformation matrix are the images of the standard basis vectors.
- Build exact rotation matrices for θ ∈ {90°, 180°, 270°} and the approximate matrix for a 45° rotation.
In your course
· MATH2015 · Linear Algebra & Probability- Theorem 4.12×2 matrices ⟷ linear maps of the plane
- Example 4.1Rotation, reflection, scaling, shearCounter-clockwise rotation by : ; reflection in the axis at angle : ; shears , .
Transformations are matrix multiplication
A geometric transformation of the plane is a rule that takes each point and moves it somewhere new. We write points as column vectors:
where and are the horizontal and vertical coordinates.
The transformations we care about here are linear: they keep the origin fixed, send straight lines to straight lines, and keep grid lines evenly spaced. Every such transformation can be written as multiplication by a fixed matrix :
If , the product is computed row-by-column:
The image of is the output vector . So the whole geometric question — where does this point go? — becomes a single multiplication.
The columns tell the whole story
Here is the key idea that makes every matrix below easy to remember. Let the standard basis vectors be
the unit arrows pointing right and up. Multiplying by them picks out the columns:
So the first column of is where lands, and the second column is where lands. To build the matrix for any transformation, just ask two questions: Where does the right-pointing arrow go? and Where does the up-pointing arrow go? Stack those two answers as columns and you are done. To read a matrix, do the reverse: look at its columns to see what happens to the two basis arrows.
A catalog of plane transformations
Using the column idea, here are the standard transformations. In each case are given numbers and is a general point.
Scaling by factors horizontally and vertically stretches each axis independently:
Rotation counterclockwise about the origin by angle : For the clean angles: , , . For , use .
Reflections flip the plane across a line through the origin: Reflecting across simply swaps the coordinates: .
Shears slide the plane parallel to one axis by an amount proportional to the other coordinate: Here is the shear factor controlling how much the plane is slanted.
Composing transformations
To apply one transformation and then another, you multiply the matrices. If is done first and second, the combined effect is
Notice the matrix of the first transformation sits on the right, next to the vector — because that is what touches first.
Order matters. Matrix multiplication is generally not commutative, , so rotating then reflecting usually gives a different result than reflecting then rotating. Always compose in the order the transformations actually happen.
If is linear, then for the unique matrix whose columns are the images of the standard basis vectors and .
Counterclockwise rotation of about the origin by angle is given by .
If is applied first and second, then the composition satisfies .
Worked examples
Rotate the point counterclockwise by about the origin. Find its image.
- 1
Choose the right matrix. A rotation uses , and here .
- 2
Plug in the angle. Since and , the matrix becomes .
- 3
Write the point as a column vector. .
- 4
Multiply row-by-column. Top entry: . Bottom entry: . So .
- 5
Sanity-check. The distance from the origin should not change. Original: . Image: . It matches, and the point has swung a quarter-turn counterclockwise, as expected.
A transformation is given by . Name the transformation and find the image of .
Apply a horizontal shear with factor to the point , and then reflect the result across the -axis.