Scribe logoScribeNotes & practice
Sign inStart free
  1. Notes
  2. ›IB Mathematics: Applications and Interpretation
  3. ›3 Geometry and trigonometry
  4. ›3.9 Matrix transformations

IB Mathematics: Applications and Interpretation · Topic 3 · Geometry and trigonometry

3.9 Matrix transformations

Represent rotations, reflections, stretches and enlargements with 2×22\times22×2 matrices, combine them by multiplication, and use the determinant to find how area changes.

  • 4 min read
  • 5 parts
  • 10 questions
  • Draft
  • HL only
Start a Quick 5 on this topic→Jump to the 10 questions
1/5A matrix can move every point of the plane
  1. 1A matrix can move every point of the plane
  2. 2Matrix columns show where the axis points go
  3. 3Standard transformations have standard matrices
  4. 4Multiplying matrices combines transformations into one
  5. 5The determinant tells you how area changes
  6. Check your recall
  7. Practice: 10 questions
1

Part 1 of 5: A matrix can move every point of the plane

A mirror reflection or a turn about a pin moves every point of a shape. Each point lands in a new place, called its image. A transformation is a rule that gives every point its image.

Many transformations can be written as a 2×22\times22×2 matrix. To use one, write the point as a column vector and multiply. The matrix is then a transformation matrix. In general, (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}(ac​bd​)(xy​)=(ax+bycx+dy​). The origin always stays fixed.

Take (2103)\begin{pmatrix}2&1\\0&3\end{pmatrix}(20​13​) and the point (1,2)(1,2)(1,2). The image is (2×1+1×2, 0×1+3×2)=(4,6)(2\times1+1\times2,\ 0\times1+3\times2)=(4,6)(2×1+1×2, 0×1+3×2)=(4,6). The same method works for any point, and each image needs just one multiplication.

Key terms · tap one for its definition

transformation

A transformation is a rule that sends each point of the plane to exactly one image point.

transformation matrix

A transformation matrix is a 2×22\times22×2 matrix that sends the column vector of a point (x,y)(x,y)(x,y) to the column vector of its image by multiplication.

Part 1 done

2

Part 2 of 5: Matrix columns show where the axis points go

Now that matrices can move points, the next task is building the right matrix. One fact makes this easy. Multiplying a matrix by (1,0)(1,0)(1,0) picks out its first column. Multiplying by (0,1)(0,1)(0,1) picks out its second column.

So the columns of a transformation matrix are the images of (1,0)(1,0)(1,0) and (0,1)(0,1)(0,1). Find where those two points go, then write the results as columns.

Figure 1. The columns of the matrix are the images of (1, 0) and (0, 1). The unit square becomes a parallelogram.

In the figure, (1,0)(1,0)(1,0) goes to (2,0)(2,0)(2,0) and (0,1)(0,1)(0,1) goes to (1,1)(1,1)(1,1). The matrix is therefore (2101)\begin{pmatrix}2&1\\0&1\end{pmatrix}(20​11​). Every other point is a combination of the two, so two images define the whole transformation.

Part 2 done

Quick check

One question on the part you just read

Easy

Identify the matrix that reflects points in the xxx-axis.
Show answer and explanation

Answer: A · Worked explanation

The point (1,0)(1,0)(1,0) stays where it is and (0,1)(0,1)(0,1) goes to (0,−1)(0,-1)(0,−1). Writing those images as columns gives the correct matrix. The matrix with -1 only in the top left reflects in the yyy-axis. The matrix with -1 in both diagonal places turns every point through a half turn about the origin.
3

Part 3 of 5: Standard transformations have standard matrices

The column method gives the matrices for the most common transformations. Each one comes from tracking where the two axis points go. In every rotation, a positive angle means anticlockwise about the origin.

Standard transformations with the origin as centre

