95 points · by KqAmJQ7 · 3y ago · 43 comments
> I became interested in rational trigonometry when I was working on a project to formally verify drone collision avoidance software. Because all calculations are purely algebraic, involving no transcendental functions, theorems are easier to prove. ...
> Another advantage is accuracy. Because a computer can carry out rational arithmetic exactly, rational trigonometry applied to rational points yields exact results. No need to be concerned about the complications of floating point numbers.
> A less obvious advantage is that the theory of rational trigonometry is independent of the underlying field
Personally I would have said manipulation of trig identities and such is also purely algebraic.
What sort of interesting results come out of using a non-real field here?
Just because I can do a Google Scholar query using "rational trigonometry" and find papers saying things like:
"Explicit tough Ramsey graphs" at https://arxiv.org/pdf/0807.2692.pdf . "We present here two new explicit constructions ... The first construction is based on a remarkable new approach of Wildberger to trigonometry and Euclidean geometry."
does not mean I am qualified to judge what is "interesting", or figure out which use non-real fields.
Sorry, I seem to have missed that part. The article just ends suddenly. It's an interesting idea, but what's the benefit?
E.g., one thing that seems not very compatible is complex numbers: I can't see how e^(i*alpha) would benefit.
So ... it's a specialized tool?
Any angle with a rational tangent or cotangent has some representation as a Gaussian rational (usually requiring a non-unit magnitude, though), and these angles are closed under addition and subtraction (corresponding to multiplying and dividing these Gaussian rationals). And given a Gaussian integer or rational, we can readily take its squared magnitude (a^2 + b^2) to get an integer or rational, and we can in the same way take the squared cosine or squared sine of its angle (a^2/(a^2 + b^2) or b^2/(a^2 + b^2)) to get a rational.
> You can work over the rational numbers, but you don’t need to. You could work over real or complex numbers, or even finite fields. Because you don’t take square roots, you can work over fields that don’t necessarily have square roots. If you’re working with integers modulo a prime, half of your numbers have no square root and the other half have two square roots. ...
> Why would you want to do geometry over finite fields? Finite fields are important in applications: error-correcting codes, cryptography, signal processing, combinatorics, etc. And by thinking of problems involving finite fields as geometry problems, you can carry your highly developed intuition for plane geometry into a less familiar setting.
"Orientation Modeling Using Quaternions and Rational Trigonometry" at https://www.mdpi.com/2075-1702/10/9/749 has an example of using it with complex numbers:
We can define the quadrance of z by:
Q(z) = z · z̅ = a² + b².
Spread: The spread can be defined in several ways ...
in a more general way, the spread can be specified
for any complex number by the next expression:
s(w) ≡ b² / a²
The paper includes the section "Rotations on the Plane" which may address your e^(i*alpha).RT boils down to doing trigonometry with dot products and without square roots. There's a temptation to replace dot products with ordinary trigonometry, but RT says don't do it because it's a step back.
https://www.youtube.com/@njwildberger
His Trig series:
https://www.youtube.com/watch?v=GGj399xIssQ&list=PL3C5849871...
His videos about multisets released in the last weeks have been super interesting. They seem like a very promising alternative to classical set theory that maybe could be used for some better type system.
For those familiar with "normal" (irrational?) trig, it's certainly an extra effort to learn, and may hinder communication, which gives a poor cost/benefit ratio.
For those unfamiliar with "normal" trig (e.g. not reaching that stage in school, or having later forgot it all), then rational trig certainly seems easier to learn and understand. I also like the way it generalises, e.g. to hyperbolic space (relativity), by simply changing the dot-product.
Sorry; what context was this in? UNSW maths department or some other social circle? I know I was anticipating lockdowns some time around then for exactly the same reasons as you list, but I assumed that all the mathematicians would have figured it out around the same moment.
What does this mean? What shaky philosophical foundations?
He highlights in some of his Youtube videos that in respected Math textbooks the definition of real numbers is left vauge.
In his opinion set theory has the same kind of holes the we are expected to accept that we can add an infinite quantity of things to a Set by describing a function or simply having a desciption of the elements of the Set.
Show HN: Simple pendulum simulation with rational trigonometry - https://news.ycombinator.com/item?id=12525068 - Sept 2016 (28 comments)
|P Q R|
|1 1 1| / 2
Rational trigonometry seems to me like it's just linear algebra, except it uses the squared sine instead of the cosine just to get a notion of angle that is 0 for parallel line. Lot's of linear algebra features are removed, but I'm not seeing much benefit from doing so.Likewise, we can take quadrance as primary; and, if we're so inclined, we can define distance as its square root.