Presentation is loading. Please wait.

Presentation is loading. Please wait.

IGCSE FM Matrix Transformations

Similar presentations


Presentation on theme: "IGCSE FM Matrix Transformations"— Presentation transcript:

1 IGCSE FM Matrix Transformations
Dr J Frost The specification: Last modified: 3rd January 2016

2 Introduction A matrix (plural: matrices) is simply an ‘array’ of numbers, e.g. On a simple level, a matrix is simply a way to organise values into rows and columns, and represent these multiple values as a single structure. For the purposes of IGCSE Further Maths, you should understand matrices as a way to transform points. Matrices are particularly useful in 3D graphics, as matrices can be used to carry out rotations/enlargements (useful for changing the camera angle) or project into a 2D ‘viewing’ plane.

3 (Just for Fun) Using matrices to represent data
This is a scene from the film Good Will Hunting. Maths professor Lambeau poses a “difficult”* problem for his graduate students from algebraic graph theory, the first part asking for a matrix representation of this graph. Matt Damon anonymously solves the problem while on a cleaning shift. ? In an ‘adjacency matrix’, the number in the ith row and jth column is the number of edges directly connecting node (i.e. dot) i to dot j ? * It really isn’t.

4 Using matrices to represent data
In my 4th year undergraduate dissertation, I used matrices to help ‘learn’ mark schemes from GCSE biology scripts. Matrix algebra helped me to initially determine how words (and more complex semantic information) tended to occur together with other words.

5 ζ Matrix Fundamentals Matrix Algebra
Understand the dimensions of a matrix, and operations on matrices, such as addition, scalar multiplication and matrix multiplication.

6 Matrix Fundamentals #1 Dimensions of Matrices 2  3 ? 3  1 ? 1  3
The dimension of a matrix is its size, in terms of its number of rows and columns. Matrix Dimensions 2  3 ? 3  1 ? 1  3

7 Matrix Fundamentals #2 Notation/Names for Matrices Column Vector
A matrix can have square or curvy brackets*. Column Vector (The vector you know and love) Row Vector Matrix So a matrix with one column is simply a vector in the usual sense. * The textbook only uses curvy.

8 Matrix Fundamentals #3 Variables for Matrices 𝑨= 1 6 −3 𝑪= 𝑷 𝟐 𝑻𝑷
If we wish a variable to represent a matrix, we use bold, capital letters. 𝑨= 1 6 −3 𝑪= 𝑷 𝟐 𝑻𝑷

9 Matrix Fundamentals #4 Adding/Subtracting Matrices ? ?
Simply add/subtract the corresponding elements of each matrix. They must be of the same dimension. ? ?

10 Matrix Fundamentals #5 Scalar Multiplication ? ? ?
A scalar is a number which can ‘scale’ the elements inside a matrix/vector. ? 1 ? 2 ? 3

11 Matrix Fundamentals #6 Matrix Multiplication 1 0 3 -2 2 8 4 3 7 -1 0 2
This is where things get slightly more complicated... Now repeat for the next row of the left matrix... -11 16 42 61 50 -6 We start with this row and column, and sum the products of each pair. (1 x 5) + (0 x 1) + (3 x 0) + (-2 x 8) = -11

12 Further Example June 2012 Paper 1 Q2 = ?

13 Test Your Understanding
Now you have a go... If 𝐴= , 𝐵= , 𝐴𝐵= 𝟎 𝟏 𝟑 𝟑 ? a ? −1 = 𝟐 𝟔 b = = ? = ? N c ? N ? N Bro Exam Note: In IGCSEFM, you will only have to multiply either a 2×2 by 2×1 or 2×2 by 2×1.