TransformationMatrix
Rotation by θ\thetaθ anticlockwise(cos⁡θ−sin⁡θsin⁡θcos⁡θ)\begin{pmatrix}\cos\theta&-\sin\theta\\ \sin\theta&\cos\theta\end{pmatrix}(cosθsinθ​−sinθcosθ​)
Reflection in the xxx-axis(100−1)\begin{pmatrix}1&0\\0&-1\end{pmatrix}(10​0−1​)
Reflection in the yyy-axis(−1001)\begin{pmatrix}-1&0\\0&1\end{pmatrix}(−10​01​)
Reflection in the line y=xy=xy=x(0110)\begin{pmatrix}0&1\\1&0\end{pmatrix}(01​10​)
Horizontal stretch, scale factor kkk(k001)\begin{pmatrix}k&0\\0&1\end{pmatrix}(k0​01​)
Enlargement, scale factor kkk(k00k)\begin{pmatrix}k&0\\0&k\end{pmatrix}(k0​0k​)
Transformation
Rotation by θ\thetaθ anticlockwise
Matrix
(cos⁡θ−sin⁡θsin⁡θcos⁡θ)\begin{pmatrix}\cos\theta&-\sin\theta\\ \sin\theta&\cos\theta\end{pmatrix}(cosθsinθ​−sinθcosθ​)
Transformation
Reflection in the xxx-axis
Matrix
(100−1)\begin{pmatrix}1&0\\0&-1\end{pmatrix}(10​0−1​)
Transformation
Reflection in the yyy-axis
Matrix
(−1001)\begin{pmatrix}-1&0\\0&1\end{pmatrix}(−10​01​)
Transformation
Reflection in the line y=xy=xy=x
Matrix
(0110)\begin{pmatrix}0&1\\1&0\end{pmatrix}(01​10​)
Transformation
Horizontal stretch, scale factor kkk
Matrix
(k001)\begin{pmatrix}k&0\\0&1\end{pmatrix}(k0​01​)
Transformation
Enlargement, scale factor kkk
Matrix
(k00k)\begin{pmatrix}k&0\\0&k\end{pmatrix}(k0​0k​)

A vertical stretch with scale factor kkk uses (100k)\begin{pmatrix}1&0\\0&k\end{pmatrix}(10​0k​). A stretch changes distances in one direction only. An enlargement changes them in every direction by the same scale factor. If k>1k>1k>1 the shape grows, and if 0<k<10<k<10<k<1 it shrinks.

Exam tip

To check a rotation matrix, look at its first column. It must be (cos⁡θ,sin⁡θ)(\cos\theta,\sin\theta)(cosθ,sinθ), the image of (1,0)(1,0)(1,0).

Key terms · tap one for its definition

stretch

A stretch is a transformation that multiplies coordinates in one direction by a scale factor kkk and leaves the perpendicular direction unchanged.

enlargement

An enlargement with the origin as centre and scale factor kkk multiplies every distance from the origin by kkk.

Part 3 done

4

Part 4 of 5: Multiplying matrices combines transformations into one

Often a shape is moved by one transformation and then by another. Instead of working point by point, combine the two matrices into one. This saves work when the same pair of moves is repeated for many points.

Suppose A\mathbf{A}A is applied first and B\mathbf{B}B second. The single matrix is the product BA\mathbf{BA}BA. Read the order from right to left, because the first transformation meets the point first. The result is a composite transformation. Check the order whenever you write a product, because swapping it changes the answer.

Worked example

Reflecting and then rotating

A point is reflected in the xxx-axis and then rotated 90∘90^{\circ}90∘ anticlockwise about the origin. Find the single matrix.
  1. 1
    Reflection in the xxx-axis: A=(100−1)\mathbf{A}=\begin{pmatrix}1&0\\0&-1\end{pmatrix}A=(10​0−1​).
  2. 2
    Rotation of 90∘90^{\circ}90∘: cos⁡90∘=0\cos90^{\circ}=0cos90∘=0 and sin⁡90∘=1\sin90^{\circ}=1sin90∘=1, so B=(0−110)\mathbf{B}=\begin{pmatrix}0&-1\\1&0\end{pmatrix}B=(01​−10​).
  3. 3
    The reflection is first, so the single matrix is BA\mathbf{BA}BA.
  4. 4
    BA=(0×1+(−1)×00×0+(−1)×(−1)1×1+0×01×0+0×(−1))=(0110)\mathbf{BA}=\begin{pmatrix}0\times1+(-1)\times0&0\times0+(-1)\times(-1)\\1\times1+0\times0&1\times0+0\times(-1)\end{pmatrix}=\begin{pmatrix}0&1\\1&0\end{pmatrix}BA=(0×1+(−1)×01×1+0×0​0×0+(−1)×(−1)1×0+0×(−1)​)=(01​10​).
  5. 5
    Check with (2,3)(2,3)(2,3): the reflection gives (2,−3)(2,-3)(2,−3), the rotation gives (3,2)(3,2)(3,2), and the matrix gives (3,2)(3,2)(3,2).

Answer: The single matrix is (0110)\begin{pmatrix}0&1\\1&0\end{pmatrix}(01​10​), a reflection in the line y=xy=xy=x.

Common mistake

Matrix multiplication is not commutative. The products BA\mathbf{BA}BA and AB\mathbf{AB}AB usually describe different transformations.

Key terms · tap one for its definition

product

A product is an expression formed by multiplying two factors.

composite transformation

