Matrix transformations AI HL

A matrix transformation sends every point to its image by multiplying the point, written as a column, on the left by a two by two matrix, and a translation is added afterwards. The columns of the matrix are the images of the points one unit along each axis, the determinant gives the area scale factor, and two transformations in a row make one matrix with the first transformation on the right. The calculator in matrix mode does the multiplying, so the marks are for choosing the right matrix, the right order and the right reading of the result. Work through the two sections in order, because the second uses the first.

Formulas at a glance

The booklet gives the matrices for stretches, enlargements and rotations about the origin, and the determinant of a 2×22\times2 matrix. The matrices for reflections, the translation form, the area scale factor and the order of composition are not in it, so learn them.

Applying a matrix to a point

(abcd)(xy)=(ax+bycx+dy)\begin{pmatrix}a&b\\c&d\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix}=\begin{pmatrix}ax+by\\cx+dy\end{pmatrix}

Not in the booklet

A matrix transformation followed by a translation

(abcd)(xy)+(ef)\begin{pmatrix}a&b\\c&d\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix}+\begin{pmatrix}e\\f\end{pmatrix}

Not in the booklet

Horizontal stretch, vertical stretch and enlargement, scale factor kk

(k001), (100k), (k00k)\begin{pmatrix}k&0\\0&1\end{pmatrix},\ \begin{pmatrix}1&0\\0&k\end{pmatrix},\ \begin{pmatrix}k&0\\0&k\end{pmatrix}

In the booklet

Anticlockwise rotation about the origin

R=(cos⁡θ−sin⁡θsin⁡θcos⁡θ)R=\begin{pmatrix}\cos\theta&-\sin\theta\\\sin\theta&\cos\theta\end{pmatrix}

In the booklet

Reflections in the xx-axis, the yy-axis and the line y=xy=x

(100−1), (−1001), (0110)\begin{pmatrix}1&0\\0&-1\end{pmatrix},\ \begin{pmatrix}-1&0\\0&1\end{pmatrix},\ \begin{pmatrix}0&1\\1&0\end{pmatrix}

Not in the booklet

Determinant of a 2×22\times2 matrix

det(abcd)=ad−bc\det\begin{pmatrix}a&b\\c&d\end{pmatrix}=ad-bc

In the booklet

Area scale factor of a transformation

area of image=|detA|×area of object\text{area of image}=|\det A|\times\text{area of object}

Not in the booklet

Two transformations in a row: the matrix of the first goes on the right

T=SRT=SR

Not in the booklet

The same transformation applied nn times

MnM^n

Not in the booklet

Which method to use

Decide first whether the question gives you a matrix or asks you to find one, and whether one transformation or several are involved. A single transformation needs one matrix; a list of transformations needs a product of matrices in the right order.

The question hasUseNotes
A transformation described in words: a reflection, stretch, enlargement or rotationThe matrix from the booklet, or the images of the two unit points as its columnsReflections are not in the booklet, so build them from the images of (1,0)(1,0) and (0,1)(0,1)
A matrix and a point, or the vertices of a shapeWrite each point as a column and multiply on the left by the matrixIn matrix mode the calculator does each multiplication; give each image as coordinates
A transformation followed by a translationMultiply by the matrix first, then add the translation vectorA translation has no matrix of its own in this form
The area of an image, or an area scale factor|detA|×|\det A|\times the area of the objectA negative determinant still gives a positive area scale factor
One transformation after anotherThe single matrix SRSR, where RR is applied firstCheck the order on one point: apply the two matrices one at a time
The area scale factor of two or more transformations togetherThe product of the individual area scale factorsThe same as |det(SR)||\det(SR)|
The same transformation applied several timesThe matrix power MnM^nRaise the matrix to the power on the calculator, then apply it to the point

Section 1 of 2 AHL3.9

Matrix transformations

