|
This entry is the self study companion to quaternion inverse.
The quaternion inverse combines the conjugate and norm into the quantity that undoes quaternion multiplication. For unit attitude quaternions the inverse reduces to the conjugate, but for a general nonzero quaternion the norm squared in the denominator is essential.
All exercises are stated first. Complete worked solutions follow afterward.
For a nonzero quaternion
 |
(1) |
the inverse is
 |
(2) |
Because
 |
(3) |
we have
 |
(4) |
The inverse of a product reverses factor order:
 |
(5) |
For a unit quaternion,
 |
(6) |
and therefore
 |
(7) |
For the PhysicsLibrary passive attitude convention,
 |
(8) |
- Direct inverse calculation.
For
compute
- Verify both inverse identities.
Using the quaternion from Exercise 1, compute
and
Verify that both equal the multiplicative identity.
- Unit quaternion simplification.
Let
First verify that is unit.
Then compute and show that
- Real and pure quaternion inverses.
Find the inverse of the real quaternion
and the pure quaternion
Show that the inverse of a nonzero pure quaternion may be written
 |
(9) |
- Why the zero quaternion has no inverse.
Explain why
cannot have a multiplicative inverse.
Relate the failure to the denominator in
- Inverse of a product.
Prove
 |
(10) |
for nonzero quaternions and .
Your proof should verify both the left and right inverse identities.
- Numerical product inverse.
Let
and
Compute
Verify numerically that the last two quantities are equal.
- Why
is generally wrong.
Using the quaternions from Exercise 7, compute
Compare it with
Explain the discrepancy.
- Solve a left multiplication equation.
Let
where
and
Solve for by multiplying by the appropriate inverse on the correct side.
Verify your answer by direct substitution.
- Solve a right multiplication equation.
Let
with the same
and
Solve for .
Compare the result with Exercise 9 and explain why the two answers differ.
- Inverse of a power.
Prove for every positive integer that
 |
(11) |
Does factor reversal create any complication when all factors are the same quaternion?
- Inverse of a real scalar multiple.
Let
be real and .
Prove
 |
(12) |
Then verify the identity with
- Passive frame map reversal.
Frame is obtained from frame by a positive frame rotation about
.
PhysicsLibrary uses
Compute
and identify it as a frame labeled quaternion.
- Undo a passive coordinate transformation.
Suppose
 |
(13) |
with a unit attitude quaternion.
Use the inverse to solve for .
Write the reverse transformation using both inverse notation and conjugate notation.
- Inverse of
versus inverse of .
For nonzero , prove
 |
(14) |
If is a unit attitude quaternion, explain why and still represent the same reverse physical orientation.
- Software diagnostic: conjugate is not always the inverse.
A software routine defines
for every quaternion.
Test the routine on
Compute the routine's result, the true inverse, and
Under what condition is the software routine correct?
For
the conjugate is
 |
(15) |
The squared norm is
Therefore
 |
(16) |
From Exercise 1,
Therefore
Since
we obtain
 |
(17) |
Likewise,
Because
we obtain
 |
(18) |
Thus the same quaternion is both the left and right multiplicative inverse.
The quaternion is
Its squared norm is
Thus
 |
(19) |
The conjugate is
Since the norm squared is one,
Therefore
 |
(20) |
For
the conjugate is also , and
Therefore
 |
(21) |
Now consider
Because is pure,
Its squared norm is
Therefore
 |
(22) |
Explicitly,
 |
(23) |
An inverse would have to satisfy
If
then for every quaternion ,
Therefore no quaternion can satisfy
The formula
shows the same obstruction algebraically. For ,
so the expression would require division by zero.
Thus
 |
(24) |
Consider
Multiply it on the right of :
Thus
is a right inverse of .
Now multiply it on the left:
Thus it is also a left inverse.
Therefore
 |
(25) |
The factor order reverses.
Let
and
Hamilton multiplication gives
 |
(26) |
Its squared norm is
Therefore
 |
(27) |
Now
so
 |
(28) |
Also,
so
 |
(29) |
Multiplying in the reversed order,
The numerator product is
Hence
 |
(30) |
Using the inverses from Solution 7,
The numerator product is
Therefore
 |
(31) |
But
They differ because quaternion multiplication is not generally commutative.
The inverse must undo the last factor first, so product inversion reverses factor order.
We are given
Left multiply by :
Thus
 |
(32) |
For
the squared norm is
so
Therefore
Hence
 |
(33) |
Direct substitution gives
Now
Right multiply by :
Thus
 |
(34) |
Using
we obtain
Because
we get
Therefore
 |
(35) |
This differs from Solution 9 in the sign of the component.
The difference arises because left and right division are distinct operations in a noncommutative algebra.
For
repeated application of product inversion gives
Hence
 |
(36) |
Factor reversal creates no visible change because all factors are identical.
Let
Since is real, it commutes with every quaternion.
Consider
Then
The product in the other order also equals one.
Therefore
 |
(37) |
For
With
we obtain
 |
(38) |
The forward passive map is
It is unit, so inverse equals conjugate:
Therefore
 |
(39) |
The inverse reverses the frame map, so
 |
(40) |
We begin with
Let
Because is unit,
Left multiply by and right multiply by
:
Since
we obtain
 |
(41) |
Using the unit relation
,
 |
(42) |
Equivalently, with frame labels,
 |
(43) |
Use
and
Then
Therefore
 |
(44) |
For unit attitude quaternions, and are antipodal unit quaternions representing the same reverse physical orientation.
The software routine returns
But
Therefore the true inverse is
 |
(45) |
The product with the conjugate is
Thus
 |
(46) |
not .
The routine
is correct only when
 |
(47) |
For general nonzero quaternions, division by the norm squared is required.
The central inverse identities reinforced by this companion are
 |
(48) |
 |
(49) |
 |
(50) |
and, for unit quaternions,
 |
(51) |
For passive PhysicsLibrary attitude quaternions,
 |
(52) |
Thus algebraic inversion and reversal of a unit passive frame map are the same operation.
The exercises and solutions in this companion are newly written or expanded for PhysicsLibrary from the algebra developed in Quaternion Inverse.
Hamilton is the foundational source for quaternion division and reciprocals. Joly and Kelland–Tait provide classical systematic treatments of quaternion inverse operations. Sommer and coauthors provide a modern engineering discussion of unit quaternion conventions and frame transformations.
- 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
Unless otherwise noted, this PhysicsLibrary entry is intended for release under the Creative Commons Attribution ShareAlike 4.0 International license.
|