You are on page 1of 3

Provided points:

v1 = (0,2)
v2 = (-2,-2)
v3 = (2,-2); w3 = ((9-sqrt(3))/2, (5-sqrt(3))/2)

All possible combinations for order of matrix multiplications:


STR, SRT, TSR, RTS, TRS, RST

***for all following matrices:


Let a represent Sx (scale matrix)
Let b represent Sy (scale matrix)
Let e represent dx (translation matrix)
Let f represent dy (translation matrix)

Based on diagram, scale is 1/2:


So a = b = 1/2
Rotation clockwise, so -sin(θ)
3
Assuming 60° CW rotation due to presence of 2
3
So sin(θ) = 2
, cos(θ) = 1/2

STR x V3
Substitute a=b=1/2 and θ=-60 (clockwise)

W3 =

Figure out dx (e) and dy (f):


1 - √3 + e = 9 - √3
e = 9 - √3 + √3 - 1
e = 8 = dx

-√3 - 1 + f = 5 - √3
f = 5 - √3 + 1 + √3
f = 6 = dy

Looks like a valid order of matrix multiplication.


Matrices S T R are respectively:

, ,

Which when applied to v3 gives w3

Applying STR x v1=[0,2,1]:

w1 =

Applying STR x v2=[-2,-2,1]:

w2 =
Graphing proves this (STR) to be correct order and figures

Not testing/checking SRT, TSR, RTS, TRS, RST matrix multiplication


orders as STR gives correct answer

You might also like