1 / 22

2.2 Day 2 Reflections and Rotations combined with Scaling

2.2 Day 2 Reflections and Rotations combined with Scaling. The concept of transformations inspired art by M.C. Escher. Reflections. Consider a line L through the origin. We saw yesterday that and vector in R2 can be written as the sum of components perpendicular and parallel that line.

aidan-patel
Télécharger la présentation

2.2 Day 2 Reflections and Rotations combined with Scaling

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 2.2 Day 2 Reflections and Rotations combined with Scaling The concept of transformations inspired art by M.C. Escher

  2. Reflections Consider a line L through the origin. We saw yesterday that and vector in R2 can be written as the sum of components perpendicular and parallel that line If we consider the parallel component minus two times the perpendicular component, The result if a resultant vector that is the a reflection of the original vector over line L You will need this formula in your notes

  3. Problem 7

  4. Solution to problem 7 Formula

  5. Reflections over a vector (line) The matrix of transformation is given by the formula: Note u1 and u2 are components of a unit vector pointing in the direction of line of reflection. (will prove as next problem) Please note that this matrix has the following form: Where Note: this only works for vectors in R2 while other formula works for in Rn

  6. Problem 13

  7. Solution to Problem 13

  8. Reflections Find the matrix of projection through

  9. Use the matrix Find the matrix of reflection over

  10. For reflections in 3 D space Reflecting a Vector over a plane Formula for reflection over a plane: Add this formula to your notes Note: u is a unit vector perpendicular (normal) to the plane

  11. Example 3 Note: we are reflecting the vector x about a plane

  12. Formula: Solution to example 3

  13. Recall: Rotations Note: We proved this in 2.1 The matrix of counterclockwise rotation in real 2 dimensional space through angle theta is Note this is a matrix of the form

  14. The matrix below represents a rotation. Find the angle of rotation (in radians)

  15. The matrix below represents a rotation. Find the angle of rotation (in radians) Use the formula: Answer: invcos(3/5) Or invsin (4/5)

  16. Rotations combined with Scaling This is the same as the proof we did in 2.1 but now we don’t require a2 + b2 = 1 Why does removing this requirement result in a rotation plus a scaling?

  17. What matrices should we have in our library of basic matrices? Identity Matrix Projection Matrices Projection onto x-axis Projection onto y-axis Rotation Matrix Reflection Matrix Rotation with Scaling One directional Scaling Mixed Scaling Horizontal Shear Vertical Shear

  18. How do you identify an unknown matrix? • Check your library of basic matrices. • Use your knowledge of matrix multiplication. • Plug in values. To be efficient use the elementary matrices.

  19. Identify the following matrices • 0 • 2 1 25/169 60/169 60/169 144/169 • 0 • 0 2 5/13 12/13 -12/13 5/13 • 0 • 0 0 3/5 4/5 • -2 • 2 1 4/5 -3/5

  20. Identify the following matrices • 0 • 2 1 25/169 60/169 60/169 144/169 • 0 • 0 2 5/13 12/13 -12/13 5/13 rotation Combined scaling Vertical shear projection • 0 • 0 0 3/5 4/5 • -2 • 2 1 4/5 -3/5 An non-symmetrical Projection onto y=x Projection Onto x-axis with scaling reflection Rotation with scaling

  21. Homework P. 65 7,11, 25,26 (d, e only) 27,28,32,34,37,38,39,

  22. Rotations in R3 For more information on rotations visit: http://www.songho.ca/opengl/gl_projectionmatrix.html

More Related