Title: A Mathematica Program for Geometric Algebra
1A Mathematica Program for Geometric Algebra
- Gordon ErlebacherGarret Sobczyk
2Mi vida a Udla
- Learn Spanish
- Learn to dance
- Learn about life at Udla
- Work with Garret
Not necessarily in the above order!!
3Hard at work
4Learning spanish a la Fiesta y a la Iglesia
5Learning spanish while dancing
6My influence on Garret
7Gordon repents for his fun
8Gordon starts serious work
9Objectives
- Develop a new algebra of 2x2 matrices whose
elements are in the geometric algebra G3 - Develop a Mathematica program to perform symbolic
calculations in this algebra - Reduce calculation errors
- Check calculations done manually
- Try out new ideas
- Peforms complex computations
10Contents
- Algebras
- Mathematica Program
- Application
11What is an Algebra?
- Combination of a Field of scalars , a
vector space () and a ring (x) - Commutativity of elements of the Field and
elements of the algebra
12Examples of Algebras
- All non-invertible matrices
- Unitary matrices
- Integers
- Real numbers
- Set of polynomials with integer coefficients
13Concepts from Geometric Algebra
- Let (vector space)
- Graded Algebra
- Non-commutative
- Geometric interpretations
- are vectors
- are scalars
- are
bivectors (tangent plane) - are trivectrors
(volume elements)
Scalar product
Outer product
14Geometric interpretation2D vector space
- Scalar ?? point (grade 0)
- Directed line ?? vector (grade 1)
- Directed plane ?? bivector (grade 2)
- Directed volume ?? trivector(grade 3)
152D G2
- Basis 422 elements
- one scalar 1
- two vectors
- one pseudoscalar, bivector
163D G3
- Basis 823 elements
- one scalar 1
- three orthonormal vectors
- three bivectors
- one pseudoscalar, bivector
17Generalizations
- Geometric algebra generalizes nicely to higher
dimensions n-D
18Element of G3
- An element of takes the
form - . has properties of imaginary
number, i.e., - for all
- Rewrite element g as
- 4 complex numbers encode the same information as
the 8 elements of G3
1
2,3,4
19Paravector
- Element g of G3 is written as
- called a paravector
20Operations on G3
- Geometric product
- Rewriting in terms of complex coefficients, we
find that - /\ is associative, is not
- is symmetric part of
- is the antisymmetric part of
21Algebra G41 algebra
- The algebra is generated by the vector space V41
- Signature of V41 is (-), or
- Pseudoscalar 5-D volume element
- 32 basis functions
- 1 scalar, 5 vectors, 10 bivectors (2-vector), 10
trivectors, 5 4-vectors, 1 pseudoscalar
(5-vector)
22Isomorphism between Gn and matrix algebra
- It can be shown that every G2n (in ) is
isomorphic to the algebra Mm of mxm matrices of
reals (in ) . - Thus, if then (homomorphism)
23 Isomorphism G41 M2(G3)
- Element g of G41 is isomorphic to
- Element a of G3 is isomorphic to
24Degrees of freedom
- G4,1 has 2532 degrees of freedom
- A 2x2 matrix has 4 degrees of freedom
- G3 has 8 degrees of freedom
- Therefore, M2(G3) has 32 degrees of freedom,
consistent with G41
25Why M2(G3)?
- Combine the advantages of matrix algebra with
that of Geometric (Clifford) algebras - 2x2 matrices are small and simple to manipulate
- Extensive literature on matrices
- G3 is closely related to the standard vector
algebra of Gibbs
26Why G41?
- 5-dimensional vector space is a superset of the
following useful spaces - Euclidean space
- Quaternions
- Affine space
- Projective space
- Horosphere
- Space of special relativity
27Mathematica
- Parent company Wolfram
- Powerful software package for symbolic
manipulation - Exists for more than 15 years
- Main competitor Maple (with similar
capabilities, but a different programming style)
28Paravector
29ParaMatrix
30Operations in G41
The display is independent of internal
representation elements
31Expansions
- Display depends on internal representation
Choose the representation that is most
convenient pVa operates the fastest but it is
not possible to work with scalar and vector
components
32More complex operations
- Expansion
- Simplification
- scalarPart, vectorPart
- Determinant
- Characteristic polynomial
- Conversion routines between G41 and M2(G3)
- more
33Expansion
- expandAllx_ FixedPointexpandAllOnce,x
- expandAllOncex_ Moduleyx,
- ( Conjugation should probably be done near the
- y y //. flattenGeomRules
- y y //. geomRules
- y y //. expandGeomRules
- y y //. expandpVRules
- y y //. expandDotRules
- y y //. expandWedgeRules
- y y //. conjugationRules
- y y //. inversionRules
- y y //. reversionRules
- y y //. tripleRules ( Need a display for
- y y //. orderRules
- y y // ExpandAll
- y
34Matrix multiplication
35Expansion
36Futher expansion
37Techniques for simplification
- Identify scalar components in products and
extract them - Isoloate scalar components using scal to avoid
problems in complex expressions Flatten out
geometric products to take associativity into
account
38(No Transcript)
39(No Transcript)
40Checking identities
- Checking through use of random numbers (not
demonstrated here)
41We expect that o1 o2
42Convert to 4-component form
43Determinant of g in M2(G3)
- Consider a 2x2 matrix
- Element of G3 g g0gi ei has the matrix
representation - The determinant of M is simply the determinant
of the 4x4 matrix
44Goal
- Compute determinant using only matrix elements
and their conjugates - Use Gauss elimination, taking non-conjugation
into account - Reminder, conjugation of is
45Determinant of .
- The determinant is simply (in )
46Objective
- Express Detm44 using onlyand their conjugates
- How to use Mathematica to do this automatically?.
47Determinant Properties
- Multiplication by a vector of G3
- Linear combinations of row (or columns)
48Gauss elimination
Remember elements of G3 are not commutative
49Gauss Algorithm
- This form led to a Gauss-like algorithm with the
resultwhich can be rewritten as
50General Inverse
51How about .
Pivot1,1
Leads to very complex formulas
52Using Mathematica
53Simplify further
54Final answer
55How about
- So far, we are not able to find a formula for the
determinant (by hand or with Mathematica!) - This is our next goal
- Try to find a recursive formula to compute as
a function of
56First step
- Understand better the properties ofas a
function of lower order traces. Mathematica is
required for this.
57Examples
- Tr (a,b) lta,bgt0scalarPartoGeomab
- Tr (a,b,c)
- Tr (a,b,c,d)
- Tr(a,b,c,d,e)
- Tr (a,b,c,d,e,f)
- Higher order
58Possible Approach
- Define
- Find formulas for and as a
function of and where m lt n - So far we have been unsuccessful. Formulas get
complicated very fast
59First few traces
ltabgt0
ltabcgt0
ltabcdgt0
ltabcdegt0
60First few vector parts
ltabgt1
ltabcgt1
ltabcdgt1
ltabcdegt1
61Conclusions
- Potentially powerful new algebra
- Subalgebras include Euclidean space, affine
space, projective space, horosphere, relativity,
twistors, quaternions, etc. - Powerful Mathematica program available that
operates similarly to pen and paper - This work has many potential extensions
- Search for more general formulas is underway
62- Muchas Gracias por todo!!!
- Preguntas???