Rotate Triangle 90 Degrees Counterclockwise About The Origin Calculator
This calculator helps you rotate a triangle 90 degrees counterclockwise about the origin (0,0) in a 2D coordinate system. You'll learn how to perform the rotation mathematically and visualize the transformation.
How to Use This Calculator
To rotate a triangle 90 degrees counterclockwise about the origin:
- Enter the coordinates of the three vertices of your triangle in the input fields.
- Click "Calculate" to perform the rotation.
- View the rotated coordinates in the result panel.
- Use the visualization to see the transformation.
The calculator will show you the new coordinates after rotation and display a before-and-after chart.
The Math Behind Rotation
Rotating a point (x, y) 90 degrees counterclockwise about the origin transforms it to (-y, x). This is derived from the standard 2D rotation matrix:
For a point (x, y), the rotated coordinates are:
x' = -y
y' = x
This transformation preserves the distance from the origin but changes the angle by 90 degrees. The same formula applies to all three vertices of the triangle.
Worked Example
Let's rotate a triangle with vertices at (1, 2), (3, 4), and (5, 6) 90 degrees counterclockwise about the origin.
- First vertex (1, 2) becomes (-2, 1)
- Second vertex (3, 4) becomes (-4, 3)
- Third vertex (5, 6) becomes (-6, 5)
The original triangle is now rotated 90 degrees counterclockwise, with all points moved to new positions while maintaining their relative positions to each other.
Frequently Asked Questions
What happens if I rotate a triangle 90 degrees clockwise?
The formula for clockwise rotation is (y, -x). This is the inverse of the counterclockwise rotation.
Can I rotate a triangle about a different point?
Yes, but you would need to translate the triangle so the rotation point becomes the origin, perform the rotation, then translate back.
What's the difference between rotation and reflection?
Rotation changes the orientation of the figure, while reflection flips it over a line. Both preserve distances between points.