Applications of dual quaternions to 2D geometry explained

Planar quaternion multiplication
width=15

x

width=15

1

width=15

i

width=15

\varepsilonj

width=15

\varepsilonk

1

1

i

\varepsilonj

\varepsilonk

i

i

-1

\varepsilonk

-\varepsilonj

\varepsilonj

\varepsilonj

-\varepsilonk

0

0

\varepsilonk

\varepsilonk

\varepsilonj

0

0

In this article, we discuss certain applications of the dual quaternion algebra to 2D geometry. At this present time, the article is focused on a 4-dimensional subalgebra of the dual quaternions which we will call the planar quaternions.

The planar quaternions make up a four-dimensional algebra over the real numbers.[1] Their primary application is in representing rigid body motions in 2D space.

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

DC

. A general element

q

of

DC

has the form A + Bi + C\varepsilon j + D\varepsilon k where

A

,

B

,

C

and

D

are real numbers;

\varepsilon

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 \varepsilon is nilpotent of index

2

, i.e., \varepsilon^2 = 0 , which in some circumstances makes \varepsilon comparable to an infinitesimal number. It follows that the multiplicative inverses of planar quaternions are given by (A + Bi + C\varepsilon j + D\varepsilon k)^ = \frac

The set

\{1,i,\varepsilonj,\varepsilonk\}

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| = \sqrt.

For applications in computer graphics, the number

A+Bi+C\varepsilonj+D\varepsilonk

is commonly represented as the 4-tuple

(A,B,C,D)

.

Matrix representation

A planar quaternion

q=A+Bi+C\varepsilonj+D\varepsilonk

has the following representation as a 2x2 complex matrix:\beginA + Bi & C + Di \\ 0 & A - Bi \end.

It can also be represented as a 2×2 dual number matrix:\beginA + C\varepsilon & -B + D\varepsilon \\ B + D\varepsilon & A - C\varepsilon\end.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

C[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\varepsilon j + D\varepsilon k be a unit-length planar quaternion, i.e. we must have that |q| = \sqrt = 1.

The Euclidean plane can be represented by the set \Pi = \.

An element

v=i+x\varepsilonj+y\varepsilonk

on

\Pi

represents the point on the Euclidean plane with Cartesian coordinate

(x,y)

.

q

can be made to act on

v

by qvq^, which maps

v

onto some other point on

\Pi

.

We have the following (multiple) polar forms for

q

:
  1. When

B0

, the element

q

can be written as \cos(\theta/2) + \sin(\theta/2)(i + x\varepsilon j + y\varepsilon k), which denotes a rotation of angle

\theta

around the point

(x,y)

.
  1. When

B=0

, the element

q

can be written as \begin&1 + i(x\varepsilon j + y\varepsilon k)\\ = & 1 - y\varepsilon j + x\varepsilon k,\end which denotes a translation by vector

\begin{pmatrix}x\y\end{pmatrix}.

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:

\Pi

denote an infinitesimal plane lying on the unit sphere, equal to

\{i+x\varepsilonj+y\varepsilonk\midx\inR,y\inR\}

. Observe that

\Pi

is a subset of the sphere, in spite of being flat (this is thanks to the behaviour of dual number infinitesimals). Observe then that as a subset of the dual quaternions, the planar quaternions rotate the plane

\Pi

back onto itself. The effect this has on

v\in\Pi

depends on the value of

q=A+Bi+C\varepsilonj+D\varepsilonk

in

qvq-1

:

B0

, the axis of rotation points towards some point

p

on

\Pi

, so that the points on

\Pi

experience a rotation around

p

.

B=0

, the axis of rotation points away from the plane, with the angle of rotation being infinitesimal. In this case, the points on

\Pi

experience a translation.

See also

Notes and References

  1. Gunn C. (2011) On the Homogeneous Model of Euclidean Geometry. In: Dorst L., Lasenby J. (eds) Guide to Geometric Algebra in Practice. Springer, London
  2. Web site: Lines in the Euclidean group SE(2). 2011-03-06. What's new. 2019-05-28.
  3. Study. E.. December 1891. Von den Bewegungen und Umlegungen. Mathematische Annalen. 39. 4. 441–565. 10.1007/bf01199824. 115457030 . 0025-5831.
  4. Sauer. R.. 1939. Dr. Wilhelm Blaschke, Prof. a. d. Universität Hamburg, Ebene Kinematik, eine Vorlesung (Hamburger Math. Einzelschriften, 25. Heft, 1938). 56 S. m. 19 Abb. Leipzig-Berlin 1938, Verlag B. G. Teubner. Preis br. 4 M.. ZAMM - Zeitschrift für Angewandte Mathematik und Mechanik. 19. 2. 127. 10.1002/zamm.19390190222. 0044-2267. 1939ZaMM...19R.127S.