Applications of dual quaternions to 2D geometry

Planar quaternion multiplication
× 1 i εj εk
1 1 i εj εk
i i −1 εk −εj
εj εj −εk 0 0
εk εk εj 0 0

The planar quaternions make up a four-dimensional algebra over the real numbers. Their primary application is in representing rigid body motions in 2D space. In this article, certain applications of the dual quaternion algebra to 2D geometry are discussed. At this present time, the article is focused on a 4-dimensional subalgebra of the dual quaternions which will later be called the planar quaternions.

Unlike multiplication of dual numbers or of complex numbers, that of planar quaternions is non-commutative.

Definition

In this article, the set of planar quaternions is denoted 𝔻ℂ. A general element q of 𝔻ℂ has the form A+Bi+Cεj+Dεk where A, B, C and D are real numbers; ε is a dual number that squares to zero; and i, j, and k are the standard basis elements of the quaternions.

Multiplication is done in the same way as with the quaternions, but with the additional rule that ε is nilpotent of index 2, i.e., ε2=0, which in some circumstances makes ε comparable to an infinitesimal number. It follows that the multiplicative inverses of planar quaternions are given by (A+Bi+Cεj+Dεk)−1=A−Bi−Cεj−DεkA2+B2

The set {1,i,εj,εk} forms a basis of the vector space of planar quaternions, where the scalars are real numbers.

The magnitude of a planar quaternion q is defined to be |q|=A2+B2.

For applications in computer graphics, the number A+Bi+Cεj+Dεk is commonly represented as the 4-tuple (A,B,C,D).

Matrix representation

A planar quaternion q=A+Bi+Cεj+Dεk has the following representation as a 2x2 complex matrix: (A+BiC+Di0A−Bi).

It can also be represented as a 2×2 dual number matrix: (A+Cε−B+DεB+DεA−Cε). The above two matrix representations are related to the Möbius transformations and Laguerre transformations respectively.

Terminology

The algebra discussed in this article is sometimes called the dual complex numbers. This may be a misleading name because it suggests that the algebra should take the form of either:

  1. The dual numbers, but with complex-number entries
  2. The complex numbers, but with dual-number entries

An algebra meeting either description exists. And both descriptions are equivalent. (This is due to the fact that the tensor product of algebras is commutative up to isomorphism). This algebra can be denoted as ℂ[x]/(x2) using ring quotienting. The resulting algebra has a commutative product and is not discussed any further.

Representing rigid body motions

Let q=A+Bi+Cεj+Dεk be a unit-length planar quaternion, i.e. we must have that |q|=A2+B2=1.

The Euclidean plane can be represented by the set Π={i+xεj+yεk∣x∈ℝ,y∈ℝ}.

An element v=i+xεj+yεk on Π represents the point on the Euclidean plane with Cartesian coordinate (x,y).

q can be made to act on v by qvq−1, which maps v onto some other point on Π.

We have the following (multiple) polar forms for q:

  1. When B≠0, the element q can be written as cos⁡(θ/2)+sin⁡(θ/2)(i+xεj+yεk), which denotes a rotation of angle θ around the point (x,y).
  2. When B=0, the element q can be written as 1+i(Δx2εj+Δy2εk)=1−Δy2εj+Δx2εk, which denotes a translation by vector (ΔxΔy).

Geometric construction

A principled construction of the planar quaternions can be found by first noticing that they are a subset of the dual-quaternions.

There are two geometric interpretations of the dual-quaternions, both of which can be used to derive the action of the planar quaternions on the plane:

See also