AP Precalculus · Unit 4 · Topic 4.12

    4.12 Linear Transformations and Matrices

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    Not on the AP Exam. Unit 4 is part of the AP Precalculus course, but College Board does not test it on the AP Exam. Learn it for your school tests and as preparation for calculus; for the exam itself, Units 1–3 are what count.

    In short

    A linear transformation of the plane sends each vector ⟨x,y⟩\langle x, y\rangle to ⟨ax+by,cx+dy⟩\langle ax + by, cx + dy\rangle, which is the matrix product [abcd][xy]\begin{bmatrix} a & b \\ c & d\end{bmatrix}\begin{bmatrix} x \\ y\end{bmatrix}. The columns of the matrix are the images of ⟨1,0⟩\langle 1, 0\rangle and ⟨0,1⟩\langle 0, 1\rangle. Rotation by θ counterclockwise is [cos⁡θ−sin⁡θsin⁡θcos⁡θ]\begin{bmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta\end{bmatrix}. The determinant gives the area scale factor, and a negative determinant means the orientation is reversed. This unit is not tested on the AP Exam.

    What you need to know

    • Apply a linear transformation to a point using its matrix.
    • Write the matrix of a transformation from the images of ⟨1, 0⟩ and ⟨0, 1⟩.
    • Write rotation, reflection and dilation matrices.
    • Use the determinant to describe how areas and orientation change.

    The columns tell you everything

    Let LL be the transformation with matrix A=[2101]A = \begin{bmatrix} 2 & 1 \\ 0 & 1\end{bmatrix}. Then L(3,2)=⟨2(3)+1(2),0(3)+1(2)⟩=⟨8,2⟩L(3, 2) = \langle 2(3) + 1(2), 0(3) + 1(2)\rangle = \langle 8, 2\rangle. Notice what happens to the two basic vectors:

    A[10]=[20],A[01]=[11]A\begin{bmatrix} 1 \\ 0 \end{bmatrix} = \begin{bmatrix} 2 \\ 0 \end{bmatrix}, \qquad A\begin{bmatrix} 0 \\ 1 \end{bmatrix} = \begin{bmatrix} 1 \\ 1 \end{bmatrix}

    They are exactly the columns of AA. Because every vector is x⟨1,0⟩+y⟨0,1⟩x\langle 1, 0\rangle + y\langle 0, 1\rangle, and a linear transformation keeps sums and multiples, knowing where these two vectors go determines everything. So to build a matrix, ask "where does ⟨1,0⟩\langle 1, 0\rangle go?" and "where does ⟨0,1⟩\langle 0, 1\rangle go?" and write the answers as columns.

    The unit square becomes a parallelogram with area |det A| = 2.

    Rotations, reflections and dilations

    Using the column rule: a counterclockwise rotation by π2\frac{\pi}{2} sends ⟨1,0⟩\langle 1, 0\rangle to ⟨0,1⟩\langle 0, 1\rangle and ⟨0,1⟩\langle 0, 1\rangle to ⟨−1,0⟩\langle -1, 0\rangle, so its matrix is [0−110]\begin{bmatrix} 0 & -1 \\ 1 & 0\end{bmatrix}. It sends (3,1)(3, 1) to (−1,3)(-1, 3). In general rotation by θ sends ⟨1,0⟩\langle 1, 0\rangle to ⟨cos⁡θ,sin⁡θ⟩\langle\cos\theta, \sin\theta\rangle and ⟨0,1⟩\langle 0, 1\rangle to ⟨−sin⁡θ,cos⁡θ⟩\langle -\sin\theta, \cos\theta\rangle.

    Common transformation matrices
    TransformationMatrix (rows)
    Rotation by θ counterclockwise[cos θ, −sin θ], [sin θ, cos θ]
    Reflection in the x-axis[1, 0], [0, −1]
    Reflection in the y-axis[−1, 0], [0, 1]
    Reflection in y = x[0, 1], [1, 0]
    Dilation by factor k[k, 0], [0, k]

    What the determinant tells you

    The unit square has area 1; its image is the parallelogram spanned by the two columns, with area ∣det⁡A∣|\det A|. So every area is multiplied by ∣det⁡A∣|\det A|. For [2101]\begin{bmatrix} 2 & 1 \\ 0 & 1\end{bmatrix}, det⁡=2\det = 2: areas double. A dilation by 3 has determinant 9, so areas grow ninefold. Rotations have determinant cos⁡2θ+sin⁡2θ=1\cos^2\theta + \sin^2\theta = 1: they move shapes without changing their area.

    A reflection has determinant −1-1. The negative sign means orientation is reversed: a shape traced counterclockwise comes out traced clockwise, like a mirror image. A determinant of 0 squashes the plane onto a line or a point, so the transformation cannot be undone, which is why such a matrix has no inverse (Topic 4.11).

    Key terms

    Linear transformation
    A function of the plane L(x, y) = (ax + by, cx + dy), given by a 2 × 2 matrix.
    Image
    The output of a point or shape under a transformation.
    Rotation matrix
    [[cos θ, −sin θ], [sin θ, cos θ]] for a counterclockwise rotation by θ.
    Area scale factor
    |det A|: every area is multiplied by this under the transformation.

    Common mistakes

    • Writing the images of ⟨1, 0⟩ and ⟨0, 1⟩ as rows.

      They are the columns of the matrix.

    • Putting the minus sign in the bottom-left of the rotation matrix.

      Counterclockwise rotation has −sin θ in the top-right.

    • Thinking a negative determinant means negative area.

      Area scales by |det A|; the sign shows orientation.

    How this topic is tested

    • Build any matrix from the images of ⟨1, 0⟩ and ⟨0, 1⟩.
    • Check a rotation with one easy point, such as (1, 0).
    • Unit 4 is not on the AP Exam; this is the start of linear algebra.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 1 · Procedural and Symbolic Fluency

      Under the matrix [13−20]\begin{bmatrix} 1 & 3 \\ -2 & 0 \end{bmatrix}, what is the image of (2,1)(2, 1)?

    2. Question 2 · MP 2 · Multiple Representations

      A transformation sends ⟨1,0⟩\langle 1, 0\rangle to ⟨3,1⟩\langle 3, 1\rangle and ⟨0,1⟩\langle 0, 1\rangle to ⟨−2,4⟩\langle -2, 4\rangle. What is its matrix?

    3. Question 3 · MP 1 · Procedural and Symbolic Fluency

      What is the image of (4,0)(4, 0) after a counterclockwise rotation by π3\frac{\pi}{3} about the origin?

    4. Question 4 · MP 3 · Communication and Reasoning

      A triangle of area 5 is transformed by [311−1]\begin{bmatrix} 3 & 1 \\ 1 & -1 \end{bmatrix}. What is the area of its image?

    5. Question 5 · MP 2 · Multiple Representations

      Which matrix reflects every point in the line y=xy = x?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Class-test practice (Unit 4 is not on the AP Exam) · 4 points

    A linear transformation LL rotates every point π2\frac{\pi}{2} counterclockwise about the origin and then doubles its distance from the origin.

    1. (a) Find the images of ⟨1,0⟩\langle 1, 0\rangle and ⟨0,1⟩\langle 0, 1\rangle, and write the matrix of LL.
    2. (b) Find the image of (3, 1) and the factor by which L changes areas.

    Connected topics

    Frequently asked questions

    Are transformations with matrices on the AP Precalculus Exam?

    No. Unit 4 is taught but not assessed on the AP Exam.

    Is a translation a linear transformation?

    No. A linear transformation always sends the origin to itself, but a translation moves it, so translations cannot be written as a 2 × 2 matrix.

    Why are the columns the images of ⟨1, 0⟩ and ⟨0, 1⟩?

    Multiplying a matrix by ⟨1, 0⟩ picks out its first column, and by ⟨0, 1⟩ its second. Try it once and you will never forget it.

    How this shows up on the exam42 multiple-choice questions (29 without a calculator) and 4 free-response questions of 6 points. See what each one asks you to do.Full-length AP Precalculus practice examsTwo timed exams in the 2027 format (42 MCQ + 4 FRQ, calculator and no-calculator parts), with explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    All topics in Unit 4: Functions Involving Parameters, Vectors, and Matrices

    1. 4.1 Parametric Functions
    2. 4.2 Parametric Functions Modeling Planar Motion
    3. 4.3 Parametric Functions and Rates of Change
    4. 4.4 Parametrically Defined Circles and Lines
    5. 4.5 Implicitly Defined Functions
    6. 4.6 Conic Sections
    7. 4.7 Parametrization of Implicitly Defined Functions
    8. 4.8 Vectors
    9. 4.9 Vector-Valued Functions
    10. 4.10 Matrices
    11. 4.11 The Inverse and Determinant of a Matrix
    12. 4.12 Linear Transformations and Matrices
    13. 4.13 Matrices as Functions
    14. 4.14 Matrices Modeling Contexts

    Other units in AP Precalculus

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.