Quaternions and conformal mapping

On this page, I’ll discuss a geometrical perspective of quaternions that I don’t completely understand, and haven’t found explained to my satisfaction.

Prerequisites

To understand this, you need to know something about complex numbers, and also linear algebra, and something else that I don’t know myself.

Background

Multiplication by a complex number can be viewed as a special linear transformation of the complex plane. To understand how it is special, let’s first look at general linear transformations of the plane.

Linear transformations of the plane

A linear transformation of the plane onto itself is a geometrical transformation of the Euclidean plane that maps linear structures to linear structures: 0 is mapped to 0, lines are mapped to lines.

These transformations can be decomposed into combinations of simpler transformations of just a few categories. Depending on how you want to do it, there are just five categories: dilation (or scale), stretch, rotation, shear, flip. (Note: One can say a dilation is a special stretch, and a rotation is a combination of two flips. But this categorization suits our purposes.)

Here are some graphical illustrations of these transformations, applied to these objects in the plane:

Complex multiplication as linear transformation

A linear transformation effected by multiplication by a complex number consists precisely of a dilation together with a rotation.

These are precisely the transformations that map triangles into geometrically similar triangles. Under such a transformation, a triangle may be rotated and its size may be changed, but its angles (and the order of its angles) are unchanged.

This is the linear case of a conformal mapping.

Linear transformations in higher dimensions

In numbers of dimensions higher than 2, more things can happen, of course. However, a very nice result of linear algebra (e.g. the Jordan Canonical Form) is that, the above categorization of linear transformations is in a sense complete for any number of dimensions. Any weirder geometric behavior of linear transformations is due to the fact that one can combine the above categories in different ways in different directions.

Quaternion multiplication as linear transformation

Multiplication by a complex number can be viewed as a linear transformation of the Euclidean plane to itself. Likewise, multiplication by a quaternion can be viewed as a linear transformation of four-dimensional Euclidean space onto itself.

However, the geometric behavior of such a transformation is qualitatively rather different than of the geometric transformations of the plane represented by multiplication by complex numbers.

Like the complex case, dilation and rotations can be effected by multiplication by quaternions, but (non-trivial) stretches and shears cannot.

Note that there is much more room in four-space than in the plane. For example, in four-space, it is possible to rotate about two different axes independently (consider multiplying by the quaternion given by the pair (x, y), where x and y are complex numbers of unit length.). That can’t even happen in three-space!

So it isn't surprising that there are combinations of simple transformations in four-space that are unfamiliar in lower dimensions. It's also unsurprising that the unfamiliar ones are very difficult to visualize.

Multiplication (on either side) by a quaternion does indeed preserve angles: not just plane angles, but solid angles, and four-dimensional ones too. But as with complex multiplication, another geometric property is preserved: a sense, or handedness. What is hard to imagine here, is the ways in which handedness can be lost in four dimensions.

Considering the example of conformal transformations of the plane, flip transformations are suspect. And of course, there are more dimensions in which to flip. For example, simple flips are achieved by exchanging two coordinate axes. On the other hand, the experience in two and three dimensions is that multiple flips don't buy much. Two flips of the plane about different lines through the origin produce a simple rotation of the plane, which itself is conformal --- no handedness lost. Likewise, two flips of three-space about different planes through the origin also produces a simple rotation. The surprise is that in four space, there are combinations of two flips which are not equivalent to a rotation: a complex flip. This is the mysterious handedness-breaking transformation of four space.

To illustrate, consider a four-simplex in four-space. Just as the two-simplex (triangle) has three distinct points as vertices, and the three-simplex (tetrahedron) has four distinct points as vertices, the four-simplex has five distinct points as vertices.

a b c flip a and b to get
b a c then flip a and c to get
b c a but this is just a rotation from
a b c

a b c d flip and b to get
b a c d now flip c and d to get
b a d c but flipping b and d,
d a b c which is a rotation of a b c d.

That is, two flips of 3-space is the same as a rotation and a single flip.

Left and right quaternion multiplication as linear transformation