A composite transformation is the single transformation equivalent to applying two or more transformations in sequence.

Part 4 done

Quick check

One question on the part you just read

Easy

State what the matrix (3003)\begin{pmatrix}3&0\\0&3\end{pmatrix}(30​03​) does to a shape.
Show answer and explanation

Answer: A · Worked explanation

Both diagonal entries are 3, so every coordinate is multiplied by 3. Every distance from the origin is multiplied by 3, which is an enlargement. A stretch would multiply only one coordinate and leave the other unchanged, so one diagonal entry would be 1.
5

Part 5 of 5: The determinant tells you how area changes

Transformations can make a shape larger or smaller. The determinant of a matrix measures how much. For M=(abcd)\mathbf{M}=\begin{pmatrix}a&b\\ c&d\end{pmatrix}M=(ac​bd​), det⁡M=ad−bc\det\mathbf{M}=ad-bcdetM=ad−bc.

The area of the image equals ∣det⁡M∣|\det\mathbf{M}|∣detM∣ times the area of the original shape. So ∣det⁡M∣|\det\mathbf{M}|∣detM∣ is the area scale factor. A negative determinant means the image is flipped over, as in a reflection. A zero determinant squashes the shape onto a line. A determinant of 1 leaves areas unchanged, as every rotation does. A determinant of 12\frac{1}{2}21​ halves every area.

Worked example

Finding an image area

A triangle of area 4 cm24\,\mathrm{cm^2}4cm2 is transformed by M=(3124)\mathbf{M}=\begin{pmatrix}3&1\\2&4\end{pmatrix}M=(32​14​). Find the area of the image.
  1. 1
    Find the determinant: det⁡M=3×4−1×2=12−2=10\det\mathbf{M}=3\times4-1\times2=12-2=10detM=3×4−1×2=12−2=10.
  2. 2
    The area scale factor is ∣10∣=10|10|=10∣10∣=10.
  3. 3
    image area =10×4 cm2=40 cm2=10\times4\,\mathrm{cm^2}=40\,\mathrm{cm^2}=10×4cm2=40cm2.

Answer: The image has area 40 cm240\,\mathrm{cm^2}40cm2.

Exam tip

When transformations are combined, the determinants multiply. Always give the new area with its units.

Go deeperWhy the determinant works

The unit square has area 1. Its image is a parallelogram whose sides are the columns of the matrix, (a,c)(a,c)(a,c) and (b,d)(b,d)(b,d).

That parallelogram has area ∣ad−bc∣|ad-bc|∣ad−bc∣. Every shape is built from tiny squares, so every area is multiplied by the same factor.

Key terms · tap one for its definition

determinant

The determinant of (abcd)\begin{pmatrix}a&b\\ c&d\end{pmatrix}(ac​bd​) is the number ad−bcad-bcad−bc, and its absolute value is the area scale factor.

area

Area measures the size of a two-dimensional region.

Note read

Check your recall[14 marks]

