News for hackers. Stuff that matters.
Re:How Quaternions encode rotations: derivation and sample code by blux on Wednesday September 07, 2016 @08:01AM (#12442575)
Some years ago Wildberger gave some excellent lectures explaining quaternions using rational geometry, which, if I am not mistaken, is related to Clifford algebra in the way it is presented.

Lectures start out by explaining the relation between complex numbers and rotations in the 2D plane, then discuss rotations in 3D using quaternions.

https://www.youtube.com/watch?v=uRKZnFAR7yw

https://www.youtube.com/watch?v=0_XoZc-A1HU

https://www.youtube.com/watch?v=g22jAtg3QAk

https://www.youtube.com/watch?v=MkNfQtINEjo

Re:How Quaternions encode rotations: derivation and sample code by imglorp on Wednesday September 07, 2016 @08:44AM (#12442880)
I've noticed Wildberger getting some grief about some of his unconventional ideas. I very much enjoy his lecture style, but as a layperson I'm never sure when he's straying away from accepted areas into controversial ones. Any feedback there?
Re:How Quaternions encode rotations: derivation and sample code by llamaz on Wednesday September 07, 2016 @10:18AM (#12443574)
The general consensus is that his videos are very good. It's just his insistence that the real numbers shouldn't be used that is not accepted. Some mathematicians (1% of 1% of mathematicians) agree with him, most don't.

edit: Doing math without the real numbers is less elegant and harder, but it's philosophically more sound. It essentially means restricting yourself to math that can be described as a (possibly infinite) algorithm.

The lay person is more likely to agree with what Wildberger has to say than a mathematician. In fact, most people think that infinity in math is a process (potential infinity). But in math, we use absolute infinity. A completed infinity. 0.999... does not tend to 1, it _is_ 1. Infinity is completed.

Re:How Quaternions encode rotations: derivation and sample code by blux on Wednesday September 07, 2016 @10:34AM (#12443708)
> It essentially means restricting yourself to math that can be described as a (possibly infinite) algorithm.

I'm confused. My impression is that it is the other way around where irrational numbers and operations like sine, square root etc. are infinite 'algorithms'?

Re:How Quaternions encode rotations: derivation and sample code by empath75 on Wednesday September 07, 2016 @01:14PM (#12445188)
Yeah, but there's a difference between saying there exists in reality some exact value for the square root of 2, and saying that it's possible to calculate the square root of 2 to arbitrary precision.
Re:How Quaternions encode rotations: derivation and sample code by blux on Wednesday September 07, 2016 @09:44AM (#12443286)
Yes, he sure is controversial. He does not acknowledge the existence of irrational numbers for example. In his lectures he avoids the use of any transcendental functions for the same reason, so no square roots, sine, or cosine.

I'm no mathematician, so I'm not qualified to comment on this either. Would love to hear other opinions on this too.

My personal opinion on this is that his rational approach does produce beautiful math, in the sense that it is really simple and intuitive.

Re:How Quaternions encode rotations: derivation and sample code by nabla9 on Wednesday September 07, 2016 @10:25AM (#12443626)
>the existence of irrational numbers for example.

I think most of cases of "non acknowledging" are deeply personal aesthetic considerations. One likes to play with one set of objects and only with them.

In the widest sense existence in mathematics means that mathematical object is well-defined and the system used is consistent (you can't derive contradictions).

Of course mathematicians are free do limit themselves into any subset of axioms or concepts they feel is "natural" or "real" and work only with them. But if they make philosophical arguments against other using irrational numbers, axiom of choice etc. I think they should argue that they are not consistent or well defined.

Re:How Quaternions encode rotations: derivation and sample code by jcranmer on Wednesday September 07, 2016 @11:51AM (#12444382)
> In his lectures he avoids the use of any transcendental functions for the same reason, so no square roots, sine, or cosine.

Square roots are algebraic, not transcendental.