3.5.7 · D2 · HinglishGuidance, Navigation & Control (GNC)

Visual walkthroughQuaternion product — Hamilton product

2,195 words10 min read↑ Read in English

3.5.7 · D2 · Physics › Guidance, Navigation & Control (GNC) › Quaternion product — Hamilton product

Formula ko haath lagane se pehle, hum agree kar lete hain ki har symbol kya hai, kyunki koi bhi symbol use karne se pehle tumhare dimag mein uski picture honi chahiye.


Step 0 — Char numbers aur teen arrows

PICTURE mein KYA hai: teen tags ko teen arrows ke roop mein right angles par draw kiya gaya hai, bilkul kisi room ki axes ki tarah. Ek quaternion ka vector part inhi se bana ek single arrow hai.

KYUN is tarah draw karte hain: saara multiplication rule is baat se aata hai ki yeh teen arrows ek doosre mein kaise spin karte hain. Agar tum room ko dekh sako, toh har product seedha padh sakte ho.

Do facts jinhe use karna hai — kuch aur nahi:


Step 1 — Cyclic ring: kyun aur

KYA hai: green arrows (clockwise) follow karte hain aur har hop ek product hai jo agle letter ke barabar hai: , , . Red arrows doosri taraf jaate hain aur minus sign le aate hain.

KYUN yeh zyada important hai jitnaa lagta hai: yeh bilkul Cross Product & Right-Hand Rule ka right-hand rule hai. Agar unit vectors hote, toh — wohi clockwise ring. Toh quaternion multiplication ka "twist" wala hissa ek cross product hi hai. Yeh yaad rakho; Step 5 mein prove karenge.

PICTURE ka takeaway: do neighbours ka order badalna arrow ko reverse karta hai, jisse sign flip ho jaata hai. Yeh akela fact — — non-commutativity ka beej hai, aur non-commutativity 3D rotation ka beej hai.


Step 2 — FOIL: ek product ko solah mein badlo

PICTURE mein KYA hai: ek grid. Rows ke parts hain (tags ), columns ke parts hain. Har cell 16 products mein se ek hai, jisko jahaan woh eventually land karta hai us hisaab se colour kiya gaya hai:

  • Yellow cells → scalar part mein jaate hain,
  • Blue cells → // vector part mein jaate hain.

KYUN grid: poori derivation bas yahi hai ki in 16 cells ko do buckets mein sort karo — scalar bucket aur vector bucket. Koi nayi idea nahi chahiye; bas Step-1 ke rules har cell par apply karo aur jod lo.

Diagonal cells sabse tricky hain: Har ek tag ko square karke kar deta hai, isliye har ek vector bucket se nikal ke scalar bucket mein minus sign ke saath ja girta hai. Wohi minus is wajah hai ki aage dot product dikhta hai.


Step 3 — Scalar bucket collect karo → dot product appear hota hai

KYA hai: picture mein do arrows hain aur quantity shade ki gayi hai — yani yeh measure karta hai ki dono kitna same direction mein point kar rahe hain.

KYUN dot product, koi aur combination kyun nahi? Humne ise choose nahi kiya. Teen diagonal 's ne sum force kiya, aur wohi sum dot product ki definition hai. Dot yeh question ka jawaab deta hai ki "yeh do directions kitni aligned hain?" — ek single number, parallel hone par sabse bada (), perpendicular hone par zero (), opposite hone par negative.


Step 4 — -component collect karo → cross product appear hota hai

Ab blue cells sort karo jinmein leftover tag hai.

KYA hai: picture mein do ring hops aur isolate hain jo -axis par opposite signs ke saath land karte hain, aur surviving combination highlight hai.

KYUN yeh bracket matter karta hai: bilkul cross product ka -component hai. Yeh asymmetric ring rule se aaya ( lekin ) — wohi jagah jahan order sign flip karta hai.

Isi tarah aur tags ke liye sort karne par (cyclic symmetry se), teeno coefficients milaake bante hain:

  • ka dial, ke arrow ko stretch karta hai.
  • ka dial, ke arrow ko stretch karta hai.
  • — sideways twist, ek aur sirf ek term jo swap karne par flip hoti hai.

Step 5 — Cross product akela kyun troublemaker hai

KYA hai: do side-by-side right-hand-rule pictures. Left: upar point karta hai. Right: neeche point karta hai — same magnitude, opposite arrow.

KYUN cross product, koi aur sideways rule kyun nahi? Humne phir se choose nahi kiya — ring ki antisymmetry (, ) ne ise produce kiya. Cross product ka jawaab hai "yeh do arrows ek doosre ke across kitna twist karte hain, aur kis axis ke baare mein?" Iska magnitude hai (perpendicular hone par sabse bada, parallel hone par zero), aur direction right-hand rule se — exactly Step 1 ki ring.

Recall

kyun hota hai ek sentence mein? Kyunki cross-product term Hamilton product ka akela woh piece hai jo dono quaternions swap karne par sign reverse karta hai ::: aur ek physical rotation ka order reverse karna sach mein alag orientation deta hai.


Step 6 — Degenerate aur edge cases (koi gap mat chhodo)

Har corner dikhana zaroori hai, taaki koi reader kisi unshown scenario se na takraaye.


Ek-picture summary

KYA hai: poori derivation ek canvas par — grid se do buckets nikalte hain; yellow bucket condense hoke banta hai (ek dial), blue bucket banta hai (ek arrow). Ek symmetric dot, ek antisymmetric cross.

Recall Feynman retelling — walkthrough plain words mein

Hamare paas do chhoti machines theen, har ek ek dial aur ek arrow se bani. Dono ko ek machine mein jodne ke liye humne sab kuch sab kuch se multiply kiya — solah chhote chhote pieces. Phir humne pieces ko do boxes mein sort kiya. Number box mein yeh sawal aaya ki "dono arrows kitna agree karte hain?" — wohi dot hai, aur ise order ki parwah kabhi nahi hoti. Arrow box mein arrows ki do stretched copies aayi aur ek sideways twist bhi — wohi twist cross product hai, aur wahi akela hai jo notice karta hai ki pehle kaun si machine use ki. Arrows ko same direction mein point karo aur twist gayab (ek axis ke spins hamesha commute karte hain); unhe ek doosre ke across point karo aur twist sabse strong hoti hai. Wohi akeli sideways twist is wajah hai ki cube ko "right phir up" ghoomana "up phir right" se alag hai — aur kyun quaternions real 3D rotation sirf chaar numbers mein store kar sakta hai.


Connections

  • Parent: Hamilton product — woh formula jo yeh page derive karta hai.
  • Cross Product & Right-Hand Rule — Step 1 ki ring yahi rule hai.
  • Rotation Matrices — SO(3) — wohi non-commutativity, matrices mein likhi.
  • Axis-Angle & Euler Rodrigues — jahaan half-angle aata hai.
  • Quaternion Kinematics — $\dot q = \tfrac12 q\,\omega$ — har gyro tick ek Hamilton product hai.
  • Multiplicative EKF (MEKF) — attitude estimation ke liye inhi products ko chain karta hai.
  • Gimbal Lock & Euler Angles — woh failure mode jisse quaternions bach jaate hain.

#flashcards/physics