Definition
Unit quaternions (, the 3-sphere ) represent rotations. As scalar + vector, .
Formula
From axis and angle :
Rotate a vector: with the conjugate . Interpolate: , .
Intuition
Complex numbers multiply by adding angles and multiplying magnitudes, so a unit complex number is a 2D rotation. Quaternions are Hamilton’s generalization of this to 3D rotations, which needs 4 components.
| Pro | Con |
|---|---|
| no singularities (no gimbal lock) | 4 numbers instead of 3 |
| linearly independent derivatives | quadratic constraint |
| concatenation with the quaternion product | |
| ideal for interpolation (SLERP) |
Appears in
- Lecture 2.2, Quaternions: complex numbers, quaternion product, SLERP, pros and cons
- Lecture 2.2, Which representation: best for singularities and concatenation
- Lecture 8, 3DGS covariance: with from a quaternion