A matrix transformation maps each point (x,y)(x,y) to a new point by multiplying its column vector on the left by a 2×22\times2 matrix. The columns of the matrix are the images of (1,0)(1,0) and (0,1)(0,1), which is how the matrices for reflections, rotations, stretches and enlargements are built. A translation is added after the multiplication, and the determinant gives the area scale factor.

Building and applying the matrix

The rule below is not in the formula booklet: it is a shortcut for building a matrix, and it follows from how a matrix multiplies a column vector.

Building the matrix from basis images

Image of (1,0)(1,0) is column 1; image of (0,1)(0,1) is column 2

If a question tells you where TT sends (1,0)(1,0) and (0,1)(0,1), stack those images as the columns of MM - no multiplying required.

Ready to combine more than one of these? See Composite transformations.

Key terms

What is the matrix for a rotation about the origin?

A rotation of angle θ\theta anticlockwise about the origin has matrix (cos⁡θ−sin⁡θsin⁡θcos⁡θ)\begin{pmatrix}\cos\theta&-\sin\theta\\\sin\theta&\cos\theta\end{pmatrix}. A clockwise rotation uses a negative angle.

e.g. For θ=180∘\theta=180^{\circ} the matrix is (−100−1)\begin{pmatrix}-1&0\\0&-1\end{pmatrix}, which maps (3,2)(3,2) to (−3,−2)(-3,-2).

What is the matrix for a reflection in the line y=xy=x?

Reflection in y=xy=x swaps the coordinates, so its matrix is (0110)\begin{pmatrix}0&1\\1&0\end{pmatrix}.

e.g. This matrix maps (2,5)(2,5) to (5,2)(5,2).

How is a stretch written as a matrix?

A horizontal stretch with scale factor kk has matrix (k001)\begin{pmatrix}k&0\\0&1\end{pmatrix}, and a vertical stretch has matrix (100k)\begin{pmatrix}1&0\\0&k\end{pmatrix}. The kk sits in the position that scales the relevant coordinate.

e.g. The matrix (3001)\begin{pmatrix}3&0\\0&1\end{pmatrix} maps (2,5)(2,5) to (6,5)(6,5), a horizontal stretch with scale factor 33.

What does the determinant tell you about area?

The area of the image equals |detA||\det A| times the area of the object. A negative determinant does not give a negative area because the absolute value is used.

e.g. The matrix (2113)\begin{pmatrix}2&1\\1&3\end{pmatrix} has determinant 6−1=56-1=5, so a shape of area 33 maps to a shape of area 1515.

Worked example, step by step

The question Calculator needed (matrix mode) [6 marks]

A designer plots a triangular logo on a grid with units of 1 cm. Its vertices are A(2,1)A(2,1), B(6,1)B(6,1) and C(2,4)C(2,4). A software package transforms every point (x,y)(x,y) of the logo using the matrix M=(31−12)M=\begin{pmatrix}3&1\\ -1&2\end{pmatrix}.

(a) Find the coordinates of B′B', the image of BB.

(b) Find detM\det M.

(c) Hence find the area of the image of triangle ABCABC.

Worked solution: worked example

Answer: (a) B′=(19,−4)B'=(19,-4) (b) detM=7\det M=7 (c) 42 cm242\ \text{cm}^2

Step 1 - Write the point as a column.

Write BB as (61)\begin{pmatrix}6\\1\end{pmatrix} and multiply it on the left by MM: B′=(31−12)(61).B'=\begin{pmatrix}3&1\\ -1&2\end{pmatrix}\begin{pmatrix}6\\1\end{pmatrix}. M1 - Multiply MM by the column vector for BB

Why? The matrix goes on the left of the column, because the matrix acts on the point. Written the other way round the product is not defined.

Step 2 - Multiply.

In matrix mode, store MM as a 2×22\times2 matrix and BB as a 2×12\times1 matrix, then enter the product M×BM\times B. The calculator shows 1919 and −4-4. By hand, 3(6)+1(1)=193(6)+1(1)=19 and −1(6)+2(1)=−4-1(6)+2(1)=-4, so B′=(19,−4).B'=(19,-4). A1 - B′=(19,−4)B'=(19,-4)

