Hacker News new | ask | show | jobs
by cbd1984 4024 days ago
The cross-product is a useful outer product, but it's only possible in three dimensions: It takes two vectors and makes a new vector orthogonal to both of them.

In two dimensions, that's impossible, because there's no other direction for that new vector to point. In more than three dimensions, that's impossible, because there's no single direction for that new vector to point.

It's a hacky way to express the more general concept of orthogonality and handedness: The magnitude of the product we want is proportional to how orthogonal the two vectors are, and the sign is due to a handedness convention we've adopted.

Well, if two vectors are orthogonal to any degree at all, they span a two-dimensional surface, so why not define a product which takes two one-dimensional vectors and makes a signed two-dimensional surface out of them, with an area proportional to their lengths and how orthogonal they are and a sign due to a handedness convention? That's the wedge product in Clifford algebra.

The fun comes when you realize that these signed areas are quaternions and can be used to rotate vectors in arbitrary-dimensional spaces simply by picking vectors which span the desired plane of rotation and choosing apt multiplication rules.

The real fun comes when you realize that choosing your metric cleverly gives you one plane where rotations are hyperbolic instead of Euclidean (circular), so you can model accelerations as rotations in the space-time plane. Which is Special Relativity. Which is neat.

This lays it all out nicely with pictures and everything: http://www.av8n.com/physics/clifford-intro.htm

And here is SR done as hyperbolic rotations in a space-time plane: http://www.av8n.com/physics/spacetime-welcome.htm

2 comments

There is actually a 7-dimensional "cross-product" (-esque operation): https://en.wikipedia.org/?title=Seven-dimensional_cross_prod...

The relationship between Quaternions and the 3-dimensional cross-product corresponds to the relationship between the octonions and this 7-dimensional cross-product. Normed Division Algebras are a fascinating and worthwhile subject to look into.

Av8n is s much better source for this material. slehar took pictures out of context from av8n and wikipedia, and slathered a layer of woo on top.