A set of numbers that use Complex Numbers.
It extends the complex numbers. The algebra of quaternions is often denoted by
or by
.
If we express the three-dimensional vector
)
in terms of the basis

, we obtain

.
Quaternions :

with the scalar value

added to it.
It can be expressed as
)
.
∴
Quaternions can be said to be a vector based on

.
- Quaternions multiplication rules
∴
∴
∴
1. Addition and Subtraction
If
,
then
In here,

: scalar,

: vector
If
,
then
∴
In here,
the operation that looks like addition is actually component-wise subtraction. Both the scalar and vector parts are subtracted, reflecting a "difference" operation between

.
2. Multiplication
If
,
Then,
In here,
①
②
Align by
③
Express the product of two quaternion units as one quaternion unit (ex.

)
④
Bind into
⑤
Bind into

.
⑥
In here,
:
,
,
Conclusion
∴
- Quaternion * Quaternion -> Quaternion
https://gaussian37.github.io/vision-concept-quaternion/