3.5.6 · D5Guidance, Navigation & Control (GNC)
Question bank — Quaternions — definition q = (q₀, q₁, q₂, q₃), unit quaternion constraint
True or false — justify
Every 4-tuple of real numbers is a valid rotation quaternion.
False. Only unit quaternions () represent rotations; a general 4-tuple like has norm and must be normalized first.
The scalar part of a rotation quaternion can be any number between and .
True. Since and ranges over for , sweeps the full interval .
Quaternion multiplication is commutative: .
False. The vector part contains , which flips sign when you swap and , so they differ unless the axes are parallel — mirroring that 3D rotations don't commute.
and describe two opposite rotations.
False. They describe the same rotation: in the sandwich both minus signs cancel. This is the double cover .
The identity quaternion is the only unit quaternion with zero vector part.
False. also has zero vector part and unit norm; it equals a rotation, which is the same physical orientation as identity.
For a unit quaternion, the inverse equals the conjugate.
True. , and collapses this to .
A pure quaternion (scalar part zero) can represent a rotation.
False in general. Scalar part forces , so only unit pure quaternions represent a specific rotation; a non-unit pure quaternion represents nothing.
The norm of a product equals the product of the norms: .
True. The quaternion norm is multiplicative, so multiplying two unit quaternions gives another unit quaternion — composing rotations keeps you on .
Spot the error
"Rotating about : ."
Error: full angle used. Quaternions take the half-angle, so .
"To invert any rotation quaternion just negate all four components: ."
Error. is the same rotation, not the inverse. The inverse conjugates only the vector part: .
"The axis of rotation is stored directly as ."
Error. The stored vector part is , i.e. the axis scaled by . You recover by dividing by its own length.
"Since I started with a unit quaternion, after integrating for many steps it stays exactly unit."
Error. Discrete integration accumulates rounding and slowly drifts off ; you must renormalize each timestep. (See Quaternion Kinematics — dq/dt.)
" gives back the identity rotation ."
Error unless unit. . Only when does this equal ; otherwise it's a scalar .
"To compose 'first then ' I compute ."
Error (order). Applying first then is — the later rotation sits on the left, just like matrix multiplication order.
Why questions
Why does a quaternion need 4 numbers when a rotation has only 3 degrees of freedom?
The 4th number is redundancy removed by one unit constraint (); this smooth 4D packing is exactly what avoids the singularity (gimbal lock) that plagues 3-number Euler angles.
Why the half-angle and not ?
A vector is rotated by the double-sided product , so is effectively applied twice; each factor must carry half the total angle so the sandwich delivers the full .
Why do unit quaternions never hit a gimbal-lock singularity?
They live on the smooth, closed surface of the 3-sphere with no coordinate axes to "align" — the singularity in Euler Angles and Gimbal Lock comes from a bad chart, not from rotations themselves.
Why is inverting a unit quaternion cheaper than inverting a rotation matrix?
A quaternion inverse just negates three signs (), whereas the matrix route needs a transpose and orthogonality checks — a real win on limited spacecraft compute.
Why does non-commutativity of match physical reality?
Real 3D rotations don't commute (spin-then-tilt tilt-then-spin); the term encodes exactly this order-dependence.
Why does renormalizing simply mean dividing by the norm?
Every unit quaternion sits at distance from the origin in 4D; dividing a drifted by its length projects it radially back onto without changing the direction (hence the rotation) it points to.
Why is a quaternion a natural generalization of complex numbers?
In 2D a unit complex number rotates the plane; quaternions add two more imaginary units so a single object can rotate 3D space the same clean way.
Edge cases
What quaternion represents "do nothing"?
The identity : gives and ; multiplying by it leaves any quaternion unchanged, like multiplying by .
What happens to at exactly ?
, so is a pure quaternion; the axis is fully visible but the two half-rotations and become maximally separated 4-tuples for the same flip.
What quaternion corresponds to a full turn, and is it the same as ?
gives , so . Physically the same orientation as identity, yet the quaternion is the identity — the signature of the double cover.
If the axis is not a unit vector, is the resulting still a valid rotation?
No. The norm derivation relied on ; a non-unit axis breaks the unit constraint, so you must normalize before building .
At the axis is undefined (spin about nothing) — does the quaternion still work?
Yes. The vector part is regardless of which axis you picked, so the undefined axis is harmless and is unambiguous.
Can two different unit quaternions ever give the same rotation?
Yes — exactly the antipodal pair and . No other coincidences occur, so the map is precisely two-to-one.
Active Recall
Recall Cover me: name the three biggest quaternion traps.
(1) Using the full angle instead of ; (2) thinking is a different or inverse rotation; (3) forgetting to renormalize after integration.