Transformations as matrix multiplication

    Introduction to Transformations with Matrices

    In AP Precalculus, understanding how matrices can represent geometric transformations is crucial. A transformation maps points in a plane (or space) to new points. Common transformations include rotations, reflections, dilations (scaling), and shears. When we use matrices, these transformations can be applied to position vectors, which represent points in a coordinate system. A position vector for a point (x, y) can be written as a column matrix [[x], [y]].

    Matrix Multiplication for Transformations

    The core idea is that applying a transformation to a point (x, y) can be achieved by multiplying a transformation matrix by the point's position vector. If T is a 2x2 transformation matrix and P is the column vector for point (x, y), then the transformed point P' is given by:

    P' = T * P

    For example, if T = [[a, b], [c, d]] and P = [[x], [y]], then P' = [[a, b], [c, d]] * [[x], [y]] = [[ax + by], [cx + dy]].

    Types of Transformation Matrices

    • Dilation (Scaling): A dilation changes the size of an object. To scale by a factor of k in the x-direction and l in the y-direction, the transformation matrix is [[k, 0], [0, l]]. If k = l, it's a uniform dilation. For example, to double the size of an object, the matrix is [[2, 0], [0, 2]].
    • Rotation: A rotation turns an object around a fixed point, usually the origin. To rotate a point counterclockwise by an angle θ, the transformation matrix is [[cos θ, -sin θ], [sin θ, cos θ]]. For a 90-degree counterclockwise rotation, θ = π/2, so the matrix is [[0, -1], [1, 0]].
    • Reflection: A reflection flips an object over a line. Examples:
      • Reflection across the x-axis: [[1, 0], [0, -1]]
      • Reflection across the y-axis: [[-1, 0], [0, 1]]
      • Reflection across the line y = x: [[0, 1], [1, 0]]
    • Shear: A shear transformation distorts an object by shifting points in one direction proportional to their distance from an axis. An x-shear with factor k is [[1, k], [0, 1]]. A y-shear with factor k is [[1, 0], [k, 1]].

    Composition of Transformations

    One of the most powerful aspects of using matrices for transformations is the ability to compose multiple transformations. If you want to apply transformation T1 and then transformation T2, you can find a single composite transformation matrix by multiplying the individual transformation matrices in reverse order of application (T2 * T1). That is, if P' = T1 * P and P'' = T2 * P', then P'' = T2 * (T1 * P) = (T2 * T1) * P. The identity matrix, [[1, 0], [0, 1]], represents no change or transformation.

    Important Considerations

    • Order of Multiplication: Matrix multiplication is not commutative. The order in which transformations are applied (and thus the order in which matrices are multiplied) matters significantly. T1 * T2 is generally not the same as T2 * T1.
    • Origin as Fixed Point: Many standard transformation matrices assume the transformation occurs relative to the origin (0,0). For transformations not centered at the origin, more advanced techniques involving homogeneous coordinates or translation vectors are needed, though these might be beyond the scope of a typical AP Precalculus course.

    Practice questions

    1

    What is the transformation matrix for a dilation that scales an object by a factor of 3 in the x-direction and 0.5 in the y-direction?

    2

    If a point P(2, -4) is rotated 90 degrees counterclockwise about the origin, what is the transformed point P'?

    3

    Which transformation matrix reflects a point across the x-axis?

    4

    If a point is first reflected across the y-axis and then rotated 180 degrees counterclockwise, what single matrix represents this composite transformation?

    Practice more free →

    Free AP4U account — unlimited practice, AI grader, and progress tracking.

    Canonical: https://apforu.com/ap/precalculus/unit-4-functions-involving-parameters-vectors-and-matrices/transformations-as-matrix-multiplication