Quaternions
You learn about vectors in your first semester of college-level physics and for that reason I struggle imagine physics without them. And yet, the modern concept of a vector was formalized in the late 1800s (Vector Analysis by E.B. Wilson was published in 1901, but it was a summary of lecture notes provided by Josiah Williard Gibbs many years prior). Newton published his Philosophiæ Naturalis Principia Mathematica in 1687, meaning modern physics as we know it was done without vectors for over two hundred years!
I have not fully understood what physics looked like before vectors, but I have been learning about one of the ancestors of vectors: quaternions. Quaternions were introduced by William Rowan Hamilton in 1843 and gained rapid adoption by physicists after Maxwell used them to formulate the fundamental equations of electromagnetism. The prevalance of quaternions was short-lived as Oliver Heaviside and Josiah Williard Gibbs, taking inspiration from Hermann Grassmann’s Die lineale Ausdehnungslehre (the precursor of modern linear algebra), developed vector calculus. So we can say that quaternions were commonplace in physics for about 50 years.
A quaternion is an extenion of complex numbers. We can think of a complex number as a number in two parts, a real part and an imaginary part. We typically write complex numbers like
where is the real part and
is the imaginary part.
For this reason we can think of complex numbers as
“two-dimensional numbers” since we can visualize the real and
imaginary parts of a complex number as
and
coordinates on a
two-dimensional plane.
Complex numbers can be multiplied together and the real and
imaginary parts obey the typical commutative and associated
rules of algebra. So if we have two imaginary numbers and
, we
can multiply them to get
And now we introduce the final feature of complex numbers:
is defined to be
. Hence,
And so the multiplication of two complex numbers always
yields another complex number. Complex numbers are a rich number
system with many interesting properties. For example, any two
complex numbers and
can be divided
into another complex number with real part
and imaginary part
:
In modern mathematical language that I do not fully
understand, complex numbers are said to be both a
division algebra and an associative
algebra. It is reasonable to wonder if we could create
a three-dimensional number similar to complex numbers since the
real world is three-dimensional. That is, create a new
“super-complex number” made of one real part
and two imaginary parts. We could represent
like
For multiplication of super-complex numbers to result in
other super-complex numbers we would have to introduce rules for
the multiplication of
and
with each other. Can we do this in a way such that super-complex
numbers are, like complex numbers, both a division and
associative algebra?
The answer is a resounding no. It was eventually proven that it is impossible to create a super-complex number that is both a division algebra and associative algebra.
However, consider a number in four parts, not three,
called a quaternion. Instead of using the
terminology “real” and “imaginary”, a quaternion is said to be a number
with one “scalar” part
and three “vector
parts”
,
, and
like so:
With quaternions, we can think of the vector part as representing three dimensions and the scalar part as an auxiliary piece of the number which gives it desirable algebraic qualities.
In order for multiplication to be defined we need all of the
products between ,
, and
to be defined. These rules are
A common mnemonic for remembering these rules is to draw the
three letters ,
, and
in a circle:
If perform the multiplication
we travel the circle from
to
which leads us to
. If we travel the circle clockwise then
the result is positive, and if we travelled counterclockwise
then the result is negative.
I will state without proof that multiplication and division of quaternions is possible with these rules, and that quaternions are a division algebra and an associative algebra.
Hamilton, one of the discoverers of quaternions, (Wikipedia
claims that Gauss had unpublished work about quaternions in
1819) believed that quaternions would allow physicists to
represent points in three dimensions in a tractable way. The
best justification for this claim comes from the multiplication
of two quaternions without any scalar parts. Let and
. Then we have that
In modern vector notation letting and
, the scalar part of
can be written
while the vector part (with a minor abuse of notation by
using to represent both a basis vector and a
quaternion vector part simultaneously) can be written
In fact, it was this very computation that inspired physicists to develop vector analysis since the scalar and vector parts of this computation were useful in applications to electromagnetism.