Quaternion Conjugate: Examples, Exercises, and Solutions
This entry is the self study companion to quaternion conjugate.
Quaternion conjugation is simple to define but unusually important. It reverses the sign of the
vector part, reverses product order, produces the quadratic real quantity qq∗, and for unit attitude
quaternions reverses the direction of a passive frame map.
All exercises are stated first. Complete worked solutions follow afterward.
1 Formula summary
For
the conjugate is
In scalar vector notation,
Conjugation is an involution:
It is real linear:
Most importantly, conjugation reverses product order:
The product of a quaternion with its conjugate is real:
For a unit quaternion,
For the PhysicsLibrary passive attitude convention,
2 Exercises
- Basic conjugation.
For
compute q∗ and the scalar first component columns of both q and q∗.
Which component is unchanged?
- Real and pure special cases.
Compute the conjugate of
and of
Show that every real quaternion satisfies
and every pure quaternion satisfies
- Conjugation as an involution.
Starting from
prove directly that
Then verify the result numerically for
- Conjugate of a sum and real scalar multiple.
Let
and
Verify explicitly that
and
- Product reversal using basis quaternions.
Evaluate
directly.
Then evaluate
Verify
Explain why the reversed factor order is essential.
- Product reversal for general numerical quaternions.
Let
and
Compute pq, then (pq)∗.
Separately compute q∗p∗ and verify that the two results agree.
- Why
is generally wrong.
Using the same p and q from Exercise 6, compute
and compare it with (pq)∗.
Relate the difference to noncommutativity.
- Product with the conjugate.
For
compute
and
Show explicitly that both are the same real quaternion.
- Derive
in scalar vector form.
Let
Using the Hamilton scalar vector product, derive
Why does the vector part vanish?
- Conjugate and norm connection.
Suppose
Compute qq∗.
Without yet using the explicit inverse formula, identify the Euclidean norm squared of
the four quaternion components.
- Conjugate of a triple product.
Prove
Then state the corresponding pattern for
- Conjugation of a pure quaternion product.
Let a and b be pure quaternions.
Starting from
take the conjugate and show that
Then show that this equals
- Unit quaternion and reverse passive frame map.
Frame B is obtained from frame A by a positive 90∘ frame rotation about +z.
The PhysicsLibrary passive quaternion is
Compute
State the physical meaning of the conjugate in frame-map language.
- Conjugate sandwich reverses the coordinate map.
Let
be unit and suppose
Starting from this equation, solve algebraically for Av in terms of Bv and q.
Show that the reverse map is
versus
is not the same as
versus
.
For
write q∗ and −q.
Do q and q∗ represent the same passive frame map?
Do q and −q represent the same passive frame map?
Explain the difference.
- Conjugate as a convention diagnostic.
A software library claims to store the passive frame quaternion Bq
A.
For a positive 90∘ frame rotation about +z, it reports
Under the PhysicsLibrary convention, determine whether this quaternion more naturally
represents Bq
A or its reverse map Aq
B.
What simple conjugation operation converts it to the PhysicsLibrary A → B passive
map?
3 Solutions
Solution 1: basic conjugation
The quaternion is
Conjugation leaves the scalar coefficient unchanged and changes the sign of the vector
part:
The scalar first component columns are
The scalar component is unchanged.
Solution 2: real and pure special cases
For the real quaternion
the vector part is zero, so
For the pure quaternion
the scalar part is zero. Therefore
Thus real quaternions are fixed by conjugation, while pure quaternions change sign.
Solution 3: conjugation as an involution
Write
Then
Conjugate again:
Therefore
For
we have
Conjugating again gives
Solution 4: conjugate of a sum and real scalar multiple
First,
Therefore
Separately,
and
Hence
Thus
Also,
Therefore
Meanwhile,
Thus
Solution 5: product reversal using basis quaternions
Hamilton multiplication gives
Therefore
Now
Hence
Thus
If the factor order were not reversed, one would obtain
which has the wrong sign.
Solution 6: product reversal for general numerical quaternions
Let
and
Using the Hamilton product,
Therefore
Now
and
Multiplying in the reversed order gives
Hence
Solution 7: why
is generally wrong
Using the same conjugates,
and
Direct multiplication gives
But from Solution 6,
These are not equal.
The conjugation rule reverses factor order because quaternion multiplication is not generally
commutative.
Solution 8: product with the conjugate
For
the conjugate is
The scalar part of qq∗ is
The vector part cancels.
Therefore
Similarly,
Both products are the same real quaternion.
Solution 9: derive
in scalar vector form
Let
and
Use the Hamilton scalar vector product.
The scalar part is
The vector part is
The first two terms cancel, and
Therefore the vector part vanishes.
Thus
Solution 10: conjugate and norm connection
For
the sum of the squared components is
Therefore
This is the squared Euclidean norm of the four component column:
Hence
Solution 11: conjugate of a triple product
Associativity permits us to write
Take the conjugate:
Using product reversal once,
Use it again:
Therefore
Likewise,
Conjugation reverses the entire factor sequence.
Solution 12: conjugation of a pure quaternion product
For pure quaternions,
The dot product term is real and is unchanged by conjugation.
The cross product term is pure and changes sign.
Therefore
Now reverse the pure factors:
Because
and
we obtain
Hence
Solution 13: unit quaternion and reverse passive frame map
The forward passive frame quaternion is
Its conjugate is
For a unit attitude quaternion,
Therefore
The conjugate reverses the passive coordinate map: it maps B coordinates back into A
coordinates.
Solution 14: conjugate sandwich reverses the coordinate map
Start from
Left multiply by q∗:
Because q is unit,
Thus
Right multiply by q:
Again,
Therefore
The reverse coordinate transformation uses the conjugate quaternion in the opposite sandwich
order.
Solution 15:
versus
is not the same as
versus 
Given
the conjugate is
The negative quaternion is
The pair q and q∗ generally represents opposite passive frame maps:
They are inverse transformations.
By contrast, q and −q represent the same physical orientation and the same passive frame
map.
Thus conjugation changes map direction, while an overall sign change does not change
orientation.
Solution 16: conjugate as a convention diagnostic
PhysicsLibrary assigns a positive 90∘ frame rotation about +z the passive A → B quaternion
The software reports
This is exactly the conjugate of the PhysicsLibrary A → B map.
Therefore it more naturally corresponds to
To convert it to the PhysicsLibrary A → B passive map, take the conjugate:
4 Compact review
The core identities reinforced by this companion are
and, for unit passive attitude quaternions,
Conjugation is therefore both an algebraic operation and, for unit attitude quaternions, the
operation that reverses a frame to frame coordinate map.
5 Sources and exercise provenance
The exercises and solutions in this companion are newly written or expanded for PhysicsLibrary
from the algebra developed in Quaternion Conjugate.
Hamilton is the foundational source for quaternion conjugation. Joly and Kelland–Tait provide
classical systematic treatments of conjugates, products, and norms. Sommer and coauthors provide
a modern engineering discussion of quaternion convention management and passive frame
transformations.
References
[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 search
[3] P. Kelland and P. G. Tait, Introduction to Quaternions, with Numerous Examples,
2nd ed., Macmillan and Co., London, 1882. Public domain historical source. Internet
Archive search
[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
License
Unless otherwise noted, this PhysicsLibrary entry is intended for release under the Creative
Commons Attribution ShareAlike 4.0 International license.