You may use or modify this software for any non-commercial use so long as you include this copyright notice.
Also check out the Sedenion calculator.
The calculator may be operated in the context of five different algebras, the traditional eight-square octonion algebra based on Degan's eight square identity*, or one of four isomorphic algebras based on Cayley-Dickson doubling formulas.
This is a 'Reverse Polish octonion calculator' with a level three pushdown stack. The top of the stack is the rightmost column. The traditional 'PUSH' operation is here rendered as 'ENTER'
Octonions may be entered by hand in the top register or you may generate random entries and store them for reuse.
To perform an operation such as x + y you would do x enter y plus and the result would appear in the top register.
An example of a more complex calculation is given below the calculator.
There are sixteen memory registers X,Y,Z plus A through M accessible from a dropdown list.
Special note: There are different ways of numbering the unit basis vectors.
In terms of ordered pairs for the four doubling products, these basis vectors are defined recursively by
To illustrate one of the Moufang identities using randomly generated entries, for example Z(X(ZY)) = ((ZX)Z)Y, perform the following operations:
*The permutation (2 3)(4 7 5 6) applied to the subscripts of the Degan product basis vectors gives the subscripts of the corresponding P3 basis vectors.
Notice that the formula for product P2 appears to be just the product P0 applied to (c,d)(a,b).
Likewise, for P3 and P1. So one might be excused for expecting P0:XY=P2:YX and P1:XY=P3:YX.
However, this is not the case.
In fact, P0:XY=P1:YX and P2:XY=P3:YX for octonions (but not for sedenions).
Fano Plane diagram corresponding to this calculator
Contact:John Wayland Bales, Department of Mathematics (Retired), Tuskegee University, Tuskegee, AL 36088 USA