2D rotation
In geometry and physics, a 2D rotation is a rotation in two dimensions, commonly on the Euclidean plane. It leaves unchanged a single point, the centre of rotation, often assumed at the origin of the coordinate system. The amount of rotation is represented by the angle of rotation, expressed in units of measurement such as degrees or radians; a signed angle allows for two different senses of rotation: clockwise or anti-clockwise. It corresponds to the 2D special orthogonal group or SO(2).
Formulation
In two dimensions, to carry out a rotation using a matrix, the point Template:Math to be rotated counterclockwise is written as a column vector, then multiplied by a rotation matrix calculated from the angle Template:Math:
- .
The coordinates of the point after rotation are Template:Math, and the formulae for Template:Mvar and Template:Mvar are
The vectors and have the same magnitude and are separated by an angle Template:Mvar as expected.
Template:Anchor Points on the Template:Math plane can be also presented as complex numbers: the point Template:Math in the plane is represented by the complex number
This can be rotated through an angle Template:Mvar by multiplying it by Template:Math, then expanding the product using Euler's formula as follows:
and equating real and imaginary parts gives the same result as a two-dimensional matrix:
Since complex numbers form a commutative ring, vector rotations in two dimensions are commutative, unlike in higher dimensions. They have only one degree of freedom, as such rotations are entirely determined by the angle of rotation.[1]
Rotation matrices
See also
- 2D computer graphics#Rotation
- 3D rotation
- Circle group
- Circular motion
- Instant centre of rotation
- Phase factor
- Polar coordinate system
- Rotation of axes in two dimensions
- Rotations and reflections in two dimensions
References
- ↑ Lounesto 2001, p. 30.