Multiplication of ordinary numbers is associative: changing parentheses does not change the answer. The same is true for complex numbers and quaternions. But in the eight-dimensional number system called the octonions, parentheses can matter. Surprisingly, octonions still obey a beautiful rule about lengths: the norm of a product equals the product of the norms.
1. What does associativity mean?
For ordinary numbers, (ab)c = a(bc). For example, both ways of multiplying 2, 3, and 4 give 24. Associativity is different from commutativity: the latter asks whether swapping the order of two factors changes the product.
Quaternions are generally not commutative, but they remain associative. Octonions go one step further: they are generally neither commutative nor associative.
2. Build octonions from pairs of quaternions
A quaternion has the form a+bi+cj+dk, with i^2=j^2=k^2=-1 and ij=k,\;ji=-k. Its conjugate reverses the signs of the imaginary components.
Represent an octonion as a pair (a,b) of quaternions. We will use the following Cayley–Dickson multiplication convention throughout:
Here the bar means quaternion conjugation. The element (1,0) is the multiplicative identity. The familiar quaternion a sits inside the octonions as (a,0).
3. A concrete failure of associativity
Choose three octonions:
First multiply the first two factors. Since ij=k,
Now multiply the last two factors first:
Therefore,
Takeaway: The same three factors, in the same order, give opposite answers when we change the parentheses. This is nonassociativity, not merely noncommutativity.
4. What survives? The eight-square identity
For an octonion q=(a,b), define its squared norm by
where, for a quaternion a=a_0+a_1i+a_2j+a_3k,
The remarkable fact is that octonion multiplication preserves products of squared lengths:
Since each octonion has eight real coordinates, this gives an eight-square identity: a product of two sums of eight squares is again a sum of eight squares. The eight resulting coordinates are bilinear expressions in the original coordinates.
5. A numerical check
Take p=(1+i,j) and q=(1+k,i). Their squared norms are
Using the multiplication formula gives
Consequently,
Even though parentheses matter for three octonions, the norm of a product of two octonions behaves exactly as expected.
6. Why is the norm identity true?
The Cayley–Dickson construction combines two quaternion pairs. The quaternion norm satisfies N(ab)=N(a)N(b), and the real part of a quaternion product obeys identities that make the cross terms cancel. Expanding the squared norms of the two components of (a,b)(c,d) therefore gives
This calculation uses the associativity of quaternion multiplication inside the formula; it does not assert that octonion multiplication is associative.
7. Two kinds of algebraic structure
Associativity is extremely useful because it lets us omit parentheses in long products. The octonions sacrifice this convenience, but retain an identity connecting multiplication with Euclidean length. They also satisfy a weaker law called alternativity: expressions involving only two octonions can be regrouped associatively. In particular, (xx)y=x(xy) and (yx)x=y(xx).
For a broader view of why the dimensions 1, 2, 4, and 8 appear in sums-of-squares identities, see Why Are 1, 2, 4, and 8 Special?. This article focuses on the explicit failure of associativity rather than repeating that overview.
8. Try it yourself
Exercise 1. Show that (a,0)(c,0)=(ac,0).
Solution. Substitute b=d=0 into the multiplication formula. The result is (ac,0). Thus the embedded quaternions multiply in their usual way.
Exercise 2. Compute (0,1)(i,0) and (i,0)(0,1). Are they equal?
Solution. The first product is (0,\overline i)=(0,-i); the second is (0,i). They differ, demonstrating noncommutativity.
Exercise 3. Verify that N((1+i,j))=3.
Solution. The first quaternion contributes 1^2+1^2=2 and the second contributes 1^2=1. Total: 3.
Exercise 4. Check the norm identity for p=(i,0) and q=(0,1).
Solution. Both have squared norm 1, and their product is (0,i), also of squared norm 1. Hence N(pq)=1=N(p)N(q).
Challenge. Use the three octonions from Section 3 to compute the associator (xy)z-x(yz).
Solution. It equals (0,k)-(0,-k)=(0,2k), which is nonzero.
Further reading
Olga Taussky, “Sums of Squares,” The American Mathematical Monthly 77 (1970), 805–830. JSTOR record. This post develops an independent worked example inspired by the subject of Taussky’s survey.
Sums of Squares series. Previously: Why Are 1, 2, 4, and 8 Special?

Leave a Reply