3.5.6 · HinglishGuidance, Navigation & Control (GNC)

Quaternions — definition q = (q₀, q₁, q₂, q₃), unit quaternion constraint

1,721 words8 min readRead in English

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


Quaternion KIYA hai?

Hum ise aksar compactly likhte hain.


Hamilton ka multiplication rule scratch se derive karna

Hum sirf yeh assume karte hain ki units satisfy karti hain aur har ek pe square hoti hai. Baaki sab kuch follow hota hai.

Yeh step kyun? se, right-multiply karo se:

Yeh step kyun? ko se left-multiply karo:

Do quaternions ka full multiplication phir term-by-term expand karke milta hai:

term hi wajah hai ki quaternion multiplication (jaise rotation composition) non-commutative hai.


Unit-quaternion constraint

KYUN half-angle ? Kyunki kisi vector ko rotate karne ke liye sandwich use hota hai, jo effectively do baar apply karta hai, isliye har factor ko sirf aadha angle carry karna chahiye. (Iska matlab yeh bhi hai ki aur same rotation dete hain — "double cover".)


Conjugate, inverse, aur yeh kyun matter karta hai


Worked Examples


Common Mistakes (Steel-manned)


Active Recall

Recall Cover me: ek unit quaternion mein kitne free parameters hote hain?

4 numbers − 1 constraint = 3, jo 3 rotational DOF se match karta hai.

Recall Cover me: unit constraint aur identity quaternion likho.

; identity .

Recall Feynman: quaternions ko ek 12-saal ke bachche ko explain karo.

Socho tum ek khilona ghuma rahe ho. Ghuman describe karne ke liye tumhe kehna hoga: spinning stick kis taraf point kar raha hai (yeh ek arrow hai, 3 numbers) aur kitna twist kiya tumne (1 number). Ek quaternion 4 numbers ka ek neat chhota dibba hai jo dono ko hold karta hai. Ek rule hai: agar tum chaaron numbers ko square karke add karo, tumhe exactly 1 milna chahiye — jaise kehna "yeh arrow exactly ek meter lamba hai." Agar dibba add-up mistakes se thoda galat ho jaaye, tum sirf usse shrink ya stretch karo taaki total 1 ho jaaye. Phir yeh hamesha ek real spin describe karta hai, aur yeh kabhi "jam" nahi karta jaise purane methods karte hain.


Flashcards

What are the four components of a quaternion?
Scalar part aur vector part : .
State the unit-quaternion constraint.
.
Why 4 numbers for a 3-DOF rotation?
4 params − 1 unit constraint = 3 DOF; extra number gimbal-lock singularity remove karta hai.
How is a rotation of angle θ about unit axis n̂ encoded?
.
Why the half-angle θ/2?
Vector ko rotate karne mein double product use hota hai, jo do baar apply karta hai, isliye har factor aadha angle carry karta hai.
Do q and −q represent the same rotation?
Haan — mein signs cancel ho jaate hain; yeh SO(3) ka double cover hai.
Give the quaternion conjugate.
.
Inverse of a unit quaternion?
(kyunki ).
Hamilton's fundamental relation?
.
Scalar part of ?
.
Vector part of ?
.
Is quaternion multiplication commutative?
Nahi — term ise non-commutative banata hai.
Geometrically, where do unit quaternions live?
4D space mein unit 3-sphere pe.
How do you fix drift after integration?
Renormalize karo: .
Identity quaternion?
— "kuch mat karo" wala rotation.

Connections

  • Euler Angles and Gimbal Lock — woh problem jo quaternions solve karte hain.
  • Rotation Matrices SO(3) — 9 numbers, 6 constraints wala alternative.
  • Quaternion Kinematics — dq/dt kaise evolve karta hai angular velocity ke saath.
  • Axis-Angle Representation — half-angle form ka direct source.
  • Spacecraft Attitude Determination — jahan GNC yeh sab use karta hai.
  • Complex Numbers as 2D Rotations — quaternions ke 3D analogue hain.

Concept Map

encoded wastefully by

encoded by

suffers

solves 4 nums 1 constraint

derives

contains cross product

defines

set to 1 gives

leads to

required to represent

3D rotation
3 DOF

Rotation matrix
9 nums 6 constraints

Euler angles
3 nums

Quaternion q0 q1 q2 q3

Hamilton rules
ijk = -1

Quaternion product

Non-commutative

Norm

Unit constraint
sum of squares = 1

Axis-angle form
cos and n sin

Gimbal lock