Why? Each entry of the answer is a row of MM multiplied by the column. Give the image as coordinates, not as a column, if the question asks for coordinates.

Step 3 - Find the determinant.

detM=(3)(2)−(1)(−1)=7.\det M=(3)(2)-(1)(-1)=7. The determinant command in matrix mode gives the same value. A1 - detM=7\det M=7

Why? The determinant of (abcd)\begin{pmatrix}a&b\\c&d\end{pmatrix} is ad−bcad-bc, which is in the booklet. It is the factor by which the transformation changes area, apart from the sign.

Step 4 - Find the area of the object.

Triangle ABCABC has a horizontal side ABAB of length 44 and a vertical side ACAC of length 33, so area=12×4×3=6 cm2.\text{area}=\tfrac12\times4\times3=6\ \text{cm}^2. A1 - Area of triangle ABCABC is 66

Why? The rule for the image needs the area of the original, so find it first. Here the two sides meeting at AA are perpendicular, which makes the base and height easy to read.

Step 5 - Use the determinant.

area of image=|detM|×area of object=7×6=42 cm2.\text{area of image}=|\det M|\times\text{area of object}=7\times6=42\ \text{cm}^2. M1 - Multiply the area of the object by |detM||\det M| A1 - 42 cm242\ \text{cm}^2

Why? The absolute value matters when the determinant is negative, because an area cannot be negative. Here detM\det M is positive, so the area is multiplied by 77.

Marks (6):
M1 Multiply MM by the column vector for BB
A1 B′=(19,−4)B'=(19,-4)
A1 detM=7\det M=7
A1 Area of triangle ABCABC is 66
M1 Multiply the area of the object by |detM||\det M|
A1 42 cm242\ \text{cm}^2

Now you try: enter your answers to be marked

These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.

1
Medium
No calc
[5 marks]
The unit square has vertices O(0,0), A(1,0), B(1,1), C(0,1).O(0,0),\ A(1,0),\ B(1,1),\ C(0,1).
Apply the rotation matrix R=(0−110)R = \begin{pmatrix}0&-1\\1&0\end{pmatrix} to find the image of each vertex.
-112-1120OABCxy
(a)(i) Find the image of OO.
[1]
(a)(ii) Find the image of AA.
[1]
(a)(iii) Find the image of BB.
[1]
(a)(iv) Find the image of CC.
[1]
(b) Describe the image square.
[1]
Fractions & powers
Other

Worked solution: practice question 1

2
Hard
Calculator
[5 marks]
A triangle has vertices (0,0),(2,0),(0,3).(0,0), (2,0), (0,3). Find the images of the vertices under M=(2001).M=\begin{pmatrix}2&0\\0&1\end{pmatrix}.
-112345-1123450xy
(a)(i) Find the image of (0,0)(0,0).
[2]
(a)(ii) Find the image of (2,0)(2,0).
[1]
(a)(iii) Find the image of (0,3)(0,3).
[2]
Fractions & powers
Other

Worked solution: practice question 2

3
Medium
No calc
[7 marks]
A transformation TT maps e1=(10)\mathbf e_1 = \begin{pmatrix}1\\0\end{pmatrix} to (3−1)\begin{pmatrix}3\\-1\end{pmatrix} and e2=(01)\mathbf e_2 = \begin{pmatrix}0\\1\end{pmatrix} to (02).\begin{pmatrix}0\\2\end{pmatrix}.

Let MM be the matrix of T.T.
(a)(i) Find the top-left entry of M.M.
[2]
(a)(ii) State the top-right entry.
[1]
(a)(iii) State the bottom-left entry.
[1]
(a)(iv) State the bottom-right entry.
[1]
(b) Find the image of the point (2,5).(2, 5).
[2]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 17 marks

