2.2 day 2 reflections and rotations combined with scaling
DESCRIPTION
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. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/1.jpg)
2.2 Day 2 Reflections and Rotations combined with Scaling
The concept of transformations inspired art by M.C. Escher
![Page 2: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/2.jpg)
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
![Page 3: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/3.jpg)
Problem 7
![Page 4: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/4.jpg)
Solution to problem 7
Formula
![Page 5: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/5.jpg)
Reflections over a vector (line)
The matrix of transformation is given by the formula:
Where
Please note that this matrix has the following form:
Note u1 and u2 are components of a unit vector pointing in the direction of line of reflection. (will prove as next problem)
Note: this only works for vectors in R2 while other formula works for in Rn
![Page 6: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/6.jpg)
Problem 13
![Page 7: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/7.jpg)
Solution to Problem 13
![Page 8: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/8.jpg)
Reflections
Find the matrix of projection through
![Page 9: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/9.jpg)
Use the matrix
Find the matrix of reflection over
![Page 10: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/10.jpg)
For reflections in 3 D space Reflecting a Vector over a plane
Formula for reflection over a plane:
Note: u is a unit vector perpendicular (normal) to the plane
Add this formula to your notes
![Page 11: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/11.jpg)
Example 3
Note: we are reflecting the vector x about a plane
![Page 12: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/12.jpg)
Solution to example 3Formula:
![Page 13: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/13.jpg)
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
![Page 14: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/14.jpg)
The matrix below represents a rotation. Find the angle of rotation
(in radians)
![Page 15: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/15.jpg)
The matrix below represents a rotation. Find the angle of rotation
(in radians)
Answer: invcos(3/5)Or invsin (4/5)
Use the formula:
![Page 16: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/16.jpg)
Rotations combined with Scaling
This is the same as the proof we did in 2.1 but now we don’t requirea2 + b2 = 1
Why does removing this requirement result in a rotation plus a scaling?
![Page 17: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/17.jpg)
What matrices should we have in our library of basic matrices?
Identity Matrix
Projection Matrices
Projection onto x-axis
Projection onto y-axis
Rotation MatrixReflection Matrix
Rotation with ScalingOne directional ScalingMixed ScalingHorizontal ShearVertical Shear
![Page 18: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/18.jpg)
How do you identify an unknown matrix?
1) Check your library of basic matrices.
2) Use your knowledge of matrix multiplication.
3) Plug in values. To be efficient use the elementary matrices.
![Page 19: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/19.jpg)
Identify the following matrices
5 00 2
5/13 12/13-12/13 5/13
2 0 0 0
3/5 4/5
4/5 -3/5
1 0
2 1
1 -2
2 1
25/169 60/169
60/169 144/169
![Page 20: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/20.jpg)
Identify the following matrices
An non-symmetricalProjection onto y=x
5 00 2
5/13 12/13-12/13 5/13
rotationCombined scaling
2 0 0 0
ProjectionOnto x-axis with scaling
3/5 4/5
4/5 -3/5
reflection
1 0
2 1
Vertical shear
1 -2
2 1
Rotation with scaling
25/169 60/169
60/169 144/169
projection
![Page 21: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/21.jpg)
Homework
P. 65 7,11, 25,26 (d, e only) 27,28,32,34,37,38,39,
![Page 22: 2.2 Day 2 Reflections and Rotations combined with Scaling](https://reader035.vdocuments.net/reader035/viewer/2022062308/5681302e550346895d95c345/html5/thumbnails/22.jpg)
Rotations in R3
For more information on rotations visit:http://www.songho.ca/opengl/gl_projectionmatrix.html