Icon for AP® Precalculus

AP® Precalculus

Transformation Matrix and More Matrices as Functions: A Review

transformation matrix

Introduction

Matrices are essential tools in precalculus, especially when it comes to understanding transformations. A transformation matrix helps us visualize and perform linear transformations, which are crucial for mapping vectors to new positions in space. This guide will break down these concepts into simple, digestible steps.

Understanding Linear Transformations

What is a Linear Transformation?

A linear transformation is like a machine that takes a vector as an input and gives another vector as an output. It’s a systematic way to change vectors in a linear fashion—without bending, stretching, or curving them. In math terms, if A and B are linear transformations, then for any vectors u and v and scalars c:

  • A(u + v) = Au + Av
  • A(cv) = c(Av)

These properties ensure transformations maintain the vector structure.

Example 1: Simple Linear Transformation

Consider the transformation of vector \langle x, y \rangle using the matrix:

\begin{bmatrix} 2 & 0 \\ 0 & 3 \end{bmatrix}

To find the image of vector \langle 1, 1 \rangle:

  • Multiply the matrix by the vector:
\begin{bmatrix} 2 & 0 \\ 0 & 3 \end{bmatrix} \begin{bmatrix} 1 \\ 1 \end{bmatrix} =\begin{bmatrix} 2 \times 1 + 0 \times 1 \\ 0 \times 1 + 3 \times 1 \end{bmatrix} =\begin{bmatrix} 2 \\ 3 \end{bmatrix}

The Transformation Matrix

Davi.tripCC BY-SA 4.0, via Wikimedia Commons

What is a Transformation Matrix?

A transformation matrix helps perform linear transformations. It comprises numbers arranged in rows and columns, representing how a particular transformation changes vectors. These matrices simplify complex operations into systematic steps.

Example 2: Finding a Transformation Matrix

Suppose a linear transformation stretches the x-coordinate by a factor of 2 and the y-coordinate by a factor of 3. The corresponding transformation matrix is:

\begin{bmatrix} 2 & 0 \\ 0 & 3 \end{bmatrix}

This matrix tells us to multiply the x value by 2 and the y value by 3.

2D Rotation Matrix

Introduction to the 2D Rotation Matrix

A rotation matrix helps rotate vectors counterclockwise by an angle \theta. This matrix allows us to spin a vector around the origin without altering its length.

\begin{bmatrix} \cos \theta & -\sin \theta \\ \sin \theta & \cos \theta \end{bmatrix}

Example 3: Applying the 2D Rotation Matrix

To rotate \langle 1, 0 \rangle by 90 degrees (\theta = \frac{\pi}{2} radians):

\begin{bmatrix} \cos \frac{\pi}{2} & -\sin \frac{\pi}{2} \\ \sin \frac{\pi}{2} & \cos \frac{\pi}{2} \end{bmatrix}= \begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix}

\begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix} \begin{bmatrix} 1 \\ 0 \end{bmatrix}= \begin{bmatrix} 0 \\ 1 \end{bmatrix}

Composition of Linear Transformations

Composing Two Linear Transformations

Composing linear transformations means layering them. If one transformation matrix is A and another is B, applying A first and then B gives B \cdot A.

Example 4: Composing Two Transformations

Given:

A = \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix} and B = \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}

Composing:

B \cdot A = \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix} \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix}= \begin{bmatrix} 2 & 2 \\ 0 & 2 \end{bmatrix}

Inverse of Linear Transformations

What is the Inverse Matrix?

The inverse matrix reverses a transformation. If a matrix A maps v to w, A^{-1} takes w back to v. Only square matrices with a non-zero determinant have an inverse.

Example 5: Finding the Inverse Transformation

For the matrix:

A = \begin{bmatrix} 2 & 0 \\ 0 & 3 \end{bmatrix}

The inverse is:

A^{-1} = \begin{bmatrix} \frac{1}{2} & 0 \\ 0 & \frac{1}{3} \end{bmatrix}

Dilation and the Determinant

Understanding Determinant and Dilation

The absolute value of a determinant of a matrix indicates how area (or volume) changes during a transformation. A larger absolute value means more dilation. If a 2×2 matrix A has a determinant \det(A) = a \cdot d - b \cdot c.

Example 6: Calculating the Determinant

For the matrix:

A = \begin{bmatrix} 2 & 3 \\ 1 & 2 \end{bmatrix}

Calculating the determinant:

|\det(A)| = |(2 \times 2) - (3 \times 1)| = |4 - 3| = 1

Quick Reference Chart

TermDefinition or Key Feature
Linear TransformationMap of vectors maintaining linearity
Transformation MatrixMatrix representing a linear transformation
2D Rotation MatrixMatrix rotating vectors by angle \theta
Inverse MatrixReverses the effect of a transformation
DeterminantScalar measure indicating transformation’s effect

Conclusion

Transformation matrices are vital in precalculus for understanding how vectors are systematically manipulated. Mastering these concepts lays a foundational understanding for future math courses. Continue practicing these transformations to gain confidence.

Sharpen Your Skills for AP® Precalculus

Are you preparing for the AP® Precalculus exam? We’ve got you covered! Try our review articles designed to help you confidently tackle real-world math problems. You’ll find everything you need to succeed, from quick tips to detailed strategies. Start exploring now!

Need help preparing for your AP® Precalculus exam?

Albert has hundreds of AP® Precalculus practice questions, free response, and an AP® Precalculus practice test to try out.

Interested in a school license?​

Bring Albert to your school and empower all teachers with the world's best question bank for:

➜ SAT® & ACT®
➜ AP®
➜ ELA, Math, Science, & Social Studies
➜ State assessments

Options for teachers, schools, and districts.