3.5.7 · D5Guidance, Navigation & Control (GNC)
Question bank — Quaternion product — Hamilton product
Before we start, one anchor so no symbol is unearned:
True or false — justify
and both hold because are just fancy imaginary units.
False. but ; the cross-product piece flips sign when you swap order, so the two products differ.
The Hamilton product is commutative because the dot product inside it is commutative.
False. The dot term is symmetric, but the cross term is anti-symmetric, and that single term makes the whole product non-commutative.
The product of two unit quaternions is always another unit quaternion.
True. Norms multiply, , so — this is exactly why chaining rotations never rescales orientation.
means "do rotation first, then ," reading left to right like English.
False. Hamilton convention applies right-to-left: means first, then . The leftmost factor acts last.
Quaternion multiplication being non-commutative is a defect of the notation we could fix with a better convention.
False. It mirrors physical reality — 3D rotations genuinely don't commute (roll-then-pitch pitch-then-roll), so any faithful rule must be non-commutative.
For a pure quaternion , the product already gives the rotated vector.
False. A single product leaks scalar and changes length; you need the sandwich to get a clean rotated pure quaternion.
The half-angle inside is an arbitrary convention.
False. The rotation is applied twice in the sandwich , so each factor must carry half the angle for the total to come out as .
Since and , quaternions are just complex numbers with extra letters.
False. In , ; quaternions are non-commutative. The extra structure is precisely what encodes 3D orientation.
Spot the error
"I computed the vector part as just ."
Missing the two scaling terms ; dropping them discards all the pure-spin (scalar-weighted) information.
"The scalar part is ."
Wrong sign — it is a minus: , inherited from .
"To combine rotate-about- then rotate-about-, I write ."
Backwards. " after " means acts last, so the last factor goes leftmost: .
"Products of unit quaternions stay unit, so I never renormalize in my filter."
True in exact math, false in floating point — rounding accumulates over thousands of gyro updates, so you must periodically set .
" is symmetric, so I can compute it in either order."
The cross product is anti-symmetric: . Order flips the sign.
" always, so I can skip the norm."
Only for unit . In general where ; forgetting the misrotates and rescales any non-unit quaternion.
"The rotation quaternion for about is ."
Wrong entirely — it is ; the raw angle never appears, only its half-angle cosine and sine.
Why questions
Why does the cross product, and not the dot product, cause non-commutativity?
Dot is symmetric so it is identical either way; only the cross term changes sign under swapping, so it is the sole asymmetric contribution.
Why must we rotate a vector with a sandwich instead of one product?
The sandwich cancels the scalar "leakage" of each product and preserves length, leaving a pure quaternion of the same magnitude — a genuine rotation.
Why do gyro-integration filters prefer Hamilton products over stacking rotation matrices?
Only 4 numbers, no trig each step, and the unit-norm property auto-preserves a valid orientation — cheaper and drift-resistant, see [[Quaternion Kinematics — ]].
Why does the half-angle appear inside a rotation quaternion?
Because the vector is rotated by conjugation, applying effectively twice; splitting the angle in half makes the two half-turns sum to the full angle.
Why do , , follow a cyclic (right-handed) pattern?
The units behave like right-handed coordinate axes under the cross product (), so their products inherit the same cyclic order, see Cross Product & Right-Hand Rule.
Why is the Hamilton product equivalent to multiplying rotation matrices?
Both encode "do one rotation, then another" as a single combined rotation; the quaternion is just a 4-number coordinate for the same element of Rotation Matrices — SO(3).
Why does an attitude filter like the Multiplicative EKF (MEKF) chain products rather than add corrections?
Rotations compose multiplicatively, not additively; adding quaternions leaves the unit sphere and no longer represents a rotation, so corrections must be applied by Hamilton multiplication.
Edge cases
What is for a unit quaternion, and why?
It equals , the identity — because for unit the conjugate is its inverse, and a rotation followed by its opposite does nothing.
Both and describe the same rotation — true or false?
True. Negating all four numbers flips the half-angle by , i.e. a full extra turn, which is physically identical; this is the "double cover" of rotations.
What does multiplying by the scalar quaternion do?
Nothing — it is the multiplicative identity, leaving any quaternion unchanged, just as multiplying a rotation matrix by does.
What rotation does represent?
The zero rotation (), since and — no turn at all.
What happens if you feed a zero quaternion as a rotation?
It is invalid: its norm , so it has no inverse and cannot represent a rotation; a valid rotation quaternion must be unit-norm.
If and are parallel, what happens to the cross term?
It vanishes (), so the product is commutative in that special case — parallel-axis rotations do commute.
If (like and ), what does the dot term contribute to the scalar part?
Nothing — the dot is , so the scalar part reduces to , and all the action lives in the cross-product vector term.
What is the product (a rotation composed with itself)?
A rotation by twice the angle about the same axis, since the half-angles add to per factor, giving total — same axis, doubled turn.
Recall
Recall One-line self-test
- Sole source of non-commutativity? ::: the cross-product term .
- Sign in the scalar part? ::: minus: .
- Meaning of ? ::: do first, then (right-to-left).
- What is ? ::: the conjugate — flips the vector part's sign.
- How is computed? ::: , the 4D length.
Connections
- Quaternion product — Hamilton product — parent topic these traps target.
- Cross Product & Right-Hand Rule — root of the cyclic units and non-commutativity.
- Rotation Matrices — SO(3) — the matrix equivalent of the product.
- Axis-Angle & Euler Rodrigues — where the half-angle comes from.
- Quaternion Kinematics — $\dot q = \tfrac12 q\,\omega$ — chaining products in gyro integration.
- Multiplicative EKF (MEKF) — multiplicative corrections in filters.
- Gimbal Lock & Euler Angles — the failure quaternions avoid.
#flashcards/physics