14 Identity Matrix ? ? Let 𝑰= 1 0 0 1 and 𝐴= 𝑎 𝑏 𝑐 𝑑 . Determine:
𝐴𝐼= 𝒂 𝒃 𝒄 𝒅 𝐼𝐴= 𝒂 𝒃 𝒄 𝒅 ? ? 𝑰= is known as the ‘identity matrix’. Multiplying by it has no effect, i.e. 𝐴𝐼=𝐼𝐴=𝐴 for any matrix 𝐴. It may seem pointless to have such a matrix, but it’ll have more importance when we consider matrices as ‘transformations’ later. Although admittedly you won’t quite fully appreciate why we have it unless you do Further Maths A Level…

15 Exercise 1 1 ? ? ? ? ? ? 2 ? ? ? ? ? ? 3 ? ? ? ? ? ?

16 Exercise 1 ? ? ? 4 ? ? ? 5 ? ? ? ? ? ? 6 ? ? ? ? ? ?

17 Exercise 1 7 ? ? ? ? ? ?

18 Harder Multiplication Questions
Matrix multiplications may give us simultaneous equations, which we solve in the usual way. June 2013 Paper 2 Q12 ? 𝑥 2 −12 𝑥−4𝑦 = 4𝑥 8 𝑥 2 −12=4𝑥 𝑥 2 −4𝑥−12=0 𝑥=−2 𝑜𝑟 𝑥=6 𝑦=−2.5 𝑜𝑟 𝑦=−0.5

19 Test Your Understanding
AQA Worksheet 2 ? 𝟐+𝟐𝒂=𝟏𝟐 → 𝒂=𝟓 𝟔+𝒂𝒃=𝟐𝟔 → 𝒃=𝟒 𝟑+𝟐=𝒄 → 𝒄=𝟓

20 Exercise 1b ? ? ? ? ? 4 Set 4 Paper 1 Q17 1 −𝟔+𝟕𝒂=𝟐𝟐 𝒂=𝟒 2
June 2013 Paper 2 Q11 ? ? −𝒂 𝟐𝒃−𝒄 𝟎 𝟏 𝟑 𝒃 𝟐𝒂+𝒂𝒃=−𝟏 𝒂−𝟑𝒃=𝟐 𝒂=𝟐+𝟑𝒃 ∴𝟐(𝟐+𝟑𝒃)+ 𝟐+𝟑𝒃 𝒃=−𝟏 𝟑 𝒃 𝟐 +𝟖𝒃+𝟓=𝟎 𝟑𝒃+𝟓 𝒃+𝟏 =𝟎 𝒃=−𝟏 𝒐𝒓 𝒃=− 𝟓 𝟑 𝒂=−𝟏 𝒐𝒓 𝒂=−𝟑 ? 𝒂=−𝟏, 𝒃=𝟑, 𝒄=𝟔 3 Set 2 Paper 2 Q16 ? 𝑷𝑸= 𝟐 𝟓 𝒂 𝒂+𝒃 𝑸𝑷= 𝟐+𝒂 𝟑+𝒃 𝒂 𝒃 ∴𝒂=𝟎, 𝒃=𝟐

21 Matrices representing transformations
Matrices can represent transformations to points in 2D or 3D space. Let us represent a point as the vector 𝑥 𝑦 We can multiply it by a matrix: 𝑥 𝑦 = 𝟐𝒙 𝟐𝒚 (Note: You’re used to representing points as coordinates like 𝑥,𝑦 rather than vectors, but it allows us to apply matrix transformations to them more easily in this form) ? 𝑦 Important Note: When we multiply by a matrix, it goes on the front, not after. This is a bit like how with composite functions, e.g. 𝑔𝑓(𝑥), we applied 𝑓 to 𝑥 followed 𝑔. We go right to left. 2𝑥 2𝑦 𝑥 𝑦 What ‘transformation’ therefore does the matrix represent? An enlargement by scale factor 2 about the origin. 𝑥 ?

