Table of Contents

Complex Numbers
From the birth of algebra to the early 1500's, mathematicians struggled to solve the cubic equation,
(1)As late as 1494, Luca Pacioli had declared this problem to be as difficult as the quadrature of the circle. Luckily, Pacioli was wrong and just ten years later, Scipione del Ferro struck the first blow in solving this problem. He was able to find the solution to the so called depressed cubic,
(2)Then in 1545, with his Ars Magna (The Great Art), Girolamo Cardano was able to show how to reduce any cubic down to the depressed cubic and thereby solve any cubic equation. A great achievement, no doubt, but arguably of equal importance was his use of the square root of a negative number. In the process of trying to answer the question of finding two numbers whose product is 40 and whose sum is 10, he arrived at the solutions,
(3)Notice:
(4)Although these two numbers form the answer to the proposed question, mathematicians at this time were not completely comfortable with their introduction because they did not represent a physical quantity. Let's get ourselves comfortable with these new numbers.
Definition
In order to start creating an algebra that accounts for square roots of negative numbers, we need to define how they interact with our already existing real numbers. We start by defining the imaginary unit, which we represent with $i$, as $i=\sqrt{1}$.
If we combine this imaginary unit with the real numbers via the operations of arithmetic, we obtain what are called the complex numbers. Any complex number can be expressed in the form $a+bi$ where $a$ and $b$ are real numbers. The complex numbers are an extension of the real numbers. In other words, the real numbers are a subset of the complex numbers. This is due to the fact that every real number can be written in the form $a+bi$ where $b=0$.
Graphical Representation
Since every complex number has both a real and an imaginary part, we can represent them graphically as points in a 2D plane. We call this the complex plane. The complex plane has two axes, the real axis running horizontally and the imaginary axis running vertically.
Polar Form
As we saw previously, points in the plane can be represented by an angle and a radius. For complex numbers, this is no different. For any complex number, we can describe the angle made with the positive real axis and the distance from the origin. This distance is referred to as the modulus.
Therefore, for a complex number $c=a+bi$,
Operations
Now we will look at some of the operations of algebra on these complex numbers.
Addition
To add two complex numbers, $c_1=a_1+b_1i$ and $c_2=a_2+b_2i$, we add the real parts of both numbers to obtain the real part of our sum and likewise we add the imaginary part of both numbers to obtain the imaginary part of our sum.
(6)Graphically these two points in the complex plane add together in a manner similar to our 2D vector addition. As you can see below, we create our familiar parallelogram.
(7)
Notice that the coefficients of the real and imaginary parts are determined by a real number addition. Therefore, complex addition inherits commutativity from the real numbers. That is to say,
Graphically, this is equivalent to travelling on the other legs of the parallelogram.
Scalar Multiplication
To multiply a complex number by a pure real number, or scalar, we simply distribute the scalar to both parts of our complex number. That is to say,
(9)Since this operation is based on real number multiplication, scalar multiplication is commutative. In other words,
(10)If we look at this result in polar form,
(11)we see that scalar multiplication does not affect $\tan \theta$, but scales the modulus by the factor $k$. If $k<0$, the new angle is the initial angle plus $\pi$. That is to say, our point is reflected through the origin.
An immediate result of this is
Subtraction
Now that we have scalar multiplication, we define subtraction to be addition of the additive inverse.
(12)Multiplication
To multiply two complex numbers we use the distributive property.
(13)Conjugation
Multiplicative Inverse
Division
Quaternions
Definition
Now we want to extend the idea of complex numbers to higher dimensions. A quaternion will consist of a real part and three imaginary parts. The imaginary unit i along with two new imaginary units j and k. So the general form of a quaternion is $a+bi+cj+dk$, where $a,b,c$ and $d$ are real numbers. These new imaginary units have the following property.
(14)This property along with quaternion multiplication can then be used to derive the following.
(15)Scalar/Vector Notation
Since the quaternion $a+bi+cj+dk$, consists of a scalar component $a$ along with three complex components $b,c,d$ it is often written in the form $[s,\vec{v}]$ where $s=a$ and $\vec{v}=<b,c,d>$
Graphical Representation
Previously, we saw that complex numbers could be thought of as points in the complex plane. Quaternions, unfortunately are 4D objects, so although we can think of them as points in 4D space, that space is beyond our capabilities of visualization. What we can do though is view the vector portion of the quaternion as representing a point in 3D space. Letr on when we apply quaternions to 3D rotation, this is exactly the representation we will use.
Operations
Say we have the two following quaternions.
(18)Addition
(19)Scalar Multiplication
(20)Subtraction
(21)Multiplication
In order to multiply two quaternions, we need to use the distributive property, much like we did for complex numbers.
(22)This can be written more compactly using the scalar/vector notation. Say $q_1=[s_1,\vec{v_1}]$ and $q_2=[s_2,\vec{v_2}]$. Then we have,
(23)Conjugation
If $q=[s,\vec{v}]$, then we define the conjegate of $q$ to be $q^*=[s,\vec{v}]$. An important property of conjugates is that
(24)Inverse
(25)Notice that in the special case where our quaternion is unit length, that is to say a unit quaternion, $q^{1}=q^*$.