3.5.7 · D3Guidance, Navigation & Control (GNC)

Worked examples — Quaternion product — Hamilton product

2,842 words13 min readBack to topic

The scenario matrix

Every Hamilton-product situation is one row of this table. The examples below hit each cell. ( = the conjugate defined in the box just below.)

# Case class What makes it special Example
A Identity element one factor is Ex 1
B Pure imaginary × pure imaginary, perpendicular both scalars , axes → dot Ex 2
C Pure imaginary, parallel/equal axes both scalars , axes parallel → cross Ex 3
D Order swap (non-commutativity) compute and , compare Ex 4
E Two real rotations, general axes full formula, all three terms nonzero Ex 5
F Sandwich (rotate a vector) conjugate from the box below; two products, length preserved Ex 6
G Sign / negative-scalar (half-angle ) ; double-cover Ex 7
H Limiting case: infinitesimal rotation , links to gyro integration Ex 8
I Exam twist: solve for the unknown factor given , find via inverse Ex 9

Two building blocks we reuse:


Case A — the identity element


Case B — perpendicular pure imaginaries


Case C — parallel / equal axes


Case D — order matters (non-commutativity)


Case E — two real rotations, general axes


Case F — the sandwich: rotate a real vector


Case G — negative scalar & the double cover


Case H — the limiting case (tiny rotation)


Case I — exam twist: solve for the unknown factor


Recall

Recall Which term dies in each degenerate case?

Perpendicular axes ::: dot term (Ex 2). Parallel/equal axes ::: cross term (Ex 3). One factor is ::: everything but dies; identity, commutes both sides (Ex 1). Tiny angle ::: quaternion , no change (Ex 8).

Recall Test yourself

::: — the doubled cross term (Ex 4). How to undo a left factor in ? ::: , multiply on the left (Ex 9). Two quaternions for one rotation? ::: and (double cover, Ex 7). Small-angle vector part of ? ::: (Ex 8).


Connections

  • Quaternion product — Hamilton product — the rule these examples drill.
  • Cross Product & Right-Hand Rule — the source of every sign flip in Ex 2, 4, 5.
  • Axis-Angle & Euler Rodrigues — where the half-angle in Ex 5–8 comes from.
  • Quaternion Kinematics — $\dot q = \tfrac12 q\,\omega$ — the limit Ex 8 recovers.
  • Multiplicative EKF (MEKF) — the error-quaternion trick of Ex 9.
  • Rotation Matrices — SO(3) — cross-check Ex 6 against a rotation matrix.

#flashcards/physics