Exercises — Quaternion kinematics — q̇ = ½ Ξ(q) ω
3.5.9 · D4· Physics › Guidance, Navigation & Control (GNC) › Quaternion kinematics — q̇ = ½ Ξ(q) ω
Yahan do objects hain jo baar baar kaam aayenge, neeche figures mein dikhaye gaye hain.

Figure s01 padhna. Kaala circle ek 2D slice hai unit 3-sphere ka — origin se distance 1 par saare points ka set, jahan har valid quaternion rehta hai. Kaala arrow centre se radially bahar red dot ki taraf point karta hai: woh dot current quaternion hai. Red arrow us dot se nikalta hai aur circle ke saath flat lie karta hai — yeh quaternion ki velocity hai. Jahan dono arrows milte hain wahan chhota kaala square hai jo right angle dikhata hai: aur perpendicular hain. Yahi right angle saara point hai — sphere ke saath tangent ek velocity dot ko surface ke saath slide karti hai, kabhi usse nahi hatati, isliye length exactly 1 rehti hai aur ek valid rotation rehta hai.
Level 1 — Recognition
Exercise 1.1
Matrix ka shape hai. aur batao, aur ek sentence mein explain karo kyun woh numbers hain, koi aur shape kyun nahi.
Recall Solution
ek matrix hai. Kyun: yeh 3-vector (3 columns) khata hai aur 4-vector (4 rows) produce karta hai. Ek matrix jo 3-cheez ko 4-cheez mein badalta hai woh hi honi chahiye. Upar ke formula mein entries count karke confirm karo: 4 rows, 3 columns.
Exercise 1.2
Equation mein, kis type ka quaternion hai? (Iska scalar part zero hai.)
Recall Solution
Yeh ek pure quaternion hai (ise angular-velocity quaternion bhi kehte hain). Ek pure quaternion ka scalar part zero hota hai; iske teen vector slots mein hota hai. Yeh unit quaternion nahi hai aur rotation represent nahi karta — yeh sirf ek convenient package hai taaki hum ko mein multiply kar sakein.
Exercise 1.3
Famous factor kahan se aata hai? Choose karo: (a) cross product se, (b) quaternion definition mein half-angle se, (c) renormalization se.
Recall Solution
(b). Ek quaternion aur store karta hai — half-angle. Jab tum ko time mein differentiate karte ho, chain rule se bahar aata hai: . Wahi poori kahaani hai — yeh double-cover ki cost hai, jahan aur dono same physical rotation mean karte hain.
Level 2 — Application
Exercise 2.1
Maano (identity) aur rad/s. compute karo.
Recall Solution
par: , isliye Phir Matlab: slot pehle on hota hai — yeh body -axis ke baare mein pitch ka shuru hona hai. Aur : identity par norm abhi change nahi ho sakta ().
Exercise 2.2
Maano ( ke baare mein rotation) aur body rate rad/s. compute karo. use karo.
Recall Solution
Yahan . banao: Sirf nonzero hai, isliye hum ka teesra column lete hain aur use aadha kar dete hain: Sanity check: . Sphere ke tangent. ✔
Exercise 2.3
Numerically verify karo ki hai, aur ke liye (Exercise 2.1). Dono sides dikhao.
Recall Solution
Left side (, se pehle): 2.1 se yeh hai. Right side (): ke saath, Dono dete hain. ✔ Same physics, do bookkeeping choices — ek factor out karta hai, doosra .
Level 3 — Analysis
Exercise 3.1
Prove karo ki kisi bhi unit quaternion aur kisi bhi ke liye, derivative se orthogonal hai, matlab . Geometric meaning explain karo.
Recall Solution
se shuru karo, toh Block form use karte hue (upar definition callout mein restated) aur , hum split karte hain aur block-by-block multiply karte hain: Last term mein (skew) aur use hota hai: . Toh aur isliye har ke liye . Geometrically (upar figure s01 dekho): kaala arrow radially sphere ki taraf point karta hai; red arrow marked right angle par milta hai, surface ke flat saath lie karta hai. Woh right angle hai algebra jo visible ho gayi — motion ke saath slide karti hai, kabhi usse nahi hatati, isliye exactly 1 rehta hai.
Exercise 3.2
Parent note ke Example 1 mein, identity se pure spin body ke baare mein coupled equations deta hai . Inhe solve karo aur resulting oscillation ki frequency batao. Frequency kyun hai, kyun nahi?
Recall Solution
Pehle equation differentiate karo aur doosri substitute karo: Yeh simple harmonic motion hai angular frequency ke saath. ke saath: Kyun half: physical body angle se ghoomta hai, lekin quaternion store karta hai. Toh quaternion components body ke rotation rate ke half par oscillate karte hain. Ek full body turn () quaternion ko half-angle mein sirf aage le jaata hai — aur indeed ek full turn ke baad par return karta hai, famous double cover.
Exercise 3.3
Dikhao ki ke columns mutually orthogonal hain aur har ek ki length hai. Ek general unit ke liye verify karo ki column 1 dotted with column 2 zero hai, aur column 1 ki length 1 hai.
Recall Solution
ke columns: Orthogonal. ✔ Aur . Toh teen columns ek orthonormal set banate hain (jab unit ho). Matlab: -space se tangent plane mein ek isometry hai — ko stretch nahi karta, bas ise 4D tangent space ke sahi 3D slice mein rotate kar deta hai. Isliye exactly.
Level 4 — Synthesis
Exercise 4.1
, rad/s constant lo. Ek explicit Euler step (rule: ) s ka karo. Phir renormalize karo. Renormalized quaternion report karo aur comment karo ki renormalization kyun zaroori thi. (Dekho Numerical integration RK4.)
Recall Solution
Parent note ke Example 2 se, . Euler step: . Norm: — 1 se thoda bada. Renormalize: norm se divide karo: Kyun zaroori: tangency proof (3.1) exact hai sirf continuous time mein. Ek finite Euler step tangent line ke saath straight move karta hai, jo curved sphere se nikal jaati hai, isliye 1 se upar creep karta hai. Renormalize karna ise par snap back karta hai. Higher-order integrators jaise RK4 (ek step mein chaar rate-samples) kam drift karte hain lekin phir bhi periodic renormalization ki zaroorat hoti hai.
Exercise 4.2
Body rate with rad/s, se start. 3.2 ka exact solution use karke, s par nikalo. Phir physical rotation angle nikalo jo yeh represent karta hai.
Recall Solution
Exact: . ke saath: Physical angle: -axis ke baare mein. Consistent: rate rad/s for 1 s body ko radians ghoomata hai. ✔
Exercise 4.3
Time par ek tiny body-frame spin ko pure quaternion ke roop mein package kiya jaata hai. ki non-commutativity use karke explain karo kyun body-frame ko post-multiply karna padta hai () jabki inertial-frame ko pre-multiply karna padta hai (). Ek-paragraph argument, heavy algebra nahi.
Recall Solution
ek vector jo body frame mein express hai use inertial frame mein map karta hai. Body par gyros se measured ek tiny extra spin naturally body coordinates mein describe hoti hai, toh yeh pehle act karti hai, body frame mein — aur ek map ke liye "pehle" hota hai rightmost factor: . Isliye body rates post-multiply karte hain. Agar instead fixed inertial frame mein di gayi hai, toh extra spin ka kaam ho jaane ke baad act karti hai, inertial coordinates mein — leftmost factor: . Isliye inertial rates pre-multiply karte hain. Kyunki non-commutative hai, inhe silently swap karna galat attitude integrate karta hai — ek classic flight-software bug. Yeh Rotation matrices and SO(3) mein composition order se link karta hai.
Level 5 — Mastery
Exercise 5.1
Attitude ke liye EKF kinematics ko linearize karta hai. Dikhao ki ko input maan kar, Jacobian equals hai, aur ko state maan kar (fixed ), Jacobian equals hai. ke liye har ek ki ek entry explicitly verify karo. (Dekho Extended Kalman Filter for attitude estimation.)
Recall Solution
Input Jacobian . Likho . Yeh mein linear hai ( ka har component ka fixed linear combination hai), aur ek linear map ka ke respect mein derivative sirf hai. Isliye — ek matrix. Explicit entry: ke Jacobian ki row 3, column 2 hai times ki entry . par woh entry hai, isliye State Jacobian . Doosra form use karo , jo mein linear hai, toh — ek matrix. Explicit entry: row 3, column 1. ki entry hai ; ke saath woh hai, isliye Exercise 2.1 se cross-check: wahan mein sirf hai, aur . Woh poori value single Jacobian path se flow karti hai. ✔ Dono Jacobians direct computation se agree karte hain, aur exactly isliye quaternion kinematics ek EKF ke propagation aur covariance-update steps mein cleanly slot ho jaata hai.
Exercise 5.2
Banao. Length relation scratch se derive karo, phir interpret karo: agar ek satellite rad/s par spin kare, toh uska quaternion 3-sphere ke saath kitni fast (units per second mein) move karta hai?
Recall Solution
Exercise 3.3 se, unit ke liye ke columns orthonormal hain, toh length preserve karta hai: . Isliye Number: (quaternion-units per second). Interpretation: point ke saath body ki angular speed ke half par slide karta hai — half-angle ka geometric echo. Unit sphere par arc-length angle ke barabar hai, toh har second rad of great-circle arc sweep karta hai, aur s ke baad (ek full physical turn, ) usne arc trace kiya hai — par land karta hai, phir double cover. (Dekho figure s02.)
Exercise 5.3
Synthesis / open reasoning. Ek student exact half-angle propagation ko matrix exponential se constant ke liye replace karta hai. Argue karo yeh exact kyun hai (no renormalization drift) aur ise Rodrigues rotation formula se connect karo.
Recall Solution
Constant ke liye, ek linear ODE with constant coefficients hai, jiska exact solution matrix exponential hai . Kyunki skew-symmetric hai (), uska exponential orthogonal hota hai, toh yeh norm exactly preserve karta hai: — koi drift nahi, koi renormalization ki zaroorat nahi. Closed form hai jo precisely angle ka ke baare mein ek rotation quaternion hai — Rodrigues rotation formula ka quaternion analogue. Dono "ek axis ke baare mein ek angle se rotate karo" ko ek (stay) plus ek (turn) part mein split karte hain. Exponential map rate description () aur finite rotation description (Rodrigues, ) ke beech bridge hai.
Recall One-line self-test wrap-up
Half aata hai ::: quaternion mein stored half-angle se (chain rule). se orthogonal hai kyunki ::: , motion ko ke tangent rakhta hai. equals ::: ( ke columns orthonormal hain).