# Abstract Algebra/Quaternions

The algebra of **Quaternions** is an structure first studied by the Irish mathematician William Rowan Hamilton which extends the two-dimensional complex numbers to four dimensions. Multiplication is non-commutative in quaternions, a feature which enables its representation of three-dimensional rotation. Hamilton's provocative discovery of quaternions founded the field of hypercomplex numbers. Suggestive methods like dot products and cross products implicit in quaternion products enabled algebraic description of geometry now widely applied in science and engineering.

## Definitions[edit]

A **Quaternion** corresponds to an ordered 4-tuple , where . A quaternion is denoted . The sum is called the **vector part** of *q*, and *a* is the **real part**. Hamiltion coined the term *vector* in this context. Subsequent developments have extended the usage of the term *vector* to any element of a linear space. The vectors in H form a 3-dimensional subspace *V*.

The set of all quaternions is denoted by . It is straightforward to define component-wise addition and scalar multiplication on , making it a real vector space.

Multiplication follows the rules of the "quaternion group" Q_{8} = {1, -1, i, -i, j, -j, k, -k} that Hamilton carved into a stone of Broom Bridge, Dublin:

From the above equations alone, it is possible to derive rules for the pairwise multiplication of , , and :

- (positive cyclic permutations)

- (negative cyclic permutations).

Using these, it is easy to define a general rule for multiplication of quaternions. Because quaternion multiplication is *not* commutative, is not a field. However, every nonzero quaternion has a multiplicative inverse (see below), so the quaternions are an example of a non-commutative division ring. It is important to note that the non-commutative nature of quaternion multiplication makes it impossible to define the quotient of two quaternions *p* and *q* unambiguously, as the quantities and are generally different.

Like the more familiar complex numbers, the quaternions have a **conjugation**, often denoted by a superscript star: . The conjugate of the quaternion is . As is the case for the complex numbers, the product is always a positive real number equal to the sum of the squares of the quaternion's components. The **norm** of a quaternion is the square root of .

If *pq* is the product of two quaternions, then implying that forms a composition algebra.

The multiplicative inverse of a non-zero quaternion is given by

- where division is defined since

Unlike in the complex case, the conjugate of a quaternion can be written as a polynomial in *q*:

- .

## Versors and elliptic space[edit]

William Kingdon Clifford used Hamilton’s quaternions to explicate rotation geometry as an elliptic space with its own variety of lines, parallels, and surfaces. The ideas were reviewed in 1948 by Lemaitre and Coxeter and that sketch has these definitions:

A **versor** is a quaternion of norm one, thus it lies on a 3-dimensional sphere found in the 4-space of quaternions. The versors are given by Euler's formula for complex numbers where the imaginary unit is taken from the unit sphere in the 3-space of vector quaternions:

The **distance** between two versors *u* and *v* is

A **right parataxy** on elliptic space is effected by multiplying on the right by a versor Similarly a **left parataxy** arises from left multiplication. In recognition of his contribution to elliptic geometry, a parataxy is called a *Clifford translation*.

The **general displacement** of elliptic space is a combination of two parataxies, one left, one right: Note that if then the real line in the quaternions is fixed and the displacement is a rotation of the 3-space of quaternion vectors.

The term **line** is appropriated for elliptic geometry. These lines are *not* straight, but they are parametrized by real numbers. Each line is associated with a **right versor** like *s* when *c* = π/2 in *v*. Then is a typical elliptic line. It corresponds to the axis of the rotation

Now for *u* not on *L*, there are two **Clifford parallels** to *L* through *u*:

For fixed right versors *r* and *s*, a Clifford surface can be formed as a union of Clifford parallels or as

To form elliptic space from versors, two versors *u* and *v* are equivalent if *u* + *v* = 0. Modulo this equivalence, the versors, their algebra and geometry, represent elliptic space.

## Linear viewpoint[edit]

Quaternions may be represented by 2×2 matrices with complex number entries: the place of is taken by these arrays:

One uses matrix multiplication to verify that these expressions obey the rules of presentation of Q_{8}.

M(2,C) denotes the full algebra of 2×2 complex matrices, which has eight real dimensions, and sustains a representation of as a four-dimensional subalgebra. The linear properties of and M(2,C) assure the fidelity of the representation once the copy of Q_{8} has been identified.

Quaternions, like other associative hypercomplex systems of the 19th century, eventually were viewed as matrix algebras in the 20th century. However, in 1853 Hamilton included biquaternions in his book of *Lectures on Quaternions*.

**Biquaternions** are quaternions with complex number coefficients, sometimes called *complex quaternions*. Biquaternions form an algebra isomorphic to M(2,C). If the rows or columns of a matrix are proportional, then the determinant is zero, and there is no inverse. Nevertheless, such matrices have been used in physical science to represent events on a light-path from the origin. Authors Silberstein and Lanczos refer to this algebra as the biquaternions, but other writers have abandoned the label: Elie Cartan used M(2,C) extensively in *The Theory of Spinors* (1938), and Wolfgang Pauli, in his matrix mechanics of the atom, caused himself to be associated with M(2,C).

### Pauli Spin Matrices[edit]

Quaternions are closely related to the Pauli spin matrices of Quantum Mechanics. The Pauli matrices are often denoted as

- , ,

(Where is the well known quantity of complex numbers)

The 2×2 identity matrix is sometimes taken as .

Thus , the real linear span of the matrices , , and , is isomorphic to . For example, take this matrix product:

Or, equivalently,

All three of these matrices square to the negative of the identity matrix. If we take , , , and , it is easy to see that the span of the these four matrices is "the same as" (that is, isomorphic to) the set of quaternions .

## Exercises[edit]

- Using the presentation equations of Q
_{8}, write out the full product of two quaternions. In other words, given and , find the components of their product - Show the composition algebra property Hint: use w: Euler's four-square identity.