# Hurwitz quaternion

(Redirected from Hurwitz unit)

In mathematics, a Hurwitz quaternion (or Hurwitz integer) is a quaternion whose components are either all integers or all half-integers (halves of an odd integer; a mixture of integers and half-integers is excluded). The set of all Hurwitz quaternions is

${\displaystyle H=\left\{a+bi+cj+dk\in \mathbb {H} \mid a,b,c,d\in \mathbb {Z} \;{\mbox{ or }}\,a,b,c,d\in \mathbb {Z} +{\tfrac {1}{2}}\right\}.}$

H is closed under quaternion multiplication and addition, which makes it a subring of the ring of all quaternions H. Hurwitz quaternions were introduced by Hurwitz (1919).

A Lipschitz quaternion (or Lipschitz integer) is a quaternion whose components are all integers. The set of all Lipschitz quaternions

${\displaystyle L=\left\{a+bi+cj+dk\in \mathbb {H} \mid a,b,c,d\in \mathbb {Z} \right\}}$

forms a subring of the Hurwitz quaternions H. Hurwitz integers have the advantage over Lipschitz integers that it is possible to perform Euclidean division on them, obtaining a small remainder.

## Structure of the ring of Hurwitz quaternions

As an additive group, H is free abelian with generators {(1 + i + j + k)/2, i, j, k}. It therefore forms a lattice in R4. This lattice is known as the F4 lattice since it is the root lattice of the semisimple Lie algebra F4. The Lipschitz quaternions L form an index 2 sublattice of H.

The group of units in L is the order 8 quaternion group Q = {±1, ±i, ±j, ±k}. The group of units in H is a nonabelian group of order 24 known as the binary tetrahedral group. The elements of this group include the 8 elements of Q along with the 16 quaternions {(±1 ± i ± j ± k)/2}, where signs may be taken in any combination. The quaternion group is a normal subgroup of the binary tetrahedral group U(H). The elements of U(H), which all have norm 1, form the vertices of the 24-cell inscribed in the 3-sphere.

The Hurwitz quaternions form an order (in the sense of ring theory) in the division ring of quaternions with rational components. It is in fact a maximal order; this accounts for its importance. The Lipschitz quaternions, which are the more obvious candidate for the idea of an integral quaternion, also form an order. However, this latter order is not a maximal one, and therefore (as it turns out) less suitable for developing a theory of left ideals comparable to that of algebraic number theory. What Adolf Hurwitz realised, therefore, was that this definition of Hurwitz integral quaternion is the better one to operate with. For a non-commutative ring such as H, maximal orders need not be unique, so one needs to fix a maximal order, in carrying over the concept of an algebraic integer.

## The lattice of Hurwitz quaternions

The (arithmetic, or field) norm of a Hurwitz quaternion, given by ${\displaystyle a^{2}+b^{2}+c^{2}+d^{2}}$, is always an integer. By a theorem of Lagrange every nonnegative integer can be written as a sum of at most four squares. Thus, every nonnegative integer is the norm of some Lipschitz (or Hurwitz) quaternion. More precisely, the number c(n) of Hurwitz quaternions of given positive norm n is 24 times the sum of the odd divisors of n. The generating function of the numbers c(n) is given by the level 2 weight 2 modular form

${\displaystyle 2E_{2}(2\tau )-E_{2}(\tau )=\sum _{n}c(n)q^{n}=1+24q+24q^{2}+96q^{3}+24q^{4}+144q^{5}+\cdots }$

where

${\displaystyle q=e^{2\pi i\tau }}$

and

${\displaystyle E_{2}(\tau )=1-24\sum _{n}\sigma _{1}(n)q^{n}}$

is the weight 2 level 1 Eisenstein series (which is a quasimodular form) and σ1(n) is the sum of the divisors of n.

## Factorization into irreducible elements

A Hurwitz integer is called irreducible if it is not 0 or a unit and is not a product of non-units. A Hurwitz integer is irreducible if and only if its norm is a prime number. The irreducible quaternions are sometimes called prime quaternions, but this can be misleading as they are not primes in the usual sense of commutative algebra: it is possible for an irreducible quaternion to divide a product ab without dividing either a or b. Every Hurwitz quaternion can be factored as a product of irreducible quaternions. This factorization is not in general unique, even up to units and order, because a positive odd prime p can be written in 24(p+1) ways as a product of two irreducible Hurwitz quaternions of norm p, and for large p these cannot all be equivalent under left and right multiplication by units as there are only 24 units. However if one excludes this case then there is a version of unique factorization. More precisely, every Hurwitz quaternion can be written uniquely as the product of a positive integer and a primitive quaternion (a Hurwitz quaternion not divisible by any integer greater than 1). The factorization of a primitive quaternion into irreducibles is unique up to order and units in the following sense: if

p0p1...pn

and

q0q1...qn

are two factorizations of some primitive Hurwitz quaternion into irreducible quaternions where pk has the same norm as qk for all k, then

q0 = p0u1
q1 = u–1
1
p1u2
...
qn = u–1
n
pn

for some units uk.

## Division with Remainder

The ordinary real integers and the Gaussian integers allow a division with remainder or Euclidean division. For positive integers N and D, there is always a quotient Q and a nonnegative remainder R such that

• N = QD + R where R < D.

For complex or Gaussian integers N = a + ib and D = c + id, with the norm N(D) > 0, there always exist Q = p + iq and R = r + is such that

• N = QD + R, where N(R) < N(D).

However, for Lipschitz integers N = (a, b, c, d) and D = (e, f, g, h) it can happen that N(R) = N(D). This motivated a switch to Hurwitz integers, for which the condition N(R) < N(D) is guaranteed.[1]

Many algorithms depend on division with remainder, for example, Euclid's algorithm for the greatest common divisor.