Monday, January 5, 2015

Geometric Algebra Pitfalls

After studying more than I expected to during the holidays, I believe I have finally got my wits together and can now give some clear hints to anyone else who wishes to travel this path.  I highly suggest "Linear and Geometric Algebra" by Alan Macdonald.  Read the previews and details online before considering to purchase this book.  I like it, doesn't mean you will too.


First, and most importantly, write out your multi vectors explicitly.  For example, vector (2, 3, 4) should be written as 2e1 + 3e2 + 4e3.  Recall the multiplication of the e's (or basis as that is what they form) is not associative.

Consider (1e1 + 2e2)(3e1 + 4e2).
Intuitively, from the good ol' days, we would do: (1e13e1 + 1e14e2 + 2e23e1 + 2e24e2).
Regrouping the scalers together: (3e1e1 + 4e1e2 + 6e2e1 + 8e2e2)
Since e1e1 = 1: (3 + 4e1e2 + 6e2e1 + 8)
Switching the place of two adjacent e's flips the sign, ie. e1e2 = -e2e1: (3 + 4e1e2 - 6e1e2 + 8)
Final grouping: (11 - 2e1e2)

Notice that, save for the special rules surrounding the es, it is very much as was learned before from the days of multiplying two expressions consisting of x and y, such as (2x+y)(4z+8w).

If a problem in geometric algebra seems difficult, my first reaction has been to ensure that everything uses e explicitly.




Second, when reading articles and books, always be sure to know which dimension the given results apply in.  I have yet to find an article that does not give examples or definitions at a lower dimension before jumping to the dimensionless forms thanks to the desire to give out something practical without having to face a wall of mathematics.


Third, the inner (also known as the dot) and outer products are filters on the geometric product.  If the result does not match the product, it is zero, and we move on.

Again, let's return to (1e1 + 2e2)(3e1 + 4e2).
The result with the geometric product was: (11 - 2e1e2).
Let us consider the dot product of (1e1 + 2e2) and (3e1 + 4e2).  The grade of 1e1 is 1 (to obtain the grade, count the number of unique e's after the scalar).  When multiplying two elements together, the dot product says the grade of the result must equal the grade of the second element minus the grade of the first.  So when we take the inner product 1e1 with 3e1 where the grade(3e1) - grade(1e1) = 1 - 1 = 0, therefore the result must be a scalar, which it is (3).

The outer product filter is the sum of the grades.

The filter applies only to the two elements being multiplied together at a time, not to the whole multivectors.  After the product is done, the results are added as usual.


Finally, just keep on finding more sources.  I found it easier to work with the topic once I had a dozen articles each tackling the topic slightly differently.  If my mental model of how the geometric algebra was accurate, then each paper I would read would not conflict with the mental model.

Edits:

  1. Since my initial hints were leading people astray.  They exemplified my lack of understanding, which should be resolved.
  2. Reorganization for clarity.


No comments:

Post a Comment