Study Guide

Linear transformations and matrices

AP PrecalculusΒ· AP Precalculus CED β€” Functions Involving Parameters, Vectors, and MatricesΒ· 14 min read

1. Definition and Matrix Representationβ˜…β˜…β˜†β˜†β˜†β± 4 min

πŸ“˜ Definition

Linear Transformation

A function mapping 2D input vectors to 2D output vectors that satisfies two core properties for all vectors and all scalars : additivity and homogeneity

Example:

Any transformation of the form is linear

By linearity, any input vector can be written as a combination of the standard basis vectors and , so:

T([xy])=xT([10])+yT([01])T\left(\begin{bmatrix}x \\ y\end{bmatrix}\right) = xT\left(\begin{bmatrix}1 \\ 0\end{bmatrix}\right) + yT\left(\begin{bmatrix}0 \\ 1\end{bmatrix}\right)

This means outputs of the transformation on the standard basis vectors become the columns of the transformation matrix. For , the matrix is:

A=[Tx(1,0)Tx(0,1)Ty(1,0)Ty(0,1)]A = \begin{bmatrix} T_x(1,0) & T_x(0,1) \\ T_y(1,0) & T_y(0,1) \end{bmatrix}
πŸ“ Worked Example

Find the matrix representation of the linear transformation

  1. 1

    Evaluate at the first standard basis vector :

  2. 2
    T(1,0)=(4(1)βˆ’3(0),2(1)+0)=(4,2),whichbecomesthefirstcolumnofthematrixT(1,0) = (4(1) - 3(0), 2(1) + 0) = (4, 2), which becomes the first column of the matrix
  3. 3

    Evaluate at the second standard basis vector :

  4. 4
    T(0,1)=(4(0)βˆ’3(1),2(0)+1)=(βˆ’3,1),whichbecomesthesecondcolumnofthematrixT(0,1) = (4(0) - 3(1), 2(0) + 1) = (-3, 1), which becomes the second column of the matrix
  5. 5

    Assemble and verify the matrix:

  6. 6
    A=[4βˆ’321],A[xy]=[4xβˆ’3y2x+y]A = \begin{bmatrix}4 & -3 \\ 2 & 1\end{bmatrix}, \quad A\begin{bmatrix}x \\ y\end{bmatrix} = \begin{bmatrix}4x - 3y \\ 2x + y\end{bmatrix}

Exam tip:

Always test the zero vector first to rule out non-linear transformations quickly on the exam.

2. Composition and Matrix Multiplicationβ˜…β˜…β˜…β˜†β˜†β± 4 min

When applying two linear transformations in sequence (first , then ), the combined transformation is also linear. If has matrix and has matrix , the matrix for the combined transformation is the product , from the associative property of matrix multiplication.

For two 2x2 matrices, the product is calculated by taking the dot product of each row of with each column of :

B=[efgh],A=[abcd],BA=[ea+fceb+fdga+hcgb+hd]B = \begin{bmatrix}e & f \\ g & h\end{bmatrix}, A = \begin{bmatrix}a & b \\ c & d\end{bmatrix}, \quad BA = \begin{bmatrix}ea + fc & eb + fd \\ ga + hc & gb + hd\end{bmatrix}
πŸ“ Worked Example

Let be reflection over the y-axis (matrix ) and be dilation by a factor of 3 (matrix ). Find the matrix for the transformation that first reflects over the y-axis, then dilates by 3.

  1. 1

    Confirm the order: first , then = composition , so the product is , not .

  2. 2

    Calculate entry-by-entry:

  3. 3
    (3)(βˆ’1)+(0)(0)=βˆ’3,(3)(0)+(0)(1)=0(0)(βˆ’1)+(3)(0)=0,(0)(0)+(3)(1)=3(3)(-1) + (0)(0) = -3, \quad (3)(0) + (0)(1) = 0 \\ (0)(-1) + (3)(0) = 0, \quad (0)(0) + (3)(1) = 3
  4. 4

    The resulting product matrix is:

  5. 5
    BA=[βˆ’3003]BA = \begin{bmatrix}-3 & 0 \\ 0 & 3\end{bmatrix}
  6. 6

    Verification with input confirms the result matches sequential transformation.

Exam tip:

Always write your order explicitly before multiplying to eliminate order errors.

3. Inverse Transformations and Determinantsβ˜…β˜…β˜…β˜†β˜†β± 4 min

A linear transformation is invertible if it is one-to-one and onto, meaning every output vector maps back to exactly one input vector. For a 2x2 matrix , invertibility is determined by the determinant . If , is invertible; if , the transformation cannot be reversed.

The inverse matrix represents the inverse transformation that undoes , satisfying , where is the identity matrix. The formula for the inverse of a 2x2 matrix is:

Aβˆ’1=1det⁑(A)[dβˆ’bβˆ’ca]A^{-1} = \frac{1}{\det(A)} \begin{bmatrix}d & -b \\ -c & a\end{bmatrix}
πŸ“ Worked Example

Find the inverse of the transformation matrix , then verify that .

  1. 1

    Calculate the determinant first:

  2. 2
    det⁑(A)=(2)(4)βˆ’(1)(3)=8βˆ’3=5β‰ 0, so inverse exists\det(A) = (2)(4) - (1)(3) = 8 - 3 = 5 \neq 0, \text{ so inverse exists}
  3. 3

    Apply the inverse formula: swap diagonal entries, flip off-diagonal signs, divide by determinant:

  4. 4
    Aβˆ’1=15[4βˆ’1βˆ’32]=[45βˆ’15βˆ’3525]A^{-1} = \frac{1}{5}\begin{bmatrix}4 & -1 \\ -3 & 2\end{bmatrix} = \begin{bmatrix}\frac{4}{5} & -\frac{1}{5} \\ -\frac{3}{5} & \frac{2}{5}\end{bmatrix}
  5. 5

    Verify the product to confirm:

  6. 6
    [2134][45βˆ’15βˆ’3525]=[1001]=I\begin{bmatrix}2 & 1 \\ 3 & 4\end{bmatrix}\begin{bmatrix}\frac{4}{5} & -\frac{1}{5} \\ -\frac{3}{5} & \frac{2}{5}\end{bmatrix} = \begin{bmatrix}1 & 0 \\ 0 & 1\end{bmatrix} = I

Exam tip:

Memorize standard geometric transformation matrices (rotation, reflection, dilation) to save time on the exam.

4. AP-Style Concept Checkβ˜…β˜…β˜…β˜†β˜†β± 2 min

βœ“ Quick check

Test your understanding of core concepts:

  1. Which of the following transformations is a linear transformation?

    • A)

    • B)

    • C)

    • D)

    Reveal answer
    B β€”

    Eliminate C first: , so it is non-linear. A fails homogeneity, D fails additivity. Only B satisfies both linearity properties.

5. Common Pitfalls

Wrong move:

Swapping the order of matrix multiplication for composition, writing for a transformation that applies first then .

Why:

Students confuse function notation: , so the first function applied is the inner function, which ends up on the right in matrix form.

Correct move:

Always label the order explicitly: 'First , then = , so matrix product is .'

Wrong move:

Forgetting to divide the inverse matrix by the determinant when calculating .

Why:

Students remember to swap and and flip signs of and , but omit the scaling factor of .

Correct move:

After swapping and changing signs, always write the factor outside the matrix before simplifying entries.

Wrong move:

Calling translation a linear transformation.

Why:

Translations are affine transformations, which look linear, but they do not satisfy the linearity properties.

Correct move:

Always check : if , mark the transformation as non-linear immediately.

Wrong move:

Placing the outputs of the standard basis vectors as rows instead of columns in the transformation matrix.

Why:

Students mix up the standard convention for matrix representation.

Correct move:

Always remember: output of is the first column, output of is the second column. Test with a general vector to confirm if unsure.

Wrong move:

Using the wrong sign for in the rotation matrix.

Why:

Students mix up the direction of rotation.

Correct move:

The standard matrix is defined for counterclockwise ; for clockwise rotation, substitute , which flips the sign of the two entries.

6. Quick Reference Cheatsheet

Category

Formula

Notes

Linear Transformation Properties

is required for linearity

Transformation Matrix Construction

Column 1 = , Column 2 =

Outputs of basis vectors are columns, not rows

2x2 Matrix Multiplication

Dot product of rows of first matrix with columns of second

Composition Order

First , then : Matrix =

First transformation matrix goes on the right

Dilation by factor

Scaling about the origin

Rotation counterclockwise by

For clockwise rotation, substitute

2x2 Determinant

means matrix is not invertible

2x2 Inverse Matrix

Only for 2x2 matrices with non-zero determinant

When this came up on past exams

AI-estimated based on syllabus patterns β€” cross-check with official past papers for accuracy. Use only as revision-focus signals.

  • 2024 Β· MCQ

    Identify linear transformation

  • 2023 Β· FRQ

    Composite transformation matrix

What's Next

This topic is the foundation for the remaining content of AP Precalculus Unit 4, including using matrices to solve systems of linear equations and model multi-variable contextual relationships. Next, you will apply linear transformation and matrix conventions to solve linear systems and model real-world processes with multiple input variables. Without mastering the order rules, matrix construction, and inverse formulas covered here, you will constantly make avoidable sign and order errors when working with matrix systems. This topic also provides foundational knowledge for college-level linear algebra, computer graphics, and data science, where linear transformations are core analytical tools.