How to use a transformation matrix to map points and figures

A transformation matrix tells us where each point moves under a linear transformation. We place the point’s coordinates in a column and multiply. Applying the same matrix to a figure’s vertices shows how the whole figure changes.

Transform a single point

M=[-2430]

For the point (3,2), multiply its coordinate column by M.

x′=-2(3)+4(2)=2y′=3(3)+0(2)=9

The point moves to (2,9). The same matrix gives a new point for every input in the plane.

Put a figure’s vertices into columns

For a triangle with vertices (3,1), (1,5), and (-2,0), use the following transformation and vertex matrix.

T=[1-340]
V=[31-2150]
TV=[0-14-2124-8]
Matching original and transformed vertices
OriginalTransformed
(3,1)(0,12)
(1,5)(-14,4)
(-2,0)(-2,-8)
A triangle transformed by a two-by-two matrixThe original blue triangle and transformed purple triangle are shown on the same coordinate grid.A triangle and its image−16−80816−80816xy
Blue: the original triangle. Purple: the transformed triangle. The table gives the matching vertices, so labels stay clear of the triangle edges.

Read the columns as images of unit vectors

The first column of T tells us where (1,0) goes, so T(1,0)=(1,4). The second tells us where (0,1) goes, so T(0,1)=(-3,0). Every vector is a combination of those two unit directions, which is why the two columns determine the entire linear transformation.

Build a matrix from those two images

If (1,0) maps to (-5,-2) and (0,1) maps to (2,3), use those images as the columns.

A=[-52-23]

This matrix sends (5,3) to (-19,-1). A two-by-two matrix always sends the origin to the origin. A translation is represented by an affine rule with an added vector, or by a larger homogeneous-coordinate matrix.