In short
A matrix is a function of the plane: . Applying first and then is the composition , so the matrix of "B then A" is : the transformation applied first is written on the right. A transformation can be undone exactly when its matrix is invertible, and the inverse transformation has matrix . This unit is not tested on the AP Exam.
What you need to know
- Treat a matrix as a function that maps vectors to vectors.
- Find the matrix of a composition of two transformations.
- Explain why the order of transformations matters.
- Use an inverse matrix to undo a transformation and find a pre-image.
Composition is multiplication
In Topic 2.7, means "do first, then ". The same is true for matrices. Let reflect in the -axis and rotate a quarter turn counterclockwise. Follow the point :
- Reflect first: .
- Then rotate: .
The single matrix sends straight to . It is the reflection in the line : reflecting in the -axis and then rotating a quarter turn is the same as one reflection in .
Why the order matters
Do it the other way round, rotating first and reflecting second: , which sends to . That is the reflection in , a different transformation. This is the geometric reason in Topic 4.10: putting on socks then shoes is not the same as shoes then socks.
Undoing a transformation
The inverse function must send each image back to where it came from, and its matrix is . For the shear (), . Which point is sent to ? Apply the inverse: . Check: .
To undo "B then A", undo A first and then B: . If a matrix has determinant 0 it squashes different points onto the same image, so no function can send them back: the transformation has no inverse.
Key terms
- Matrix as a function
- L_A(v) = Av, mapping each vector in the plane to a vector.
- Composition
- Applying one transformation after another; 'B then A' has matrix AB.
- Inverse transformation
- The transformation with matrix A⁻¹, which undoes A.
- Pre-image
- The point that a transformation sends to a given image; found with A⁻¹.
Common mistakes
Writing the first transformation on the left: BA for 'B then A'.
The first one goes on the right, next to the vector: AB.
Undoing AB with A⁻¹B⁻¹.
(AB)⁻¹ = B⁻¹A⁻¹: undo the last step first.
Expecting every transformation to have an inverse.
Only matrices with nonzero determinant are invertible.
How this topic is tested
- Test any composition on one easy point.
- Say 'first on the right' when writing a product.
- Unit 4 is not on the AP Exam; this is how computer graphics combine moves.
Practice questions
Original AP-style multiple-choice questions. Pick an answer to see the explanation.
Question 1 · MP 3 · Communication and Reasoning
is applied first and second. Which matrix represents the combined transformation?
Question 2 · MP 1 · Procedural and Symbolic Fluency
Let and . Where does go if you rotate with and then dilate with ?
Question 3 · MP 1 · Procedural and Symbolic Fluency
. Which point is sent to ?
Question 4 · MP 3 · Communication and Reasoning
Why does not have an inverse transformation?
Question 5 · MP 2 · Multiple Representations
Reflecting in the -axis twice is the same as which transformation?
Free-response practice
Write your answer first, then mark it against the scoring guide.
Class-test practice (Unit 4 is not on the AP Exam) · 4 points
Let (reflection in the -axis) and (horizontal stretch by 3).
- (a) Find the matrix of 'stretch with Q, then reflect with P', and the image of (2, 1).
- (b) Find the matrix that undoes this combined transformation and use it to find the point sent to (9, 4).
Scoring guide: one point for each of the following
Part (a)
Part (b)
Connected topics
Frequently asked questions
Is this on the AP Precalculus Exam?
No. Unit 4 is taught but not assessed on the AP Exam.
Do some pairs of transformations commute?
Yes. Two rotations about the origin commute, and a uniform dilation commutes with every linear transformation. Most other pairs do not.
How is this like inverse functions in Unit 2?
Exactly the same idea: the inverse sends each output back to its input, and it exists only if no two inputs share an output.