Professional Documents
Culture Documents
Geometric Transformations, Linear Algebra, Alexandria University
Geometric Transformations, Linear Algebra, Alexandria University
Shear Rotation
Scaling
Reflection
2 Dr. Sara Hassan Kamel
Geometric Transformations
Rotation Transformation
We want a matrix that rotates vectors θ degrees
anti-clockwise.
θ
θ
1 cos
T (e1 ) T
(cosθ, sinθ)
1sinθ
0 sin
θ
1cosθ
1 cos
θ 1
–sinθ 1sinθ
0 0 1 1
1 1 2 2
x y
y x
(0,0) (1,0)
x x 2 (2,3) (3,3)
? y y 3 (0,1) (1,1)
(0,0) (1,0)
1 0 h x x h
0 1 k y y k (2,3) (3,3)
(0,1) (1,1)
1 0 h x x h
0 1 k y y k (2,3) (3,3)
(0,1) (1,1)
0 1 0 1 2
–1
Two steps:
1. Reflection through the x-axis
2. Translation (shifting) +1 along the x-axis
0 1 0 1 2
–1
1 0 1
0 1 0
0 0 1
0 1 0 1 2
–1
1 0 1 0 1
0 1 0 0 0
0 0 1 1 1
20 Dr. Sara Hassan Kamel
Geometric Transformations
Example 1:
1
0 1 0 1 2
–1
1 0 1 1 2
0 1 0 0 0
0 0 1 1 1
21 Dr. Sara Hassan Kamel
Geometric Transformations
Example 1:
1
0 0.5 1 0 1 2
–1
1 0 1 0.5 1.5
0 1 0 1 1
0 0 1 1 1
22 Dr. Sara Hassan Kamel
Geometric Transformations
Example 2:
1 1
0 1 0 0.5 2
Two steps:
1. Horizontal scaling (by 2)
2. Horizontal shearing (by 0.5)
0 1 0 0.5 2
2 0.5 1 0.5 2 0
0 1 0 1 0 1
24 Dr. Sara Hassan Kamel
Geometric Transformations
Example 2:
1 1
0 1 0 0.5 2
2 0.5 x 2 x 0.5 y
0 1 y
y
25 Dr. Sara Hassan Kamel
Geometric Transformations
Example 2:
1 1
0 1 0 0.5 2