In mathematics, the octonions are a normed division algebra over the real numbers, a kind of hypercomplex number system. The octonions are usually represented by the capital letter O, using boldface or blackboard bold . Octonions have eight dimensions; twice the number of dimensions of the quaternions, of which they are an extension. They are noncommutative and nonassociative, but satisfy weaker forms of associativity; they are alternative and power associative.

Octonions are much less widely studied or used than the quaternions and complex numbers. Octonions are related to exceptional structures in mathematics, among them the exceptional Lie groups. Octonions have applications in fields such as string theory, special relativity and quantum logic.

The Cayley–Dickson construction builds the octonions from the quaternions and in turn builds the sedenions from the octonions.

History The octonions were discovered in December 1843 by John T. Graves, inspired by his friend William Rowan Hamilton's discovery of quaternions. Shortly before Graves' discovery of octonions, Graves wrote in a letter addressed to Hamilton on 26 October 1843, "If with your alchemy you can make three pounds of gold, why should you stop there?"

Graves called his discovery "octaves", and mentioned them in a letter to Hamilton dated 26 December 1843. He first published his result slightly later than Arthur Cayley's article. The octonions were discovered independently by Cayley. Appendix reprinted in The Collected Mathematical Papers, Johnson Reprint Co., New York, 1963, p. 127 and are sometimes referred to as Cayley numbers or the Cayley algebra. Hamilton described the early history of Graves's discovery.

Definition The octonions can be thought of as octets (or 8-tuples) of real numbers. Every octonion is a real linear combination of the unit octonions:

where is the scalar or real element; it may be identified with the real number . That is, every octonion can be written in the form

with real coefficients .

Cayley–Dickson construction

A more systematic way of defining the octonions is via the Cayley–Dickson construction. Applying the Cayley–Dickson construction to the quaternions produces the octonions, which can be expressed as

Much as quaternions can be defined as pairs of complex numbers, the octonions can be defined as pairs of quaternions. Addition is defined pairwise. The product of two pairs of quaternions and is defined by

where denotes the conjugate of the quaternion . This definition is equivalent to the one given above when the eight unit octonions are identified with the pairs

Arithmetic and operations Addition and subtraction Addition and subtraction of octonions is done by adding and subtracting corresponding terms and hence their coefficients, like quaternions.

Multiplication Multiplication of octonions is more complex. Multiplication is distributive over addition, so the product of two octonions can be calculated by summing the products of all the terms, again like quaternions. The product of each pair of terms can be given by multiplication of the coefficients and a multiplication table of the unit octonions, like this one (given both by Arthur Cayley in 1845 and John T. Graves in 1843):

Most off-diagonal elements of the table are antisymmetric, making it almost a skew-symmetric matrix except for the elements on the main diagonal, as well as the row and column for which is an operand.

The table can be summarized as follows:

where is a completely antisymmetric tensor with value when , or any even permutation of these, and for any odd permutation (e.g., ; ; ). Whenever any two of the three indices are the same, .

The above definition is not unique: it is one of 480 possible definitions for octonion multiplication with . The others can be obtained by permuting and changing the signs of the non-scalar basis elements . The 480 different algebras are isomorphic, and there is rarely a need to consider which particular multiplication rule is used.

Each of these 480 definitions is invariant up to signs under some 7 cycle of the points , and for each 7 cycle there are four definitions, differing by signs and reversal of order. A common choice is to use the definition invariant under the 7 cycle with by using the triangular multiplication diagram, or Fano plane below that also shows the sorted list of based 7-cycle triads and its associated multiplication matrices in both and format.

A variant of this sometimes used is to label the elements of the basis by the elements , 0, 1, 2, ..., 6, of the projective line over the finite field of order 7. The multiplication is then given by and , and all equations obtained from this one by adding a constant (modulo 7) to all subscripts: In other words using the seven triples , , , , , , . These are the nonzero codewords of the quadratic residue code of length 7 over the Galois field of two elements, . There is a symmetry of order 7 given by adding a constant mod 7 to all subscripts, and also a symmetry of order 3 given by multiplying, modulo 7, all subscripts by one of the quadratic residues 1, 2, and 4. Available as , in particular Figure 1. These seven triples can also be considered as the seven translates of the set of non-zero squares forming a cyclic (7,3,1)-difference set in the finite field of seven elements.

The Fano plane shown above with and multiplication matrices also includes the geometric algebra basis with signature and is given in terms of the following 7 quaternionic triples (omitting the scalar identity element):

or alternatively

in which the lower case items {} are vectors (e.g. {}, respectively) and the upper case ones {} = {} are bivectors (e.g. , respectively) and the Hodge star operator is the pseudo-scalar element. If the is forced to be equal to the identity, then the multiplication ceases to be associative, but the may be removed from the multiplication table resulting in an octonion multiplication table.