But, this is not the end of the story. There is left and right multiplication by quaternions. These can be shown to effect distinct linear transformations. (That is, there are quaternions such that, left multiplication by the quaternion corresponds to no right multiplication by any quaternion.)

A perplexing question remains: what is the geometrical distinction between the transformations effected by left and right quaternion multiplication?

The answer has to do with an action that can be performed in four-space, but not in lower-dimensional ones.

To get there, consider the geometric interpretation of complex multiplication. Multiplication by a complex number can be viewed as a linear transformation of the plane that preserves some geometric properties. Namely, under the linear transformation of multiplication by a complex number, the image of a triangle in the plane has the same angles as the original, and the sense of the angles is the same. The triangle may be scaled and rotated, but not flipped, sheared, or stretched.

Something like this is true of multiplication by quaternions, but there is more than one way to transform four-space so that geometry is preserved.

If the plane is flipped on one axis, the sense of angles is reversed. If the plane is then flipped on another axis, the sense of angles returns. But two flips of the plane is equivalent to a rotation: that is, no flip at all.

In four-space, it is possible to do two flips that is not equivalent to a rotation. Namely, one can flip one two-dimensional subspace, and also flip a two-dimensional subspace perpendicular to the first. The resulting transformation is no rotation, and yet angles and sense are preserved.

Left multiplication by a quaternion effects this double-flip; right multiplication does not. (Depending on how quaternion multiplication is defined: there is an arbitrary choice involved.)

The space of linear transformations effected by left quaternion multiplication is a four-dimensional subspace of the space of linear transformations of four-space, and so also is the one effected by right multiplication. They intersect at the two-dimensional subspace of transformations corresponding to multiplication by complex numbers.

It may seem amazing that there is enough room for so many subspaces. But consider, the space of all linear transformations of four-space is 16-dimensional. There is plenty of room in this space for two four-dimensional subspaces.

FIXME This is wrong. Complexes don't commute with all quaternions. The most general linear transformation effected by quaternion operations is that of multiplication on both left and right by fixed quaternions. Now, a complex multiple can be absorbed from either side due to commutativity, leaving (apparently) a six dimensional space of linear transformations. Note: Then correct number is between four and six inclusive, but I haven't pursued the question. I think it has to be more than four. And it can't be more than six. But wouldn't it be weird if it were five? What is a nice basis for these transformations?

One clue is that the determinant of the transformation of a quaternion multiplication on the left is −1, while that of a quaternion multiplication on the right is 1. (This is apparent from the complex matrix forms of the transformations, taking the determinant of the flip operator "~" to be −1).

Another thought concerns the analog of a tetrahedron in four-space, called a four-simplex. A four-simplex has

but is bounded not by the plane faces, but by the tetrahedrons. Different linear transformations of the plane alter the relation between parts of the two-simplex (triangle), for example, a flip reverses the order of a triangle’s edges. So: look at the effect of multiplication on different parts of the four-simplex. Perhaps between left and right multiplication, there is a distinction between the way relations among these objects are transformed. (I spent some time with this, but it made me dizzy and sleepy.)

On the page concerning representing quaternions with matrices, it is shown that multiplication on the right by a quaternion can be viewed as a linear transformation of C×C, but a multiplication on the left involves a flip of one of the component complex subspaces.


So the product of two such matrices is again a matrix of the same form (the diagonal elements are identical, and the other elements are negatives of one another). The set of such matrices is therefore said to be closed under multiplication. Note that the entries correspond to the real and complex parts of the product (a, b) (c, d).

In this way, the algebra of this set of matrices models the algebra of the complex numbers. The correspondence between this matrix algebra and that of complex numbers is called a homomorphism; the two algebras are said to be homomorphic to one another.

So, the algebra of the complex numbers is a proper sub-algebra of the algebra of 2 × 2 matrices of real numbers.

See also

Mark E. Shoulson’s beautiful Java applet Rotating Four-Dimensional Shapes

William Rowan Hamilton, On Quaternions