Matrices as Transformations
AP Precalculus · Parameters, Vectors, and Matrices
A matrix is a machine that moves the plane
A $2\times2$ matrix $A=\begin{pmatrix}a&b\\c&d\end{pmatrix}$ acts on a vector by $A\begin{pmatrix}x\\y\end{pmatrix}=\begin{pmatrix}ax+by\\cx+dy\end{pmatrix}$. The whole transformation is determined by two facts: the first column is the image of $\langle1,0\rangle$, the second column is the image of $\langle0,1\rangle$.
Composition is multiplication — applying $A$ then $B$ is the single matrix $BA$ (rightmost acts first), and in general $AB\neq BA$: order matters.
The determinant measures area: $\det A=ad-bc$, and any region of area $S$ maps to a region of area $|\det A|\cdot S$. If $\det A=0$ the plane collapses onto a line and the transformation cannot be undone — no inverse matrix exists.
Named transformations: rotation by $\theta$ is $\begin{pmatrix}\cos\theta&-\sin\theta\\\sin\theta&\cos\theta\end{pmatrix}$ (determinant $1$: areas preserved); dilation by $k$ is $kI$ (determinant $k^2$).
Transition-state models: when a matrix's columns are probability distributions, repeated multiplication $\vec s_{n+1}=T\vec s_n$ pushes a population between states; many systems settle into a steady state $\vec s$ with $T\vec s=\vec s$.
Worked example: composing two transformations: the order determines the result
Let $A=\begin{pmatrix}1&2\\0&1\end{pmatrix}$ (a horizontal shear) and $R=\begin{pmatrix}0&-1\\1&0\end{pmatrix}$ (a $90°$ counterclockwise rotation). Find the matrix of the transformation "rotate first, then shear" and the image of the point $(1,1)$ under it.
Solution
Rotate first, shear second ⇒ $R$ acts first ⇒ the composite matrix is $AR$ (write the transformation applied later on the left):
$$AR=\begin{pmatrix}1&2\\0&1\end{pmatrix}\begin{pmatrix}0&-1\\1&0\end{pmatrix}=\begin{pmatrix}0\cdot1+2\cdot1 & -1+0\\ 0+1 & 0\end{pmatrix}=\begin{pmatrix}2&-1\\1&0\end{pmatrix}$$The image of $(1,1)$: $\begin{pmatrix}2&-1\\1&0\end{pmatrix}\begin{pmatrix}1\\1\end{pmatrix}=\begin{pmatrix}1\\1\end{pmatrix}$, and this point happens to stay fixed.
Comparison: $RA=\begin{pmatrix}0&-1\\1&2\end{pmatrix}\neq AR$. The same two transformations in reversed order give a different machine. Verify with the same point $(1,1)$: $RA\begin{pmatrix}1\\1\end{pmatrix}=\begin{pmatrix}-1\\3\end{pmatrix}$.