LessonFurther MathsMatrices & linear transformations
Matrices & linear transformations · Lesson 3 of 3
Linear transformations
The matrix of a linear transformation, rotation about the origin, images and pre-images, one transformation followed by another, applying one twice, and finding a matrix from the images of two points.
A linear transformation T:(x,y)→(ax+by,cx+dy) has the matrix (acbd): read the coefficients of x and y row by row. Its columns are the images of (1,0) and (0,1):
What the columns mean(1, 0) → (a, c) and (0, 1) → (b, d)
To find an image, multiply the matrix by the point written as a column. The area of any shape is multiplied by ∣ad−bc∣.
Press Play to watch the whole plane move. Grid lines stay straight and evenly spaced and the origin stays put, whatever the matrix. If the F comes out reading backwards, the matrix has flipped the plane, and its determinant is negative.
A matrix as a transformationPick a preset or set the entries, then press Play
(1, 0) goes to (1.5, 0.5) and (0, 1) goes to (0.5, 1): the columns of the matrix, the gold and orange arrows. P(−1, 2) goes to (1.5×(−1) + 0.5×2, 0.5×(−1) + 1×2) = (−0.5, 1.5). ad − bc = 1.25.
Rotation about the origin
Turn the plane anticlockwise through an angle θ about the origin. The unit vectors i=(1,0) and j=(0,1) turn with it: i goes to (cosθ,sinθ) and j goes to (−sinθ,cosθ). Those images are the two columns, so the matrix of the rotation is
Rθ=(cosθsinθ−sinθcosθ)
Rotation through θi′ = (cos θ, sin θ) is column 1, j′ = (−sin θ, cos θ) is column 2
Turn the plane and watch the columns: the gold arrow is always the first column and the orange arrow the second. Switch to clockwise and see where the minus sign goes.
The rotation matrixTurn the plane; switch the direction
1/2−√3/2√3/21/2rotation through 60° anticlockwise(1/2, √3/2)column 1 = image of i(−√3/2, 1/2)column 2 = image of j(0.63, 3.1)Q(3, 1) goes to
i = (1, 0) turns to (1/2, √3/2), the first column; j = (0, 1) turns to (−√3/2, 1/2), the second. Anticlockwise, the matrix is (cos θ −sin θ | sin θ cos θ): the minus goes on the top-right sin θ. Here θ = 60°.
Put in θ=90∘, 180∘ and 270∘ to get the special cases. A clockwise turn through θ is an anticlockwise turn through −θ, so 270∘ anticlockwise is 90∘ clockwise.
R90∘=(01−10)R180∘=(−100−1)R270∘=(0−110)
They send (x,y) to (−y,x), (−x,−y) and (y,−x). To find the image of any point, multiply Rθ by the point written as a column.
The point P(3,−5) is rotated through an angle of 60∘ anticlockwise about the origin. (i) Obtain the matrix for the rotation. (ii) Find the image P1 of the point P under the rotation.
The matrix
Anticlockwise through 60∘, so use Rθ with θ=60∘.
cos60∘=21 and sin60∘=23.
So the matrix is (2123−2321).
Think first.Put θ = 60° into the rotation matrix.
The image
Top row: 21(3)−23(−5)=23+53.
Bottom row: 23(3)+21(−5)=233−5.
So P1(23+53,233−5).
As decimals, P1 is about (5.83,0.10).
Think first.Multiply the matrix by (3, −5) written as a column.
One transformation followed by another
To apply N first and then M, multiply by N and then by M: the combined matrix is MN, with the first transformation written on the right.
N followed by MThe combined matrix is MN
N followed by MPick the first move and the second
100−1N, first: reflect in x-axis0−110M, then: rotate 90°0110both at once: MN
First (N)
Then (M)
Reflect in x-axis first (teal), then rotate 90° (orange). One matrix does both: MN = 0110, with N, the first move, written on the right. Done the other way round, they land somewhere else: switch on “Show the other order”.
Two linear transformations A and B in the Oxy plane are defined by A:(x,y)→(x+2y,−x+y) and B:(x,y)→(2x+3y,x+2y). (i) Write down the matrices A and B. (ii) Find the image of the point P(−2,2) under the linear transformation A followed by B.
Worked solution (try it first)
(b)(i)
Read the coefficients off each rule: A=(1−121) and B=(2132).