The Quaternions
The collection of quaternions are:
where
a
,
b
,
c
,
d
∈
R
and
i
2
=
j
2
=
k
2
=
i
j
k
=
−
1
Real Part of the Quaternion
Given a quaternion
q
=
a
+
b
i
+
c
j
+
d
k
, we say that
a
is the scalar part of the quaternion (or real part), and is denoted by
r
(
q
)
Vector Part of the Quaternion
Given a quaternion
q
=
a
+
b
i
+
c
j
+
d
k
, we say that
b
i
+
c
j
+
d
k
is the vector part of the quaternion, and is denoted by
v
(
q
)
Note that we think of the vector part of a quaternion as an element of
R
3
, and so it inherits all the operations from that space, such as equality, as noted in the next corollary.
Conjugation Distributes
For any
p
,
q
∈
H
we have
p
=
q
⟺
(
r
(
p
)
=
r
(
q
)
∧
v
(
p
)
=
v
(
q
)
)
Suppose that
p
=
a
+
b
i
+
c
j
+
d
k
and
q
=
u
+
x
i
+
y
j
+
z
k
then
p
=
q
if and only if
a
=
u
,
b
=
x
,
c
=
y
,
d
=
z
which is true if and only if
r
(
p
)
=
r
(
q
)
and
v
(
p
)
=
v
(
q
)
, as needed.
Quaternion Addition
(
a
1
+
b
1
i
+
c
1
j
+
d
1
k
)
+
(
a
2
+
b
2
i
+
c
2
j
+
d
2
k
)
=
(
a
1
+
a
2
)
+
(
b
1
+
b
2
)
i
+
(
c
1
+
c
2
)
j
+
(
d
1
+
d
2
)
k
,
Conjugation is Additive
Suppose that
p
,
q
∈
H
then
p
+
q
¯
=
p
¯
+
q
¯
Suppose that
p
=
a
+
b
i
+
c
j
+
d
k
and
q
=
u
+
x
i
+
y
j
+
z
k
then
p
+
q
¯
=
(
a
+
u
)
+
(
b
+
x
)
i
+
(
c
+
y
)
j
+
(
d
+
z
)
¯
=
(
a
+
u
)
−
(
b
+
x
)
i
−
(
c
+
y
)
j
−
(
d
+
z
)
=
a
−
b
i
−
c
j
−
d
k
+
u
−
x
i
−
y
j
−
z
k
=
p
¯
+
q
¯
Scalar Quaternion Multiplication
λ
(
a
+
b
i
+
c
j
+
d
k
)
=
λ
a
+
(
λ
b
)
i
+
(
λ
c
)
j
+
(
λ
d
)
k
.
Identity Quaternion
e
:=
i
+
j
+
k
Conjugate Quaternion
Given the quaternion
q
=
a
+
b
i
+
c
j
+
d
k
, it's conjugate is
given by
q
¯
:=
a
−
b
i
−
c
j
−
d
k
Vector part of the Conjugate is minus 1 Times the Original
For any
p
∈
H
we have
v
(
p
¯
)
=
−
1
v
(
p
)
Suppose that
p
=
a
+
b
i
+
c
j
+
d
k
v
(
p
¯
)
=
−
b
i
+
−
c
j
+
−
d
k
=
(
−
1
)
v
(
p
)
as needed.
Real part of the Conjugate doesn't Change
For any
p
∈
H
we have
r
(
p
¯
)
=
r
(
p
)
Suppose that
p
=
a
+
b
i
+
c
j
+
d
k
r
(
p
¯
)
=
a
=
r
(
p
)
as needed.
Conjugate Doesn't change the Real Part
For any
p
∈
H
, such that
v
(
p
)
=
0
, then
p
¯
=
p
Conjugate only Applies to Vector Part
For any
p
∈
H
we have
p
¯
=
r
(
p
)
−
v
(
p
)
p
¯
=
r
(
p
)
+
v
(
p
)
¯
=
r
(
p
)
−
v
(
p
)
Pure Quaternion
A quaternion
p
∈
H
is said to be pure, deiff
r
(
p
)
=
0
Product of Two Quaternions
Suppose that
p
,
q
∈
H
, then we define
p
q
:=
r
(
p
)
r
(
q
)
−
v
(
p
)
⋅
v
(
q
)
+
r
(
p
)
v
(
q
)
+
r
(
q
)
v
(
p
)
+
v
(
p
)
×
v
(
q
)
Product Commutes in the Real Part
For any
p
,
q
∈
H
we have
r
(
p
q
)
=
r
(
q
p
)
r
(
p
q
)
=
r
(
p
)
r
(
q
)
−
v
(
p
)
⋅
v
(
q
)
=
r
(
q
)
r
(
p
)
−
v
(
q
)
⋅
v
(
p
)
=
r
(
q
p
)
Dot Product of Two Quaternions
Suppose that
p
,
q
∈
H
, then we define
p
⋅
q
:=
re
(
p
)
re
(
q
)
+
v
(
p
)
⋅
v
(
q
)
Conjugation is a Homomorphism in the Real Part
For any
p
,
q
∈
H
we have
r
(
p
q
¯
)
=
r
(
p
¯
q
¯
)
First of all, we know
conjugation doesn't change the real part, so we have:
r
(
p
q
¯
)
=
r
(
p
q
)
=
r
(
p
)
r
(
q
)
−
v
(
p
)
⋅
v
(
q
)
and then we know that
r
(
p
¯
q
¯
)
=
r
(
p
¯
)
r
(
q
¯
)
−
v
(
p
¯
)
⋅
v
(
q
¯
)
Since
minus comes out of the vector part, and constants can get pulled out of the dot product we have that
r
(
p
¯
)
r
(
q
¯
)
−
v
(
p
¯
)
⋅
v
(
q
¯
)
=
r
(
p
)
r
(
q
)
−
(
−
1
)
(
−
1
)
v
(
p
)
⋅
v
(
q
)
=
r
(
p
)
r
(
q
)
−
v
(
p
)
⋅
v
(
q
)
therefore we have that
r
(
p
q
¯
)
=
r
(
p
¯
q
¯
)
Conjugation Swaps Order in the Vector Part
For any
p
,
q
∈
H
we have
v
(
p
q
¯
)
=
v
(
q
¯
p
¯
)
We recall
that, and so
v
(
p
q
¯
)
=
v
(
r
(
p
q
)
−
v
(
p
q
)
)
=
−
v
(
p
q
)
and then we know that
v
(
q
¯
p
¯
)
=
r
(
q
¯
)
v
(
p
¯
)
+
r
(
p
¯
)
v
(
q
¯
)
+
v
(
q
¯
)
×
v
(
p
¯
)
=
−
r
(
q
)
v
(
p
)
−
r
(
p
)
v
(
q
)
+
v
(
q
¯
)
×
v
(
p
¯
)
=
−
r
(
q
)
v
(
p
)
−
r
(
p
)
v
(
q
)
+
(
−
1
)
(
−
1
)
v
(
q
)
×
v
(
p
)
=
−
r
(
p
)
v
(
q
)
−
r
(
q
)
v
(
p
)
−
v
(
p
)
×
v
(
q
)
=
−
v
(
q
p
)
as needed.
Conjugation Distributes by Swapping
For any
p
,
q
∈
H
we have
p
q
¯
=
q
¯
p
¯
We show they are
equal:
r
(
p
q
¯
)
=
r
(
p
¯
q
¯
)
=
r
(
q
¯
p
¯
)
and then we
recall
v
(
p
q
¯
)
=
v
(
q
¯
p
¯
)
, so that
p
q
¯
=
q
¯
p
¯
Dot Product and Regular Product Commute
Suppose that
p
,
q
∈
H
, then we define
(
p
q
)
⋅
(
p
r
)
=
(
p
⋅
p
)
(
q
⋅
r
)
Quaternion times its Conjugate Equation
Suppose that
p
∈
H
, then we have:
q
q
¯
=
(
q
⋅
q
)
e