Understanding Quaternions
3dgep.com
3dgep.com
I think the modern approach is much clearer - the geometric ideas appear more directly, and the algebra is far less messy.
Can you show us an example?
[1]https://www.amazon.com/Naive-Theory-Undergraduate-Texts-Math...
I’ve learned about plenty of mathematical concepts while having no idea who discovered them or under what circumstances. Why are quaternions the exception?
- quaternions maybe have a more interesting backstory than other constructs. Not everything was carved into stone.
- quaternions never really became part of mainstream mathematical education. This makes them more niche and strange, and worth telling a story about. It's not as interesting to tell a story about something commonplace.
His life should be a movie. :-)
Most introductions to Galois theory that I've read have mentioned his duel.
But for quaternions, it was easy: I actually cited the Brougham Bridge inscription. One cannot, of course, check the bridge out of the engineering library to check the citation, but clearly this was the original “publication” of quaternion multiplication.
My advisor finally got the point.
You'd think, but I had a professor in physics who learned German just so he could read Boltzmann's original works.
it is now..but it’s still good to know for reviewing the older work.
reading the masters, is never a waste.
https://en.m.wikipedia.org/wiki/List_of_things_named_after_L...
I don't necessarily think the story accomplishes this -- your question is but one piece of evidence that it doesn't -- but I think for those who spend a good amount of time with these kinds of algebra questions, it comes to take on that role, and that's why I think it's repeated.
(Teaser -- if you want to know more about these kinds of questions, Google for "real division algebras". There are not very many, and they way they are organized is not, I think, something one would expect.)
What does that mean? My understanding was that Hamilton was searching for a way to make the manipulation of points in space easier, such as rotation, and noticed that the imaginary part of the complex numbers could be manipulated in the way he wanted. He then created a rather artificial tool in the form of the quaternions that allowed this.
Anyway, it's pretty easy to make up some multiplication on 3D vectors, like multiplying their components. However, in general, it won't play nicely with such arbitrary 2D slices. As it turns out, this slicing property is equivalent to having multiplication play nicely with vector norms:
|ab| = |a| |b|.
that is, multiplication of vectors multiplies their lengths. Getting a multiplication with this property is the hard part, per se, and is only possible in dimensions 1, 2, 4, and 8.The discovery of complex numbers and quaternions probably played a big part in getting people to question what math is, leading to Hilbert's program to study Foundations etc. Hamilton's story is a nice, rare single instance we can point to, symbolizing this discovery.
Does a proof exist that these are the only three of such objects?
Here’s a cool example http://www.chinedufn.com/dual-quaternion-shader-explained/
https://news.ycombinator.com/item?id=7364442
Those who like to have a print version:
https://github.com/frankMilde/interesting-reads/blob/master/...
[0]: https://www.haroldserrano.com/blog/best-books-to-develop-a-g...
[1]: https://www.amazon.com/Quaternions-Computer-Graphics-John-Vi...
In particular, it feels a bit like a waste of coding space to always use unit ones.
0° -> 90° -> 180° -> 270° -> X
and you want to return to the original state. Well, you can do that either by continuing to rotate in the same direction, corresponding to X=360° or by going back along the path you came corresponding to X=0°. These alternatives are unrepresentable in a single cover. (For angles you also have X=-360°, 720°, etc. corresponding to making any number of revolutions in either direction before coming to rest at the desired target, which if you think is weird makes quaternions an even better chart on SO(3) than angles are on SO(2)).Of course, the same problem exists for angles in SO(2), and from what I've seen people usually deal with that by using the [sin, cos] pair instead.
https://en.wikipedia.org/wiki/Gimbal_lock
Because matrix multiplication is not commutative, you can't easily compose a matrix representing rotation around an arbitrary axis from "component rotation matrices".
With quaternions/clifford algebras, you can say "here's the vector I want to rotate about and here's this is how much I want to rotate", and it just magically works.
Normally in 3d space you will have to construct quaternions for rotations along yaw, pitch and roll, and then take their product to get the quaternion of the orientation of the rigid body.
That is, when using quaternions to describe orientations,we are actually describing the rotations done to bring the body from its default orientation to its present orientation.
Is this not just using Euler angles via quaternions? If I understand correctly, tracking rotation via yaw, pitch, and roll will still run into issues of gimbal lock because it's the same parameterization just using quaternions.
https://en.wikipedia.org/wiki/Rotation_matrix#Rotation_matri...
I guess it doesn't matter if you're doing everything on the computer, but it's pretty cool that with quarternions you can immediately see the composite rotation's axis and angle without any extra work!
Gimbal lock is no problem of rotation matrices but of euler angles. Just look up the wikipedia page you posted: "The problem of gimbal lock appears when one uses Euler angles in applied mathematics"
You can represent any (any!) rotation with rotation matrices.
Quaternions are neither commutative. Fortunately you don't need commutativity to build up arbitrary rotations.
http://paulbourke.net/fractals/quatjulia/
Apparently there's also an application in multiantenna radio transmission: http://www.ece.ualberta.ca/~hcdc/Library/StCommClass/Hugh00....
https://en.m.wikipedia.org/wiki/Plate_trick
you can read about some simple rotating systems that, in some sense, end up reversed after a 360 degree rotation amd require another 360 to turn fully around. The article above has a nifty gif of this.
Formally, this kind of thing is studied using what are called spinors and gets used a lot in quantum mechanics and friends when talking about quantum spin. Behind the scenes these are described using things called spinors.
As it turns out, quaternions (and octonions) are capable of describing such things while simple rotations of any kind are insufficient. There are deep connections between spinors of different dimensions and the quaternions/octonions. For those interested, the term here is "Bott periodicity".
And here’s the in-depth stuff:
Geometric Algebra for Computer Science: http://www.geometricalgebra.net
Modern Robotics by Lynch and Park Chapters 3 and 4
pre-preprint of book / more info available here http://hades.mech.northwestern.edu/index.php/Modern_Robotics
I just don't get what you were going for with "use Lie groups instead". Everything here appears to already be a Lie group. How am I supposed to use that?
In fact this is probably the only reason to use dual quaternions at all.
Dual quaternions only add a cheap way of blending several rigid transformations together, which is useful in computer graphics for skinning meshes around articulated rigid bodies.
Go to wiki/quaternions. scroll down to about 2/3rds of the way ;)