请输入您要查询的百科知识:

 

词条 Axis–angle representation
释义

  1. Rotation vector

     Example 

  2. Uses

  3. Rotating a vector

  4. Relationship to other representations

      Exponential map from (3) to SO(3)    Log map from SO(3) to (3)    Unit quaternions  

  5. See also

  6. References

{{main|Rotation group SO(3)}}

In mathematics, the axis–angle representation of a rotation parameterizes a rotation in a three-dimensional Euclidean space by two quantities: a unit vector {{math|e}} indicating the direction of an axis of rotation, and an angle {{math|θ}} describing the magnitude of the rotation about the axis. Only two numbers, not three, are needed to define the direction of a unit vector {{math|e}} rooted at the origin because the magnitude of {{math|e}} is constrained. For example, the elevation and azimuth angles of {{math|e}} suffice to locate it in any particular Cartesian coordinate frame.

By Rodrigues' rotation formula, the angle and axis determine a transformation that rotates three-dimensional vectors. The rotation occurs in the sense prescribed by the right-hand rule. The rotation axis is sometimes called the Euler axis.

It is one of many rotation formalisms in three dimensions. The axis–angle representation is predicated on Euler's rotation theorem, which dictates that any rotation or sequence of rotations of a rigid body in a three-dimensional space is equivalent to a pure rotation about a single fixed axis.

Rotation vector

The axis–angle representation is equivalent to the more concise rotation vector, also called the Euler vector. In this case, both the rotation axis and the angle are represented by a vector codirectional with the rotation axis whose length is the rotation angle {{math|θ}},

It is used for the exponential and logarithm maps involving this representation.

Note that many rotation vectors correspond to the same rotation. In particular, a rotation vector of length {{math|θ + 2πM}}, for any integer {{math|M}}, encodes exactly the same rotation as a rotation vector of length {{math|θ}}. Thus, there are at least a countable infinity of rotation vectors corresponding to any rotation. Furthermore, all rotations by {{math|2πM}} are the same as no rotation at all, so, for a given integer {{math|M}}, all rotation vectors of length {{math|2πM}}, in all directions, constitute a two-parameter uncountable infinity of rotation vectors encoding the same rotation as the zero vector. These facts must be taken into account when inverting the exponential map, that is, when finding a rotation vector that corresponds to a given rotation matrix. The exponential map is onto but not one-to-one.

Example

Say you are standing on the ground and you pick the direction of gravity to be the negative {{math|z}} direction. Then if you turn to your left, you will rotate {{math|{{sfrac|π|2}}}} radians (or 90°) about the {{math|z}} axis. Viewing the axis-angle representation as an ordered pair, this would be

The above example can be represented as a rotation vector with a magnitude of {{math|{{sfrac|π|2}}}} pointing in the {{math|z}} direction,

Uses

The axis–angle representation is convenient when dealing with rigid body dynamics. It is useful to both characterize rotations, and also for converting between different representations of rigid body motion, such as homogeneous transformations{{clarify|date=January 2014}} and twists.

When a rigid body rotates around a fixed axis, its axis–angle data are a constant rotation axis and the rotation angle continuously dependent on time.

Plugging the three eigenvalues 1 and {{math|e±}} and their associated three orthogonal axes in a Cartesian representation into Mercer's theorem is a convenient construction of the Cartesian representation of the Rotation Matrix in three dimensions.

Rotating a vector