6 written questions. Answer each one in your head or on paper, then open the mark scheme.

  1. 1.Write down[1 mark]

    Write down the matrix that reflects points in the yyy-axis.

    Show mark schemeHide mark scheme

    Model answer

    (−1001)\begin{pmatrix}-1&0\\0&1\end{pmatrix}(−10​01​)

    • 1 mark for writing (−1001)\begin{pmatrix}-1&0\\0&1\end{pmatrix}(−10​01​)
  2. 2.Explain[2 marks]

    Explain why the columns of a transformation matrix are the images of (1,0)(1,0)(1,0) and (0,1)(0,1)(0,1).

    Show mark schemeHide mark scheme

    Model answer

    Multiplying the matrix by (1,0)(1,0)(1,0) gives its first column, and multiplying by (0,1)(0,1)(0,1) gives its second column. Those products are the images of the two points.

    • 1 mark for stating that multiplying by (1,0)(1,0)(1,0) gives the first column
    • 1 mark for stating that multiplying by (0,1)(0,1)(0,1) gives the second column
  3. 3.Calculate[3 marks]

    A shape of area 6 cm26\,\mathrm{cm^2}6cm2 is transformed by (2−113)\begin{pmatrix}2&-1\\1&3\end{pmatrix}(21​−13​). Calculate the area of the image.

    Show mark schemeHide mark scheme

    Model answer

    det⁡=2×3−(−1)×1=7\det=2\times3-(-1)\times1=7det=2×3−(−1)×1=7. The area scale factor is 7. Image area =7×6=42 cm2=7\times6=42\,\mathrm{cm^2}=7×6=42cm2.

    • 1 mark for using det⁡=ad−bc\det=ad-bcdet=ad−bc with correct substitution
    • 1 mark for obtaining a determinant of 7
    • 1 mark for multiplying by 6 to get 42 cm242\,\mathrm{cm^2}42cm2
  4. 4.Determine[3 marks]

    Determine the single matrix for a horizontal stretch with scale factor 2 followed by a rotation of 90∘90^{\circ}90∘ anticlockwise about the origin.

    Show mark schemeHide mark scheme

    Model answer

    The stretch is S=(2001)\mathbf{S}=\begin{pmatrix}2&0\\0&1\end{pmatrix}S=(20​01​) and the rotation is R=(0−110)\mathbf{R}=\begin{pmatrix}0&-1\\1&0\end{pmatrix}R=(01​−10​). The stretch is first, so the single matrix is RS=(0−120)\mathbf{RS}=\begin{pmatrix}0&-1\\2&0\end{pmatrix}RS=(02​−10​).

    • 1 mark for writing both matrices correctly
    • 1 mark for multiplying in the order rotation matrix times stretch matrix
    • 1 mark for obtaining (0−120)\begin{pmatrix}0&-1\\2&0\end{pmatrix}(02​−10​)
  5. 5.Deduce[2 marks]

    A matrix has determinant -4. Deduce two facts about its transformation.

    Show mark schemeHide mark scheme

    Model answer

    Areas are multiplied by 4. Shapes are flipped over, as in a reflection.

    • 1 mark for deducing that the area scale factor is 4
    • 1 mark for deducing that the negative sign means shapes are flipped over
  6. 6.Describe[3 marks]

    Describe the single transformation represented by (0−110)\begin{pmatrix}0&-1\\1&0\end{pmatrix}(01​−10​).

    Show mark schemeHide mark scheme

    Model answer

    It is a rotation of 90∘90^{\circ}90∘ anticlockwise about the origin.

    • 1 mark for identifying a rotation
    • 1 mark for giving the angle as 90∘90^{\circ}90∘
    • 1 mark for stating anticlockwise about the origin

Practice this topic

10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)

0 right0 of 10 answered

Includes the 2 quick checks in the note above.

3.

Easy·State[1 mark]

State what the absolute value of the determinant of a transformation matrix gives.
Show answer and explanation

Answer: B · Worked explanation

The absolute value of the determinant is the factor by which every area is multiplied. It does not give the factor for lengths. An enlargement with scale factor kkk has determinant k2k^2k2, so the length and area factors differ. Rotation angles come from the entries of a rotation matrix.
4.

Medium·Calculate[2 marks]

Calculate det⁡(5234)\det\begin{pmatrix}5&2\\3&4\end{pmatrix}det(53​24​).
Show answer and explanation

Answer: D · Worked explanation

The determinant is ad−bc=5×4−2×3=20−6=14ad-bc=5\times4-2\times3=20-6=14ad−bc=5×4−2×3=20−6=14. The value 26 comes from adding the two products instead of subtracting them. The value -14 comes from subtracting in the wrong order, and 20 is the product adadad alone, with bcbcbc left out. Check each product before you subtract.
5.

Medium·Determine[2 marks]

Determine the image of the point (2,−1)(2,-1)(2,−1) under the matrix (0−110)\begin{pmatrix}0&-1\\1&0\end{pmatrix}(01​−10​).
Show answer and explanation

Answer: C · Worked explanation

Multiply: first entry 0×2+(−1)×(−1)=10\times2+(-1)\times(-1)=10×2+(−1)×(−1)=1, second entry 1×2+0×(−1)=21\times2+0\times(-1)=21×2+0×(−1)=2. The image is (1,2)(1,2)(1,2). The point (−1,−2)(-1,-2)(−1,−2) would come from a clockwise quarter turn, since that matrix has the opposite signs in its off-diagonal entries. Always use both components, because each entry of the image uses a whole row of the matrix.
6.

Medium·Calculate[2 marks]

A region has area 12 cm212\,\mathrm{cm^2}12cm2 and is transformed by a matrix with determinant 5. Calculate the area of the image.
Show answer and explanation

Answer: A · Worked explanation

The image area is ∣det⁡∣|\det|∣det∣ times the original area, so 5×12=60 cm25\times12=60\,\mathrm{cm^2}5×12=60cm2. Dividing, which gives 2.4 cm22.4\,\mathrm{cm^2}2.4cm2, treats the determinant as a divisor. Adding gives 17 cm217\,\mathrm{cm^2}17cm2, but areas scale by multiplication, not addition. Remember that areas are measured in squared units.
7.

Medium·Determine[1 mark]

Determine the matrix for a vertical stretch with scale factor 4.
Show answer and explanation