Common mistakes

  • Writing the point as a row vector instead of a column vector. Always multiply the transformation matrix by the point written as a column vector, M(xy)M\begin{pmatrix}x\\y\end{pmatrix} - multiplying the other way round gives a different, incorrect result.
  • Swapping the columns when building a matrix from basis images. The image of (1,0)(1,0) is always column 1 and the image of (0,1)(0,1) is always column 2 - putting them in the wrong order produces the transpose of the correct matrix.
  • Giving a negative area. A matrix with determinant −3-3 multiplies areas by |−3|=3|-3|=3, not by −3-3: an area is never negative, so use the absolute value of the determinant.

Try some questions on matrix transformations

Section 2 of 2 AHL3.9

Composite transformations

A composite transformation applies one matrix transformation after another, and the combined effect is a single matrix equal to the product of the individual matrices. If RR is applied first and SS second, the single matrix is SRSR, so the first transformation is written on the right. Because matrix multiplication is not commutative, SRSR and RSRS usually give different results.

Need the individual transformation matrices first? See Matrix transformations.

Key terms

What is a composite transformation?

A composite transformation is two or more transformations carried out one after another. The final image is the result of applying each transformation to the image of the one before.

e.g. Reflecting a point in the xx-axis and then enlarging with scale factor 22 about the origin is a composite transformation.

Why is the first transformation written on the right?

A matrix multiplies a point's column vector from the left, so the matrix next to the point acts first. In SR(xy)SR\begin{pmatrix}x\\y\end{pmatrix}, the point is multiplied by RR, and SS is then applied to the result.

e.g. If RR is a rotation and SS is a reflection, SR(xy)=S(R(xy))SR\begin{pmatrix}x\\y\end{pmatrix}=S\left(R\begin{pmatrix}x\\y\end{pmatrix}\right) rotates first and reflects second.

How do you multiply two 2×22\times2 matrices?

Each entry is the sum of products of a row of the left matrix with a column of the right matrix. Take rows from the left matrix and columns from the right one.

e.g. (2002)(0−110)=(0−220)\begin{pmatrix}2&0\\0&2\end{pmatrix}\begin{pmatrix}0&-1\\1&0\end{pmatrix}=\begin{pmatrix}0&-2\\2&0\end{pmatrix}, the single matrix for a rotation of 90∘90^{\circ} followed by an enlargement of scale factor 22.

How does the determinant behave for a composite?

The determinant of a product is the product of the determinants, so det(SR)=detS×detR\det(SR)=\det S\times\det R. The area of the final image is |det(SR)||\det(SR)| times the area of the object.

e.g. An enlargement of scale factor 33 has determinant 99 and a rotation has determinant 11, so the composite has determinant 99 and multiplies areas by 99.

Worked example, step by step

The question Calculator needed (matrix mode, degrees) [6 marks]

A game moves points on a screen in two stages. Stage 1 is a horizontal stretch with scale factor 33, with matrix S=(3001)S=\begin{pmatrix}3&0\\0&1\end{pmatrix}. Stage 2 is a rotation through 60∘60^\circ anticlockwise about the origin, with matrix RR.

(a) Write down the matrix RR, giving each entry to 3 significant figures.

(b) Find the single matrix MM that carries out stage 1 and then stage 2, giving each entry to 3 significant figures.

(c) Find the image of the point (2,5)(2,5) after both stages.

(d) Find the area scale factor of the two stages together.

Worked solution: worked example

Answer: (a) R=(0.500−0.8660.8660.500)R=\begin{pmatrix}0.500&-0.866\\0.866&0.500\end{pmatrix} (b) M=(1.50−0.8662.600.500)M=\begin{pmatrix}1.50&-0.866\\2.60&0.500\end{pmatrix} (c) (−1.33, 7.70)(-1.33,\ 7.70) (d) 33

Step 1 - Write down the rotation matrix.

R=(cos⁡60∘−sin⁡60∘sin⁡60∘cos⁡60∘)=(0.500−0.8660.8660.500).R=\begin{pmatrix}\cos60^\circ&-\sin60^\circ\\\sin60^\circ&\cos60^\circ\end{pmatrix}=\begin{pmatrix}0.500&-0.866\\0.866&0.500\end{pmatrix}. The calculator must be in degree mode for this step. A1 - R=(0.500−0.8660.8660.500)R=\begin{pmatrix}0.500&-0.866\\0.866&0.500\end{pmatrix}

