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

ExercisesQuaternion product — Hamilton product

2,244 words10 min read↑ Read in English

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

Neeche ka sab kuch us ek rule se hai jo parent note mein diya gaya hai:

Recall Quick reference: pieces kya hain, words mein

Dot product ::: — ek number, symmetric (). Cross product ::: — ek vector, anti-symmetric (). Conjugate ::: — vector part ka sign flip kar do. Norm ::: .


Level 1 — Recognition

Goal: formula padho aur numbers plug in karo bina sign pe slip kiye.

L1.1

Diya gaya hai aur , ka sirf scalar part compute karo.

Recall Solution

Scalar part hai .

  • .
  • .
  • Scalar .

Humne kya kiya: sirf formula ka pehla slot use kiya. Kyun: question ne sirf scalar maanga tha, toh vector slot yahan irrelevant hai.

L1.2

Same ke liye, ka vector part compute karo.

Recall Solution

Vector part .

  • .
  • .
  • with , :
    • .
  • Sum: .

Toh .


Level 2 — Application

Goal: ek physical rotation ko quaternion mein convert karo aur multiply karo.

L2.1

-axis ke around rotation ke liye unit quaternion likho. Yaad karo .

Recall Solution

.

  • , .
  • .
  • , yaani unit .

Half-angle kyun: ek vector ko rotate karne ke liye sandwich use hota hai, jo ko effectively "do baar" apply karta hai, isliye har ko sirf aadha angle carry karna chahiye. (Dekho Axis-Angle & Euler Rodrigues.)

L2.2

" about " phir " about " compose karo. Convention use karte hue, compute karo.

Figure — Quaternion product — Hamilton product
Recall Solution

Har quaternion banao (, ):

Yahan "first" , "last" , toh compute karo jahan :

  • Scalar: .
  • Vector:
    • :
    • Sum: .
  • .
  • Norm check: ✅.

Figure mein kaisa dikhta hai: red arrow pehle apply hota hai ( ke around), mint arrow doosra ( ke around); mein right-to-left padhna us timeline se match karta hai.


Level 3 — Analysis

Goal: structure ke baare mein reason karo, sirf numbers crunch mat karo.

L3.1

Prove karo ki koi bhi do quaternions ke liye, ka scalar part ke scalar part ke barabar hota hai, lekin vector parts alag ho sakte hain. Uss ek term ko identify karo jo zimmedaar hai.

Recall Solution

ka scalar: . ka scalar: . Kyunki ordinary multiplication commute karta hai () aur dot symmetric hai (), dono scalars identical hain. ✅

ka vector: . ka vector: . Pehle do terms match karte hain (addition commutes). Difference hai anti-symmetry use karke. Toh — ek pure quaternion. Cross product hi akela culprit hai.

L3.2

Dikhao ki agar aur parallel hain (dono same axis ke along), toh .

Recall Solution

Parallel ka matlab hai kisi scalar ke liye. Tab L3.1 se, , toh . ✅

Physical meaning: same axis ke around do rotations commute karte hain ( ke around phir = kisi bhi order mein). Sirf alag-axis wale rotations commute karne se mana karte hain — yahi Cross Product & Right-Hand Rule ka geometric core hai.


Level 4 — Synthesis

Goal: kai tools ko chain karo — product, conjugate, sandwich — ek result mein.

L4.1

Vector ko unit quaternion ( ke around ek turn) se sandwich use karke rotate karo.

Figure — Quaternion product — Hamilton product
Recall Solution

ko pure quaternion ke roop mein embed karo. Kyunki unit hai, .

Step 1 — inner product (, ):

  • Scalar: .
  • Vector:
    • cross:
    • .
  • .

Step 2 — outer product (, ):

  • ; .
  • Scalar: ✅ (rotated vector pure rehta hai).
  • Vector:
    • scaled term:
    • cross: ; ;
    • sum: .
  • -axis rotate hokar -axis ban gaya. ✅

Kaisa dikhta hai: ke around counter-clockwise turn bhejta hai, bilkul waise jaise figure mein dikhta hai.


Level 5 — Mastery

Goal: ek aisi property design aur prove karo jis par ek filter actually depend karta hai.

L5.1

Ek gyro integrator attitude update karta hai ki tarah, jahan ek tiny unit quaternion hai. Prove karo ki exactly (real arithmetic mein), toh orientation kabhi grow ya shrink nahi karta. Norm identity use karo.

Recall Solution

Jis claim par lean karna hai: kisi bhi quaternions ke liye, . (Yeh isliye follow karta hai kyunki norm-squared multiplicative hai: , toh .)

, ke saath apply karo: Kyunki ek unit quaternion hai, , isliye se start karke, har hamesha ke liye — exact math mein. Quaternion Kinematics — $\dot q = \tfrac12 q\,\omega$ aur Multiplicative EKF (MEKF) dekho ki filters isko kaise exploit karte hain.

L5.2

Numeric sanity check. Maano aur ek small rotation . compute karo aur verify karo ki uska norm decimals tak hai.

Recall Solution

Maano , , . , .

  • Scalar: .
  • Vector:
    • cross
    • sum:
  • .
  • Norm.
  • ✅.

Insight: exact collapse isliye hota hai ki unit-ness survive kare — lekin float mein, sirf machine precision tak hota hai, toh real filters periodically renormalize karte hain.


Connections

  • Quaternion product — Hamilton product — wo parent rule jise har exercise apply karta hai.
  • Cross Product & Right-Hand Rule — woh term jo saari non-commutativity ke peeche hai (L3).
  • Axis-Angle & Euler Rodrigues — L2 mein half-angle ka source.
  • Quaternion Kinematics — $\dot q = \tfrac12 q\,\omega$ — L5 ka gyro update.
  • Multiplicative EKF (MEKF) — jahan unit-norm preservation practically matter karta hai.
  • Rotation Matrices — SO(3) — kisi bhi product ko matrix multiplication ke against cross-check karo.