|
|
|
Main Menu
|
|
Sections
Meta
Talkback
Downloads
Information
|
|
|
|
|
example of composition of rotations and quaternion order
|
(Example)
|
|
|
This companion article belongs to the PhysicsLibrary entry composition of rotations and quaternion order. All exercises are stated first. Complete solutions appear only after the exercise section so that the article is self-study friendly.
We use right-handed frames, Hamilton multiplication, scalar-first display notation, and the active rotation rule
 |
(1) |
for unit quaternions. If acts first and acts second, then the net quaternion is
 |
(2) |
Show directly from the active rotation formula that if acts first and acts second, then the net quaternion is .
Let
 |
(3) |
represent a rotation about the axis, and let
 |
(4) |
represent a rotation about the axis. Starting from
, compute the final vector when the order is first then .
Repeat Exercise 2 but reverse the order: first then . Compare the result with Exercise 2.
Using
 |
(5) |
start from
and verify that first then gives
, while first then gives .
Let
 |
(6) |
be rotations about the same unit axis
. Show that
 |
(7) |
Suppose is unit. Show that applying and then gives the identity rotation.
A software library stores quaternions as
. Does that fact alone change the composition rule for active rotations? Explain briefly.
Write the frame-chain rule for and , and derive .
Explain the difference between an intrinsic -then- sequence and an extrinsic -then- sequence.
Show that if is the active rotation matrix associated with , then
 |
(8) |
Let
 |
(9) |
Compute the explicit quaternion products and and verify that they differ.
Give a passive-rotation formula corresponding to the active sequence “first , then ”.
Why do small-angle rotations often appear to commute in first-order linearized attitude-error models even though finite rotations do not commute exactly?
Let
 |
(10) |
Find and interpret the result physically.
A student says, “Since multiplication is associative, the order of quaternion rotations does not matter.” Identify the mistake in this statement.
If acts first, then
. If acts next, then
 |
(11) |
By associativity,
 |
(12) |
Since
,
 |
(13) |
Hence the net quaternion is .
First rotate about by :
 |
(14) |
Then rotate
about by . A vector on the axis is unchanged, so
 |
(15) |
Therefore the final vector is
.
First rotate about by :
 |
(16) |
Then rotate about by . A vector on the axis is unchanged, so the final vector remains . This differs from the result of Exercise 2, so the order matters.
Using the standard axis rotations,
 |
(17) |
Rotating
about leaves it unchanged, so first then gives
. Also,
 |
(18) |
and rotating about leaves it unchanged. So first then gives .
Because both quaternions use the same axis
,
where
. The angle-addition formulas then give
 |
(20) |
The net quaternion is
 |
(21) |
so the second rotation exactly undoes the first. Therefore the composition is the identity rotation.
No. Scalar-last is only a storage convention. The composition rule depends on the algebra and the rotation interpretation, not on memory layout. For active rotations with Hamilton multiplication, if acts first and acts second, the net quaternion is still .
The frame-chain rule is
 |
(22) |
It is derived by substituting the map from to into the map from to and regrouping, exactly as for successive active rotations.
In an extrinsic -then- sequence, both rotations are taken about axes fixed in the reference frame. In an intrinsic -then- sequence, the second rotation is about the body's current axis after the first rotation has already occurred. The axis labels can therefore refer to different physical axes in the two descriptions.
For any vector ,
 |
(23) |
Since this holds for every , the matrices are equal:
 |
(24) |
Compute
because
. Similarly,
 |
(26) |
The products differ, so the corresponding rotations differ.
The passive formula is obtained by using the inverse action. If acts first and acts second in the active sense, then the passive coordinate change uses
 |
(27) |
In a first-order small-angle model, products of two small rotation increments are second-order quantities and are neglected. The noncommutativity is then invisible at first order. For finite rotations, those higher-order terms are not negligible, so the order matters.
Since ,
 |
(28) |
The net effect is no rotation. The second quarter-turn exactly cancels the first.
Associativity means that one may regroup factors without changing their order, for example
. It does not mean one may swap the order of factors. Commutativity would be the property
, and that property fails in general for finite rotations.
This article is an original synthesis prepared for PhysicsLibrary and intended for release under CC BY-SA 4.0.
| "example of composition of rotations and quaternion order" is owned by bloftin.(view preamble)
|
|
This object's parent.
Cross-references: commutativity, reference frame, commute, quaternion products, matrix, composition, identity, vector, formula, quaternions, section, composition of rotations and quaternion order
This is version 1 of example of composition of rotations and quaternion order, born on 2026-08-23.
Object id is 1100, canonical name is ExampleOfCompositionOfRotationsAndQuaternionOrder.
Accessed 8 times total.
Classification:
|
|
|
|
|
|
|
|
Pending Errata and Addenda
|
|
|
|
|
|
|
|
|
|
|