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 (x, y) to be rotated counterclockwise is written as a column vector, then multiplied by a rotation matrix calculated from the angle θ:
- .
The coordinates of the point after rotation are x′, y′, and the formulae for x′ and y′ are
The vectors and have the same magnitude and are separated by an angle θ as expected.
Points on the R2 plane can be also presented as complex numbers: the point (x, y) in the plane is represented by the complex number
This can be rotated through an angle θ by multiplying it by eiθ, 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.
