To compose multiple transformation matrices, multiply them in the reverse order from which the transformations are applied. If transformation occurs first, followed by and then , the composite matrix is .
This is AHL 3.9: Matrix transformations, so it is HL-only content. The explanation assumes an IB Mathematics: Applications and Interpretation HL short-response setting, although the method can appear on any GDC-active HL paper.
Why Is the Order Reversed?
IB Mathematics represents each point by a column vector . Applying the transformations successively gives
The matrix nearest the vector acts first; each later matrix is placed to its left. This is function composition written in matrix form.
Matrix multiplication is associative, so brackets may be regrouped without changing the result. However, it is generally not commutative: . Reversing two matrices can therefore change the image, orientation, scale, or position of a shape.
| Transformations applied | Composite matrix |
|---|---|
| then | |
| , then , then |
Worked Example
Let reflect points in the -axis, rotate them anticlockwise, and stretch horizontally by scale factor :
Because the operations occur as , then , then , calculate , not :
For , the image is
Reliable Procedure
List the transformations in the order they occur, then write the image chain from the original column vector. Read the matrices from right to left, multiply them, and apply the result to the vector. If only the composite matrix is requested, stop there.
Check the result by applying each matrix separately to the same starting point. The final coordinates must match the single composite matrix. This is useful because an incorrect order can still produce plausible-looking numbers.
Exam Technique
The common misconception is multiplying in the stated order as , which makes the first transformation act last. In an IB response, show the ordered product before using the GDC and state the image as a column vector. This visible set-up provides method evidence.