Cayley-Dickson Algebra of the Quaternions, Octonions, Sedenions, Pathions, Chingons, Routons, and Voudons
by Michael Tyrone Carter
Purdue University, West Lafayette
April 18, 2010
Description
Disclaimer
Feel free to utilize this package for academic, business, or personal use according to Maplesoft's license agreement. However, neither Maplesoft nor I are liable for any errors that may come from this package. All I ask is that you give me credit. Please do not reverse engineer this package, because it is the unethical to reverse engineer others work. If you perhaps do find errors, please feel free to email me so that I may correct the errors as soon as possible.
Introduction
Could the universe be so large that space appears to be flat? On earth when one looks at the horizon of the ocean it appears flat. Only when we escape the atmosphere of the earth does one sees its curvature. Jupiter is about 300 times the size of the earth. If we lived on Jupiter, we most likely never will be able to fly, including escape from Jupiter's atmosphere. It may even be impossible to explore the entire planet. We could easily make the mistake and believe that Jupiter is flat. It is so easy to ask questions, but can one produce the answers? The answers can be found with our mathematics, observations, and experiments. We used mathematics just as effectively as a seeing-eye-dog for the blind, because without mathematics we are blind. We cannot see beyond the horizon of the universe; nor, can we escape the universe and see it from the outside. Therefore, we need to go back to kindergarten and learn once again the concept of a number. We used numbers for counting, order, measure, position, direction, orientation, angle, and duration; but now we also used numbers for twist, rotation, spin, and/or state. Extending one of the operands, in a product, as a composite operator, for example, an operand multiplied by a negative operand may be seen as a 180-degree rotation. Furthermore, an operand multiplied by an imaginary operand may be seen as a 90-degree rotation. We must move away from only having interest in our mathematics for application purposes only. Michael Faraday was once asked, of his invention, what good was a wire spinning around by an electric current. His reply was, "What good is a new born baby?" Today we have Faraday's motor which has countless applications today. We do pure mathematics for the same reason that one climbs a mountain, because it is just there. It is unfortunately that even in our Modern Algebra textbooks that quaternions may only get a page within the entire textbook. It is very common that we do not discuss, within our Modern Algebra textbooks higher hypercomplex algebras. William Hamilton, the discoverer of the quaternion is also the father of Modern Algebra. Then why is he no more than a footnote in our textbooks?In conclusion, we must ask the silly questions, for without the silly questions, we can never get the serious answers. However, the questions are not enough. We must take our mathematics or our seeing-eye-dog and begin trying to work out a theory. We must play by the rules and learn the game as we play. It all begins with algebra and geometry. Let the games begin. Cheers.
Functions
`*`, `+`, `-`, `^`, Cadd, Calgebra, Cconjugate, Cdefine, Cdot, Ceval, Cinverse, Cmult, Crand, Cscalar, Csubtract, CtoMatrix, CunitVector, Cvector, Oadd, Oalgebra, Oconjugate, Odefine, OdivLeft, OdivRight, Odot, Oeval, Oinverse, Omult, Orand, Oscalar, Osubtract, OtoMatrices, OtoMatrix, OunitVector, Ovector, Padd, Palgebra, Pconjugate, Pdefine, Pdot, Peval, Pinverse, Pmult, Prand, Pscalar, Psubtract, PtoMatrix, PunitVector, Pvector
Qabs, Qadd, Qalgebra, Qaxial, Qceil, Qconjugate, QconvertToFrac, Qdefine, QdivLeft, QdivRight, Qdot, Qeval, Qexp, Qfloor, Qfrac, Qicoeff, Qinverse, QisCommutable, QisEqual, QisNZscalar, QisNZscalarOne, QisPure, QisScalar, Qjcoeff, Qkcoeff, Qlength, Qln, Qmagnitude, Qmodulus, Qmult, Qnorm, Qnormalize, Qpower,
Qrand, Qround, Qscalar, Qsignum, Qsqrt, Qsubtract, QtoMatrices, QtoMatrix, Qtrunc, Qunit, QunitVector, Qvector
Radd, Ralgebra, Rconjugate, Rdefine, Rdot, Reval, Rinverse, Rmult, Rrand, Rscalar, Rsubtract, RtoMatrix, RunitVector, Rvector, Sadd, Salgebra, Sconjugate, Sdefine, Sdot, Seval, Sinverse, Smult, Srand, Sscalar, Ssubtract, StoMatrix, SunitVector, Svector, Vadd, Valgebra, Vconjugate, Vdefine, Vdot, Veval, Vinverse, Vmult, Vrand, Vscalar, Vsubtract, VtoMatrix, VunitVector, Vvector, getHypercomplex, setHypercomplex;
Getting Started
There are higher dimensional numbers besides complex numbers. There are also hypercomplex numbers, such as, quaternions (4 D), octonions (8 D), sedenions (16 D), pathions (32 D), chingons (64 D), routons (128 D), voudons (256 D), and so on, without end. These names were coined by Robert P.C. de Marrais and Tony Smith. It is an alternate naming system providing relief from the difficult Latin names, such as:
trigintaduonions (32 D), sexagintaquatronions (64 D), centumduodetrigintanions (128 D), and ducentiquinquagintasexions (256 D).
Here is one way to tell Maple where the package library is located. This does not affect Maple's system library. If you have an apple you will not have a C: drive.
In addition, you will use the forward slash and not two double back-slashes.
Here we load the package. Notice that the semi-colon is on the end of the command. The semi-colon forces the command to be verbosed. If you do not want the verbose mode then use a colon for quiet mode for the command.
The package is displaying all functions available to the user. In addition, the operators *, +, -, and ^ are overloaded by the package. The user will know this by seeing the operators being displayed.
Quaternion Lesson
Quaternions Lesson
The quaternions have four components. u, i, j, and k. These components are protected by the package so that the package can properly work.
You will get an error message if you try to assign values to these components.
Be advised that you will lose the values to your variables if you have values assigned to these components when you load the Hypercomplex package.
The u component is the scalar component. The i, j, and k components are the imaginary components.
You do not have to use the u component. You may just use the Reals, instead.
The u, scalar, component is always multiplicative commutative with the other components. However, all three imaginary components are not multiplicative commutative. In fact, they are anti-commutative. Anti-commutative means when we transposed the order of multiplication the sign will change.
In addition, noticed that the imaginary components are cyclic. When we multiply i*j we get k. When we multiply j*k we get i. And, when we multiply k*i we get j.
Another way to see that the imaginary components are cyclic, is to raise then each to an increased power. The scalar component behaves like the number one. Raisng one to any power is still one. We can interchange the u component with the number one, even though the calculations do not show it. The u remains there. The pretty print is just converting it to number one.
When we are working only with one imaginary component at a time notice, that when you raised the imaginary component to zero it is equal to one, but, for every mutiple of 4*n power it will also be one. For ever 4*n + 1 power we will always get the positve imaginary component back. For ever 4*n+2 power we will get aways get the -1 back. Finally, for evey power 4*n+3 we will always get the negative imaginary component back.
We can take any quaternion and make our own special component. This is called the unit vector. The unit vector is also cyclic. Except for the precision error, we are also getting a similar cyclic behavior that we were receiving with the indiviual imaginary components.
Here is an example of a interesting behavior on how the unit vector works.
Here, we are only testing the Qln and Qexp functions. We are checking to see if the results make sense. Remember that the argument for the Qexp must be a modulus that is not less than -1 and is not greater than +1.
If we used only one scalar and one imaginary unit, these components will behave like the ordinary complex numbers. The ordinary complex numbers are comutative.
However, if we used more than one imaginary unit, we cannot use the division symbol. Left division is different from right division for quaternions. It is this way because quaternions are not commutative.
Here, we are testing to see if the imaginary components make sense.
In maple you can test to see what type an element is.
Here,we test to see what a quaternion is.
Here is an example on how we construct a quaterion in matrix form.
Here is a test to see if the Qsqrt function makes sense.
We can isolate the components for quaternions.
We can construct proofs with the Qalgebra function.
Octonions
Octonion Lesson
We have components that are protected. These components are:
i0, i1, i2, i3, i4, i5, i6, and i7.
These are the components that represent the octonions' units.
You must be in octonion mode before you can caculate with octonions.
Notice that the octonions imaginary components are also cyclic, just like the quaternions. By being cyclic, it assures that the algebra is a closed system.
It is a requirement that all Cayley-Dickson imaginary units are equal to -1 when squared.
Just like the Reals, ordinary complex numbers, quaternions, and the octonions are all division algebras.
When you multiply an octonion by its inverse you will get a positive one.
However, because octonion division is also non-commuative, we have both a left and right division.
Here, we are testing the Odot product. The Odot product is made from multiplication, addition and conjugate operators.??
The dot product has a longer processing time.
In this package the octonions are defined as a hypermatrix. The members are not scalars, but are quaternions.
Octonions also have a type.
Octonions are not generally commutative like the quaternions, but, they are also not generally associative unlike the quaternions. Notice, that it is possible to get a different value based on how we group our multiplication operations.
We have the ability to isolate the scalar value and vector value from an octonion. The quaternion has means to isolate all components. In this package, we can only isolate the scalar value and vector value for octonions, sedenions, pathions, chingons, routons, and voudons.
We can construct proofs with the Oalgebra function. Note, that an octonion multiplied by its inverse is here proved to be one.
Sedenions
Sedenion Lesson
Components e0 to e15 and O are protected.
You must be in sedenion mode before you can caculate with the sedenions.
e0 is the component that represents 1, however, it is in hypermatrix form. Hence, e0 is the same as 1 and 5*e0 is the same as 5.
The square of an imaginary unit is equal to negative one. This is a requirement of the Cayley-Dickson algebra.
The sedenion is not a divsion algebra. It is that way because it has zero-divisors. A zero divsior is when both a and b are not equal to zero; yet, a times b is equal to zero. See the two trivial examples.
Here, we are testing the dot product function.
Here, we are testing the scalar function and the vector function.
Here, we see that hypermatrices are the elements of the sedenions' hypermatrix. Actually, we are using octonions for the elements.
Yes, the sedenion has a type as well.
We can construct proofs with the Salgebra function. Note, that a sedenion multiplied by its inverse is here proved to be one.
Pathion
Pathion Lesson
Components p0 to p31 and O are protected.
You must be in pathion mode before you can caculate with the pathions.
p0 is the component that represents 1, however, it is in hypermatrix form. Hence, p0 is the same as 1 and 5*p0 is the same as 5.
The square of the imaginary units are equal to negative one.
The pathions are not a divsion algebra. They are that way because they have zero-divisors. A zero divsior is when a does not equal zero and b does not equal zero; however, a times b may be equal to zero. See the two trivial examples.
Here, we see that hypermatrices are the elements of the pathions' hypermatrix. Actually, we are using sedenions for the elements.
The pathions have a type.
We can construct proofs with the Palgebra function. Note, that a sedenion multiplied by its inverse is here proved to be one.
Chingon
Chingon Lesson
Components c0 to e63 and O are protected.
You must be in chingon mode before you can caculate with the chingons.
c0 is the component that represents 1, however, it is in hypermatrix form. Hence, c0 is the same as 1 and 5*c0 is the same as 5.
The imaginary units squared are equal to negative one.
A chingon is not a divsion algebra. It is that way because it has zero-divisors. See the two trivial examples.
Here, we see that hypermatrices are the elements of the chingons' hypermatrix. Actually, we are using pathions for the elements.
We can construct proofs with the Calgebra function. Note, that a chingon multiplied by its inverse is here proved to be positive one.
The chingons have a type.
Routon
Routon Lesson
Components u0 to u127 and O are protected.
You must be in routon mode before you can caculate with the routons.
u0 is the component that represents 1, however, it is in hypermatrix form. Hence, u0 is the same as 1 and 5*u0 is the same as 5.
The routons are not a divsion algebra. They are that way because they have zero-divisors. See the two trivial examples.
Here, we are testing the scalar function and vector function.
Here, we see that hypermatrices are the elements of the routons' hypermatrix. Actually, we are using chingons for the elements.
Note: One may used the Vrand function. The Vrand functions has two or three arguments. The third argument is for how many counts of the elements.
We can make proofs with the Ralgebra function. Note, that a routon multiplied by its inverse is here proven to be positive one.
The routons have a type.
Voudon
Voudon Lesson
Components v0 to v255 and O are protected.
You must be in voudon mode before you can caculate with the voudons.
v0 is the component that represents 1, however, it is in hypermatrix form. Hence, v0 is the same as 1 and 5*v0 is the same as 5.
The voudons are not a divsion algebra. They are that way because it has zero-divisors. See the two trivial examples.
The dot product has a longer delay.
Here, we see that hypermatrices are the elements of the voudons' hypermatrix. Actually, we are using routons for the elements.
The voudons have a type.
We can construct proofs with the Valgebra function. Note, that a vouton multiplied by its inverse is here proven to be postive one.
References
Maxfield, John E., and Maxfield, Margaret W. Abstract Algebra and Solution by Radicals. New York: Dover, 1971. Meserve, Bruce E. Fundamental Concepts Of Algebra. New York: Dover, 1981. Parker, Sybil P. Dictionary of Mathematics. New York: McGraw, 1997. Rucker, Rudy. The Fourth Dimension: A Guided Tour of the Higher Universes. Boston: Houghton, 1984. Russell, Bertrand. Introduction to Mathematical Philosophy. New York: Dover, 1933. Sanchez, Julio, and Maria Canton. DirectX 3D Graphics Programming Bible. Foster City, CA: IDG Books Worldwide, 2000. Shapiro, Max S. Mathematics Encyclopedia. Garden City: Doubleday, 1977. Smith, D. E. History of Mathematics. 2 vols. New York: Dover, 1958. Sweetser, Doug. Doing Physics with Quaternions. n.p., n.d. Online. Internet. 12 December 2000. Available http://world.std.com/~sweetester/quarternions/qindex.html. Taylor, Edwin F., and John Archibald Wheeler. Spacetime Physics: Introduction to Special Relativity. 2nd ed. New York: W. H. Freeman, 1996. Wright, Richard S., Jr., and Sweet, Michael. OpenGL Super Bible. 2nd ed. Indianapolis: Waite Group, 2000. Wunsch, David A. Complex Variables with Applications. 2nd ed. Massachusetts: Addison-Wesley, 1994.
Culbert, Craig. Cayley-Dickson algebras and loops. Journal of Generalized Lie Theory and Applications. Vo1. 1, No. 1, 1-17, 2007.
de Marrais, Robert P. C. Flying Higher Than a Box-Kite:
Kite-Chain Middens, Sand Mandalas, and Zero-Divisor Patterns in the 2n-ions Beyond the Sedenions. 0207003.pdf
About the Author
School:.........................Purdue University, West Lafayette
Department:.................Computer Science
Course:........................CS-590 - Visualization of Cayley-Dickson Hypercomplex Numbers
Professor:....................Xavier Tricoche, PhD
Student:........................Michael Tyrone Carter
Project:........................Hypercomplex Package
Computer Algebra:......Maple 13
Date:............................Monday, January 18, 2010
Purpose:......................To gain more knowledge on hypercomlex algebra
Email:..........................Laureice@wideopenwest.com
I received a bachelor of science in biology (minor in chemistry) from Lewis University and a bachelor of science in computer science from Purudue University. I am now pursuing a PhD. in Mathematical Physics. Years ago, I received a certificate in computer programming from the College of Automation in Chicago. In addition, I received a post-bachelor certificate in information systems, with the programming option, at Purdue University. I have completed several projects. To name a few, I designed an assembler language computer emulator as two applications--one in C/C++ and the other in C#`. Here, I coded both the assembler and the emulator. Next, I designed an animated mechanical man in Java3D (using quaternions). Finally, in two of my courses, I had to design a linear programming package and a grammar analyzer package, both of which were written in C#. I was exposed to quaternions, octonions, and sedenions at the University of Aalborg, in Denmark, a few years back. My favorite languages are Microsoft Macro Assembler, C#, Java, Python, C/C++ with OpenGL, and the Maple programming language. My current Cayley-Dickson package is the first of two projects for a visualization course, which is an independent study that lasted over a year. It is now completed.