medium.com 6 min read Original Source

Magical Numbers That Are Even Better Than Complex Numbers

Most of us take real numbers for granted today and complex numbers as challenging, but that wasn’t always the case. Historically, the more unfamiliar a number seemed, the more “magical” — or terrifying — it was called.

There was a time when the square root of 2 was considered an abomination; legend has it that the Pythagoreans found it so erratic and disturbing that it was forbidden to talk about.

Mathematicians have always had a habit of naming numbers based on their perceived weirdness:

  • Natural numbers were called “natural” because counting on our fingers feels effortless: 1, 2, 3…
  • Next came the rationals, followed by the irrationals — a word that today sounds like someone losing their temper, that slightly reflect how it was unexpected to rationality, it simply meant a quantity that defied ratio; the division of two natural numbers. Yet ‘irrational’ numbers were considered out of reason at some point.
  • Even zero and negative numbers had to fight a centuries-long philosophical battle before being accepted into arithmetic.

Then came the numbers that still give modern students that ancient sense of dread: imaginary numbers.

The “Imaginary” Misunderstanding

“Imaginary” numbers are not actually imaginary. The term was coined almost pejoratively to contrast them with “real” numbers. Early mathematicians grouped the numbers they already knew under the label “real” simply because they assumed those were the only numbers that physical reality could possibly require.

They had no idea what was waiting around the corner.

Most people today have heard of complex numbers, which package a real number and an imaginary number together: a + bi. On its own, an imaginary axis is just another single line. Its true superpower only emerges when paired with the real line to create a 2D plane.

Yet, despite being discovered nearly 500 years ago, imaginary numbers remain notoriously unintuitive for students. That isn’t because its math is hard — it’s because the notation obscures what is actually happening physically.

Today, I want to take you one step beyond complex numbers into the realm of Clifford algebra (also known as Geometric Algebra a few times).

Clifford numbers are the “final form” of complex numbers. It is as if imaginary numbers were trying to be Clifford numbers all along, but stopped halfway.

Instead of building on top of complex numbers, Geometric Algebra replaces them entirely — and it is so much clearer that it should probably be taught directly instead of complex numbers.

Enter Clifford: Directions as Numbers

Imagine an entity that squares to 1, but is neither +1 nor -1.

In ordinary arithmetic, that sounds like a contradiction. In Geometric Algebra, however, numbers can represent spatial directions. To distinguish them, we place a hat over the letter: a^, b^ , c^.

A hat simply means that the vector has unit length (a magnitude of 1):

In theory there are an infinite number of numbers that x²=1, and at this point we just use letters with a hat to handle unique ID for whatever Clifford number we picked.

In particular, for geometric applications we usually use x,y,z.

However, these numbers do not stop here, for geometric applications its enough, but maths can be more abstract and goes to measure -1 and 0.

The main distinction between geometric algebra numbers vs. Clifford algebra numbers is that because geometric algebra only cares about geometric applications it typically uses numbers which measure are +1, while Clifford algebra extend it to be +1,0,-1.

The different on what they are capable of, is that +1 measure numbers are mainly flat Pythagorean geometric descriptors, while at using -1 or 0, we are introducing non-Pythagorean geometry, or better known as non-Euclidean geometry.

The -1 measure numbers allow elliptic curves, and the 0 measured numbers allow projective algebra on surfaces.

Where Does -1 Really Come From? (The Bivector Secret)

Imaginary numbers would be by definition a Clifford number, after all, i²=-1. Clifford numbers are kind of the same nature, but allow +1 and 0. So, Clifford numbers are a generalization for imaginary numbers, but with a new interpretation.

Though I would add a personal take: We can unify all those Clifford numbers to be only +1 measure. The -1 behaviour comes from the combination of them:

The zero would be just a scaled version of a +1 Clifford number, later related with differentials.

The highlight here is how we can replace the imaginary number with two Clifford numbers:

And this is nicer for a couple of reasons:

  1. It allows specifying dimensions involved in the rotation within the notation.
  2. It allows more than one single imaginary number.

Imaginary numbers at first weren’t known its nature, but over years it clearly shows that they are “numbers of rotation”, but at its notation is not clear which dimensions are involved in the rotation, let’s remind that a rotation involves 2 dimensions. Bivectors, two Clifford numbers together, are rotational numbers too, but its notation makes it clear which dimensions are involved in the rotation.

With imaginary numbers, we can rotate by repeating multiplications: i, ii, iii, iiii, … each time we multiply by ‘i’ we are rotation 90 degrees.

This is quite the same with Clifford numbers, but do not forget that these are bivectors, there was also single-vectors made of a single Clifford number:

Remember they as long as have a had, they are numbers of measure or size 1, vectors of ‘size’ 1.

After learning more about these “magic” numbers mathematicians have found they are just perfect for vectors, meaning numbers that represent directions:

So we can do not only 2D rotations but 3D, 4D, 5D, … any dimension.

So, if we want to rotate within the place xy, then we use the xy bivector, if we would like to rotate within xz plane, xz bivector, … it just works as complex numbers but with a better notation and theory backing it.

Planes, Not Arrows: Why Rotations Love Bivectors

At understanding they are essentially ‘rotational numbers’ it’s more natural to represent bivectors graphically as planes, rather than vectors:

This also allows knowing that in more dimensions the rotations increase, for example in 4D, we have xy, xz, xt, yz, yt, zt, possible ways of rotation, 6 different bivectors.

They offer additional algebra facilities, like directly measuring the length of a vector:

It also offers facilities to replace the cross product with something more intuitive, but let it be for non-introduction.

Forget Quaternions: One Algebra to Rule Them All

If you ever find yourself struggling to wrap your head around complex numbers, quaternions, or octonions: you can set them aside.

Quaternions would be just bivectors rotation in 3 different planes.

Oh, another last thing:

Geometric Algebra lets you describe points, lines, planes, reflections, and rotations in any dimension using a single, unified language of symbols — no coordinate gymnastics or ad-hoc imaginary numbers required. This also can replace linear algebra with big matrices where the position in a grid is who specify the dimensionality.

There are many new things to learn about these numbers and the algebra it allows. Yet, it is all for today.

Summary

  • Imaginary numbers are meant to be numbers for rotations
  • Clifford numbers generalize imaginary numbers by bi-vectors.
  • Clifford numbers generalize quaternion numbers by bi-vectors.
  • Clifford numbers generalize Pauli matrices by bi-vectors. (spoiler)
  • Clifford numbers generalize wave functions by bi-vectors. (spoiler)
  • Geometric algebra is using Clifford algebra for Euclidean geometry.
  • Clifford algebra can describe non-euclidean geometry, and it’s actually one of the best ways to understand relativity and quantum mechanics. (spoiler)
  • Clifford numbers are vectors of length 1 which are defined as numbers.