Why? The rotation matrix is in the booklet, and a positive angle means anticlockwise. A calculator in radian mode would give the sine and cosine of 6060 radians, which is wrong.

Step 2 - Choose the order of the product.

Stage 1 is applied first, so SS is the matrix next to the point, and stage 2 is applied to the result: M=RS.M=RS. M1 - Multiply the matrices in the order RSRS

Why? The point is a column on the right, so the matrix next to it acts first. Writing SRSR would stretch after rotating, which is a different transformation.

Step 3 - Multiply in matrix mode.

Store RR and SS, keeping the unrounded entries of RR, and enter R×SR\times S: M=(1.50−0.8662.600.500).M=\begin{pmatrix}1.50&-0.866\\2.60&0.500\end{pmatrix}. A1 - M=(1.50−0.8662.600.500)M=\begin{pmatrix}1.50&-0.866\\2.60&0.500\end{pmatrix}

Why? Each entry is a row of RR times a column of SS; for example the top left entry is 0.5×3+(−0.866…)×0=1.50.5\times3+(-0.866\ldots)\times0=1.5. Rounding is left until the end.

Step 4 - Apply MM to the point.

M(25)=(1.50(2)−0.866(5)2.60(2)+0.500(5))=(−1.337.70).M\begin{pmatrix}2\\5\end{pmatrix}=\begin{pmatrix}1.50(2)-0.866(5)\\2.60(2)+0.500(5)\end{pmatrix}=\begin{pmatrix}-1.33\\7.70\end{pmatrix}. The image is (−1.33, 7.70)(-1.33,\ 7.70). M1 - Multiply MM by the column (25)\begin{pmatrix}2\\5\end{pmatrix} A1 - (−1.33, 7.70)(-1.33,\ 7.70)

Why? One multiplication by MM does both stages at once. As a check, stretching (2,5)(2,5) gives (6,5)(6,5), and rotating that through 60∘60^\circ gives the same point.

Step 5 - Find the area scale factor.

detM=3.00.\det M=3.00. This is the same as detR×detS=1×3\det R\times\det S=1\times3, because the area scale factor of two stages together is the product of the two scale factors. A1 - Area scale factor 33

Why? Rotating does not change area, so only the stretch does: areas are multiplied by 33. The determinant is positive, so |detM|=3|\det M|=3 as well.

Marks (6):
A1 R=(0.500−0.8660.8660.500)R=\begin{pmatrix}0.500&-0.866\\0.866&0.500\end{pmatrix}
M1 Multiply the matrices in the order RSRS
A1 M=(1.50−0.8662.600.500)M=\begin{pmatrix}1.50&-0.866\\2.60&0.500\end{pmatrix}
M1 Multiply MM by the column (25)\begin{pmatrix}2\\5\end{pmatrix}
A1 (−1.33, 7.70)(-1.33,\ 7.70)
A1 Area scale factor 33

Now you try: enter your answers to be marked

1
Medium
No calc
[3 marks]
Transformation T1T_1 has matrix AA with detA=1\det A = 1 and T2T_2 has matrix BB with detB=−1.\det B = -1.
(a) Find the area scale factor of T2∘T1.T_2\circ T_1.
[2]
(b) Find the determinant of the matrix of T2∘T1.T_2\circ T_1.
[1]
Fractions & powers
Other

Worked solution: practice question 1

2
Hard
Calculator
[6 marks]
A rectangle has vertices O(0,0),A(2,0),B(2,1),C(0,1).O(0,0), A(2,0), B(2,1), C(0,1).
T1T_1 = reflection in yy-axis (P=(−1001)P = \begin{pmatrix}-1&0\\0&1\end{pmatrix}), T2T_2 = rotation 90∘90^\circ anticlockwise (Q=(0−110)Q = \begin{pmatrix}0&-1\\1&0\end{pmatrix}).

