As virtualized in the graph, Triangle ABC is: (2,1), (0,3), (-2,1). Rotated 90° clockwise is: (-1,2), (-3,0), (-1,-2).
How is that so?
The coordinates of triangle ABC are:
A(2, 1)
B(0, 3)
C(-2, 1)
To rotate triangle ABC 90 degrees clockwise around the origin, we can use the following rotation matrix:
[[0, -1],
[1, 0]]
Multiplying each coordinate of triangle ABC by this rotation matrix gives us the new coordinates of the rotated triangle:
A(-1, 2)
B(-3, 0)
C(-1, -2)