GO-V.ORG
As seen in

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). Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

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 to be rotated counterclockwise is written as a column vector, then multiplied by a rotation matrix calculated from the angle : \begin{bmatrix} x' \\ y' \end{bmatrix} = \begin{bmatrix} \cos \theta & -\sin \theta \\ \sin \theta & \cos \theta \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} . The coordinates of the point after rotation are , and the formulae for and are \begin{align} x'&=x\cos\theta-y\sin\theta\\ y'&=x\sin\theta+y\cos\theta. \end{align} The vectors \begin{bmatrix} x \\ y \end{bmatrix} and \begin{bmatrix} x' \\ y' \end{bmatrix} have the same magnitude and are separated by an angle as expected. Points on the plane can be also presented as complex numbers: the point in the plane is represented by the complex number z = x + iy This can be rotated through an angle by multiplying it by , then expanding the product using Euler's formula as follows: \begin{align} e^{i \theta} z &= (\cos \theta + i \sin \theta) (x + i y) \\ &= x \cos \theta + i y \cos \theta + i x \sin \theta - y \sin \theta \\ &= (x \cos \theta - y \sin \theta) + i ( x \sin \theta + y \cos \theta) \\ &= x' + i y' , \end{align} and equating real and imaginary parts gives the same result as a two-dimensional matrix: \begin{align} x'&=x\cos\theta-y\sin\theta\\ y'&=x\sin\theta+y\cos\theta. \end{align} 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. ==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==

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"2D rotation". 1779637260. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1355915771

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·