|
Quaternion conjugation reverses the sign of the vector part of a quaternion while leaving the scalar part unchanged. If
then the quaternion conjugate is
 |
(1) |
Conjugation is one of the central operations in quaternion algebra. It separates scalar and vector parts, produces a real quantity when a quaternion is multiplied by its conjugate, reverses the order of a product, and becomes the multiplicative inverse when the quaternion has unit norm.
In the later PhysicsLibrary attitude articles, unit quaternions represent passive coordinate transformations. Under that convention, conjugation has a direct frame meaning: it reverses the direction of the coordinate map.
For
define
 |
(2) |
In scalar first component form,
![$\displaystyle [q^*]_{\mathrm{PL}} = \begin{bmatrix} q_w\ -q_x\ -q_y\ -q_z \end{bmatrix}.$ $\displaystyle [q^*]_{\mathrm{PL}} = \begin{bmatrix} q_w\ -q_x\ -q_y\ -q_z \end{bmatrix}.$](https://images.physicslibrary.org/cache/objects/1092/l2h/img5.png) |
(3) |
Thus conjugation changes the sign of the three imaginary coefficients and leaves the real coefficient unchanged.
The notation is used throughout the PhysicsLibrary quaternion series. Other sources may use
, , or another symbol. A dagger is also widely used for conjugate transpose of matrices, so an unfamiliar source should always be checked before importing formulas.
If
then
 |
(4) |
If is real,
then
 |
(5) |
If is pure,
then
 |
(6) |
The real quaternions are therefore exactly the quaternions fixed by conjugation, while pure quaternions reverse sign.
Applying conjugation twice returns the original quaternion:
 |
(7) |
Indeed,
gives
and a second conjugation gives
An operation that is its own inverse is called an involution.
Let
Then
Conjugating gives
 |
(8) |
Similarly, for a real scalar ,
 |
(9) |
Thus conjugation is linear over real scalars.
The most important structural identity is
 |
(10) |
The factor order reverses. This is essential because quaternion multiplication is not commutative.
To derive the result, write
The Hamilton scalar vector product is
Conjugating this product changes the sign of its vector part:
Now
Their product is
Because the dot product is symmetric and
this becomes exactly
Therefore
Conjugation is consequently an anti homomorphism of quaternion multiplication: it preserves multiplication only after reversing factor order.
Repeated use of equation (10) gives
 |
(11) |
Every factor is conjugated and the entire order is reversed.
For three factors,
This identity becomes especially useful in frame composition and in simplifying quaternion coordinate transformation expressions.
Conjugation gives convenient formulas for extracting the scalar and vector parts of a quaternion.
Add and :
Therefore
 |
(12) |
Subtract:
Therefore
 |
(13) |
These formulas characterize the decomposition of a quaternion into parts that are unchanged and sign reversed by conjugation.
Let
Using the scalar vector product,
The scalar part is
and the vector part is
Hence
 |
(14) |
The result is always a nonnegative real number.
This identity is the basis for the quaternion norm. It also leads directly to the inverse of every nonzero quaternion.
The quaternion norm is defined by
Therefore
 |
(15) |
If , divide by
to obtain
 |
(16) |
For a unit quaternion,
so
 |
(17) |
This special case is fundamental in attitude mechanics because orientation quaternions are maintained at unit norm.
The algebraic operation above does not depend on any rotation convention. Its physical interpretation does.
PhysicsLibrary uses a unit quaternion
to map coordinates from frame into frame :
 |
(18) |
Because the quaternion is unit,
Therefore the inverse coordinate map is
 |
(19) |
It follows that
 |
(20) |
Conjugating a unit frame quaternion therefore reverses the map direction:
becomes
This is the quaternion counterpart of transposing a passive direction cosine matrix.
Suppose frame is obtained from frame by a positive right hand rule frame rotation through angle about unit axis
. Under the PhysicsLibrary passive convention,
 |
(21) |
Conjugation gives
 |
(22) |
Thus conjugation reverses the passive frame transformation. The same numerical quaternion on the right side of equation (23) is also the familiar positive active rotor for the corresponding physical vector rotation in a fixed frame.
This distinction is why a sign change in the vector part must not be described without also stating the intended frame map.
Let
be the passive direction cosine matrix corresponding to the unit quaternion .
The inverse frame map satisfies
Since a direction cosine matrix is orthogonal,
Quaternion conjugation gives the same result:
 |
(23) |
Thus, for unit frame quaternions,
 |
(24) |
This provides a useful implementation check between quaternion and matrix orientation code.
Suppose
maps coordinates into , and
maps coordinates into .
The direct passive frame map is
 |
(25) |
Conjugate both sides:
Using the inverse frame labels,
 |
(26) |
The reversed product order produced by conjugation is exactly what is required when the entire frame chain is traversed in the opposite direction.
Let
Then
 |
(27) |
Applying conjugation again returns
For
equation (15) gives
Therefore
 |
(28) |
The result is purely real.
The norm is consequently
and the inverse is
Let
First,
Therefore
Now compute the reversed conjugate product:
Expanding,
Hence
If one incorrectly used , the sign of the term would be wrong.
Let frame be obtained from frame by a positive rotation about . The PhysicsLibrary passive quaternion is
Its conjugate is
The first quaternion maps coordinate components from to . The conjugate maps them from back to .
If a fixed physical vector has
then the positive frame rotation produces
Applying the conjugate frame map returns
- Changing the scalar part. Quaternion conjugation leaves
unchanged and reverses only the vector part.
- Forgetting product order reversal. The correct identity is
not
.
- Assuming
for every quaternion. This is true only for unit quaternions. In general,
- Confusing quaternion conjugation with component storage order. Scalar first versus scalar last storage does not change the definition of the conjugate.
- Confusing quaternion conjugation with complex conjugation of a matrix. The operations are related in some representations but are not the same object.
- Conjugating a passive frame quaternion without reversing its frame meaning. For unit frame quaternions,
- Changing Hamilton multiplication because the attitude interpretation is passive. Conjugation and passive frame interpretation do not change the Hamilton product.
The exercises are stated first so the article can be used for self study. Complete solutions follow afterward.
- Direct conjugation. For
find
.
- Pure and real cases. Find the conjugate of
and of
- Double conjugation. Prove directly that
- Scalar and vector extraction. Starting from
, derive
and
- Product with the conjugate. For
compute
.
- Order reversal. Let
Compute
and and verify that they agree.
- Incorrect order. For the same
and , compute and show that it differs from .
- Unit quaternion inverse. If
, prove that
.
- Passive frame inverse. If
is a unit quaternion mapping coordinates into , write the quaternion that maps coordinates back into .
- Frame chain reversal. Given
conjugate the equation and derive the inverse frame chain.
Starting from
reverse all three imaginary coefficients:
A real quaternion is unchanged:
For the pure quaternion
the conjugate is
If
then
Conjugating again gives
Add:
Therefore
Subtract:
Therefore
For
the squared norm is
Hence
First,
Thus
Now
Then
Therefore
Compute
This differs from
The factor order must reverse.
From
and
,
Similarly,
Therefore is both the left and right inverse of :
The inverse coordinate map is represented by the conjugate:
Begin with
Conjugating gives
Relabeling each conjugate as the inverse frame map,
Thus the conjugated chain traverses the same sequence of frames in the reverse direction.
Quaternion conjugation immediately produces the real quantity
The next PhysicsLibrary article develops the quaternion norm from this identity and proves its important multiplicative properties. The following inverse article then uses conjugation and norm together to obtain
Later orientation articles use the unit quaternion specialization
to reverse passive frame transformations, invert direction cosine matrices, and derive coordinate transformation and attitude kinematic formulas.
Quaternion conjugation appears naturally in Hamilton's algebra and in later quaternion texts under several historical notations. Modern engineering notation often writes or
and interprets conjugation as reversing the vector part.
Hamilton's Elements of Quaternions and Joly's A Manual of Quaternions provide public domain historical treatments. The modern PhysicsLibrary presentation emphasizes the anti order property, the relationship to norm and inverse, and the passive frame interpretation needed in mechanics and navigation.
- 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 https://archive.org/details/elementsofquater01hamiuoft
- 2
- C. J. Joly, A Manual of Quaternions, Macmillan and Co., London, 1905. Public domain historical source. Internet Archive scan https://archive.org/details/manualofquaterni00jolyrich
- 3
- A. S. Hathaway, A Primer of Quaternions, 1896. Public domain historical source. Project Gutenberg edition https://www.gutenberg.org/ebooks/9934
- 4
- Wikibooks contributors, “Abstract Algebra/Quaternions.” Openly licensed instructional source. Wikibooks quaternion article https://en.wikibooks.org/wiki/Abstract_Algebra/Quaternions
Unless otherwise noted, this PhysicsLibrary entry is intended for release under the Creative Commons Attribution ShareAlike 4.0 International license.
|