A 90 degree rotation around the origin turns a figure one-quarter turn. The coordinates switch places, and the signs change based on whether the rotation is clockwise or counterclockwise.
A 90° rotation sends every non‑vertical line of slope m to a line whose slope is -1/m because rotation interacts with slopes through perpendicularity, and perpendicular lines have slopes that are negative reciprocals.
- For a 90° clockwise rotation, use the rule (x,y)→(y,−x).
- For a 90° counterclockwise rotation, use the rule (x,y)→(−y,x).
- The x– and y-values switch places during a 90° rotation.
- The signs of the new coordinates depend on the quadrant where the image lands.
- A rotation is a rigid transformation because the image keeps the same size and shape.
Note About 90° Rotation of Horizontal and Vertical Lines
Vertical and horizontal lines can be rotated 90°, but their slopes cannot behave normally during the rotation because vertical lines have an undefined slope.
When you rotate a horizontal line by 90°, it becomes a vertical line (m = undefined). When you rotate a vertical line by 90°, it becomes a horizontal line (m = 0). The issue isn’t the physical rotation; it is the mathematical breakdown of the slope formula.
Mathematically
A 90° rotation turns a direction vector (1,m) into a perpendicular direction vector (-m,1), and the slope of that new vector is
So, the rotated line has slope -1/m.
Represent the Slope as a Direction Vector
A line with slope m has direction vector
Any nonzero scalar multiple of this vector points in the same direction, so this is the simplest choice.
Apply a 90° Rotation Matrix
A counterclockwise 90° rotation in the plane is given by the matrix
Apply it to the direction vector:
This is the direction vector of the rotated line.
Compute the Slope of the Rotated Line
For the rotated vector (-m,1), the slope is
Thus the slope transforms as
Why This Makes Geometric Sense
A 90° rotation makes lines perpendicular. And in coordinate geometry, perpendicular lines satisfy
So,
The rotation matrix calculation is simply the linear algebraic way of proving the same fact.
Non‑obvious Insight
The negative reciprocal rule is not a coincidence—it comes from the fact that the dot product of perpendicular vectors is zero:
The rotation matrix is precisely the linear transformation that sends every vector to a perpendicular one while preserving lengths.
References
[ ℰ ] Mr. Maisonet. “Rotation 90 Degrees Around The Origin.” Maisonet Math. Accessed August 28, 2026. https://maisonetmath.com/videos/transformations/261-90-degree-rotations-around-the-origin.
“How to Rotate a Figure 90 Degrees Clockwise About a Point [Solved].” CUEMATH. Accessed August 28, 2026. https://www.cuemath.com/questions/how-to-rotate-a-figure-90-degrees-clockwise-about-a-point/.
“Rotation Rules in Geometry.” Mometrix. June 29, 2013. https://www.mometrix.com/academy/rotation/.
“-90 Degree Rotation: A Detailed Explanation and Examples – The Story of Mathematics – A History of Mathematical Thought from Ancient Times to the Modern Day.” The Story of Mathematics. Accessed August 28, 2026. https://www.storyofmathematics.com/-90-degree-rotation/.
Pierce, Rod. “Dot Product.” Math Is Fun, 2024. https://www.mathsisfun.com/algebra/vectors-dot-product.html.
Videos
Learn how to rotate figures 90 degrees clockwise around the origin. This lesson explains the coordinate rule (x,y)→(y,−x), how quadrants help check your answer, and why corresponding points form a right angle through the origin.
[ ℰ ] This exceptional reference is highly recommended for your consideration.