How to rotate a triangle in an equation

  • Level: Undergrad 
  • Thread starter tomallan
  • Start date
  • Tags Tags
    Rotate Triangle
1 reply · 2K views · last reply
tomallan
Messages
20
Reaction score
0
Hi,

i have a set of definition for a triangle shape:

-3/4<x<3/4

-x/sqrt(3) + sqrt(3)/4 < y < x/sqrt(3) +sqrt(3)/4

The centroid of this triangle is at 0,0

i want to rotate this triangle by a certain degree from the centroid but i am not sure how, because if i just multiply it by cos or sin of the angle, it will just become smaller.

any hints will be appreciated.
 
Any point can be rotated around the origin by rotating the coordinate system.
Two diagrams of a point P rotated about the origin: left, P moves to P' with dashed red and dark lines and angle theta marked; right, the coordinate axes are rotated by theta, shown as purple arrows, with P in the original frame.