The Quaternions
The collection of quaternions are: where and
Real Part of the Quaternion
Given a quaternion , we say that is the scalar part of the quaternion (or real part), and is denoted by
Vector Part of the Quaternion
Given a quaternion , we say that is the vector part of the quaternion, and is denoted by
Note that we think of the vector part of a quaternion as an element of , and so it inherits all the operations from that space, such as equality, as noted in the next corollary.
Quaternion from a Real Number
We define the map by
Pure Quaternion from a 3D Vector
We define the map by
Quaternion from a 4D Vector
We define the map by
to_quat from Produces a Pure Quaternion
For any
,
is a
pure quaternion, i.e.
.
Let . Then , so .
Vector Part of to_quat from is the Identity
For any , .
Let . Then .
to_quat from Has Zero Vector Part
For any , and .
, so and .
Quaternion Decomposes as Sum of to_quats
For any ,
Let
. Then
, using the
real and
vector versions of
.
Equality by Vector and Real Equality
For any we have
Suppose that and then if and only if , , , which is true if and only if and , as needed.
Quaternion Addition
Scalar Quaternion Multiplication
Identity Quaternion
Conjugate Quaternion
Given the quaternion , its conjugate is given by
Pure Quaternion iff Conjugate is Negation
A quaternion
is
pure if and only if
Let
. By the
definition of conjugation,
Thus
if and only if
, which is equivalent to
. Since
, this is exactly the statement that
is
pure.
Quaternion Norm
Given a quaternion , its norm is defined as
Unit Quaternion
A quaternion
is said to be a
unit quaternion if its
norm satisfies
.
Pure Quaternion
A quaternion is said to be pure iff .
Pure Unit Quaternion
A quaternion
is said to be a
pure unit quaternion if it is both
pure and
unit, i.e.
and
.
Product of Two Quaternions
Suppose that , then we define More precisely:
Quaternion Multiplication Distributes Over Addition
For all ,
Write each quaternion using its
real part and
vector part. The
quaternion product is defined by combining real multiplication, scalar multiplication of vectors, the dot product, and the cross product:
Each operation appearing on the right is distributive in the relevant argument. Therefore replacing
by
, and using
and
, gives
. The proof of
is the same computation in the first argument.
Real Part of Quaternion Product
For any ,
Vector Part of Quaternion Product
For any ,
Product of Two Pure Quaternions
For any two
pure quaternions (i.e.
), we have
Since
and
are
pure,
and
. By the
definition of the quaternion product:
Real Part of Product of Two Pure Quaternions
For any two
pure quaternions ,
Vector Part of Product of Two Pure Quaternions
For any two
pure quaternions ,
Perpendicular Pure Quaternions Anticommute
For any two
pure quaternions with
, we have
By the
product of two pure quaternions:
Since
:
Similarly:
Since the cross product is anti-commutative,
, so
, i.e.
.
Quaternion Multiplication is Associative
For any , we have
Write , , and .
Since quaternion multiplication is defined to be distributive over addition and is determined by the multiplication rules on the basis elements , it suffices to verify associativity on all triples of basis elements. There are such triples.
We verify the key non-trivial cases. Recall the basis multiplication rules derived from :
Case : and . ✓
Case : and . ✓
Case : and . ✓
Case : and . ✓
All other non-trivial cases follow by similar computation. Any triple involving the identity is immediate since commutes with everything and acts as the identity. Since associativity holds on all basis triples and quaternion multiplication distributes over addition, associativity holds for all quaternions.
Product with a Real Quaternion
For any and , where denotes scalar multiplication.
Conjugation is Additive
Suppose that then
Suppose that and then
Vector Part of the Conjugate is Minus 1 Times the Original
For any we have
Suppose that . Then as needed.
Real Part of the Conjugate Doesn't Change
For any we have
Suppose that . Then as needed.
Conjugate Fixes Real Quaternions
For any , such that , then
Since , we have . Then .
Conjugate Only Applies to Vector Part
For any we have
Conjugate of a Pure Quaternion is its Negation
For any
pure quaternion ,
Product Commutes in the Real Part
For any we have
Quaternion Times its Conjugate
For any ,
Let . Then , , , .
where since the cross product of any vector with itself is zero. Therefore . The proof that is analogous.
Unit Quaternion Inverse is its Conjugate
For any
unit quaternion ,
Since
, by the
previous proposition,
and
. Therefore
is the multiplicative inverse of
.
Dot Product of Two Quaternions
Suppose that , then we define
Conjugation is a Homomorphism in the Real Part
For any we have
Conjugation Swaps Order in the Vector Part
For any we have
We recall
that, and so
and then we compute:
where we used that
. Therefore
.
Conjugation Distributes by Swapping
For any we have
Conjugation Preserves Norm
For any ,
Let . Then , so
Quaternion Product is Norm-Multiplicative
For any ,
Conjugation of a Pure Quaternion by a Unit Quaternion is Pure
For any
pure quaternion and
unit quaternion , the quaternion
is pure, i.e.
Parallel and Perpendicular Decomposition
Given a vector and a unit vector , we define the parallel and perpendicular components of with respect to as:
so that , where .
Pure Unit Quaternion Times a Parallel Pure Quaternion
Let
be a
pure unit quaternion and let
be a
pure quaternion such that
for some
. Then
In particular,
is a
real quaternion.
Since both are
pure, by the
product of two pure quaternions:
where we used
and
.
Pure Unit Quaternion Times a Perpendicular Pure Quaternion
Let
be a
pure unit quaternion and let
be a
pure quaternion such that
. Then
In particular,
is a pure quaternion.
Since both are
pure, by the
product of two pure quaternions:
Pure Unit Quaternion Sandwich is a Reflection
Let
be a
pure unit quaternion, and let
be a
pure quaternion. Then
where the subscripts refer to the
parallel and perpendicular decomposition with respect to
. This is the reflection of
through the plane perpendicular to
.
Set and . Then:
- and are pure quaternions.
- .
- , where .
Since , by the associativity and distributive law:
Thus it is enough to derive the values of and .
By the parallel product lemma, . Since this is a real quaternion, by the real product property:
Since , the quaternions and anticommute: . Therefore:
By the square of a pure unit quaternion, , so:
Therefore:
Unit Quaternion Factors into Two Pure Unit Quaternions
Let
be a
unit quaternion, where
is a
pure unit quaternion. Then there exist pure unit quaternions
with
and
, such that:
Moreover, the acute angle between the two reflection planes perpendicular to
and
is
, and the planes intersect along the axis
.
Let . Choose a unit vector with , and define
Set and .
Since , the vector is also perpendicular to , so . Also and are perpendicular unit vectors, so
Therefore and are pure unit quaternions.
We now compute using the product of two pure quaternions. First,
Next, using ,
Thus
The normal vectors and have angle , so the acute angle between the corresponding reflection planes is .