The transformation T2∘T1T_2\circ T_1 is applied to the rectangle.
-1123-1120OABCxy
(a)(i) Find the image of OO.
[3]
(a)(ii) Find the image of AA.
[1]
(a)(iii) Find the image of BB.
[1]
(a)(iv) Find the image of CC.
[1]
Fractions & powers
Other

Worked solution: practice question 2

3
Medium
No calc
[5 marks]
A reflection in the xx-axis is F=(100−1)F = \begin{pmatrix}1&0\\0&-1\end{pmatrix} and a scaling by 2 is S=(2002)S = \begin{pmatrix}2&0\\0&2\end{pmatrix}.

Find the single matrix for "first FF, then SS".
(a) Find the top-left entry.
[2]
(b) State the top-right entry.
[1]
(c) State the bottom-left entry.
[1]
(d) State the bottom-right entry.
[1]
Fractions & powers
Other

Worked solution: practice question 3

Your score so far: 0 out of 14 marks

Common mistakes

  • Multiplying composed transformations in the wrong order. "Rotation RR followed by enlargement SS" is the matrix SRSR, with SS on the left - not RSRS. 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. If T1T_1 is applied first, then T2T_2, then T3T_3, the single matrix is T3T2T1T_3T_2T_1, with the first transformation on the right. Writing the matrices in the order they are applied, T1T2T3T_1T_2T_3, gives a different matrix.
  • Assuming the determinant of a composite is the sum, not the product. For a combined matrix SRSR, det(SR)=det(S)det(R)\det(SR) = \det(S)\det(R), so the overall area scale factor is the product of the two individual scale factors, not their sum.

Try some questions on composite transformations

Using your GDC

The exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, with what the screen shows. Pick your calculator.

Matrix operations and solving systems

Used in: Matrix transformations, Composite transformations

How to use matrices on a TI-84 Plus CE

Enter a matrix

Press 2nd x⁻¹ (MATRIX), press ▶ twice to reach EDIT, choose 1:[A] and press enter.

Type the size, 2 enter 2 enter for 2 rows and 2 columns, then type the numbers row by row, pressing enter after each one. Use (−) for a negative number.

MATRIX[A] 2 ×2
[[2  1]
[1  3]]

Enter the second matrix the same way in 2:[B] and the right-hand side as a 2 by 1 matrix in 3:[C]. Press 2nd mode (QUIT) when you have finished.

MATRIX[C] 2 ×1
[[5]
[10]]
Add, multiply, determinant and inverse

On the home screen press 2nd x⁻¹ (MATRIX), choose 1:[A] from the NAMES list and press enter. Then press +, paste [B] in the same way, and press enter. A matrix name can only be pasted from this menu, not typed. Use × instead of + to multiply.

A+B=(3347)A + B = \begin{pmatrix}3 & 3 \\ 4 & 7\end{pmatrix} and AB=(581014)AB = \begin{pmatrix}5 & 8 \\ 10 & 14\end{pmatrix}.

[A]+[B]
[[3  3]
[4  7]]
[A]*[B]
[[5  8]
[10  14]]

For the determinant, press 2nd x⁻¹ (MATRIX), press ▶ to reach MATH, choose 1:det(, paste [A] from NAMES, type ) and press enter.

detA=5\det A = 5.

det([A])
5

For the inverse, paste [A], press x⁻¹, then enter. The answer is in decimals. To see fractions, press math, choose 1:▶Frac and press enter.

A−1=15(3−1−12)A^{-1} = \dfrac{1}{5}\begin{pmatrix}3 & -1 \\ -1 & 2\end{pmatrix}, which is (0.6−0.2−0.20.4)\begin{pmatrix}0.6 & -0.2 \\ -0.2 & 0.4\end{pmatrix} in decimal form.

[A]-1
[[0.6  −0.2]
[−0.2  0.4]]
Ans▶Frac
[[3/5  −1/5]
[−1/5  2/5]]
Solve a system with the inverse

