14.6 Composing transformations — Learn
Prerequisites: all of Sections 14.1 to 14.5.
Objectives: apply two transformations in order; find the single transformation that has the same effect as a composition; know when the order matters.
By the end of this section you can combine two transformations into one, and you can say whether the result depends on the order.
Doing one, then the other
A composition of two transformations means doing the first one, then doing the second one to the image. The composition is itself a transformation, because it takes every point to exactly one image point.
Write the composition left to right in the order you perform it. "Translate, then reflect" means translate first and reflect the image.
Example 1. Translate the point by the vector , then translate the image by the vector .
First translation:
Second translation, applied to :
The two translations together moved the point by . So the composition is the single translation .
Translations compose to a translation. Two translations add their vectors.
Reflecting twice
Two reflections in parallel lines give a translation. The distance moved is twice the distance between the lines.
Example 2. Reflect the point in the line , then in the line .
First reflection:
Second reflection:
The composition moved the point from to , a shift of 6 to the right. The lines are 3 apart, and twice 3 is 6, which agrees.
Two reflections in intersecting lines give a rotation. The angle of the rotation is twice the angle between the lines, and the centre is the point where the lines meet.
Example 3. Reflect the point in the line , then in the -axis.
First reflection:
Second reflection:
The map is a rotation of clockwise about the origin. The lines and the -axis meet at , and twice is , which agrees.
The table collects the results.
| First transformation | Second transformation | Composition |
|---|---|---|
| Translation | Translation | a translation |
| Reflection in a line | Reflection in a parallel line | a translation |
| Reflection in a line | Reflection in an intersecting line | a rotation |
| Rotation | Rotation about the same centre | a rotation |
| Translation | Rotation | a rotation |
Order matters
For most pairs of transformations, the order changes the answer. Composition is not commutative.
Example 4. Start with . Translate by , then rotate by anticlockwise about the origin.
Translate first:
Then rotate:
The final image is .
Example 5. Start with again, but this time rotate first and translate second.
Rotate first:
Then translate:
The final image is , which is not . The order mattered.
Undoing a transformation
The inverse of a transformation undoes it, and takes each image back to its object.
- The inverse of a translation by is the translation by .
- The inverse of a rotation by about is the rotation by in the opposite direction about .
- The inverse of a reflection in a line is the same reflection, because reflecting twice returns the point to where it started.
Progress check
Back to the chapter problem. Two border copies come from turns: the copy made by a anticlockwise rotation about the origin, and the copy made by a half-turn.
The tile has corners , and . Apply the anticlockwise rotation twice, once after the other, and work out the final three corners.
Compare the final corners with the half-turn copy from Section 14.3. They should match. Say which single transformation has the same effect as the two quarter-turns together, and why that had to be so.
You should now be able to
- apply two transformations in the order given, using the intermediate image;
- combine two translations by adding their vectors;
- replace two reflections in parallel lines with a single translation;
- replace two reflections in intersecting lines with a single rotation;
- say that the order of a composition matters, and give an example;
- write down the inverse of a translation, a rotation or a reflection.