173 points · by nsoonhui · 1y ago · 137 comments
It would be mind-blowing if either of them were rational numbers, yet it's very hard to prove either way.
e^(i theta) = cos theta + i sin theta
That formula gives infinitely many trivial relationships like this due to the symmetry of the unit circle
e^(i 2 pi) = 1
e^(3i/2pi)/i=1
e^(5i/2pi)/i=-1
e^(i 2n pi) = 1 for all n in Z ...
etc
In a similar vein, Ramanujan famously proved that e^(sqrt(67) pi) is an integer.
And obviously exp(i pi) is an integer as well, but that's less fun.
(Note: only one of the above claims is correct)
Edit: looks like I swallowed the bait, hook like and sinker
Even moving from addition and multiplication to exponentials won’t save you: there are irrational numbers to irrational powers that are raational.
In other words: any irrational at all
Otherwise, supposing for instance that (n/m)x is rational for integers n, m, both non-zero, and irrational x, we can express (n/m)x as a ratio of two integers p, q, q non-zero: (n/m)x = p/q if and only if x = (mp)/(qn). Since integers are closed under multiplication, x is rational, against supposition; thus by contradiction (n/m)x is irrational for any rational r = (n/m), with integers n, m both non-zero. Similarly for the case of addition.
irrational number + irrational number could be rational or irrational.
5 - sqrt(2) is irrational
sqrt(2) is irrational
Add them up you get 5, which is rational
[1] If it were rational, you will be able to construct a rational representation of the irrational number using this equation.
⸻
1. For p,q∊ℚ, let p=a/b, q=c/d, a,b,c,d∊ℤ, then p+q=(ad+bc)/bd, but the products and sums of integers are integers, so p+q∊ℚ
when x is an irrational number > 1:
"x - floor(x)" is just the fractional part of x, so it's an irrational number which is not equal to x.
Subtracting the fractional part from the original leaves only the integer part, which is obviously rational.
Which is pretty insane because these two numbers are not supposed to be related
Not really, there is Euler's identity: https://en.m.wikipedia.org/wiki/Euler%27s_identity
Says who? They’re not known to be related in that way, but it’s not like nature set out to prevent such a thing, or that large parts of mathematics would break down if it happened to be the case.
And not particular to e and pi. More generally, at least one of a+b and a*b must be irrational, if an and b are transcendental.
He is the co-creator of PARI/GP, the algorithmic number theoretic C library that I used for my thesis (https://pari.math.u-bordeaux.fr/) as well as four books in Springer's Graduate Texts in Mathematics (GTM 138, 193, 239 and 240 - most mathematicians achieve fame with just one book in this series).
This makes me think of Ramanujan's notebooks. And based on my limited interaction with professional mathematicians, I think there is something to this - some hidden brain circuitry whereby mathematicians can access mathematical truths in some way based on their "beauty", without going through anything resembling rigorous intermediate steps. The metaphor that comes to my sci-fi-fed mind is that something in their brains allows them to "travel via hyperspace".
And this then makes me think of GenAI - recent progress has been quite interesting, with models like o1 and o3 at times making silly mistakes, and at other times making incredible leaps - could it be that AI's are able to access this "garden" too? Or does there remain something that we humans have access to, while AIs do not?
https://terrytao.wordpress.com/career-advice/theres-more-to-...
https://www.quantamagazine.org/mathematical-thinking-isnt-wh...
when somebody learns enough letters of "the mathematical alphabet of concepts" one begins to perceive a sort of "meaning", the mathematical realm i.e. the "garden"
This property of the minimum distance between two rational numbers is what the ruler function* relies on to be continuous at all irrational numbers while being discontinuous at all rationals.
* When x is irrational, f(x) = 0; otherwise, when p and q are integers, f(p/q) = gcd(p,q)/q. Note that this leaves f(0) undefined, which is fine for the result of being discontinuous at rationals. You could define f(0) to be any value other than 0. The function is traditionally defined over the open interval (0, 1), which avoids the issue.
This same problem will occur everywhere negative, though. I wasn't thinking about it; I was just being sloppy.
Thank you Quanta and thank you science writers all over the world for making science more accessible!
From the article: Even though the numbers that feature in mathematics research are, by definition, not random, mathematicians believe most of them should be irrational too.
So is there some kind of validation happening where we are meant to be suspicious of numbers that aren't irrational?
Despite it being relatively common knowledge nowadays that pi is irrational, we've only proven that pi is irrational in the past 300 years or so. And the proof is not simple (at least to me)
As the article states, we didn't have a general purpose "plug this number in and it'll spit out whether the number is rational or not" formula. The irrationality proofs that we do have tend to bespoke to the structure of the number itself. That's why this research is exciting.
Like stated in the articles, many "interesting" constants appearing in mathematics feels like obviously irrational. However, proofs that they are irrational have been eluding mathematicians for centuries.
This contrast is seen as a sign that we may be just missing the right mathematical insights. And if we find this insight, we might be able to adapt it to unlock other open problems in mathematics (or computer science?).
This is one of these cases where the path (the new proof framework) is expected to be much more interesting than the initial destination (the fact that yes the Euler constant is irrational, of course).
Beyond direct application, knowing a number is irrational can be a form of validation for theoretical modelling. If a number arising in a model turns out to be rational, it could mean an unexpected simplicity or symmetry, which is worth exploring further. Conversely, irrationality is often expected in complex systems and may confirm the soundness of a mathematical construct or physical model. I guess a good example of that is the relationship of light spectra and Planks constant.
I'm not aware of any widespread real-world PRNGs constructed this way because they're less efficient than traditional PRNGs. It's mostly a mathematical trick to be used in proofs and thought experiments.
I suspect they're referring to the more common practice of taking the first N digits of a well known number like Pi or e that happens to be irrational as a magic constant of known provenance. 1245678 is another common one though, which obviously isn't irrational.
Irrational numbers, in practice, cause lack of precision. So, for example, if you draw a square 1m x 1m, its diagonal isn't sqrt(2)m. It's some rational number because that square is made of some discrete elements that you can count, and so is its diagonal. But, upfront, you won't be able to tell what exactly that number is going to be.
Another way to look at what irrational numbers are is to say that they sort of don't really exist, they are like limits, or some ideals that cannot be reached because you'd need to spend infinity to reach that exact number when counting, measuring etc.
So, again, from a practical point of view, and especially in fields that like to measure things or build precise things, you want numbers to be rational, and, preferably with "small" denominators. On the other hand, irrational numbers give rise to all sorts of bizarre properties because they aren't usually considered as a point on a number line, but more of a process that describes some interesting behavior, sequences, infinite sums, recurrences etc. So, in practical terms, you aren't interested in the number itself, but rather in the process through which it is obtained.
* * *
Also, worth noting that there's a larger group that includes rationals, the algebraic numbers, which also includes some irrational numbers (eg. sqrt(2) is algebraic, but not rational). Algebraic numbers are numbers that can be expressed as roots of quadratic or higher (but finite) power equations.
These, perhaps, capture more of the "useful" numbers that we operate on in everyday life in terms of measuring or counting things. And the practical use of these numbers is that they can be "compactly" written / stored, so it's easy to operate on them and they have all kinds of desirable mathematical properties like all kinds of closures etc.
Algebraic numbers are also useful because any computable function has a polynomial that coincides with it at every point. Which means that with these numbers you can, in principle, model every algorithm imaginable. That seems pretty valuable :)
There is nothing more special about sqrt(2) than about 1, nor about a perfectly 90° angle versus a perfect circle. All of our drawings and constructions are approximations, but that doesn't make them naturally be integers or rationals any more than they are irrational.
In other words, it would be just as accurate to say that the sides of the physical square are not 1, but x*pi for a pretty small x (that is, they are ever so slightly curved) as it would be to say that the circle's circumference isn't really 2*pi, it's actually some rational number, because the square is actually some very very many sided polyhedron.
Even if we look at this from a purely physical perspective, elementary particles travel in perfectly straight lines and radiate in perfect circles in our models. And the directions of movement after a collision are not quantized, they can be arbitrary angles (just as space is not quantized, and in fact not even quantizable, in QM). And if you tried to look at a physical object and count the atoms to determine its length, you'd quickly find that it doesn't even have a constant number of atoms or a constant length, so in fact the least real concept is "an object of x meters in length", regardless of whether x is natural, rational, or irrational.
> There is nothing more special about sqrt(2) than about 1
That fact that you don't understand what's special about it doesn't mean there isn't. It's a very different thing though.
> All of our drawings and constructions are approximations
Drawings: yes. Constructions: no.
> but that doesn't make them naturally be integers or rationals any more than they are irrational.
Here you've ventured into the territory you have no idea about... I'm sorry. You sound more like some LLM-generated gibberish here than anything a human with any expertise on the subject would write. Of course some things are naturally integers. We've invented integers to capture those things (in the physical universe). Similarly, rationals. There's nothing in the physical universe that's irrational in the same way how it can be an integer or a rational. Irrational numbers don't describe quantities or passage of time or forces acting on physical objects or the speed etc. because all those things are made up of small indivisible parts, and there's always a finite computable answer to how big something is, how long a process would take, how strong is the force applied to an object etc.
Irrational numbers are a mathematical device to deal with different kinds of problems. Similar to how generating functions use "+" to mean a completely different thing from how it's used in algebra, or how it's used in regular languages, so are irrational called "numbers". But they aren't the same kind of thing as integers or rationals. To be honest, it would've been better not to call them "numbers" at all, to avoid this kind of confusion, but mathematics has a lot of old and bad terminology that's used due to tradition.
> elementary particles travel in perfectly straight lines and radiate in perfect circles in our models
The root of your problem in understanding this is: our models. Particles don't radiate in perfect circles in reality. Physical reality is discrete and cannot create perfect circles. You can imagine, however, a perfect circle and use it to a great effect to estimate the result of some physical process. But, if you truly measure the effect, you will never have an irrational number. There's no physical process of measuring anything that will end up with an irrational answer. That's simply impossible.
Depending on your definition of "existence", rational numbers (or any numbers) don't exist either.
To me, this pretty much captures what people understand the numbers to be used for outside of college math (so no transfinite, cardinals etc.)
⸻
1. This result follows from the fact that |ℚ|/|ℝ| = 0.
One way to see this is to imagine a procedure for picking the number:
- Start with "0."
- Roll a D10 and append the digit.
- Repeat an infinite number of times.
- In the unlikely event that you wrote down a number that's not in standard format, like "0.1499999..." (which should instead be written "0.15"), toss it out and start again.
The digits of every rational number eventually repeat forever. For example, 1/7 is "0. 142857 142857 ...". So what's the probability that your sequence of rolls settles on a pattern and then repeats it forever, without once deviating in an infinite number of rolls? Pretty clearly zero.
If you like these, you may also like “Simplifying Complexity” (no relation to Quanta)
“ Two and a half millennia ago, the Pythagoreans held as a core belief that every number is the ratio of two whole numbers. They were shocked when a member of their school proved that the square root of 2 is not. Legend has it that as punishment, the offender was drowned.”
Not only is this story ahistorical, it is obviously wrong if you have developed the Pythagorean theorem.
A person who has been educated with intellectual richess, for example having been shown the proof of irrationality of sqrt(2), can similarily think this observation is obvious.
The Pythagoreans were a semi-secretive cult. It is not because you know a theorem that you automatically know all future proofs that apply this theorem as a step.
https://en.wikipedia.org/wiki/Hippasus
We don't know if it happened or didn't happen.
Of course we know it didn’t happen. The ancient stories of Hippasus don’t have anything to do with this libel. As is conveniently mentioned in the Wikipedia article you posted.
The Pythagoreans were absolutely incredible — and yet this is the only story people throw around. It’s just laziness.
So far so good. How does this lead you to the obvious conclusion that n is irrational?
(I’m familiar with the standard proof that it is, but that’s not something that just naturally falls out of this.)
> Of course we know it didn’t happen. The ancient stories of Hippasus don’t have anything to do with this libel. As is conveniently mentioned in the Wikipedia article you posted.
I reread it BEFORE posting my initial comment.
Can you point me to where ON THE WIKIPEDIA PAGE this story was conclusively debunked?
(These days the irrationality of sqrt(2) is obvious due to unique prime factorization, but the ancient Greeks didn't have that concept!)
As for the story, it’s apocryphal, not ahistorical, but even so, it was too good of a story not to tell my students when I taught Math for Liberal Arts Majors (the version I’d heard was that the proof was presented while the Pythagoreans were on a boat and they were so offended by the idea that √2 is irrational, they threw the guy off the boat. I would guess that of all the things I said in lectures for that class, this is the one that my students would be most likely to remember).
I’m having a hard time grasping this one. Feels like the coastline paradox on a straight line of a known length.
Are irrational numbers even on a number line? Isn’t it definitionally impossible to pick it as a “point along the line”?
Yes, e is between 2 and 3 and Pi is between 3 and 4. There are geometrical lengths corresponding to each number.
>Isn’t it definitionally impossible to pick it as a “point along the line”?
No, it's mathematically possible to have a random process which picks a random real between 0 and n, with equal probability. Imagine it akin to throwing a dart at a line and picking the point it lands on as the number. Since there are only countably many rationals and uncountably many irrationals (i.e. not just infinitely more, but so many that you could never pair off the rationals with the irrationals, there are just too many) on any such length of the real line, chances are the number you end up with is overwhelmingly likely to be irrational.
Wat?
If a thing is in my pocket, there's an above zero probability of me picking it when I randomly take a thing out of my pocket.
What are math people doing that's different?
It is possible to write a random process that returns 5 or pi with 50/50 odds so this isn’t a very compelling argument that it’s possible. I don’t feel the semantics of picking a random point along a number line is gg solved just by appealing to the existence of uncountably infinite irrationals.
By most people’s definitions of random points along the number line, including the dart throw, it seems to me the probability of getting an irrational is 0.
Invoking the number of possible outcomes has bad feeling implications. For example if your set is 1 2 3 pi 4, then the probability of getting an outcome in [3,4) is higher than [2,3) and that seems like it’s breaking the intuition of what the line represents. Like as a stupid example say we only include the irrational numbers between 9 and 10 and pick a random point between 1 and 10. If the random method uniformly sampled a point along the line by distance we would suggest a 90% chance of getting a rational number <= 9 and a 10% chance of getting an irrational number above 9.
But if we sample by naive odds you’d probably claim there’s a near 100% chance of getting an irrational number above 9 because there’s an uncountable infinity up there.
That seems dumb.
Sure, that's correct, but it isn't what people are talking about here.
> By most people’s definitions of random points along the number line, including the dart throw, it seems to me the probability of getting an irrational is 0.
That depends on the number line you're using. You can say that irrationals don't exist and you won't lose anything. But if your number line includes the reals, then the rationals form 0% of it.
> Invoking the number of possible outcomes has bad feeling implications.
That isn't how this is measured. You don't want to compare a count to an area. For probability, you need to compare like with like. A number line is one-dimensional, so we consider one-dimensional areas, or "lengths".
The interval from 0 to 50 has length 50. How much of that length is occupied by rationals, and how much by irrationals?
Each value is a point with no length. So, to measure the rationals, we assign to each rational point an interval that contains it. We will estimate the total length occupied by the rational numbers within the interval as being no greater than the total length of the intervals we put around each one.
Since there are only countably many rationals, we can use an infinite series with a finite sum to restrict our total-length-of-intervals to a finite amount. (Rational number one gets an interval 3 units wide. Rational number two gets one 0.3 units wide. Number three gets one 0.03 units wide. What do all these intervals add up to? Four thirds.) We can scale those intervals however we like. We will scale them down. If our first set of intervals had total length 20, we can multiply them all by 1/400 and now they'll have total length 1/20. The limit of this process is a total length of zero, which is our upper bound on how much of the length of our interval is occupied by rational numbers.
Since zero is also a lower bound on any length, we know that the total length of the interval occupied by rational numbers is exactly equal to 0. It is then easy to calculate the probability that a randomly chosen value from this interval will be rational: it is 0 (the amount of length occupied by rationals) over 50 (the total amount of length).
> Like as a stupid example say we only include the irrational numbers between 9 and 10 and pick a random point between 1 and 10. If the random method uniformly sampled a point along the line by distance we would suggest a 90% chance of getting a rational number <= 9 and a 10% chance of getting an irrational number above 9.
This seems to be just you being confused over the concept of a uniform distribution.