When we rotate a point we could rotate it in Clockwise direction because that's how the hand of a clock move, or rotate it in Counterclockwise direction that's the opposite rotation. In math, counterclockwise is defined as being a positive rotation while clockwise is defined as being a negative rotation.
On the coordinate plane, consider the point . To rotate this point by 90° around the origin in clockwise direction, you can always swap the x- and y-coordinates and then multiply the new x-coordinate by -1. In a mathematical language this is as follows: