C3 - Transformations in two dimensions
How can four matrix entries describe what happens to every point in a plane? You will use the images of two unit vectors to build a transformation matrix, recognise rotations, reflections, stretches and enlargements, and recover a matrix from other known images. The geometry explains why the columns matter.
Images of basis vectors
Can knowing the images of just two points determine the image of every point? For a linear transformation, choose the two unit vectors along the coordinate axes. Every position vector can be built from them.
Write
A linear transformation preserves addition and scalar multiplication: transforming a combination gives the same combination of the transformed vectors. Consequently,
It also sends the origin to the origin, since . A non-zero translation is therefore not represented by a matrix acting on these position vectors.
Transformation matrix
For column vectors, the matrix of a linear transformation is
Its first column is ; its second is . The prime labels an image, not a derivative.
Thus is the image of . Matrix multiplication already builds the correct combination of the two columns:
[DIAGRAM: asset_name: Two columns determine the plane transformation; asset_slug: aqa7367-basis-images; caption: The images of the unit vectors form the columns and determine the image of every linear combination; description: Two coordinate plots show the original unit square and the parallelogram obtained under the matrix with columns (2,1) and (1,2). The first unit vector and its image are blue; the second and its image are sage. The vertex (1,1) maps to (3,3), the sum of the two column vectors.]

Worked example 1: using the two columns
Question. A linear transformation sends to and to . Find its matrix and the image of .
Plan. Place the two given images in columns, then multiply the position vector of .
Answer. and .
Check. The input is . Combining its images gives , independently confirming the row calculations.
Change only the sign of the second input coordinate. It now adds the second column instead of subtracting it.
Worked example 2: changing one input coefficient
Question. For the same transformation, find the image of .
Plan. Multiply the same matrix by the new position vector.
Answer. .
Check. From to , the input changes by . The output should change by . Indeed, .
Rows combine input coordinates; columns record basis-vector images. Those are different descriptions of the same multiplication.
Watch out
If , put 2 above 1 in the first column. Writing the images as rows usually represents a different transformation.
Use fresh basis images for your turn.
Rotations, reflections and scalings
A familiar movement gives a matrix once you know where the unit vectors go. For an anticlockwise rotation through , the unit vectors finish at angles and , giving columns and .
Rotation and reflection in the plane
An anticlockwise rotation through about the origin has matrix
Reflection in the line through the origin making angle with the positive -axis has matrix
For a non-vertical line, its equation is . For the vertical line , use directly in the matrix. Both matrices are in the formula booklet.
For reflection, an incoming direction at angle leaves at angle : the mirror line bisects the angle between them. Applying that rule to the two unit vectors explains the doubled angle in the formula. A clockwise rotation through a positive angle uses .
Worked example 3: a rotation through sixty degrees
Question. Find the matrix of an anticlockwise rotation through about the origin and the image of .
Plan. Substitute exact trigonometric values into the rotation matrix, then multiply.
Answer. The matrix is above; the image is .
Check. The image has distance from the origin and direction , as a rotation requires.
Keep the first basis-vector image the same, but change the second by using a reflection. One point image can agree even when two transformations differ.
Worked example 4: a reflection with the same first column
Question. Find the matrix of reflection in and the image of .
Plan. The mirror angle is ; use in the reflection matrix.
Answer. The matrix is above; the image is again .
Check. The midpoint lies on the mirror line. The joining segment has slope , perpendicular to its slope . These are the two geometric conditions for reflection.
The second columns differ, so the two transformations do not agree everywhere. For instance, they send to different points.
Some useful special cases follow immediately:
| Transformation | Matrix |
|---|---|
| Reflection in , the -axis | |
| Reflection in , the -axis | |
| Reflection in | |
| Reflection in |
A stretch parallel to the -axis with positive factor sends to ; its matrix is . A stretch parallel to the -axis uses . Here means a diagonal matrix with the listed entries. An enlargement with centre the origin and signed scale factor sends to , so its matrix is . The name enlargement includes positive factors below 1, which reduce lengths. A negative factor also puts each non-zero point on the opposite ray; factor zero collapses every point to the origin. These scaling matrices follow from the basis images and are not separately printed in the booklet.
Worked example 5: stretching one coordinate
Question. Find the matrix of a stretch parallel to the -axis with factor 3, and its image of .
Plan. Multiply the first coordinate by 3 and leave the second unchanged.
Answer. ; the image is .
Check. The point stays on the horizontal line , and its distance from the -axis changes from 2 to 6.
Change only the second diagonal entry from 1 to 3. Both coordinates now scale equally.
Worked example 6: scaling both coordinates
Question. Find the matrix of an enlargement with centre the origin and scale factor 3, and its image of .
Plan. Multiply both coordinates by 3.
Answer. ; the image is .
Check. The original and image have the same direction, and their distances from the origin are and . Lengths scale by 3.
A stretch factor applies perpendicular to its fixed axis: a stretch parallel to the -axis leaves the -axis fixed. State the direction of the stretch, rather than just saying “stretch factor 3”.
Watch out
For reflection, use twice the mirror-line angle. Reflection in a line at angle is not rotation through ; even when one point has the same image, the second basis-vector image distinguishes them.
Apply the reflection formula to another mirror line.
Finding a transformation matrix
The given points need not be unit vectors. If two input vectors are independent, you can combine them to recover and , then make the columns from their images. Independent means neither vector is a scalar multiple of the other; otherwise their images leave a whole direction undetermined.
For and , adding and subtracting give
Linearity allows exactly the same combinations of the images. Alternatively, write and solve for the four entries.
Worked example 7: recovering the basis images
Question. A linear transformation sends to and to . Find its matrix.
Plan. Add and subtract the image vectors to obtain the two columns.
Answer. .
Check. Its column sum is , and first column minus second is . Both supplied images are recovered.
Keep the inputs and first output unchanged; change only the second output. Watch how this alters both recovered columns.
Worked example 8: changing one known image
Question. A linear transformation sends to and to . Find its matrix.
Plan. Use the same half-sum and half-difference of the new outputs.
Answer. .
Check. Writing unknown entries instead gives , , , . Their solution is , , , , confirming the matrix independently.
This answers the opening question: two independent input images determine the entire linear transformation. Two arbitrary points do not suffice if their position vectors lie along the same line through the origin. Also check any stated origin image: a proposed non-zero image of the origin rules out linearity immediately.
Quick Recap
- A matrix acts on a column vector; its columns are the images of the coordinate unit vectors.
- Rotations use the turning angle; reflections use twice the mirror-line angle.
- A stretch changes one coordinate scale; an enlargement about the origin changes both equally.
- Two independent input images determine a unique linear transformation.
Four entries describe the whole plane because every position vector is a combination of two basis vectors.