Successive Transformations
Combining transformations means combining matrices — but the order you multiply in is the order the transformations are applied, read right to left.
Combining transformations
If transformation $M_1$ is applied first, followed by $M_2$, the single matrix representing the combined transformation is $M_2M_1$ — not $M_1M_2$. The matrix applied first is written on the right, closest to the coordinate vector, since $M_2(M_1\mathbf{x})=(M_2M_1)\mathbf{x}$.
Read composite transformations right to left: in $M_2M_1\mathbf{x}$, $\mathbf{x}$ is transformed by $M_1$ first, then the result is transformed by $M_2$. Getting this order backwards is one of the most common errors in this topic.
The combined matrix is $M_2M_1$:
This composite matrix represents reflection in the line $y=-x$ (matching the standard reflection matrix from the previous lesson).
Using the combined matrix $M_2M_1=\begin{pmatrix}0&-1\\-1&0\end{pmatrix}$:
$\begin{pmatrix}0&-1\\-1&0\end{pmatrix}\begin{pmatrix}4\\1\end{pmatrix}=\begin{pmatrix}-1\\-4\end{pmatrix}$.
Order matters: a worked comparison
$M_2M_1=\begin{pmatrix}0&1\\1&0\end{pmatrix}\begin{pmatrix}2&0\\0&1\end{pmatrix}=\begin{pmatrix}0&1\\2&0\end{pmatrix}$.
$M_1M_2=\begin{pmatrix}2&0\\0&1\end{pmatrix}\begin{pmatrix}0&1\\1&0\end{pmatrix}=\begin{pmatrix}0&2\\1&0\end{pmatrix}$.
These are different matrices, confirming $M_2M_1\neq M_1M_2$: "stretch then reflect" is a genuinely different transformation from "reflect then stretch."
$R=\begin{pmatrix}0&-1\\1&0\end{pmatrix}$, $E=\begin{pmatrix}3&0\\0&3\end{pmatrix}$, $F=\begin{pmatrix}1&0\\0&-1\end{pmatrix}$.
Applied in order $R$, then $E$, then $F$, the combined matrix is $FER$ (last applied on the left):
$ER=\begin{pmatrix}3&0\\0&3\end{pmatrix}\begin{pmatrix}0&-1\\1&0\end{pmatrix}=\begin{pmatrix}0&-3\\3&0\end{pmatrix}$.
$FER=\begin{pmatrix}1&0\\0&-1\end{pmatrix}\begin{pmatrix}0&-3\\3&0\end{pmatrix}=\begin{pmatrix}0&-3\\-3&0\end{pmatrix}$.
Writing $M_1M_2$ instead of $M_2M_1$ for "$M_1$ then $M_2$" is the single most common error in this topic. A useful mnemonic: the transformation applied first sits closest to the vector it's multiplying.
Exam-style questions
Question 1 5 marks
$M_1$ represents an enlargement scale factor $2$; $M_2=\begin{pmatrix}0&1\\1&0\end{pmatrix}$ represents reflection in $y=x$. Find the single matrix for "enlargement, then reflection" and use it to find the image of $(3,-1)$.
$M_1=\begin{pmatrix}2&0\\0&2\end{pmatrix}$; combined matrix is $M_2M_1$ (M1)
$M_2M_1=\begin{pmatrix}0&1\\1&0\end{pmatrix}\begin{pmatrix}2&0\\0&2\end{pmatrix}=\begin{pmatrix}0&2\\2&0\end{pmatrix}$ (M1, A1)
$\begin{pmatrix}0&2\\2&0\end{pmatrix}\begin{pmatrix}3\\-1\end{pmatrix}=\begin{pmatrix}-2\\6\end{pmatrix}$ (M1, A1)
Question 2 6 marks
$M_1$ represents rotation by $90°$ anticlockwise, and $M_2$ represents rotation by $180°$. Find the single matrix for "$M_1$ then $M_2$", and identify the overall transformation.
$M_1=\begin{pmatrix}0&-1\\1&0\end{pmatrix}$, $M_2=\begin{pmatrix}-1&0\\0&-1\end{pmatrix}$ (B1, B1)
$M_2M_1=\begin{pmatrix}-1&0\\0&-1\end{pmatrix}\begin{pmatrix}0&-1\\1&0\end{pmatrix}=\begin{pmatrix}0&1\\-1&0\end{pmatrix}$ (M1, A1)
This represents rotation by $270°$ ($=90°+180°$) anticlockwise, equivalently $90°$ clockwise. (A1, A1)
Question 3 6 marks
Given $A=\begin{pmatrix}1&2\\0&1\end{pmatrix}$ and $B=\begin{pmatrix}2&0\\1&1\end{pmatrix}$, find $AB$ and $BA$, and use the results to confirm that composing transformations is not commutative.
$AB=\begin{pmatrix}1&2\\0&1\end{pmatrix}\begin{pmatrix}2&0\\1&1\end{pmatrix}=\begin{pmatrix}4&2\\1&1\end{pmatrix}$ (M1, A1)
$BA=\begin{pmatrix}2&0\\1&1\end{pmatrix}\begin{pmatrix}1&2\\0&1\end{pmatrix}=\begin{pmatrix}2&4\\1&3\end{pmatrix}$ (M1, A1)
$AB\neq BA$, confirming that "apply $B$ then $A$" differs from "apply $A$ then $B$." (B1, B1)