Jump to content

Rodrigues' rotation formula

From Wikipedia, the free encyclopedia
(Redirected from Rotation formula)

In the theory of three-dimensional rotation, Rodrigues' rotation formula, named after Olinde Rodrigues, is an efficient algorithm for rotating a vector in space, given an axis and angle of rotation. By extension, this can be used to transform all three basis vectors to compute a rotation matrix in SO(3), the group of all rotation matrices, from an axis–angle representation. In terms of Lie theory, the Rodrigues' formula provides an algorithm to compute the exponential map from the Lie algebra so(3) to its Lie group SO(3).

This formula is variously credited to Leonhard Euler, Olinde Rodrigues, or a combination of the two. A detailed historical analysis in 1989 concluded that the formula should be attributed to Euler, and recommended calling it "Euler's finite rotation formula."[1] This proposal has received notable support,[2] but some others have viewed the formula as just one of many variations of the Euler–Rodrigues formula, thereby crediting both.[3]

Statement

[edit]

If v is a vector in 3 and k is a unit vector describing an axis of rotation about which v rotates by an angle θ according to the right hand rule, the Rodrigues formula for the rotated vector vrot is

The intuition of the above formula is that the first term scales the vector down, while the second skews it (via vector addition) toward the new rotational position. The third term re-adds the height (relative to ) that was lost by the first term.

An alternative statement is to write the axis vector as a cross product a × b of any two nonzero vectors a and b which define the plane of rotation, and the sense of the angle θ is measured away from a and towards b. Letting α denote the angle between these vectors, the two angles θ and α are not necessarily equal, but they are measured in the same sense. Then the unit axis vector can be written

This form may be more useful when two vectors defining a plane are involved. An example in physics is the Thomas precession which includes the rotation given by Rodrigues' formula, in terms of two non-collinear boost velocities, and the axis of rotation is perpendicular to their plane.

Derivation

[edit]
Rodrigues' rotation formula rotates v by an angle θ around vector k by decomposing it into its components parallel and perpendicular to k, and rotating only the perpendicular component.
Vector geometry of Rodrigues' rotation formula, as well as the decomposition into parallel and perpendicular components.

Let k be a unit vector defining a rotation axis, and let v be any vector to rotate about k by angle θ (right hand rule, anticlockwise in the figure), producing the rotated vector .

Using the dot and cross products, the vector v can be decomposed into components parallel and perpendicular to the axis k,

where the component parallel to k is called the vector projection of v on k,

,

and the component perpendicular to k is called the vector rejection of v from k:

,

where the last equality follows from the vector triple product formula: . Finally, the vector is a copy of rotated 90° around . Thus the three vectors form a right-handed orthogonal basis of , with the last two vectors of equal length.

Under the rotation, the component parallel to the axis will not change magnitude nor direction:

while the perpendicular component will retain its magnitude but rotate its direction in the perpendicular plane spanned by and , according to

in analogy with the planar polar coordinates (r, θ) in the Cartesian basis ex, ey:

Now the full rotated vector is:

Substituting or in the last expression gives respectively:

Matrix notation

[edit]

The linear transformation on defined by the cross product is given in coordinates by representing v and k × v as column matrices:

That is, the matrix of this linear transformation (with respect to standard coordinates) is the cross-product matrix:

That is to say,

The last formula in the previous section can therefore be written as:

Collecting terms allows the compact expression

where

is the rotation matrix through an angle θ counterclockwise about the axis k, and I the 3 × 3 identity matrix.[4] This matrix R is an element of the rotation group SO(3) of 3, and K is an element of the Lie algebra generating that Lie group (note that K is skew-symmetric, which characterizes ).

In terms of the matrix exponential,

To see that the last identity holds, one notes that

characteristic of a one-parameter subgroup, i.e. exponential, and that the formulas match for infinitesimal θ.

For an alternative derivation based on this exponential relationship, see exponential map from to SO(3). For the inverse mapping, see log map from SO(3) to .

The Hodge dual of the rotation is just which enables the extraction of both the axis of rotation and the sine of the angle of the rotation from the rotation matrix itself, with the usual ambiguity,

where . The above simple expression results from the fact that the Hodge duals of and are zero, and .

See also

[edit]

References

[edit]
  1. ^ Cheng, Hui; Gupta, K. C. (March 1989). "An Historical Note on Finite Rotations" (PDF). Journal of Applied Mechanics. 56 (1). American Society of Mechanical Engineers: 139–145. Bibcode:1989JAM....56..139C. doi:10.1115/1.3176034. Retrieved 2022-04-11.
  2. ^ Fraiture, Luc (2009). "A History of the Description of the Three-Dimensional Finite Rotation". The Journal of the Astronautical Sciences. 57 (1–2). Springer: 207–232. Bibcode:2009JAnSc..57..207F. doi:10.1007/BF03321502. Retrieved 2022-04-15.
  3. ^ Dai, Jian S. (October 2015). "Euler–Rodrigues formula variations, quaternion conjugation and intrinsic connections". Mechanism and Machine Theory. 92. Elsevier: 144–152. doi:10.1016/j.mechmachtheory.2015.03.004.
  4. ^ Belongie, Serge. "Rodrigues' Rotation Formula". mathworld.wolfram.com. Retrieved 2021-04-07.
[edit]