Skip to content

Instantly share code, notes, and snippets.

@porky11
Created January 22, 2018 00:21
Show Gist options
  • Save porky11/12fa1a04fdf0dfbc3b744a57bc46ddfb to your computer and use it in GitHub Desktop.
Save porky11/12fa1a04fdf0dfbc3b744a57bc46ddfb to your computer and use it in GitHub Desktop.
Geometric Algebra Products
A B =
( a b + a1 b1 + a2 b2 - a12 b12)
e1 ( a b1 + a1 b - a2 b1 + a12 b2 )
e2 ( a b2 + a1 b12 + a2 b - a12 b1 )
e12 ( a b12 + a1 b2 - a2 b12 + a12 b )
B A =
( a b + a1 b1 + a2 b2 - a12 b12)
e1 ( a b1 + a1 b + a2 b1 - a12 b2 )
e2 ( a b2 - a1 b12 + a2 b + a12 b1 )
e12 ( a b12 - a1 b2 + a2 b12 + a12 b )
A B + B A =
(2 a b + 2 a1 b1 + 2 a2 b2 - 2 a12 b12)
e1 (2 a b1 + 2 a1 b + 0 a2 b1 - 0 a12 b2 )
e2 (2 a b2 - 0 a1 b12 + 2 a2 b + 0 a12 b1 )
e12 (2 a b12 - 0 a1 b2 + 0 a2 b12 + 2 a12 b )
A B - B A =
(0 a b + 0 a1 b1 + 0 a2 b2 - 0 a12 b12)
e1 (0 a b1 + 0 a1 b - 2 a2 b1 + 2 a12 b2 )
e2 (0 a b2 + 2 a1 b12 + 0 a2 b - 2 a12 b1 )
e12 (0 a b12 + 2 a1 b2 - 2 a2 b12 + 0 a12 b )
@porky11
Copy link
Author

porky11 commented Jan 22, 2018

The solution seems to be following:
The above calculations are true, but as a convention, the outer product is extended to work for with scalars.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment