Linear transformations and matrices — AP Precalculus Study Guide
For: AP Precalculus candidates sitting AP Precalculus.
Covers: Definition of linear transformations, 2x2 matrix representation of plane transformations, matrix multiplication for transformation compositions, common geometric transformations, and inverse 2x2 matrices for inverse linear transformations.
You should already know: Basic matrix addition and multiplication, 2D vector arithmetic, function composition and inverse properties.
A note on the practice questions: All worked questions in the "Practice Questions" section below are original problems written by us in the AP Precalculus style for educational use. They are not reproductions of past College Board / Cambridge / IB papers and may differ in wording, numerical values, or context. Use them to practise the technique; cross-check with official mark schemes for grading conventions.
1. What Is Linear transformations and matrices?
A linear transformation is a function that maps input vectors in 2D space to output vectors also in 2D space, that preserves vector addition and scalar multiplication. Every 2D linear transformation can be represented as a 2x2 matrix, where multiplying the matrix by an input vector gives the corresponding output vector. Linear transformations are also called linear maps, and they are the core link between algebraic matrix operations and geometric changes to shapes in the plane.
This subtopic falls within Unit 4: Functions Involving Parameters, Vectors, and Matrices, which makes up 25-30% of the total AP Precalculus exam score. This specific topic accounts for roughly 8-10% of total exam points, and it appears regularly in both multiple-choice (MCQ) and free-response (FRQ) sections. Exam questions often test identification of linear transformations, matrix representation, composition of geometric transformations, and inverse transformations.
2. Definition and Matrix Representation of Linear Transformations
A transformation is linear if and only if it satisfies two core properties for all vectors and all scalars :
- Additivity:
- Homogeneity:
Any transformation that fails either property is not linear. For example, translation is non-linear because , which violates homogeneity (since must hold for linear transformations).
To find the matrix representation of a linear transformation , we use the fact that any input vector . By linearity: This means the output of on the standard basis vectors becomes the columns of the transformation matrix. For transformation , the matrix is:
Worked Example
Find the matrix representation of the linear transformation .
- First, evaluate at the first standard basis vector by substituting : . This is the first column of the matrix.
- Next, evaluate at the second standard basis vector by substituting : . This is the second column of the matrix.
- Assemble the matrix from the columns: .
- Verify by multiplying by a general input vector: , which matches the given transformation, so the matrix is correct.
Exam tip: If you need to confirm if a transformation is linear, test it on the zero vector first. If , it is automatically non-linear, no further testing needed.
3. Composition of Linear Transformations and Matrix Multiplication
If you apply 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 . This comes from the associative property of matrix multiplication: .
Order is critical here: matrix multiplication is not commutative, so in most cases. The first transformation applied always goes on the right side of the product, and the second transformation on the left. For two 2x2 matrices and , the product is calculated by taking the dot product of each row of with each column of :
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.
- Confirm the order of operations: we apply first, then , so the composition is , which means the matrix product is , not .
- Calculate the product step-by-step: first entry (row 1 of B, column 1 of A) = . Second entry (row 1 of B, column 2 of A) = .
- Third entry (row 2 of B, column 1 of A) = . Fourth entry (row 2 of B, column 2 of A) = .
- The product matrix is . Verify with input : reflect first to get , dilate to get , which matches .
Exam tip: Always write your order explicitly before multiplying: "First transformation = [name], matrix = [A], second = [name], matrix = [B] = product ". This eliminates almost all order errors on the exam.
4. Inverse Linear Transformations and Determinants
A linear transformation is invertible if it is one-to-one and onto, meaning every output vector comes from exactly one input vector. For a 2x2 transformation matrix , invertibility is determined by the determinant . If , is invertible; if , is not invertible (it collapses the plane to a line or point, so the transformation cannot be reversed).
The inverse matrix represents the inverse transformation that undoes , satisfying , where is the identity matrix (the transformation that leaves all vectors unchanged). The formula for the inverse of a 2x2 matrix is:
Common geometric transformations have easily interpreted inverses: the inverse of rotation by counterclockwise is rotation by clockwise, the inverse of dilation by factor is dilation by factor , and the inverse of any reflection is the reflection itself (reflecting twice returns you to the original position).
Worked Example
Find the inverse of the transformation matrix , then verify that .
- First calculate the determinant: , which is non-zero, so the inverse exists.
- Apply the inverse formula: swap the diagonal entries ( and ), flip the sign of the off-diagonal entries (, ), then divide by the determinant: .
- Verify the product : This confirms the inverse is correct.
Exam tip: Memorize the standard geometric transformation matrices (rotation, reflection, dilation) to save time on the exam. They are tested frequently, and memorization avoids re-deriving them under time pressure.
5. Common Pitfalls (and how to avoid them)
- 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. Practice Questions (AP Precalculus Style)
Question 1 (Multiple Choice)
Which of the following transformations is a linear transformation? A) B) C) D)
Worked Solution: First apply the zero vector test to eliminate obviously non-linear transformations: for option C, , so C is eliminated immediately. Next, test homogeneity for the remaining options: for A, , while , so A is wrong. For D, test additivity: , while , so D is wrong. Option B satisfies both additivity and homogeneity, so it is linear. Correct answer: B
Question 2 (Free Response)
Let be the matrix for linear transformation , and be the matrix for . (a) Find the matrix for the composition , which applies first, then . (b) Calculate the determinant of , and state whether is invertible. (c) Find the matrix for , the inverse of .
Worked Solution: (a) The composition has matrix . Calculate the product:
(b) Calculate the determinant of : Since , is invertible.
(c) Apply the 2x2 inverse formula: swap diagonal entries, flip off-diagonal signs, divide by determinant: Verification confirms , so this is correct.
Question 3 (Application / Real-World Style)
A graphic designer is editing a logo centered at the origin of a 2D coordinate plane. The designer first rotates the logo 90 degrees counterclockwise, then dilates it by a factor of 2 to make it larger. A key corner of the original logo is at coordinates . What are the coordinates of this corner after both transformations? Interpret your result in context.
Worked Solution: First, write the matrices for each transformation: rotation 90° counterclockwise is , dilation by factor 2 is . The order of transformations is rotation first, then dilation, so the combined matrix is . The input vector is . Calculate the output: Interpretation: After the two transformations, the corner of the logo originally at (3, 1) is located at (-2, 6) on the graphic designer's coordinate plane.
7. 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 |
8. What's Next
This topic is the foundation for the remaining content of 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 the foundational knowledge for college-level linear algebra, computer graphics, and data science, where linear transformations are core analytical tools.