written 5.6 years ago by |
Find a composite transformation matrix that will reflect triangle ABC about the line (L) and also find its new co-ordinates.
Solution:
Equation of line is: y=1/2x+2
Comparing with y=mx+c,m=0.5andc=2
also θ=tan−1m
θ=26.56∘
Step 1: Transformation of Point P(0,2) to origin O(0,0)
[Tr]=[100010tx ty 1]=[1000100−21]
{tx=0,ty=−2} (-ve as direction is downward.)
Step 2: Rotation of line by an angle of θ=−36.87∘ (-ve as it is moving in clockwise direction)
[R]=[cosθsinθ0−sinθcosθ0001]=[cos(−26.56)sin(−26.56)0−sin(−26.56)cos(−26.56)0001]
∴[R]=[0.89−0.4800.480.890001]
Step 3: Reflection of triangle about x-axis
Matrix for reflection about x-axis is given as,
[M]@x−axis=[1000−10001]
Step 4: Inverse rotation of line to its original angle
[Rx]−1ccw=[cosθsinθ0−sinθcosθ0001]=[cos(26.56)sin(26.56)0−sin(26.56)cos(26.56)0001]
=[0.890.480−0.480.890001]
Step 5: Inverse Translation of Point P to its original position
[Tr]−1=[100010tx ty 1]=[100010021]
{tx=0,ty=+2} (+ve as direction is upwards)
Now,
The composite transformation matrix,
[T]=[Tr][R][M][R]−1[Tr]−1
=[1000100−21][0.89−0.4800.480.890001][1000−10001][0.890.480−0.480.890001][100010021]
=[0.5610.85400.854−0.560−1.71.1231][100010021]
=[0.560.85400.854−0.560−1.73.1231]=[0.60.800.8−0.60−1.73.11]
Now, new coordinate of triangle ABC are,
[X′]=[X][Γ]
=[241461261][0.60.800.8−0.60−1.73.11]
=[2.72.315.52.714.31.11]
A′=(2.7,2.3)
B′=(5.5,2.7)
C′=(4.3,1.1)