logo back up home forward   further reading more topics »

Maths - Cayley Table

This section discusses:

Cayley tables allows us to easily lookup the result of multiplying any two elements of a given algebra. the result is made up of 3 parts:

This assumes that the product of any two elements will be a single type which is the case for the simpler algebras that we are concerned with.

There are an infinite number of scalar values so we can't make a table from that but the type and sign can be combined into a table.

The Cayley Table is a good way to completely specify the multiplication rules of a multi-dimensional algebra. Since we are either working with algebras where we use only multiplication and not addition (groups), or we use algebras where addition is relatively trivial: the sum of corresponding terms, then effectively the whole algebra is defined by the Cayley table.

If we wan' t to work with more general type of addition then we would have to use the mathematical concept of a 'ring' but that's just a bit too general for me at the moment so I will assume that we are working with a 'vector space' which gives us relatively simple rules for addition and scalar multiplication:

There may be some algebras where Cayley Tables are not applicable, that is: they don't have a table where multiplying each term produces one term, however Cayley Tables can be used for most of the algebras that we are interested in.

In the maths program that I am working on here each algebra is specified by its Cayley Table.

Relationship to Matrices

The Cayley Table itself is similar to a matrix, but operations such as addition and multiplication on the Cayley table aren't really useful so it is only really a pseudo matrix. However, the operations ⊕ and ⊗ are applicable.

What is the Cayley table for matrix algebra? Well we could define for matrices, but an n×n matrix would have n² elements, so the Cayley table would require n²×n² elements, so I think this is a case where using Cayley tables would not be very efficient. Doing matrix algebra in the conventional way is very easy to program for computers so this is only a problem where we want to mix matrix with other type of algebra.

Cayley Table

We can use a table to represent a finite group, but we can also use a Cayley Table to represent the multiplication rules of a group whose elements consist of a number of scalar dimensions, the table tells us how these dimensions combine.

For example, consider the group of complex numbers with the operation of multiplication,

a*b
b.1 b.i
a.1 1 i
a.i i -1

The table only represents the type of each entry and whether there is any sign reversal, to actually multiply two we have to multiply the scalar values to determine there contribution to the given dimension.

The above table used '1' to represent the real numbers and 'i' to represent imaginary numbers but we could have used any symbols such as 'a' and 'b' it still fully defines the multiplication rules for complex numbers:

a*b
a b
a a b
b b -a

The Cayley Table is similar to a Latin Square except that each symbol has sign (+ or -). I guess each symbol could be changed into two symbols although this would then double the dimensions of the table and this might hide the symmetries.

Cayley Table of a Group

The properties of a group result in the following properties when a cayley table represents a group

Equivalence of Cayley Tables

How do we determine if two algebras are isomorphic be comparing their Cayley tables? It is not good enough to compare the two Cayley tables term by term because if we swap two terms or invert a given term then the algebras will still be isomorphic so we need to do a more complex comparison. This page explains how to test for equivilance of Cayley tables representing an isomorhism between the algebras.

Combining Cayley Tables

Can we combine Cayley Tables? For instance, imagine we have an algebra defined by table 1 and the elements of this algebra are another algebra defined by table 2. Can we combine these tables to give the overall table which defines the combined algebra?

On this page we look at various posibilities such as:

The Direct Product ⊗ works for commutitive algebras (such as abelian groups) but most of the algebras we are working with have both commutitive and anti-commutitive terms so we can use the Direct Product to determine the type but use other means to determine the sign. So if we want to multiply:

For the type of algebras we are discussing, we could detemine the product of these terms by:

(a ei)*(b ej) = a*b*Sij*(ei⊗ej)

where:

Sij depends on the type of Algebra:

For Clifford algebras it is a Walsh function (or it can be worked out by the number of swaps to order the indicies as described on this page).

For hypercomplex numbers we can use the Cayley-Dickson process.

Matrix Algebra

Can we use these tables to represent matrix multiplication? This would not necessarily be an efficient way to implement the multiplication in a computer program for example. However it might be interesting as a basis for an algebra that is a superset of matrix algebra and other elements. It might also allow us to better define algebras which are a combination of matrix algebra and other elements such as complex numbers (Pauli Matrices).

If we want to multiply two matrices containing 4 elements:

e1 e2
e3 e4

Then we can represent the multiplication with the following table:

b.e1 b.e2 b.e3 b.e4
a.e1 e1 0 e3 0
a.e2 e2 0 e4 0
a.e3 0 e1 0 e3
a.e4 0 e2 0 e4

So, although we think of a 2x2 matrix as a 2D matrix, it actually has 4 elements. Therefore, in these terms, it is a 4D quantity like quaternions.

Therefore, if we want to define the cayley table for an 'n x n' matrix then we need a table which has n2 rows and columns. So for large matrices the cayley table would get very large.

Further Reading

Cayley Table for Geometric Algebra:


metadata block
see also:

 

Correspondence about this page

Book Shop - Further reading.

Where I can, I have put links to Amazon for books that are relevant to the subject, click on the appropriate country flag to get more details of the book or to buy it from them.

cover Clifford Algebras and Spinors (London Mathematical Society Lecture Note S.)  
Pertti Lounesto. This is very complex subject matter for graduates or undergraduates, however there is a lot of explanations and it is not all proofs like some mathematical textbooks. The book has a lot of information about the relationship between Clifford Algebras and Hypercomplex Algebras, I don't think I'm left with a full understanding of spinors though.

Commercial Software Shop

Where I can, I have put links to Amazon for commercial software, not directly related to the software project, but related to the subject being discussed, click on the appropriate country flag to get more details of the software or to buy it from them.

 

Can you help?

Please send me any improvements to here. I would appreciate ideas to make the pages more useful including error correction, ideas for new pages, improvements to wording. It helps if you quote the full URL of the page.

 

Terminology and Notation

Specific to this page here:

 

program

I am working on a project which uses these principles, if you would like to help me with this you are welcome to join in, here:

http://sourceforge.net/projects/mjbworld/

This site may have errors. Don't use for critical systems.

Copyright (c) 1998-2008 Martin John Baker - All rights reserved - privacy policy.