Definition · applies to quaternions · also called rotation quaternion, versor

Undergraduate

A unit quaternion is a quaternion $q = a + b \, \mathbf{i} + c \, \mathbf{j} + d \, \mathbf{k}$ such that

\[a^2 + b^2 + c^2 + d^2 = 1.\]

Examples

Worked examples

Properties

  • The rotation of $\reals^3$ by the angle $\theta$ about the axis in the direction of the unit vector $\vect{u} = (u_1, u_2, u_3)$ is represented by the unit quaternion \[q = \cos\frac{\theta}{2} + \sin\frac{\theta}{2} \, (u_1 \mathbf{i} + u_2 \mathbf{j} + u_3 \mathbf{k}).\] The rotation moves each vector $\vect{v}$, written as the quaternion $v_1 \mathbf{i} + v_2 \mathbf{j} + v_3 \mathbf{k}$, to $q \vect{v} q^{-1}$.
  • The unit quaternions $q$ and $-q$ represent the same rotation, so each rotation is represented by exactly two unit quaternions.
  • The product of two unit quaternions is a unit quaternion, and it represents doing one rotation after the other.
  • A unit quaternion describes a rotation of $\reals^3$ with four numbers and one condition, with no gimbal lock. After rounding errors, a computed quaternion is corrected by dividing it by its norm.

Distinctions involving this term

  • Representations of Orientation and Rotation: Euler angles, axis–angle representations, rotation matrices, and unit quaternions are four ways to write down a rotation or the orientation of a rigid body in three-dimensional space. Euler angles use three angles of turns about coordinate axes, which are easy to picture but fail to be unique at gimbal lock. An axis–angle representation uses a unit vector along the axis of the rotation and the angle turned about it, which is easy to picture but composes by no simple formula. A rotation matrix uses a $3 \times 3$ matrix with orthonormal columns, which composes by matrix multiplication but has nine entries for three degrees of freedom. A unit quaternion uses four numbers with one condition, which composes by quaternion multiplication and has no gimbal lock, but each rotation has two unit quaternions, $q$ and $-q$.

All definitions · All distinctions · All examples · Notation