{{main|Rodrigues' rotation formula}}

Rodrigues' rotation formula, named after Olinde Rodrigues, is an efficient algorithm for rotating a Euclidean vector, given a rotation axis and an angle of rotation. In other words, Rodrigues' formula provides an algorithm to compute the exponential map from {{math|(3)}} to {{math|SO(3)}} without computing the full matrix exponential.

If {{math|v}} is a vector in {{math|ℝ3}} and {{math|e}} is a unit vector rooted at the origin describing an axis of rotation about which {{math|v}} is rotated by an angle {{math|θ}}, Rodrigues' rotation formula to obtain the rotated vector is

For the rotation of a single vector it may be more efficient than converting {{math|e}} and {{math|θ}} into a rotation matrix to rotate the vector.

Relationship to other representations

{{further|Charts on SO(3)}}

There are several ways to represent a rotation. It is useful to understand how different representations relate to one another, and how to convert between them. Here the unit vector is denoted {{math|ω}} instead of {{math|e}}.

Exponential map from (3) to SO(3)

{{further|Matrix exponential|Orthogonal matrix|Lie algebra #Relation to Lie groups|Rotation group SO(3)#Exponential map}}

The exponential map effects a transformation from the axis-angle representation of rotations to rotation matrices,

Essentially, by using a Taylor expansion one derives a closed-form relation between these two representations. Given a unit vector {{math|ω(3) {{=}} ℝ3}} representing the unit rotation axis, and an angle, {{math|θ ∈ ℝ}}, an equivalent rotation matrix {{math|R}} is given as follows, where {{math|K}} is the cross product matrix of {{math|ω}}, that is, {{math|Kv {{=}} ω × v}} for all vectors {{math|v ∈ ℝ3}},

Because {{math|K}} is skew-symmetric, and the sum of the squares of its above-diagonal entries is 1, the characteristic polynomial {{math|P(t)}} of {{math|K}} is {{math|P(t) {{=}} det(KtI) {{=}} −(t3 + t)}}. Since, by the Cayley–Hamilton theorem, {{math|P(K)}} = 0, this implies that

As a result, {{math|K4 {{=}} –K2}}, {{math|K5 {{=}} K}}, {{math|K6 {{=}} K2}}, {{math|K7 {{=}} –K}}.

This cyclic pattern continues indefinitely, and so all higher powers of {{math|K}} can be expressed in terms of {{math|K}} and {{math|K2}}. Thus, from the above equation, it follows that

that is,

This is a Lie-algebraic derivation, in contrast to the geometric one in the article Rodrigues' rotation formula.[1]

Due to the existence of the above-mentioned exponential map, the unit vector {{math|ω}} representing the rotation axis, and the angle {{math|θ}} are sometimes called the exponential coordinates of the rotation matrix {{math|R}}.

Log map from SO(3) to (3)

{{further|Rotation group SO(3)|Infinitesimal transformation}}

Let {{math|K}} continue to denote the 3 × 3 matrix that effects the cross product with the rotation axis {{math|ω}}: {{math|K(v) {{=}} ω × v}} for all vectors {{math|v}} in what follows.

To retrieve the axis–angle representation of a rotation matrix, calculate the angle of rotation from the trace of the rotation matrix

and then use that to find the normalized axis,

Note also that the Matrix logarithm of the rotation matrix {{mvar|R}} is

An exception occurs when {{math|R}} has eigenvalues equal to {{num|−1}}. In this case, the log is not unique. However, even in the case where θ = {{pi}} the Frobenius norm of the log is

Given rotation matrices {{mvar|A}} and {{mvar|B}},

is the geodesic distance on the 3D manifold of rotation matrices.

For small rotations, the above computation of {{math|θ}} may be numerically imprecise as the derivative of arccos goes to infinity as {{math|θ → 0}}. In that case, the off-axis terms will actually provide better information about {{math|θ}} since, for small angles, {{math|RI + θK}}. (This is because these are the first two terms of the Taylor series for {{math|exp(θK)}}.)

This formulation also has numerical problems at {{math|θ {{=}} π}}, where the off-axis terms do not give information about the rotation axis (which is still defined up to a sign ambiguity). In that case, we must reconsider the above formula.

At {{math|θ {{=}} π}}, we have

and so let

so the diagonal terms of {{math|B}} are the squares of the elements of {{math|ω}} and the signs (up to sign ambiguity) can be determined from the signs of the off-axis terms of {{math|B}}.

Unit quaternions

{{main|Quaternions and spatial rotation}}

the following expression transforms axis–angle coordinates to versors (unit quaternions):

Given a versor {{math|q {{=}} s + x}} represented with its scalar {{math|s}} and vector {{math|x}}, the axis–angle coordinates can be extracted using the following:

A more numerically stable expression of the rotation angle uses the atan2 function:

where {{math|{{abs|x}}}} is the Euclidean norm of the 3-vector {{math|x}}.

See also

  • Homogeneous coordinates
  • Screw theory, a representation of rigid body motions and velocities using the concepts of twists, screws and wrenches

References

1. ^This holds for the triplet representation of the rotation group, i.e., spin 1. For higher dimensional representations/spins, see {{Cite journal | doi = 10.3842/SIGMA.2014.084|last = Curtright|last2 = Fairlie|last3 = Zachos |first = T. L. |first2 = D. B. |first3 = C. K.|authorlink=Thomas Curtright|authorlink2=David Fairlie|authorlink3=Cosmas Zachos|year = 2014|title = A compact formula for rotations as spin matrix polynomials| journal =SIGMA| volume=10| page=084}}
{{DEFAULTSORT:Axis Angle Representation}}

2 : Rotation in three dimensions|Angle

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/22 4:34:36