6 ms·
I've only skimmed the article, but it seems to be saying this: > Instead of using this thing you don't understand and investing the time to understand it, why
by ColinWright 7y ago
I've only skimmed the article, but it seems to be saying this:
> Instead of using this thing you don't understand and investing the time to understand it, why don't you use this other thing you don't understand, and invest the time to learn that instead.
Indeed, later in the article the author says:
> We can notice that 3D Rotors look a lot like Quaternions ... In fact the code/math is basically the same! The main difference is that i, j, and k get replaced by y∧z, x∧z and x∧y, but they work mostly the same way.
Have I got that right?
- ianai 7y agoThat’s a notational change that incurs unneeded, increased cognitive load. That’s admittedly a mile high view.
- mcnamaratw 7y agoSure, people who are happy customers of quaternions and don't feel driven to understand what's under the hood, why change? The pitch in the OP is (I think) intended for people who feel pressure to understand why it works. Geometric algebra can be built up yourself by picturing actual rotations, one dimension at a time. It's physical from the start. Quaternions are a finished math system that you have to reverse-engineer to understand. Some people like one approach or the other better. Some geometric algebra people are kind of true believers. That's probably not helping the notation get traction.
- friendlybus 7y agoIt's possible to plot the rotation of planets around the earth using very complex systems. Why didn't we stay with that? Why not change? Comfort?
- mcnamaratw 7y agoWhy not change? It's a good question. Learning about GA is an investment, getting it coded up and tested is an investment, and the obscurity of GA is going to make the code almost encrypted to people who aren't fairly mathy. Although quaternions are definitely crazier than GA, the sad fact is they're much more popular. There's some return on all that investment. It might pay off or it might not. I think it's a design decision.
- Certhas 7y agoThat's not correct. Mathematically as they describe the same thing they have to be translatable into each other. But one is a natural mathematical definition, the other exploits a completely unintuitive incidental mathematical isomorphism. If you would read a few sentences on from where you quote, this becomes evident. ij = k is arbitrary, needs to be memorized and just happens to do what you want for reasons that require a lot of working out. (xy)(yz)=x(yy)z=xz On the other hand requires zero memorization.
- ColinWright 7y ago> ij = k is arbitrary, ... It's probably my mathematical background speaking, but I find this far from arbitrary. Quaternions don't spring from nothing. It seems to me that (xy)(yz)=x(yy)z=xz needs just as much justification and memorisation ... why should y^2=1? I guess my point is this. If people put in as much effort to understand quaternions as has been expended in this article, then quaternions would probably be just as easy to grasp and the system being described.
- bonzini 7y agoBut they wouldn't extend to 4D. You can treat complex numbers as 2D rotors (a 2D rotor is cos alpha + xy sin alpha, so xy can be replaced with i) and quaternions as 3D rotors. But if you build Cayley numbers from quaternions they don't have the same geometric meaning as 4D rotors.
- wbhart 7y agoy^2 = 1 because it is the sum of the dot product (1) and the outer product (0). The latter is because the parallelogram between y and y has zero area. The former is just the length of the vector y. Some memorisation is required, but it is in terms of things that are easily visualised.
- bonzini 7y agoBut why would the area be expressed as a length? This always struck me as a coincidence, and having read on bivectors it just makes sense that it would be (because a vector represents a distance on a line, a bivector represents an area on plane, a trivector represents a volume on a 3D space and so on).
- zupatol 7y agoI haven't read that particular article, but from other sources I've read quaternions appear to be mysterious/magical even to people who know them, while the rotors have a very concrete geometrical interpretation in geometric algebra. Geometric algebra also addresses much more than just rotating stuff, it's just that when you want to do rotations it leads naturally to something very similar to quaternions.
- xg15 7y agoYour opinionated summary implies that both concepts are equally hard to understand, but the whole point of the author is that rotors are potentially a lot easier to understand and reason about than quaternions. He also gives a concrete reason: For 3D objects, rotors operate fully in 3D, whereas quaternions are in 4D. This means you can visualize rotors and imagine "how they work" whereas with quaternions, you have to more or less blindly trust the formulas.
- ptero 7y ago> rotors operate fully in 3D, whereas quaternions are in 4D. This means you can visualize rotors ... whereas with quaternions, you have to ... trust the formulas. This is a bit of a stretch -- by the same logic any operation on more than three numbers means I have to trust the formulas. We have many methods to understand, visualize, develop intuition, etc. in such cases, such as "fix a, look at what happens when you vary b, c and d". When I am working to understand dynamics of an object with three variables in MATLAB or similar, I seldom (probably never) plot it in 3D (which gets projected on the surface of a flat monitor anyway). Instead I usually play with numerous 2D and even 1D plots. My 2c.
- mlatu 7y ago> rotors operate fully in 3D By this, the author means: you can visualize a rotor FULLY in 3D, no extra dimension neccessary. I suspect you never have tried to think about how quaternions work mechanically, I suggest this neat video: https://www.youtube.com/watch?v=d4EgbgTm0Bg https://www.youtube.com/watch?v=d4EgbgTm0Bg
- ptero 7y agoThank you for the link, very cool video! I do get the theory part -- I know how quaternions and rotors work (and have a PhD in "pure" math). My objection (and a pretty firm one) is with the "if a phenomenon has more than three variables we cannot visualize it" logic. While lower dimensions make things a little easier to understand and develop an intuition for, a convenient abstraction or a model is much more important. Most engineers work with things described by multiple variables all the time and "reduce dimension to three" is seldom the main goal. If the claim is that rotor is a better model, more convenient for software engineering, we can examine (and debate) that. But we should not recommend switching just because it has one less variable. For someone with an algebraic rather than geometric view, the ability to multiply quaternions on a piece of paper may be a strong benefit. Double-checking, say the result (1+i)*(j-k) by hand takes 10 seconds and a piece of paper; try mentally computing the rotor composition -- you would probably fall back on algebra (I certainly would).
- onedognight 7y agoYes, you have that right. The underlying operations are the same. What you are missing is that the ideas from geometric algebra work in any dimension! Quaternions are a “trick” that only works in 3D. You can write down Maxwell’s equations using the geometric algebra easily, and it will make them better! They will be obviously coordinate independent. Pretty much anything with a cross product will be better written using geometric algebra.
- solinent 7y agoThe exterior/wedge product is actually very closely related to the cross product, and works to generalize the cross product to n dimensions. You can read Spivak or Munkres, "Calculus on Manifolds" and "Analysis on Manifolds" respectively. One of their main uses is to prove the generalized Stokes theorem in n dimensions. 3D rotors are isomorphic to quaternions, so go ahead and rename your variables :).
- msla 7y ago> The exterior/wedge product is actually very closely related to the cross product, and works to generalize the cross product to n dimensions. So, to be as opinionated as the g'parent comment: The cross product is a hack which only works in certain dimensionalities, whereas the wedge product is the underlying idea, which works in all circumstances. To be less opinionated: The cross product is inconvenient because what it gives you aren't the "usual" vectors, they're axial vectors, which behave differently under mirror reflection than all of your other vectors do.
- solinent 7y agoThis is incorrect, if you read Spivak, you can define and (n-1)-ary product which generalizes the cross product. You give it (n-1) vectors and it gives you a vector orthogonal to all of them. Whether you call it the cross product or not is just semantics, but it does exist in terms of the exterior product. It's difficult to find online, but it's constructed directly in Spivak. A quote: "It is uncommon in mathematics to have a "product" that depends on more than two factors. In the case of two vectors v,w in R^3, we obtain a more conventional looking product, v X w in R^3. For this reason it is sometimes maintained that the cross product. can be defined only on R^3" - Calculus on Manifolds, pg.84 Most graduate students read this (or did five years ago).
- LanceH 7y agoThe best 3d location/vector method I've used allowed rotations using normal x,y,z coordinates, but you could do rotate an object in the xyz of the engine itself, the object, or the object that object was currently attached to. This made things like shooting a lob from a forward facing gun easy, since you could raise the shot from the gun rather than the world and no quaternions were involved. I don't know if quaternions were used underneath.
- gugagore 7y agoI don't understand what you mean, but I think you're describing exponential coordinates, or said another way, choosing an angular velocity and getting a rotation by following that angular velocity for a unit of time. https://en.m.wikipedia.org/wiki/Rotation_formalisms_in_three_dimensions https://en.m.wikipedia.org/wiki/Rotation_formalisms_in_three...