Rodrigues' rotation formula

From testwiki
Jump to navigation Jump to search

Template:Short description Template:Distinguish

Template:More footnotes needed 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 Template:Math, the group of all rotation matrices, from an axis–angle representation. In terms of Lie theory, this Rodrigues' formula provides an algorithm to compute the exponential map from the Lie algebra Template:Math to its Lie group Template:Math.

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

If Template:Math is a vector in Template:Math and Template:Math is a unit vector describing an axis of rotation about which Template:Math rotates by an angle Template:Mvar according to the right hand rule, the Rodrigues formula for the rotated vector Template:Math is Template:Equation box 1

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 Template:Math of any two nonzero vectors Template:Math and Template:Math which define the plane of rotation, and the sense of the angle Template:Math is measured away from Template:Math and towards Template:Math. Letting Template:Math denote the angle between these vectors, the two angles Template:Math and Template:Math are not necessarily equal, but they are measured in the same sense. Then the unit axis vector can be written

𝐤=𝐚×𝐛|𝐚×𝐛|=𝐚×𝐛|𝐚||𝐛|sin⁡α.

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

Rodrigues' rotation formula rotates Template:Math by an angle Template:Math around vector Template:Math by decomposing it into its components parallel and perpendicular to Template:Math, and rotating only the perpendicular component.
Vector geometry of Rodrigues' rotation formula, as well as the decomposition into parallel and perpendicular components.

Let Template:Math be a unit vector defining a rotation axis, and let Template:Math be any vector to rotate about Template:Math by angle Template:Math (right hand rule, anticlockwise in the figure), producing the rotated vector 𝕧rot.

Using the dot and cross products, the vector Template:Math can be decomposed into components parallel and perpendicular to the axis Template:Math,

𝐯=𝐯∥+𝐯⊥,

where the component parallel to Template:Math is called the vector projection of Template:Math on Template:Math,

𝐯∥=(𝐯⋅𝐤)𝐤,

and the component perpendicular to Template:Math is called the vector rejection of Template:Math from Template:Math:

𝐯⊥=𝐯−𝐯∥=𝐯−(𝐤⋅𝐯)𝐤=−𝐤×(𝐤×𝐯),

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 ℝ3, with the last two vectors of equal length.

Animated geometric illustration of Rodrigues rotation formula: a vector is decomposed into components parallel and perpendicular to the rotation axis, and the perpendicular component is rotated in its plane.

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

𝐯∥rot=𝐯∥;

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

𝐯⊥rot=cos⁡(θ)𝐯⊥+sin⁡(θ)𝐤×𝐯⊥=cos⁡(θ)𝐯⊥+sin⁡(θ)𝐤×𝐯,

in analogy with the planar polar coordinates Template:Math in the Cartesian basis Template:Math, Template:Math:

𝐫=rcos⁡(θ)𝐞x+rsin⁡(θ)𝐞y.

Now the full rotated vector is:

𝐯rot=𝐯∥rot+𝐯⊥rot=𝐯∥+cos⁡(θ)𝐯⊥+sin⁡(θ)𝐤×𝐯.

Substituting 𝐯⊥=𝐯−𝐯‖ or 𝐯‖=𝐯−𝐯⊥ in the last expression gives respectively:

𝐯rot=cos⁡(θ)𝐯+sin⁡(θ)𝐤×𝐯+(1−cos⁡θ)(𝐤⋅𝐯)𝐤
𝐯rot=𝐯+sin⁡(θ)𝐤×𝐯+(1−cos⁡θ)𝐤×(𝐤×𝐯).

Matrix notation

The linear transformation on 𝐯∈ℝ3 defined by the cross product 𝐯↦𝐤×𝐯 is given in coordinates by representing Template:Math and Template:Math as column matrices:

[(𝐤×𝐯)x(𝐤×𝐯)y(𝐤×𝐯)z]=[kyvz−kzvykzvx−kxvzkxvy−kyvx]=[0 −kzkykz0 −kx−kykx0 ][vxvyvz].

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

𝐊=[0 −kzkykz0 −kx−kykx0 ].

That is to say,

𝐤×𝐯=𝐊𝐯,𝐤×(𝐤×𝐯)=𝐊(𝐊𝐯)=𝐊2𝐯.

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

𝐯rot=𝐯+(sin⁡θ)𝐊𝐯+(1−cos⁡θ)𝐊2𝐯.

Collecting terms allows the compact expression

𝐯rot=𝐑𝐯

where Template:Equation box 1 is the rotation matrix through an angle Template:Mvar counterclockwise about the axis Template:Math, and Template:Math the Template:Nowrap identity matrix.[4] This matrix Template:Math is an element of the rotation group Template:Math of ℝ3, and Template:Math is an element of the Lie algebra 𝔰𝔬(3) generating that Lie group (note that Template:Math is skew-symmetric, which characterizes 𝔰𝔬(3)).

In terms of the matrix exponential,

𝐑=exp⁡(θ𝐊).

To see that the last identity holds, one notes that

𝐑(θ)𝐑(ϕ)=𝐑(θ+ϕ),𝐑(0)=𝐈,

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

For an alternative derivation based on this exponential relationship, see [[Axis–angle representation#Exponential map from 𝔰𝔬(3) to SO(3)|exponential map from 𝔰𝔬(3) to Template:Math]]. For the inverse mapping, see [[Axis–angle representation#Log map from SO(3) to 𝔰𝔬(3)|log map from Template:Math to 𝔰𝔬(3)]].

The above result can be written in index notation as follows. The elements of the matrix for an active rotation by an angle θ about an axis Template:Math are given by

Rij=cos⁡θδij+(1−cos⁡θ)kikj−sin⁡θϵijlkl.

Here, Template:Math, Template:Math, and Template:Math label the Cartesian components Template:Math or Template:Math, δij and ϵijl are the Kronecker and Levi-Civita symbols, and there is an implicit sum on repeated indices. More explicitly, its entries are given by:

𝐑=[c+(1−c)kx2(1−c)kxky−skz(1−c)kxkz+sky(1−c)kxky+skzc+(1−c)ky2(1−c)kykz−skx(1−c)kxkz−sky(1−c)kykz+skxc+(1−c)kz2],

where s=sin⁡θ and c=cos⁡θ.

The Hodge dual of the rotation 𝐑 is just 𝐑∗=−sin⁡(θ)𝐤 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,

sin⁡(θ)=σ|𝐑∗|𝐤=−σ𝐑∗|𝐑∗|

where σ=±1. The above simple expression results from the fact that the Hodge duals of 𝐈 and 𝐊2 are zero, and 𝐊∗=−𝐤.

See also

References

Template:Reflist

fr:Rotation vectorielle#Cas général