Composite Transformations (AI HL)
A composite transformation applies two or more matrix transformations one after another, and the whole chain can always be written as a single matrix. The catch is order: because matrix multiplication is not commutative, "reflect then rotate" is not the same matrix as "rotate then reflect". This page covers how to build that single matrix correctly, with worked examples and the ordering mistakes that cost the most marks. It's part of the broader Matrix Transformations topic.
20 questions on this sub-topic.
Combining transformations
Covered under IB syllabus reference AHL3.9, which includes compositions of reflections, stretches, enlargements, translations and rotations expressed as matrices. Neither idea below is in the formula booklet - both are procedures you apply.
Order of composition
\(T = SR\) applies \(R\) first, then \(S\)
The transformation you do first sits on the right of the product. Read "\(S\) after \(R\)" and write \(SR\), not \(RS\).
Repeated transformations
Applying the same transformation \(n\) times is the matrix power \(M^n\)
Useful for questions like "describe \(R^2\)" for a rotation matrix \(R\) - square or cube the matrix rather than composing it with itself by hand.
Need the individual transformation matrices first? See Matrix Transformations, or the full syllabus table and GDC steps at Matrix Transformations.
Worked examples
Transformation \(T_1\) is a reflection in the \(y\)-axis (matrix \(A=\begin{pmatrix}-1&0\\0&1\end{pmatrix}\)) and \(T_2\) is a rotation of \(90^\circ\) anticlockwise (matrix \(B=\begin{pmatrix}0&-1\\1&0\end{pmatrix}\)).
Find the single matrix representing \(T_2 \circ T_1\) and apply it to the point \((3,-2).\)
Worked solution
Apply \(T_1\) first, then \(T_2\): combined matrix is \(BA.\) M1
\(BA = \begin{pmatrix}0&-1\\1&0\end{pmatrix}\begin{pmatrix}-1&0\\0&1\end{pmatrix} = \begin{pmatrix}0&-1\\-1&0\end{pmatrix}.\) A1
Apply to \((3,-2)\): \(\begin{pmatrix}0&-1\\-1&0\end{pmatrix}\begin{pmatrix}3\\-2\end{pmatrix} = \begin{pmatrix}2\\-3\end{pmatrix}.\) M1
Image \((2,-3).\) A1
A point is first reflected in the \(x\)-axis (matrix \(A=\begin{pmatrix}1&0\\0&-1\end{pmatrix}\)) and then rotated \(90^\circ\) anticlockwise (matrix \(B=\begin{pmatrix}0&-1\\1&0\end{pmatrix}\)).
Find the single matrix for the combined transformation.
Worked solution
Apply \(A\) first, then \(B\): the combined matrix is \(BA.\) M1
\[BA=\begin{pmatrix}0&-1\\1&0\end{pmatrix}\begin{pmatrix}1&0\\0&-1\end{pmatrix}\] M1
\[=\begin{pmatrix}0&1\\1&0\end{pmatrix}.\] A1
This is a reflection in \(y=x.\) A1
Common mistakes
- Multiplying composed transformations in the wrong order. "Rotation \(R\) followed by enlargement \(S\)" is the matrix \(SR\), with \(S\) on the left - not \(RS\). Matrix multiplication is not commutative, so getting the order backwards gives the wrong combined transformation entirely.
- Composing three or more matrices in the wrong sequence. With \(T_3 \circ T_2 \circ T_1\), work outward from the first transformation applied: build \(T_2 T_1\) first, then left-multiply by the matrix for \(T_3\) - don't multiply left to right as written.
- Assuming the determinant of a composite is the sum, not the product. For a combined matrix \(SR\), \(\det(SR) = \det(S)\det(R)\), so the overall area scale factor is the product of the two individual scale factors, not their sum.
Ready to practise properly?
20 composite-transformation questions, marked instantly like the real exam.
Quick answers
How do you find the matrix for a composite transformation?
Multiply the individual matrices in the order \(T=SR\), where \(R\) is the transformation applied first and \(S\) is applied second. The matrix applied first goes on the right of the product.
Does the order of composing transformations matter?
Yes. Matrix multiplication is not commutative, so \(SR\) and \(RS\) generally give different combined transformations unless the two transformations happen to commute.