In keeping associative and thus not reducing the 4-dimensional geometric algebra to an octonion one, the whole multiplication table can be derived from the equation for . Consider the gamma matrices in the examples given above. The formula defining the fifth gamma matrix () shows that it is the of a four-dimensional geometric algebra of the gamma matrices.

Fano plane mnemonic

A convenient mnemonic for remembering the products of unit octonions is given by the diagram, which represents the multiplication table of Cayley and Graves. This diagram with seven points and seven lines (the circle through 1, 2, and 3 is considered a line) is called the Fano plane. The lines are directional. The seven points correspond to the seven standard basis elements of (see definition under below). Each pair of distinct points lies on a unique line and each line runs through exactly three points.

Let be an ordered triple of points lying on a given line with the order specified by the direction of the arrow. Then multiplication is given by and together with cyclic permutations. These rules together with is the multiplicative identity, for each point in the diagram

completely defines the multiplicative structure of the octonions. Each of the seven lines generates a subalgebra of isomorphic to the quaternions .

Conjugate, norm, and inverse The conjugate of an octonion

is given by

Conjugation is an involution of and satisfies (note the change in order).

The real part of is given by

and the imaginary part (sometimes called the pure part) by

The set of all purely imaginary octonions spans a 7-dimensional subspace of denoted .

Conjugation of octonions satisfies the equation

The product of an octonion with its conjugate, is always a nonnegative real number:

Using this, the norm of an octonion is defined as

This norm agrees with the standard 8-dimensional Euclidean norm on .

The existence of a norm on implies the existence of inverses for every nonzero element of The inverse of , which is the unique octonion satisfying , is given by

Exponentiation and polar form Any octonion can be decomposed into its real part and imaginary part:

also sometimes called scalar and vector parts.

We define the unit vector corresponding to as It is a pure octonion of norm 1.

It can be proved that any non-zero octonion can be written as:

thus providing a polar form.

Properties Octonionic multiplication is neither commutative: (if , are distinct and non-zero) nor associative: (if , , are distinct, non-zero and ). The octonions do satisfy a weaker form of associativity: they are alternative. This means that the subalgebra generated by any two elements is associative. Actually, one can show that the subalgebra generated by any two elements of is isomorphic to , , or , all of which are associative. Because of their non-associativity, octonions cannot be represented by a subalgebra of a matrix ring over , unlike the real numbers, complex numbers, and quaternions.

The octonions do retain one important property shared by , , and : the norm on satisfies

This equation means that the octonions form a composition algebra. The higher-dimensional algebras defined by the Cayley–Dickson construction (starting with the sedenions) all fail to satisfy this property. They all have zero divisors.

Wider number systems exist which have a multiplicative modulus (for example, 16-dimensional conic sedenions). Their modulus is defined differently from their norm, and they also contain zero divisors.

As shown by Hurwitz, , , or , and are the only normed division algebras over the real numbers. These four algebras also form the only alternative, finite-dimensional division algebras over the real numbers (up to an isomorphism).

Not being associative, the nonzero elements of do not form a group. They do, however, form a loop, specifically a Moufang loop.

Commutator and cross product The commutator of two octonions and is given by

This is antisymmetric and imaginary. If it is considered only as a product on the imaginary subspace it defines a product on that space, the seven-dimensional cross product, given by

Like the cross product in three dimensions this is a vector orthogonal to and with magnitude

But like the octonion product it is not uniquely defined. Instead there are many different cross products, each one dependent on the choice of octonion product.

Automorphisms An automorphism, , of the octonions is an invertible linear transformation of that satisfies

The set of all automorphisms of forms a group called . The group is a simply connected, compact, real Lie group of dimension 14. This group is the smallest of the exceptional Lie groups and is isomorphic to the subgroup of that preserves any chosen particular vector in its 8-dimensional real spinor representation. The group is in turn a subgroup of the group of isotopies described below.

See also: – the automorphism group of the Fano plane.

Isotopies An isotopy of an algebra is a triple of bijective linear maps , , such that if then . For this is the same as an automorphism. The isotopy group of an algebra is the group of all isotopies, which contains the group of automorphisms as a subgroup.

The isotopy group of the octonions is the group , with , , acting as the three 8-dimensional representations. The subgroup of elements where fixes the identity is the subgroup , and the subgroup where , , all fix the identity is the automorphism group

Matrix representation Just as quaternions can be represented as matrices, octonions can be represented as tables of quaternions. Specifically, because any octonion can be defined a pair of quaternions, we represent the octonion as:

Using a slightly modified (non-associative) quaternionic matrix multiplication:

we can translate octonion addition and multiplication to the respective operations on quaternionic matrices.

Applications