22 A further example 0 1 −1 0 𝑥 𝑦 = 𝒚 −𝒙 ? ? ? Transformation:
What transformation does the matrix −1 0 represent? 0 1 − 𝑥 𝑦 = 𝒚 −𝒙 ? Step 1: Find the effect on a point 𝑥 𝑦 . Step 2: Draw the old and new point (using a specific example point if you wish) to see the effect. 𝑦 ? 3 1 Transformation: Rotation 𝟗𝟎° clockwise about the origin. 𝑥 ? 1 −3

23 Investigate In pairs or otherwise, determine the transformations that each of these matrices represents. 0 −1 1 0 Rotation 𝟗𝟎° anticlockwise about the origin. ? Reflection in the line 𝒙=𝟎 ? 1 0 0 −1 0 1 −1 0 Rotation 𝟗𝟎° clockwise about the origin. ? ? Reflection in the line 𝒚=𝟎 −1 0 0 −1 Rotation 𝟏𝟖𝟎° about the origin. ? ? No effect! ? Reflection in the line 𝒚=𝒙

24 Going backwards ? ? 0 −1 1 0 𝑥 𝑦 = −𝑦 𝑥
Work out the transformation that transforms a point 270° clockwise about the origin. 𝑦 −1 3 ? Use a specific point or 𝑥 𝑦 and find the effect of the transformation. ? Work out what matrix would have this effect 0 − 𝑥 𝑦 = −𝑦 𝑥 3 1 𝑥

25 Transforming the unit square
For more complex transformations it’s not sufficient to look at the effect on just one point: we can’t fully see what the matrix is doing. If we look at the effect on a unit square (with coordinates 0,0 , 1,0 , 1,1 , 0,1 ), we can better see the effect of a matrix transformation on a region in the 𝑥-𝑦 plane. Set 3 Paper 2 Q17 Just apply the transformation to each point of the unit square. = 𝟎 𝟎 = 𝟑 𝟎 = 𝟎 𝟑 = 𝟑 𝟑 ? ? ? ?

26 Test Your Understanding
Set 1 Paper 1 Q14 ? 0 −1 − = 𝟎 𝟎 −1 − = 𝟎 −𝟏 −1 − = −𝟏 𝟎 −1 − = −𝟏 −𝟏 𝐴′ 𝐵′ 𝐶′

27 Exercise 3 [Jan 2013 Paper 2 Q15] Describe fully the single transformation represented by the matrix 0 − Rotation 𝟗𝟎° anticlockwise about the origin. [Set 2 Paper 1 Q4] The transformation matrix 𝑎 2 −1 1 maps the point 3,4 onto the point 2,𝑏 . Work out the values of 𝑎 and 𝑏. 𝒂=−𝟐, 𝒃=𝟏 [Set 3 Paper 1 Q6] The matrix 𝑎 𝑏 −𝑎 2𝑏 maps the point 5,4 onto the point 1,17 . Work out the values of 𝑎 and 𝑏. 𝒂=−𝟏, 𝒃=𝟏.𝟓 [Worksheet 2 Q5] Work out the image of the point D (1, 2) after transformation by the matrix − Solution: 𝟒 𝟑 [Worksheet 2 Q6] The point A(m, n) is transformed to the point A (2, 0) by the matrix Work out the values of m and n. 𝒎=𝟐, 𝒏=−𝟐 [Worksheet 2 Q8] Describe fully the transformation given by the matrix 0 −1 −1 0 Reflection in the line 𝒚=−𝒙 [Worksheet 2 Q9] The unit square OABC is transformed by the matrix ℎ 0 0 ℎ to the square OABC. The area of OABC is 27. Work out the exact value of h. 𝒉=𝟑 𝟑 1 5 ? ? 2 6 ? ? 3 7 ? 4 ? ?

28 𝐴 𝐵 𝑃 𝐴𝑃 𝐵𝐴𝑃 𝐵𝐴 Combined Transformations ? ? ?
If a point 𝑃 is transformed by the matrix 𝐴 followed by the matrix 𝐵, what calculation would get the new point? Therefore what matrix represents the combined transformation of 𝐴 followed by 𝐵? ! The matrix 𝐵𝐴 represents the combined transformation of 𝐴 followed by 𝐵.