To solve Ax=bA\mathbf{x} = \mathbf{b}, paste [A], press x⁻¹, then ×, paste [C] and press enter. The inverse must come first: A−1bA^{-1}\mathbf{b} is not the same as bA−1\mathbf{b}A^{-1}.

x=1x = 1 and y=3y = 3.

[A]-1*[C]
[[1]
[3]]

Paste matrix names from the MATRIX menu rather than typing them, and put the inverse on the left when you solve a system.

The full guide: Matrix operations and solving systems

See the full list of GDC guides for every calculator task.

Syllabus content covered

CodeSyllabus content
AHL3.9Geometric transformations of points in two dimensions using matrices: reflections, horizontal and vertical stretches, enlargements, translations and rotations. Matrix transformations of the form (abcd)(xy)+(ef)\begin{pmatrix}a&b\\c&d\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix}+\begin{pmatrix}e\\f\end{pmatrix}. Compositions of the above transformations. Geometric interpretation of the determinant of a transformation matrix: area of image =|detA|×=|\det A|\timesarea of object.

Official IB source: Mathematics: applications and interpretation subject brief (PDF, ibo.org).

Quick questions

How do you apply a transformation matrix to a point?

Write the point as a column vector and multiply it on the left by the transformation matrix: (abcd)(xy)=(ax+bycx+dy).\begin{pmatrix}a&b\\c&d\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix}=\begin{pmatrix}ax+by\\cx+dy\end{pmatrix}.

How do you find the matrix for a composite transformation?

Multiply the individual matrices in the order T=SRT=SR, where RR is the transformation applied first and SS is applied second. The matrix applied first goes on the right of the product.

How do you find the matrix of a transformation from where it sends the basis vectors?

The image of (1,0)(1,0) becomes the first column of the matrix and the image of (0,1)(0,1) becomes the second column.

Does the order of composing transformations matter?

Yes. Matrix multiplication is not commutative, so SRSR and RSRS generally give different combined transformations unless the two transformations happen to commute.

What is the matrix for an enlargement about the origin?

An enlargement with scale factor kk has matrix (k00k)\begin{pmatrix}k&0\\0&k\end{pmatrix}. For k=3k=3, the point (1,2)(1,2) maps to (3,6)(3,6).

How do I find the image of a point after a composite transformation?

Either apply the transformations to the point one at a time in order, or multiply the point by the single matrix SRSR. For example, rotating (2,1)(2,1) by 90∘90^{\circ} anticlockwise gives (−1,2)(-1,2), and reflecting that in the xx-axis gives (−1,−2)(-1,-2).

How do I include a translation with a matrix transformation?

Multiply by the matrix first, then add the translation vector: (abcd)(xy)+(ef)\begin{pmatrix}a&b\\c&d\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix}+\begin{pmatrix}e\\f\end{pmatrix}. For example, a 90∘90^{\circ} anticlockwise rotation followed by a translation of (23)\begin{pmatrix}2\\3\end{pmatrix} maps (3,1)(3,1) to (−1,3)(-1,3) and then to (1,6)(1,6).

How do I combine three transformations?

Write the matrices in reverse order of application. If AA is applied first, then BB, then CC, the single matrix is CBACBA.

How can I tell an enlargement from a stretch by its matrix?

An enlargement has the same number kk in both diagonal positions with zeros elsewhere, so it scales every direction equally. A stretch has a 11 in one diagonal position, so it scales only one direction.

How can I check that I multiplied in the right order?

Test the matrix on one point. With a rotation RR of 90∘90^{\circ} anticlockwise followed by a reflection SS in the xx-axis, the point (2,0)(2,0) goes to (0,2)(0,2) and then to (0,−2)(0,-2). That is twice the first column of SRSR, so the first column must be (0−1)\begin{pmatrix}0\\-1\end{pmatrix}.

Ready to practise properly?

Practice questions on every section, marked instantly like the real exam.