3.5.7 · HinglishGuidance, Navigation & Control (GNC)

Quaternion product — Hamilton product

1,707 words8 min readRead in English

3.5.7 · Physics › Guidance, Navigation & Control (GNC)


Quaternion kya hota hai

aur squaring rules se, pairwise products aate hain (yahi poora engine hai):


Hamilton product ko scratch se derive karna

Figure — Quaternion product — Hamilton product

Worked example 1 — pure imaginary units

Vector formula use karke compute karo.

  • : . Kyun? ek pure-vector unit quaternion hai.
  • : .
  • scalar . Kyun? hai, dot 0 hai.
  • vector . Kyun? right-hand cross se milta hai.
  • Result . ✅ se match karta hai.

Ab : cross flip hokar ho jaata hai → result . Yeh step kyun? Cross product anti-commutative hota hai, isliye order badalne par sign palat jaata hai. Yeh prove karta hai ki .


Worked example 2 — do real rotations combine karna

ke around rotate karo, phir ke around . Axis ke around angle ke liye unit quaternion hai .

Combined rotation (" ke baad ") = (sabse left wala last lagta hai). Kyun? Hamilton convention: .

To . Check: norm ✅ (unit quaternions ka product unit hota hai — isliye gyro integration orientations ko valid rakhta hai).


Vector ko rotate karna

Sandwich kyun, sirf kyun nahi? Ek single product scalar aur vector parts ko mix kar deta aur length badal deta. Conjugation scalar leakage cancel karta hai aur rotation ko twice-by-half apply karta hai, isliye mein half-angle aata hai.


Common mistakes


Recall

Recall Flashables (chhupaao aur khud test karo)
  • Hamilton product ke do parts kya hain? scalar ; vector .
  • Non-commutativity ka akela source kya hai? cross product term.
  • . .
  • Vector ko rotate kaise karte hain? Unit ke liye .
Recall Feynman: 12-saal ke bachche ko samjhao

Socho do magic "turn cards" hain. Har card, jab tap karo, ek toy ko space mein spin karta hai. Agar tumhe ek aisa card chahiye jo dono spins ek saath kare, to tum do cards ko ek special recipe se jodte ho. Recipe mein do cheezein hain: ek part check karta hai ki dono spins kitna same direction mein point karte hain (woh dot part hai, ek plain number), aur doosra part check karta hai kitna woh ek doosre ke across twist karte hain (woh cross part hai, jo right-hand rule se sideways point karta hai). Kyunki across-twisting is baat par depend karta hai ki aap pehle kaun sa card tap karte ho, card A phir B tapna same nahi hai jaise B phir A — bilkul jaise Rubik's cube ko ghoomana.


Connections

  • Rotation Matrices — SO(3) — Hamilton product ≡ rotations ki matrix multiplication.
  • Axis-Angle & Euler Rodrigues ke andar half-angle kahaan se aata hai.
  • Quaternion Kinematics — $\dot q = \tfrac12 q\,\omega$ — gyro integration isi product ka use karta hai.
  • Multiplicative EKF (MEKF) — attitude filters Hamilton products chain karte hain.
  • Gimbal Lock & Euler Angles — woh problem jo quaternions solve karte hain.
  • Cross Product & Right-Hand Rule ki geometric root.
Hamilton product scalar part
Hamilton product vector part
Which term causes non-commutativity
cross product
Value of
Value of
Fundamental relation defining quaternions
Order convention: rotation A then B combined quaternion
(right-to-left)
How to rotate vector u by unit quaternion q
Inverse of a unit quaternion
iska conjugate
Is the product of two unit quaternions a unit quaternion
Haan,

Concept Map

scalar plus vector

imply

cyclic right-handed

substituted into

multiplied via

collect scalar

collect vector

combine

combine

cross product term

represents

used in

Quaternion w plus xi yj zk

Scalar w and vector v

Hamilton rules i2 j2 k2 ijk eq -1

Multiplication table ij eq k etc

Right-handed frame axes

Distribute 16 products

Scalar part w1w2 minus v1 dot v2

Vector part w1v2 plus w2v1 plus cross

Hamilton product

Non-commutative pq ne qp

Composed 3D rotation

Attitude filter MEKF gyro integration