29 Example A point 𝑃 is transformed using the matrix − , i.e. a reflection in the line 𝑥=0, followed by , i.e. a reflection in the line 𝑦=𝑥. Give a single matrix which represents the combined transformation. Describe geometrically the single transformation this matrix represents. ? a 𝟎 𝟏 𝟏 𝟎 −𝟏 𝟎 𝟎 𝟏 = 𝟎 𝟏 −𝟏 𝟎 Rotation 𝟗𝟎° clockwise about the origin. ? b

30 Test Your Understanding
Worksheet 2 Q7 Bro Note: The default direction of rotation is anticlockwise if not specified. 𝑨= 𝑩= 0 1 −1 0 𝑩𝑨= 0 1 − = −1 (The question does not ask, but this represents a reflection in the line 𝑦=0) ? ? ?

31 Exercise 3 Point 3,−2 is transformed by the matrix 1 − followed by a further transformation by the matrix (i) Work out the matrix for the combined transformation Solution: 𝟎 𝟐 𝟏 −𝟏 (ii) Work out the co-ordinates of the image point of 𝑃 Solution: (−𝟒,𝟓) Point −1,4 is transformed by the matrix 3 −1 −2 2 followed by a further transformation by the matrix −2 . (i) Work out the matrix for the combined transformation Solution: 𝟑 −𝟏 𝟏𝟑 −𝟕 (ii) Work out the co-ordinates of the image point of 𝑊 Solution: (−𝟕,−𝟒𝟏) The unit square is reflected in the 𝑥-axis followed by a rotation through 180° centre the origin. Work out the matrix for the combined transformation. Solution: −𝟏 𝟎 𝟎 𝟏 The unit square is enlarged, centre the origin, scale factor 2 followed by a reflection in the line 𝑦=𝑥. Work out the matrix for the combined transformation. Solution: 𝟎 𝟐 𝟐 𝟎 1 3 ? ? 4 ? 2 ? ? ?

32 Exercise 3 [Jan 2013 Paper 2 Q17] − represents a reflection in the 𝑦-axis represents a reflection in the line 𝑦=𝑥. Work out the matrix that represents a reflection in the 𝑦-axis followed by a reflection in the line 𝑦=𝑥. 𝟎 𝟏 𝟏 𝟎 −𝟏 𝟎 𝟎 𝟏 = 𝟎 𝟏 −𝟏 𝟎 [June 2012 Paper Q22] The transformation matrix 0 −1 −1 0 maps a point 𝑃 to 𝑄. The transformation matrix −1 maps point 𝑄 to point 𝑅. Point 𝑅 is −4,3 . Work out the coordinates of point 𝑃. 𝟏 𝟎 𝟎 −𝟏 𝟎 −𝟏 −𝟏 𝟎 = 𝟎 −𝟏 𝟏 𝟎 This is a rotation 𝟗𝟎° anticlockwise. So original point 𝑷 is 𝟑 𝟒 5 7 [Set 1 Paper Q14b] The unit square OABC is transformed by reflection in the line 𝑦=𝑥 followed by enlargement about the origin with scale factor 2. What is the matrix of the combined transformation? 𝟐 𝟎 𝟎 𝟐 𝟎 𝟏 𝟏 𝟎 = 𝟎 𝟐 𝟐 𝟎 𝐴= and 𝐵= − The point 𝑃 2,7 is transformed by matrix 𝐵𝐴 to 𝑃′. Show that 𝑃′ lies on the line 7𝑥+2𝑦=0. −𝟏 𝟎 𝟎 𝟏 𝟑 𝟎 𝟎 𝟑 𝟐 𝟕 = −𝟔 𝟐𝟏 𝟕 −𝟔 +𝟐 𝟐𝟏 =𝟎 ? ? 6 ? ?


Download ppt "IGCSE FM Matrix Transformations"

Similar presentations


Ads by Google