Processing math: 100%

Complex Numbers

This is advanced material. It is a lot of fun to know and think about, but you will not be tested in EE345 about any of the following.

Think of vectors in R2, that is vectors with 2 coordinates. We saw the inner and outer products of these vectors (in class and labs). Specifically, the inner product takes two vectors in R2 and outputs a real number, the outer product takes two vectors in R2 and outputs a 2×2 matrix.

But could we define a “algebraic product” more aligned with our notion of product of real numbers? What do we mean by it? Well, let us list out what properties we would like such a “algebraic product” to have:

The “algebraic product” should take any two vectors xR2, and yR2 (the vectors could possibly be equal) and output another vector zR2 with 2 coordinates (just like the product of two real numbers is also a real number).

  1. The “algebraic product” must be commutative, that is xy=yx for all x and y.
  2. The “algebraic product” is linear in each factor, namely (x1+x2)y=x1y+x2y and x(y1+y2)=xy1+xy2, as well as for any real c, (cx)y=c(xy) and x(cy)=c(xy).
  3. The “algebraic product” is associative, that is x(yz)=(xy)z (so even though the product was a binary operator, we can actually write expressions like xyz with no ambiguity).
  4. If x0 and y0, the “algebraic product” xy0.

Note that real multiplication satisfies all these. The dot product doesn’t output a vector (so point 3 is meaningless), and does not satisfy 4 (the dot product of non-zero orthogonal vectors is 0. The outer product again doesn’t output a vector (so point 3 is again meaningless), does not satisfy 1, but satisfies 2 and 4.

So what form can this “algebraic product” take? First it turns out that the 4 axioms above imply (proof withheld but accessible) there will be a unique identity vector e, which satisfies for all xR2,

xe=ex=x.

Then it turns out the 4 axioms above also imply that (proof withheld, but you need to finish at least the first half of EE 345 to follow) that there exists a vector iR2 such that

ii=(i)(i)=e.

These vectors e and i will not be scalings of each other. This is because if they were, ie i=ce, then the linearity axiom implies

e=ii=c2ee=c2e.

But c2e can never equal e for any real c. Since i and e are not colinear, the set of all linear combinations of e and i is the entire plane R2 of all vectors with 2 coordinates. We can therefore represent any vector x as x1e+x2i. Similarly, say y=y1e+y2i in the same coordinate system. Then the 4 axioms imply that the product must assign (this you can prove using axiom 2. above):

xy=(x1y1x2y2)e+(x2y1+x1y2)i.

If you are familiar with complex numbers, the above is the exact analog of the development of complex numbers, a proof of the existence of 1, and the development of the complex product. Now you know why we represent complex numbers in the Argand/Gauss plane—another way to see complex numbers is to think about how to introduce an algebraic product on vectors with two coordinates.

If you ask, well what about real vectors with 3 or more coordinates? On vectors with 3 coordinates such a product is impossible no matter what we do. The cross product you have seen in physics comes close however (but the cross product is neither associative nor commutative).

Turns out there is a remarkable theorem called the Frobenius theorem that states that only real multiplication on R and the complex multiplication above on R2 satisfy the 4 properties above. If we compromise on commutativity, then R4 (vectors with 4 coordinates) have an “algebraic product” satisfying all but the commutative property. Just like R2 are called complex numbers, R4 are called quaternions. Just as complex numbers are all over electrical engineering, quaternions are all over computer vision, 3-d graphics, not to mention the equations of Einstein’s General Relativity.