58 Applied Geometry for Computer Graphics and CAD
(c)
(−3, (4, 1, 2))(2, (−1, 0, 3))
=(−6 − ((4, 1, 2) · (−1, 0, 3)),
− 3(−1, 0, 3) + 2(4, 1, 2) + ((4, 1, 2) × (−1, 0, 3)))
=(−6 − 2, (3, 0, −9) + (8, 2, 4) + (3, −14, 1))
=(−8, (14, −12, −4)) .
Quaternions of the form (s, 0) are identified with real numbers s and it
common to write the quaternion as s. In particular, (0, 0) is denoted 0, and
(1, 0) is denoted 1. Quaternions of the form (0, v) are called pure imaginary
quaternions and are identified with three-dimensional vectors v.
The following algebraic properties are satisfied by all quaternions p =
(s
1
, v
1
), q =(s
2
, v
2
)andr =(s
3
, v
3
).
Additive identity: p +0=0+p.
Multiplicative identity:1p = p1=p.
Commutative addition: p + q = q + p.
Associative addition:(p + q)+r = p +(q + r).
Associative multiplication:(pq)r = p(qr).
Distributive: p(q + r)=pq + pr and (p + q)r = pr + qr.
No zero divisors:Ifpq =0thenp =0orq =0.
Most of the properties can be obtained directly from the definitions of addition
and multiplication (Exercise 3.17).
The property of no zero divisors is proved as follows. Suppose pq =0.Then
(s
1
s
2
− v
1
· v
2
,s
1
v
2
+ s
2
v
1
+(v
1
× v
2
)) = 0 which implies that v
1
· v
2
= s
1
s
2
and
s
1
v
2
+ s
2
v
1
+(v
1
× v
2
)=0 . (3.3)
Applying the dot product of v
1
to both sides of Equation (3.3) gives
s
1
v
2
· v
1
+ s
2
v
1
· v
1
+(v
1
× v
2
) · v
1
= 0 .
Then, since v
1
· v
2
= s
1
s
2
and (v
1
× v
2
) · v
1
= 0, it follows that
s
2
1
s
2
+ s
2
v
1
· v
1
= s
2
(s
2
1
+ v
1
· v
1
)=0 .
Similarly, the following condition is also satisfied:
s
1
(s
2
2
+ v
2
· v
2
)=0 .