Complex Numbers
Introduction
Although not covered in the notes on Moodle, this topic may be of interest for those who want to know more about Quaternions. The original Quaternion, which is not the same as the one we are using for 3D rotations, is a mathematical construct using complex numbers. Complex numbers are a combination of real and imaginary numbers. You may have learned that . So a complex number could be represented as .
Complex Number Math
Given two complex numbers and then .
However for the quaternion to work two extra imginary numbers were needed. These were defined as and . Using all three imginary numbers we have .
Imaginary Number Math
Given that if both sides of this expression are multipliedn by i we get:
or
The same math can be applied to different combinations of multiplying each side of the original expression, , to get the results shown in the table below:
i | j | k | |
---|---|---|---|
i | -1 | k | -j |
j | -k | -1 | i |
k | j | -i | -1 |
Quaternions with Imaginary Numbers
As the origianl Quaternion was a complex number, this section uses that terminology.
Given and
Then
Substituting using the values of multiplying two imaginary numbers from the table above gives:
Collecting all the like terms to get:
If the order of the multiplication is reveresed it can be shown that . However, the following is true:
Rlationship to 3D Rotation Quaternions
Given then a is the scalar (real) portion of the quaternion or . Then it can be said that the vector (imaginary) component .
Exercises & Assignments
There are no exercises or assignments associated with this Addendum.