4 ms·
Thanks. Appreciate taking the effort to answer. What I'm trying to do is to gain an intuition of what kind of objects GA manipulates, then stash it for whenever
by alquemist 6y ago
Thanks. Appreciate taking the effort to answer. What I'm trying to do is to gain an intuition of what kind of objects GA manipulates, then stash it for whenever I'll need that kind of manipulation, which, sadly, can be never.
Within that context, just grokking R^2 or R^3 would be great progress. To be fair, the article does present the fundamental identity, uv = u.v + u /\ v, where u.v is the usual dot product (scalar denoting relative projective size) and u /\ v = |u||v|sinθi (something related to area and the plane induced by u and v). Even if the article does exemplify with R^2 by defining i = xy, and then dropping the ball: "i is interpreted to mean the plane generated by x and y". I can't grok this part :(
* This looks like (almost) a circular definition, defining uv in terms of the specific xy, where x and y are the two orthonormal R^2 vectors forming the basis. What is xy? Is it a scalar? A vector? A normal vector? How does a normal vector work in R^2?. A tensor of some dimensions? For example, assuming x = (1,0) and y = (0,1), how does one compute i = xy?
* Plane generated how? a u + b v, given any two scalars a and b?
* When moving to R^3, i'd think uv / xy define a plane. What does uvw / xyz mean?
* Minor quibble, is it sin(θ * i) or sin(θ) * i?
- creata 6y ago* The space of multivectors in Rⁿ is actually also a vector space, and it's 2ⁿ-dimensional. The standard basis of this vector space (in 2 dimensions) is {1, x, y, x ∧ y = xy}, and that's why we care about representing uv in terms of xy. Hopefully that explains why asking how to compute "i = xy" is a meaningless question. By analogy, `(3, 5) = 3x + 5y` in the same way `xy = (0, 0, 0, 1)`, but keeping track of the order of an 2ⁿ-element basis gets annoying really fast, so we just write `xy`. * Yes, span{a, b}. * u ∧ v ∧ w would represent a volume — the one and only 3D subspace of Rⁿ, together with a sign (i.e. an orientation) and a magnitude. * It's sin(θ)*i.
- alquemist 6y agoThank you kind stranger. The technical machinery makes much more sense now. But the intuition still lacks. An attempt. To map an R^2 vector into G^2 is trivial, (a,b) => a x + b y = (1, a, b, 0). The reverse is hard. s 1 + a x + b y + d xy = (s, a, b, o) => (?, ?). Or perhaps G^2 is a superstructure of R^2, and most elements of G^2 can only be projected (somehow? perhaps trivially?) to R^2, but with loss of information. Which leaves the grok question: what does a vector in G^2 actually represent? Perhaps scale + x position + y position + orientation angle, as the use of 'i' suggests? If so, then in R^3 xy, xz any yz represent rotations in the respective planes? Which leaves a bonus puzzle: what does (multiplying with) xyz represent? FWIW, at this point it's likely I can compute the answers using the code in the OP and well crafted multivectors. Time permitting :)
- creata 6y agoMinor correction: the inclusion of the vectors is (a, b) ⇒ (0, a, b, 0), not (1, a, b, 0). Also, you have an inclusion of the scalars, which is x ⇒ (x, 0, 0, 0). And yeah, G^2 can't be projected back onto R^2 without losing a lot of information. > what does a vector in G^2 actually represent? If you can write a multivector x as the wedge product of k independent vectors (or equivalently, the geometric product of k orthogonal vectors), then x is called a k-blade. In this case, x has a very clear geometric interpretation: * the magnitude of x is the volume of the parallelotope spanned by the vectors. * the "direction" of x corresponds to the space spanned by the vectors — in concrete terms, that space is the set of vectors in R^2 that the map (v ⇒ v ∧ x) takes to zero. * the "direction" also gives an orientation of the subspace. Orientations are defined indirectly: if you have two blades representing the same space, then they must be scalar multiples of one another. If that scaling factor is positive, then they have the same orientation, and if it is negative, then they have opposing orientations. These three pieces of information are enough to uniquely identify x. Unfortunately, I'm not sure how to go from there to interpreting other multivectors, which are sums of blades. > If so, then in R^3 xy, xz any yz represent rotations in the respective planes? Yes, xy represents rotation on the xy plane, as long as you apply it as described in the article. > Which leaves a bonus puzzle: what does (multiplying with) xyz represent? This one should be fairly easy to prove: it represents a kind of dualization, in which the space represented by mi = mxyz is the orthogonal complement of the space represented by m.
- alquemist 6y agoFun stuff! Also found this interesting tidbit: https://slehar.wordpress.com/2014/03/18/clifford-algebra-a-visual-introduction https://slehar.wordpress.com/2014/03/18/clifford-algebra-a-v... > Multiplication of all three basis vectors (e1^e2^e3) produces a three-dimensional volume segment or trivector, with unit cubed volume. This trivector has some peculiar properties that represent the scale of the whole space, it is often called the pseudoscalar of the space, I, it performs the function of the imaginary number i, but extended into three dimensions. Multiplication by the trivector represents a 90 degree turn in all three dimensions. Therefore two such 90 degree turns in each of the three dimensions results in a total reversal of direction, which is equivalent to a simple negation, and thus I2 = -1.