In Two Dimensions
In two dimensions every rotation matrix has the following form:
.
This rotates column vectors by means of the following matrix multiplication:
.
So the coordinates (x',y') of the point (x,y) after rotation are:
- ,
- .
The direction of vector rotation is counterclockwise if θ is positive (e.g. 90°), and clockwise if θ is negative (e.g. -90°).
.
Note that the two-dimensional case is the only non-trivial (e.g. one dimension) case where the rotation matrices group is commutative, so that it does not matter the order in which multiple rotations are performed.
Read more about this topic: Rotation Matrix
Famous quotes containing the word dimensions:
“I was surprised by Joes asking me how far it was to the Moosehorn. He was pretty well acquainted with this stream, but he had noticed that I was curious about distances, and had several maps. He and Indians generally, with whom I have talked, are not able to describe dimensions or distances in our measures with any accuracy. He could tell, perhaps, at what time we should arrive, but not how far it was.”
—Henry David Thoreau (18171862)