|
|
|||||||
Now reverse the order:
![]() Since
![]() we obtain
The k component changes sign, so
![]()
Solution 3: vector demonstration of noncommutativityConsider first
![]() The first passive x map sends
![]() The second passive y map leaves j unchanged because the vector is parallel to the y rotation axis. Therefore
Now reverse the order. The passive y map first sends
![]() The following passive x map leaves i unchanged because it lies on the x rotation axis. Hence
Thus changing the order changes the final coordinate vector from
![]() to
![]()
Solution 4: reverse a frame chainStart with
![]() Invert both sides:
![]() Using the reverse frame labels,
![]()
![]() and
![]() Therefore
Because the frame quaternions are unit, each inverse may also be replaced by a conjugate.
Solution 5: two rotations about the same axisLet
![]() and similarly for β. Then
![]() and
![]() Their product is
![]() Since
![]() we obtain
![]() Using angle addition identities,
Thus the two frame rotation angles add. Both quaternions lie in the same subalgebra generated by 1 and k, so
Rotations about the same axis are a special commuting case.
Solution 6: a rotation followed by its inverseBecause q is unit,
![]() Therefore
Geometrically, the second frame transformation reverses the first exactly, so the net coordinate map is the identity.
Solution 7: associativity in a three frame chainThe full chain is
![]() Hamilton multiplication is associative, so
Both groupings represent the same map
![]() Associativity permits moving parentheses. It does not permit exchanging factors. In general,
![]()
Solution 8: active and passive compositionThe positive active rotors are the conjugates:
![]()
![]() Now consider the active product
![]() Conjugating gives
![]() Since
![]() and
![]() we obtain
Thus a passive frame composition is the inverse of the corresponding active composition describing the opposite geometric action. The reversal arises from conjugating a product, not from changing Hamilton multiplication.
Solution 9: intrinsic versus extrinsic languageFor an intrinsic moving axis
![]() sequence, PhysicsLibrary writes
The same final orientation can be described extrinsically about fixed axes in the reversed axis order:
with angles
The equivalence concerns two descriptions of the same final orientation. It does not say that finite rotations may be reordered arbitrarily.
Solution 10: aerospace intrinsic
|
![]() | (22) |
The matching passive DCM is
![]() | (23) |
If

then

and

Therefore
![]() | (24) |
Likewise,
![]() | (25) |
The sequence reduces to a single passive yaw frame rotation.
The quaternion chain is

Apply the quaternion to DCM mapping:

Under the PhysicsLibrary passive convention,

Therefore

Hence
![]() | (26) |
The homomorphism identity is
![]() | (27) |
Write

and

The scalar vector Hamilton product gives

The scalar part is

Therefore
![]() | (28) |
The vector part is

Thus
![]() | (29) |
The cross product term is where the order sensitivity appears explicitly.
Use

Retaining terms through second order gives

Similarly,

Subtract:

For pure quaternions a and b,

Therefore
![]() | (30) |
The difference is second order in the small rotation magnitudes. If only first order terms are retained, it disappears, so the rotations appear to commute.
The correct direct map is

The program computes

which reverses the required order.
For

and

the correct quaternion is
![]() | (31) |
The incorrect product is
![]() | (32) |
The changed sign of the k component represents a genuinely different orientation.
The known maps are

and

Therefore
![]() | (33) |
The reverse quaternion is

Using product conjugation,
![]() | (34) |
The corresponding passive DCM chain is
![]() | (35) |
Finally, if Iv is known directly, then
![]() | (36) |
Substituting the chain explicitly gives
![]() | (37) |
This is the same composition pattern used in inertial navigation and rigid body attitude transformations.
The following identities provide useful self checks:
| Situation | PhysicsLibrary result |
Frame chain | Cq A = Cq B Bq A |
| Reverse chain | Aq C = Aq B Bq C |
| Same axis | angles add and products commute |
| Inverse pair | q∗q = qq∗ = 1 |
Passive then , ![]() | k → j |
Passive then , ![]() | k →−i |
| Quaternion to DCM map | C(pq) = C(p)C(q) |
The exercises and solutions in this companion are newly written or rewritten for PhysicsLibrary under the passive frame convention.
Classical quaternion texts by Hamilton, Joly, and Hathaway discuss products of versors and successive rotations. Sommer and coauthors provide a modern discussion of Hamilton versus flipped multiplication and the interaction between active and passive attitude conventions.
[1] W. R. Hamilton, Elements of Quaternions, 2nd ed., edited by C. J. Joly, Longmans, Green, and Co., 1899. Public domain historical source. Internet Archive scan
[2] C. J. Joly, A Manual of Quaternions, Macmillan and Co., London, 1905. Public domain historical source. Internet Archive scan
[3] A. S. Hathaway, A Primer of Quaternions, 1896. Public domain historical source. Project Gutenberg edition
[4] H. Sommer, I. Gilitschenski, M. Bloesch, S. Weiss, R. Siegwart, and J. Nieto, “Why and How to Avoid the Flipped Quaternion Multiplication,” Aerospace, vol. 5, no. 3, article 72, 2018. Published under CC BY 4.0. Publisher article
Unless otherwise noted, this PhysicsLibrary entry is intended for release under the Creative Commons Attribution ShareAlike 4.0 International license.
| Physics Classification: | 02.40.Yy (Geometric mechanics ) |
| 02.10.Hh (Rings and algebras) | |
| 45.40.-f (Dynamics and kinematics of rigid bodies) |
None.
No messages.