To add and take scalar multiples of quaternions just
treat them like 4-dimensional vectors, for example:
Multiplication is defined by
the rules of ordinary algebra where
For example
To read about number systems, where quaternions fit in, why there are
no three-dimensional numbers and numbers in higher dimensions, see the NRICH
article What Are Numbers?