0% found this document useful (0 votes)
90 views

6) Matrix Transformations

This document discusses using matrix transformations to move shapes in 2D. It provides an example of multiplying the coordinate matrix of a triangle by a 2x2 transformation matrix to translate the triangle's coordinates and transform the shape. It also discusses using the identity matrix, which does not change the coordinates, and encourages practicing creating new transformation matrices and observing how they alter shapes.

Uploaded by

Keri-ann Millar
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
90 views

6) Matrix Transformations

This document discusses using matrix transformations to move shapes in 2D. It provides an example of multiplying the coordinate matrix of a triangle by a 2x2 transformation matrix to translate the triangle's coordinates and transform the shape. It also discusses using the identity matrix, which does not change the coordinates, and encourages practicing creating new transformation matrices and observing how they alter shapes.

Uploaded by

Keri-ann Millar
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Matrix Transformations (1)

Starter
Multiply these Matrices together:
  2 3 5 0 
[−1 ][
4 −2 1]¿ [¿ ]
2x2 2x2 2x2

Write each
( 2 ×5 ) +(3 ×− 2) ( 2 ×0 ) +(3 × 1) calculation out in
( −1 ×5 ) +(4 ×− 2) ( −1 ×0 ) +(4 × 1) the correct
position…

Now calculate each 4 3


one!
 
¿ ¿4  ]
[  
−13
 
 
Matrix Transformations (1)

• We saw Matrices in an earlier unit, and


learnt how to solve questions involving them

• In this sequence of lessons we will learn


how to use Matrices to transform shapes in
2D (rotate, reflect etc)

• This is used in computer animation to move


characters around in movies/games etc!
Matrix Transformations (1)
To do a Matrix Transformation, you
first need to write the coordinates of
the corners of the shape in a Matrix…
5

 The coordinates for the triangle are 4


(2,3)
(1,1), (2,3) and (4,1) 3

 In a Matrix, these look like this: 2


(4,1)
1
 1 2 4
[ 1 3 1 ] -5 -4 -3 -2 -1
(1,1)
1 2 3 4 5
x
-1

 We can multiply this Matrix by a -2


2 x 2 Matrix to move all the
coordinates around, and hence, -3

transform the shape! -4

-5
Matrix Transformations (1)
 1 2 4
[1 3 1 ]
Transform the Triangle using the Matrix:
 1 −1
[1 0 ] 5

4
(3,4)

(2,3)
 Put the transformation matrix in front
3
of the coordinate matrix (otherwise the (-1,2)
multiplication will not work!) 2
(4,1)
1

 1 −1 1 2 4  (0,1) (1,1)
[1 0 1 ][ 3 1]¿ [ ¿ ] -5 -4 -3 -2 -1 1 2 3 4 5
x
-1
2x2 2x3 2x3
-2
( 𝟏× 𝟏 )+(−𝟏 ×𝟏) ( 𝟏× 𝟐 ) +(−𝟏 ×𝟑) ( 𝟏× 𝟒 )+(−𝟏 ×𝟏)
-3
( 𝟏× 𝟏 )+(𝟎 ×𝟏) ( 𝟏× 𝟐 ) +(𝟎 ×𝟑) ( 𝟏× 𝟒 )+(𝟎 ×𝟏) -4

0 −1 3 -5
¿  [ 1 2 4 ]
So the 3 new coordinates will be: (0,1), (-1,2) and (3,4)!
Matrix Transformations (1)

 1 0
[0 1 ]
Practice transforming shapes by
Do you remember multiplying their coordinates by
 − 1 0 a Matrix
this Matrix?
[ 0 1 ] Starting with the Identity
matrix, make small changes to
This is the IDENTITY Matrix…  2 0
 Multiplying it by another
[0 2 ] create a new matrix, and
multiply the coordinates of the
shape by it
Matrix does not change
 0 1
anything (like multiplying a
number by 1) [1 0 ]  Then draw the new shape…

 For each change, try to


 Multiplying a set of describe what the
coordinates by this Matrix will transformation is!
not change them
Plenary
Did you find any Matrices that do specific transformations?
Summary
• We have seen how Matrices can be used to
transform shapes

• We have seen that the coordinates of a shape


can be written as a Matrix

• Next lesson we will look at how to work out


what transformation a Matrix will do, and how
to find a Matrix for a particular
transformation!

You might also like