Lesson 10 NYS COMMON CORE MATHEMATICS CURRICULUM M2 PRECALCULUS AND ADVANCED TOPICS Lesson 10: Matrix Multiplication Is Not Commutative Student Outcomes ο§ Students understand that, unlike multiplication of numbers, matrix multiplication is not commutative. Lesson Notes In this lesson, students first demonstrate that linear transformations in the coordinate plane do not commute. Since each linear transformation corresponds to a 2 × 2 matrix, students see that the corresponding matrix multiplication must also fail to commute (N-VM.C.9). Students verify this fact algebraically by multiplying matrices in both orders. Work is then extended to coordinates in 3-D space to prove that multiplication of 3 × 3 matrices is also not commutative. Classwork Opening Exercise (7 minutes) Allow students time to work on the Opening Exercise independently before discussing as a class. Solicit volunteers to demonstrate each transformation in order to illustrate that the result is not the same. Opening Exercise π Consider the vector π― = ( ). π If π― is rotated ππ° counterclockwise and then reflected across the π-axis, what is the resulting vector? √π π √π (π) If π― is reflected across the π-axis and then rotated ππ° counterclockwise about the origin, what is the resulting vector? √π π √π ( π ) − Scaffolding: ο§ Consider providing students who struggle with transformations a coordinate grid, a transparency, and a finepoint dry erase marker to perform each transformation. ο§ Students place the transparency on the grid and draw vector (0, 1); then, they perform the rotation with the transparency to help determine the location of the transformed vector. Did these linear transformations commute? Explain. No πΉπ,ππ° β πΉπ ≠ πΉπ β πΉπ,ππ° Lesson 10: Matrix Multiplication Is Not Commutative This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from PreCal-M2-TE-1.3.0-08.2015 166 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Lesson 10 NYS COMMON CORE MATHEMATICS CURRICULUM M2 PRECALCULUS AND ADVANCED TOPICS MP.3 ο§ Do you think linear transformations, in general, commute? Explain why or why not. οΊ No, the resulting vector varies depending on the order in which the transformations are applied. Write this on the board: π 0,45° β π π¦ ≠ π π¦ β π 0,45° ο§ What matrix corresponds to a 45° counterclockwise rotation? cosβ‘(45°) −sin(45°) οΊ ( ) sin(45°) cos(45°) ο§ What matrix corresponds to a reflection across the π¦-axis? −1 0 οΊ ( ) 0 1 What does the fact that the linear transformations failed to commute tell us about the corresponding matrix multiplication? ο§ οΊ The multiplication of the two transformation matrices must also fail to commute. Exercise 1 (5 minutes) Allow students time to verify algebraically that the matrix multiplication fails to commute. Share results as a class. Exercises Let π¨ equal the matrix that corresponds to a ππ° rotation counterclockwise and π© equal the matrix that corresponds to a reflection across the π-axis. Verify that matrix multiplication does not commute by finding the products π¨π© and π©π¨. 1. √π √π √π √π − − − −π π π π π π π¨π© = ( )= π π √π √π √π √π − π ) π ) (π ( π √π √π √π √π − − −π π π π π π π©π¨ = ( ) = π π √π √π √π √π π ) ( π π) (π π¨π© ≠ π©π¨ ο§ What can be said about multiplication of two 2 × 2 matrices? οΊ ο§ Unlike multiplication of two numbers, it is not commutative. What do you think about multiplication of two 3 × 3 matrices? Why? οΊ I do not think the multiplication would be commutative either. Each 3 × 3 matrix represents a transformation in 3-D space. These transformations will not be commutative; therefore, the corresponding multiplication will not be commutative. Lesson 10: Matrix Multiplication Is Not Commutative This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from PreCal-M2-TE-1.3.0-08.2015 167 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Lesson 10 NYS COMMON CORE MATHEMATICS CURRICULUM M2 PRECALCULUS AND ADVANCED TOPICS Exercise 2 (7 minutes) Allow students time to verify algebraically that the matrix multiplication fails to commute. Share results as a class. π −π π π π π Let π¨ = (π π π) and π© = (π π −π). Verify that matrix multiplication does not commute by finding the π π π π π π products π¨π© and π©π¨. 2. π π π π¨π© = (π π π) π π π π −π π π©π¨ = (π π −π) π π π π¨π© ≠ π©π¨ ο§ Summarize to a partner what can be said about linear transformations and, therefore, matrix multiplication. οΊ Neither of them commutes. The order in which transformations are applied affects the outcome; therefore, the order in which square matrices are multiplied affects the product. Exercise 3 (7 minutes) In this exercise, students find that the products are equal. Students should realize that although there are special cases when matrix multiplication appears to be commutative, matrix multiplication is not commutative, because, as seen in previous examples, there are many cases where π΄π΅ does not equal π΅π΄ (for square matrices π΄ and π΅). Allow students time to work with a partner. Share results as a class. Scaffolding: 3. π Consider the vector π― = (π). π a. If π― is rotated ππ° counterclockwise about the π-axis and then reflected across the ππ-plane, what is the resulting vector? π (π) −π b. If π― is reflected across the ππ-plane and then rotated ππ° counterclockwise about the π-axis, what is the resulting vector? π (π) −π Lesson 10: Matrix Multiplication Is Not Commutative This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from PreCal-M2-TE-1.3.0-08.2015 ο§ Exercise 4 could be varied by providing each student with a card that has a matrix in the form π −π ( ). Students could π π then pair up with another student and work the exercise. ο§ Advanced students may try working with the π −π general matrices ( ) π π π −π and ( ). π π 2 −3 ο§ Show the matrix ( ), 3 2 and ask students, “Explain how you know this is in π −π the form ( ).” π π 168 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Lesson 10 NYS COMMON CORE MATHEMATICS CURRICULUM M2 PRECALCULUS AND ADVANCED TOPICS c. Verify algebraically that the product of the two corresponding matrices is the same regardless of the order in which they are multiplied. √π π √π π Let π¨ = (π − √π π √π π π π π π) (the matrix representing ππ° rotation about the π-axis). π π π Let π© = (π π π ) (the matrix representing a reflection across the ππ-plane). π π −π √π √π − π π π π¨π© = π©π¨ = √π √π π π π (π π −π) ο§ What can be said about the order in which the transformations are applied in this particular example? οΊ ο§ The resulting point is the same regardless of the order in which the transformations are applied. What can be said about the corresponding matrix multiplication? οΊ ο§ In this case, π΄π΅ = π΅π΄, but this is a particular case. Summarize with a partner what can be said about matrix multiplication. οΊ Matrix multiplication is not commutative. However, there are instances where the products are the same. This would correspond geometrically to cases in which the order that transformations are applied does not affect the location of the point. Exercise 4 (9 minutes) Allow students time to work with a partner. Have several groups show their results from part (a) in order to establish that multiplication of any two matrices in this form has the same product. Stress that this is a special case and does not mean that matrix multiplication is commutative. 4. π −π ). π π Verify algebraically that the products of these two matrices are equal. Write two matrices in the form ( a. Let π¨ = ( π¨π© = ( π −π π −π ) and π© = ( ). π π π π π −π π −π ) and π©π¨ = ( ) π π π π π¨π© = π©π¨ b. Write each of your matrices as a complex number. Find the product of the two complex numbers. (π + π)(π + ππ) = π + ππ Lesson 10: Matrix Multiplication Is Not Commutative This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from PreCal-M2-TE-1.3.0-08.2015 169 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Lesson 10 NYS COMMON CORE MATHEMATICS CURRICULUM M2 PRECALCULUS AND ADVANCED TOPICS c. Why is it the case that any two matrices in the form ( π −π ) have products that are equal regardless of the π π order in which they are multiplied? Matrices in this form represent the geometric effect of complex multiplication. Multiplying a complex number π by a complex number πΆ and then by a complex number π· gives the same answer as multiplying by π· and then πΆ; that is, π·(πΆπ) = πΆ(π·π); thus, the corresponding matrix multiplication yields the same product. ο§ What did you discover about the matrices above? (Allow several groups to share their work.) οΊ π΄π΅ = π΅π΄ ο§ Does this mean matrix multiplication is commutative? Explain. ο§ π −π ). π π What is the relationship between these matrices and complex numbers? MP.8 ο§ οΊ No, this is a special case because the matrices are in the form ( οΊ Matrices in this form can be used to represent a corresponding complex number. Multiplying these matrices is the same as multiplying two complex numbers. Is the multiplication of two complex numbers commutative? π −π οΊ Yes, two matrices in the form ( ) have the same product, but this does not mean that matrix π π multiplication is commutative. Closing (5 minutes) Ask students to summarize in writing what can be said about multiplication of two square matrices and then share with a partner. Discuss key points as a class. ο§ Is matrix multiplication commutative? οΊ ο§ How does what we know about linear transformations support this notion? οΊ ο§ No The product of the two matrices represents two linear transformations. Since linear transformations do not commute, matrix multiplication must also fail to commute. Are there instances when, for two matrices π΄ and π΅, π΄π΅ = π΅π΄? Explain. οΊ Yes, particularly when the two matrices represent complex numbers. The product of the two matrices is also a complex number. Since complex multiplication is commutative, matrix multiplication appears to be commutative in this instance. Exit Ticket (5 minutes) Lesson 10: Matrix Multiplication Is Not Commutative This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from PreCal-M2-TE-1.3.0-08.2015 170 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Lesson 10 NYS COMMON CORE MATHEMATICS CURRICULUM M2 PRECALCULUS AND ADVANCED TOPICS Name Date Lesson 10: Matrix Multiplication Is Not Commutative Exit Ticket 1. 2. Let π΄ be the matrix representing a rotation about the origin by 60° and π΅ be the matrix representing a reflection across the π₯-axis. a. Give two reasons why π΄π΅ ≠ π΅π΄. b. β‘β‘β‘1 Let π₯ = ( ). Evaluate π΄(π΅π₯) and π΅(π΄π₯). −1 3 Write two matrices, π΄, π΅, that represent linear transformations where π΄(π΅π₯) and π΅(π΄π₯) where π₯ = ( ). Explain 2 why the products are the same. Lesson 10: Matrix Multiplication Is Not Commutative This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from PreCal-M2-TE-1.3.0-08.2015 171 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Lesson 10 NYS COMMON CORE MATHEMATICS CURRICULUM M2 PRECALCULUS AND ADVANCED TOPICS Exit Ticket Sample Solutions 1. Let π¨ be the matrix representing a rotation about the origin by ππ° and π© be the matrix representing a reflection across the π-axis. a. Give two reasons why π¨π© ≠ π©π¨. The linear transformations these matrices represent do not commute, and the matrices themselves do not commute. π π √π π √π √π − − π π π π π π π π π¨= ;β‘π© = ( ) ;β‘π¨π© = ;β‘π©π¨ = π −π π π π √π √π √π − − − π ) π) π) (π (π ( π b. Let π = ( π ). Evaluate π¨(π©π) and π©(π¨π). −π π¨(π©π) = (π¨π©)π = π − √π π π + √π ( π ) π + √π π π©(π¨π) = (π©π¨)π = π − √π ( π ) 2. π Write two matrices, π¨, π©, that represent linear transformations where π¨(π©π) and π©(π¨π) where π = ( ). Explain π why the products are the same. Answers may vary. Examples include any two rotations about the origin, any two matrices representing complex numbers, and a dilation with any other matrix (since scalars commute with all matrices). For example: π π π −π π¨=( ) ,β‘π© = ( ) π π π π π¨π© = π©π¨ = ( π −π ) π π π¨(π©π) = π©(π¨π) = ( π ) ππ π −π ) represent the geometric effect of complex multiplication. Multiplying a complex π π number πβ‘by a complex number πΆ and then by a complex number π· gives the same answer as multiplying by π· and then πΆ; that is, π·(πΆπ) = πΆ(π·π); thus, the corresponding matrix multiplication yields the same product. Matrices in the form ( Problem Set Sample Solutions 1. −π Let π¨ be the matrix representing a dilation of π, π© the matrix representing a rotation of ππ°, and π = ( ). π a. Evaluate π¨π©. (√π −π) π √π Lesson 10: Matrix Multiplication Is Not Commutative This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from PreCal-M2-TE-1.3.0-08.2015 172 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. NYS COMMON CORE MATHEMATICS CURRICULUM Lesson 10 M2 PRECALCULUS AND ADVANCED TOPICS b. Evaluate π©π¨. (√π −π) π √π c. Find π¨π©π. (−π√π − π) −π + π√π d. Find π©π¨π. (−π√π − π) −π + π√π 2. Let π¨ be the matrix representing a reflection across the line π = π, π© the matrix representing a rotation of ππ°, and π π = ( ). π a. Evaluate π¨π©. ( b. Evaluate π©π¨. ( c. π π ) π −π −π π ) π π Find π¨π. π ( ) π d. Find π©π. π ( ) π e. Find π¨π©π. π ( ) π f. Find π©π¨π. ( g. −π ) π Describe the linear transformation represented by π¨π©. π¨π© represents a reflection across the π-axis. h. Describe the linear transformation represented by π©π¨. π©π¨ represents a reflection across the π-axis. Lesson 10: Matrix Multiplication Is Not Commutative This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from PreCal-M2-TE-1.3.0-08.2015 173 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Lesson 10 NYS COMMON CORE MATHEMATICS CURRICULUM M2 PRECALCULUS AND ADVANCED TOPICS 3. Let matrices π¨, π© represent scalars. Answer the following questions. a. Would you expect π¨π© = π©π¨? Explain why or why not. Yes, scalars are real numbers, and real numbers commute. b. π π π π Let π¨ = ( ) and π© = ( ). Show π¨π© = π©π¨ through matrix multiplication, and explain why. π π π π ππ π ππ π π¨π© = ( )=( ) = π©π¨ π ππ π ππ These matrices represent complex numbers and are both of the form ( π −π ), so their products will be the π π same regardless of the order. 4. Let matrices π¨, π© represent complex numbers. Answer the following questions. a. Letβ‘π¨ = ( π −π π −π ) and π© = ( ). Show π¨π© = π©π¨ through matrix multiplication. π π π π ππ − ππ −ππ − ππ π¨π© = ( ) ππ + ππ −ππ + ππ ππ − π π −ππ − π π π©π¨ = ( ) π π + ππ −π π + ππ They are equivalent. b. Would you expect π¨πͺ = πͺπ¨ for any matrix πͺ? Explain. No, matrix multiplication is not commutative. c. π π Let πͺ be any π × π matrix, ( ). Show π¨πͺ ≠ πͺπ¨ through matrix multiplication. π π ππ − ππ ππ − ππ π¨πͺ = ( ) ππ + ππ ππ + ππ πͺπ¨ = ( d. ππ + ππ ππ + ππ ) ππ + ππ −ππ + ππ Summarize your results from Problems 3 and 4. Matrices representing scalars commute with any other matrix, and matrices representing complex number multiplication only commute when multiplying by other complex numbers (or if π = π). Lesson 10: Matrix Multiplication Is Not Commutative This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from PreCal-M2-TE-1.3.0-08.2015 174 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Lesson 10 NYS COMMON CORE MATHEMATICS CURRICULUM M2 PRECALCULUS AND ADVANCED TOPICS 5. Quaternions are a number system that extends to complex numbers discovered by William Hamilton in 1843. Multiplication of quaternions is not commutative and is defined as the quotient of two vectors. They are useful in three-dimensional rotation calculations for computer graphics. Quaternions are formed the following way: ππ = ππ = ππ = πππ = −π Multiplication by −π and π works normally. We can represent all possible multiplications of quaternions through a table: a. × π π π π −π π −π π −π −π π π π −π −π Is multiplication of quaternions commutative? Explain why or why not. No, it is not commutative. For example, ππ = π, but ππ = −π. b. Is multiplication of quaternions associative? Explain why or why not. Yes, it is associative. π(ππ) = π(π) = −π, and (ππ)π = (π)π = −π π and −π work normally. Lesson 10: Matrix Multiplication Is Not Commutative This work is derived from Eureka Math ™ and licensed by Great Minds. ©2015 Great Minds. eureka-math.org This file derived from PreCal-M2-TE-1.3.0-08.2015 175 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.