Quaternions, are a number system like real or complex numbers but with 4 dimensions. In particular, is nothing but together with a multiplication law. The identification of and is given by:
With the usual addition and scalar multiplication inherited from , becomes a four dimensional vector space with canonical basis The quaternion multiplication is defined by:
A more simple way to define the quaternion multiplication is to say that the multiplication with works as usually and that satisfy the following multiplication rules:
is called the real part of and the imaginary part and there holds: . If we identify with and with , we can write any as: for some and This notation gives us a new expression of the quaternion multiplication using the scalar and cross product of :
Due to the fact that the cross product is skew symmetric, we immediately see that the quaternion multiplication is not commutative, i.e. in general there holds .
Proposition: The quaternion multiplication is associative i.e. for there holds:
Proof: Let
Now we can define a linear map
A straight forward calculation shows that satisfy the following product rules with respect to the matrix multiplication:
Therfore, is an algebra isomorphism onto its image. Due to the fact that the matrix multiplication is associative we obtain that the quaternion multiplication is associative too.
The conjugate of an quaternion number is given by .
Proposition: For there holds :
Proof:
also inherits the euclidean norm from : . Similar to the complex numbers we have . Additionally, there holds the following useful formula:
Proposition: For there holds:
Proof:
Note that for the inverse element with respect to the quaternion multiplication is given by
For quaternions with unit length this gives us immediately
What makes quaternions so useful is the fact that one can describe rotation in with them in a very elegant way. Therefore, we have to consider as .
Theorem: Let with , and . Then for all we have:
(i)
(ii) The map , is a rotation around by the angle .
Proof: (i) First note that a quaternion is purely imaginary if and only if . Thus we have to show .
(ii) is a linear map and therefore completely determined by its action on a basis. We extend to an positive oriented orthonormal basis of .
In the last step we used that . This gives us that the -axis is invariant under . Now we consider the action of on the plane orthogonal to , i.e. the plane spanned by and . Since we have:
Using this and the addition formulas for cosine and sine we get:
Analog we obtain and the matrix representation of with respect to the basis is given by:
.
Now it is easy to see that describes a rotation around by the angle .
Corollary: For every the map , is a rotation.
Proof: With we get:
Since has unit length there exists with and such that: and we can apply the theorem.
Note that the quaternion multiplication corresponds to the concatenation of rotations. Let with and the corresponding rotations i.e. and , then we get for the concatenation: