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
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:
This means outputs of the transformation on the standard basis vectors become the columns of the transformation matrix. For , the matrix is:
Find the matrix representation of the linear transformation
- 1
Evaluate at the first standard basis vector :
- 2
- 3
Evaluate at the second standard basis vector :
- 4
- 5
Assemble and verify the matrix:
- 6
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 :
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
Confirm the order: first , then = composition , so the product is , not .
- 2
Calculate entry-by-entry:
- 3
- 4
The resulting product matrix is:
- 5
- 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:
Find the inverse of the transformation matrix , then verify that .
- 1
Calculate the determinant first:
- 2
- 3
Apply the inverse formula: swap diagonal entries, flip off-diagonal signs, divide by determinant:
- 4
- 5
Verify the product to confirm:
- 6
Exam tip:
Memorize standard geometric transformation matrices (rotation, reflection, dilation) to save time on the exam.
4. AP-Style Concept Checkβ β β βββ± 2 min
Test your understanding of core concepts:
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.
