The quaternion is a rank 4 complex number system that consists of a real and three complex(vector) parts. The vector component is an extension from the basic complex or imaginary number system, i^. The basic properties of the complex components of a quaternion are listed:
i^2=j^2=k^2=i^j^k^=−1
Clockwise multiplication around the circle results in positive values, while counter-clockwise multiplication results in negative values.
In the quaternion, q0 represents the scalar part, while q1, q2, and q3 represent the vector parts of the quaternion, also written as qv. The quaternion can also be re-written as:
The magnitude of a quaternion is defined by:
∥q∥=q02+q12+q22+q32
The inverse of a quaternion is defined:
q−1=∥q∥q∗
The inverse of a Rotation quaternion is equal to the conjugate of the quaternion:
q−1=q∗
The inverse, or conjugate, of a Rotation quaternion causes the axis of rotation to be rotated to the complete opposite direction from the initial quaternion.