Answer: A · Worked explanation

A vertical stretch multiplies yyy-coordinates by 4 and leaves xxx-coordinates unchanged. So (1,0)(1,0)(1,0) stays put and (0,1)(0,1)(0,1) goes to (0,4)(0,4)(0,4). The matrix with 4 in the top left is the horizontal stretch, and the matrix with 4 in both diagonal places enlarges in every direction.
8.

Hard·Determine[2 marks]

A horizontal stretch with scale factor 3 is applied first, then a rotation of 90∘90^{\circ}90∘ anticlockwise about the origin. Determine the single matrix for the combined transformation.
Show answer and explanation

Answer: C · Worked explanation

The stretch is S=(3001)\mathbf{S}=\begin{pmatrix}3&0\\0&1\end{pmatrix}S=(30​01​) and the rotation is R=(0−110)\mathbf{R}=\begin{pmatrix}0&-1\\1&0\end{pmatrix}R=(01​−10​). The stretch acts first, so the single matrix is RS=(0−130)\mathbf{RS}=\begin{pmatrix}0&-1\\3&0\end{pmatrix}RS=(03​−10​). Multiplying in the other order gives SR=(0−310)\mathbf{SR}=\begin{pmatrix}0&-3\\1&0\end{pmatrix}SR=(01​−30​), which describes a different transformation. The first column of the matrix is the image of (1,0)(1,0)(1,0), and the second column is the image of (0,1)(0,1)(0,1).
9.

Hard·Determine[2 marks]

The matrix (k213)\begin{pmatrix}k&2\\1&3\end{pmatrix}(k1​23​) doubles areas and flips shapes over. Determine kkk.
Show answer and explanation

Answer: D · Worked explanation

The determinant is 3k−23k-23k−2. Doubling areas needs ∣det⁡∣=2|\det|=2∣det∣=2, and flipping needs det⁡<0\det<0det<0, so 3k−2=−23k-2=-23k−2=−2 and k=0k=0k=0. The value 43\frac{4}{3}34​ solves 3k−2=23k-2=23k−2=2, which doubles areas without flipping shapes. The value −43-\frac{4}{3}−34​ comes from using 3k+23k+23k+2 for the determinant. Compare the matrix with the rule det⁡=ad−bc\det=ad-bcdet=ad−bc before solving.
10.

Hard·Calculate[2 marks]

An enlargement with scale factor 3 is followed by a transformation whose matrix has determinant -2. Calculate the area scale factor of the combined transformation.
Show answer and explanation

Answer: B · Worked explanation

The enlargement has matrix (3003)\begin{pmatrix}3&0\\0&3\end{pmatrix}(30​03​) and determinant 9. Determinants multiply, so the combined determinant is 9×(−2)=−189\times(-2)=-189×(−2)=−18. The area scale factor is the absolute value, 18. The value 6 uses the length factor 3 instead of 9, and -18 is the determinant, not the scale factor.

Keep going

Next topic3.10 Vector conceptsPrevious topic3.8 Unit circle and identities

More in Topic 3 · Geometry and trigonometry

  1. 3.5Perpendicular bisectorsNotes · 10 questions
  2. 3.6Voronoi diagramsNotes · 10 questions
  3. 3.7Radian measureNotes · 10 questions· HL only
  4. 3.8Unit circle and identitiesNotes · 10 questions· HL only
  5. 3.9Matrix transformationsNotes · 10 questions· HL only
  6. 3.10Vector conceptsNotes · 10 questions· HL only
  7. 3.11Vector equation of a lineNotes · 10 questions· HL only
  8. 3.12Vectors in kinematicsNotes · 10 questions· HL only
  9. 3.13Scalar and vector productsNotes · 10 questions· HL only

All IB Mathematics: Applications and Interpretation topics →

Draft: written by Scribe and checked automatically, not yet by a subject reviewer.

Practice questions are original, written by Scribe and checked automatically for correctness.

Topic codes follow the official numbering. Not endorsed by IB Diploma Programme or any exam board.

On this page

0/5 read

  1. 1A matrix can move every point of the plane
  2. 2Matrix columns show where the axis points go
  3. 3Standard transformations have standard matrices
  4. 4Multiplying matrices combines transformations into one
  5. 5The determinant tells you how area changes
  6. Check your recall
  7. Practice: 10 questions
All coursesScribeHow it worksPricingPrivacyTerms

Notes and questions are written by Scribe in our own words. Topic codes follow the official course numbering so you can find your place. Not produced or endorsed by the IB, College Board, AQA, OCR, Pearson Edexcel or any exam board.

© 2026 Scribe