114

An irrational number is a real number that cannot be expressed as a ratio of integers.

Is it possible to formulate a "positive" definition for irrational numbers?

A few examples:

  • An irrational number is a real number that can be expressed as...
  • An irrational number is a real number that can be expressed only as...

I cannot find any such definition which does not include the term irrational number to begin with.

Since not all irrational numbers are computable, I believe that the answer is No.

Any idea how to prove it formally?

Thanks

barak manos
  • 42,243
  • 8
  • 51
  • 127
  • 30
    For a proof of this kind of fact (if it were true), you'd need to define what counts as a "positive" definition. For example, clearly _"A real number $x$ is irrational if $\mathbb{Q} \cup \{x\} \neq \mathbb{Q}$."_ is not, because it just hides "is not rational" in the $\neq$. But how about _"A real number $x$ is irrational if $(\mathbb{Q} \cup \{x\}) \setminus \mathbb{Q} = \{x\}$"_? It says the same thing, but contains no negations, (except in the definition of the set difference $\setminus$). – JiK Sep 06 '16 at 09:00
  • 1
    @JiK: I agree that the definition of "positive" is somewhat vague. For instance, even the term *infinite* could be considered "negative" (i.e. **not** finite). It is also mentioned in a comment to one of the answers below. I am not so sure how it could be phrased mathematically. – barak manos Sep 06 '16 at 09:02
  • 30
    There are trivial one: an irrational is a real number $x$ such that for every rational $r$ we have $|x-r|>0$. – Carl Mummert Sep 06 '16 at 11:03
  • 1
    @CarlMummert: Nice! Though, it's a little bit like saying that an irrational is a real number $x$ which is not rational. – barak manos Sep 06 '16 at 11:08
  • 10
    Any statement that works will be equivalent to "$x$ is not rational", or the statement wouldn't be correct. The point seems to make a positive definition, but is the point to also make a *non-obvious* one? Note that $a > b$ is a positive statement about reals - it says that something *does* exist, namely a rational between $a$ and $b$. – Carl Mummert Sep 06 '16 at 11:48
  • I see most of the answers here refer to the infinite. Which I consider a bit of a cop out on the question. My hunch is that you are probably correct and that it's related to computability. – Bradley Thomas Sep 06 '16 at 14:02
  • @BradThomas: Thanks. You are correct with regards to *infinity*, I also realized that issue short after posting this question, but please see Robert Israel's comment (under his own answer, in reply to MathematicsStudent1122's comment). With regards to me being correct and that it's related to computability - well, it seems that I was actually wrong, as there are several "purely positive" definitions given in several answers below. – barak manos Sep 06 '16 at 15:00
  • 1
    @barak, Apart from Eric Schmidt's answer, I don't see any answer being positive. Even Eric's, I suspect may be non-positive in the sense that "there exists a rational number" implies a search over an infinite set – Bradley Thomas Sep 06 '16 at 15:54
  • @BradThomas: I tend to accept Robert Israel's argument that one can rename the term *infinite* to something "positive", and then use it in order to define the term *finite* as something "negative". So that makes both (rather similar) answers given by Robert Israel and Eric Wofsey valid in that sense. And in addition to Eric Schmidt's answer which you have mentioned, I think that Mariano Suárez-Álvarez's answer is "as positive as it can get". Barry Cipra's answer also seems to qualify under this restriction. So there is definitely more than one good answer IMO. – barak manos Sep 06 '16 at 16:11
  • Perhaps OP wants a method that can be used to construct any irrational number, and only an irrational number? – Superbest Sep 07 '16 at 06:49
  • This is a philosophy question, not a math question. – Carl Witthoft Sep 07 '16 at 17:54
  • @CarlWitthoft: Not according to the answers given below, as well as the amount of discussion involved. I think you can claim that it is **also** a philosophical question, but I don't think you can (rightfully) claim that it is not a mathematical question, as it is given in mathematical notation and reasoning. – barak manos Sep 07 '16 at 17:56
  • 3
    @barakmanos People love arguing, and they love puzzles involving twisting words around. Most of the answers are simply theorems about irrationals, not definitions. SInce the question is "how to state a definition without a 'not'," I stand by my position that this is not a math problem. – Carl Witthoft Sep 07 '16 at 17:59
  • @CarlWitthoft: Most of the answers? So do you see at least one answer that describes the set of irrationals in a purely "positive" manner? Doesn't that mean that the question has a mathematical answer, therefore "qualifies" as a mathematical question (even under your own restrictions)? By the way, if a theorem is true for all irrationals and only for irrationals, then I'd say that this theorem stands as a **definition** of irrationals ("twisting words" or not "twisting words")! – barak manos Sep 07 '16 at 18:02
  • 1
    Could you explain in your question what is a positive definition? Did you mean to say "constructive definition"? – Dmitry Grigoryev Sep 08 '16 at 15:05
  • @DmitryGrigoryev: I tried to explain it in the question by emphasizing the negation ("cannot") in the formal definition of irrationals, and then by giving a few examples of what I referred to as "positive definition". I guess that you could also call it "constructive definition". – barak manos Sep 08 '16 at 15:33
  • "Irrational" means "not rational", which is inherently a negative definition. Seems you're trying to describe something that is explicitly "not" something as "something", which seems either doomed to failure or... irrational? :P – Jeremy Holovacs Sep 09 '16 at 17:51
  • @JeremyHolovacs: That's what I thought (as you can read at the bottom of my question), but it turns out otherwise, according to several different answers below. – barak manos Sep 09 '16 at 19:45
  • @CarlMummert, I think your "trivial" definition is actually the best one here. Can you please post it as an answer so I can upvote it? – Wildcard Sep 09 '16 at 20:23

19 Answers19

143

An irrational number is a real number that can be expressed as an infinite simple continued fraction.

Robert Israel
  • 416,382
  • 24
  • 302
  • 603
  • 2
    Thank you. So I take it that rational numbers cannot be expressed as an infinite simple continued fraction? – barak manos Sep 06 '16 at 07:03
  • 1
    Correct. The simple continued fraction for rationals is finite. – Robert Israel Sep 06 '16 at 07:04
  • 43
    Infinite is by definition not finite. Is this really "positive"? – MathematicsStudent1122 Sep 06 '16 at 07:06
  • 98
    That's one definition. On the other hand, you could define an infinite set as [a set that can be put in one-to-one correspondence with a proper subset of it](http://mathworld.wolfram.com/InfiniteSet.html), and a finite set as one that is not infinite. – Robert Israel Sep 06 '16 at 07:17
  • 1
    @RobertIsrael: The continued fraction of $\sqrt{2}$ is $[1;2,2,2,\ldots].$ The set of integers involved here is only finite. I can't see a way of getting round this that doesn't just push the "negative" definition back a step, rather than actually remove it. – Will R Sep 06 '16 at 07:33
  • 1
    OK, so I'm still having a problem with those irrational numbers that are **not** computable. I guess that your definition covers those numbers using `infinite simple continued fraction whose sequence of integers is not computable` (i.e., "chaotic")... Am I right? – barak manos Sep 06 '16 at 08:30
  • 12
    @WillR: The continued fraction for $\sqrt2$ is infinite; there are an infinite number of terms in the continued fraction. The fact that the terms are chosen from a finite set is irrelevant. – robjohn Sep 06 '16 at 08:57
  • @robjohn: Eric Wofsey's answer has addressed my concern. – Will R Sep 06 '16 at 09:01
  • https://en.wikipedia.org/wiki/Continued_fraction#Infinite_continued_fractions agrees on the irrational definition. – Philip Oakley Sep 06 '16 at 14:12
  • 8
    @MathematicsStudent1122 “Infinite continued fraction” is an indivisible term, referring to certain objects involving sequences indexed by $\mathbb N$ (whence “infinite”) that represent real numbers by means of certain limits. It’s not that you would take a more general “continued fraction” and then *count* the size of some its parameter to find it is infinite. Finite and infinite continued fractions are just different (though of course related) kinds of objects. – Emil Jeřábek Sep 06 '16 at 14:18
  • 1
    @barakmanos Yes, the continued fraction for a non-computable irrational number would be non-computable. – Robert Israel Sep 06 '16 at 15:07
  • Well, then though somewhat philosophical, the question that still arises (when combining your answer with the comment above) is - how can a non-computable continued fraction be represented to begin with? Thanks. – barak manos Sep 06 '16 at 15:11
  • There are uncountably many real numbers (or continued fractions) and only countably many finite strings of characters, so any attempt to represent real numbers by finite strings of characters will fail for almost all real numbers. – Robert Israel Sep 06 '16 at 22:50
  • @RobertIsrael Mr Israel, do you teach any courses at UBC? I'd love to learn from you ;) – MathematicsStudent1122 Sep 06 '16 at 23:37
  • 6
    No, I'm emeritus. – Robert Israel Sep 07 '16 at 02:46
  • In a sense, I feel like your answer is an anagram on "An irrational number is a real number that **cannot** be expressed as a **finite** simple continued fraction", where the suffix of "cannot" was cut-pasted as the prefix of "infinite". Which is, to say, exactly what I have sought to avoid. So in a certain way, I am inclined to accept @Eric M. Schmidt's answer, though I suppose a similar argument could made on this one just as well (though possibly harder to formulate). – barak manos Sep 07 '16 at 14:45
  • That said, I do realize that my usage of the term *positive* is prone to this kind of logic, which is therefore inevitable on any given answer. In other words, I accept your argument in one of the comments above, according to which, one can rename the term infinite to something "positive", and then use it in order to define the term finite as something "negative". This leaves me with several **different but equally good** answers to my question. I therefore resort to the wisdom of the crowd in order to decide which one to accept, which happen to be yours. Thanks. – barak manos Sep 07 '16 at 14:45
  • (from @alkchf) S is a proper subset of P iff S is a subset of P and there exists x such that x is an element of P and x is *not* an element of S. So 'proper subset' kinda doesn't look 'positive'. – André LFS Bacci Sep 07 '16 at 15:17
  • @barakmanos: It's not at all obvious that the properties of being expressible as an infinite continued fraction and not being expressible as a finite continued fraction are equivalent. It's not as simple as shuffling the "not" around; it takes a good bit of math to prove. – user2357112 Sep 08 '16 at 22:24
  • 1
    @barakmanos The point about "infinite" meaning "not finite" is a good one, and indeed with the "not finite" characterization this definition is equivalent to the standard negative one. But this isn't just any infinite set, it's a **denumerable** set, which is a positive property. – Mario Carneiro Sep 09 '16 at 05:24
  • @barakmanos I would encourage you to take a look at [intuitionistic logic](https://en.wikipedia.org/wiki/Intuitionistic_logic), which clearly distinguishes the standard "negative" definition from almost all of the "positive" definitions on this page (while all of these are equivalent to each other), which makes it a great litmus test for this otherwise vague constraint. – Mario Carneiro Sep 09 '16 at 05:44
  • @DarrenRinger "No term may be ultimately defined without the use of negatives." This statement is patently false; there are a variety of interesting negation-free subsystems of classical logic, and you most certainly can define irrationality and infinitude without ever making use of $\lnot$ or $\bot$. – Mario Carneiro Sep 10 '16 at 00:19
  • 2
    @Robert Israel, doesn't the statement "an infinite set is a set that can be put in one-to-one correspondence with a proper subset of itself" relegate the "non-positivity" of the definition to the "proper" property of a subset? – g------ Sep 10 '16 at 20:58
  • @barak manos, I think the answer is upvoted because it is the most interesting of all the ones offered. But we don't yet have an answer as to whether definition of an infinite set as one which is in 1-1 correspondence with its proper subset is really "positive". It may subtly relegate the "non-positivity" of the definition to the "proper" property of a subset. – g------ Sep 29 '16 at 03:46
  • @g------ I agree with you that "proper subset" is hiding a negation, so it's not a fully satisfactory definition of infinite. But consider the following: injection is a positive property (since it has the form $\forall=\to=$), and being an inductive set is also positive (although you must be careful to not mention the empty set), for example $A$ is inductive if $\exists x,x\in A$ and $\forall x \in A,\exists y\in A,\forall z, z\in y\iff (z\in x\vee z = x)$. Then a set is (Dedekind-)infinite if it has an injection from an inductive set. – Mario Carneiro Jun 16 '17 at 11:27
77

A irrational number is a real number $x$ such that for any integer $q'$ there exists a rational number $p/q$ with $q > q'$ and

$$0 < \left|x - \frac pq \right| < \frac{1}{q^2}.$$

Eric M. Schmidt
  • 3,533
  • 2
  • 18
  • 31
  • 1
    Thank you. So I take it that no rational number can be expressed in this manner...? – barak manos Sep 06 '16 at 07:04
  • Yes, that is correct. – Eric M. Schmidt Sep 06 '16 at 07:05
  • See for instance a nice geometric interpretation here http://www.math.drexel.edu/~tolya/300_irrational.pdf – Laurent Duval Sep 06 '16 at 10:52
  • What's a rational number? – Hugh Sep 06 '16 at 11:15
  • 3
    The geometric argument there shows that irrational numbers *can* be that well approximated, not that rational ones *can't*. (Though the latter is also true.) – Gareth McCaughan Sep 06 '16 at 11:59
  • Does this define the entire set of irrationals? – Bradley Thomas Sep 06 '16 at 14:01
  • 2
    @BradThomas: I would also like to be sure that this covers the entire set of irrationals, and no real value outside of this set (i.e., no rational value). So I'm waiting for some more comments on it. I favor this answer in the fact that it does not make use of the term *infinite* (which is equivalent to "**not** finite"). – barak manos Sep 06 '16 at 15:03
  • 7
    The "not" in this definition is hiding in the symbols "$0<$", which translate to "greater than and **not** equal to zero". – Oscar Cunningham Sep 06 '16 at 17:49
  • 4
    @OscarCunningham If you like, we can remove the "$0 <$" and instead assert that $p$ and $q$ are coprime. (But there is no precise definition of a "positive" definition, anyway.) – Eric M. Schmidt Sep 06 '16 at 18:02
  • 4
    @OscarCunningham, by that token, you can't use any relation. $=$ is **not** greater than and **not** less than. – Paul Draper Sep 08 '16 at 17:59
  • If you're going to use "rational" in your definition, you may as well write "An irrational number is a real number x such that the set intersection of {x} and the rational numbers is the null set", or something. – M.M Sep 09 '16 at 03:36
  • 1
    @OscarCunningham In intuitionistic logic (where this positive/negative distinction is important), saying $0<|x|$ is not the same as $x\ne 0$; in fact it means $x\,\#\,0$ (read "$x$ is apart from $0$"), which means that $|x|\ge1/n$ for some $n$ (which is a positive property, explicitly bounding the distance from zero). – Mario Carneiro Sep 09 '16 at 05:27
68

If you want simple definition that's not based on Dirichlet's or Hurwitz's theorem, try this:

A real number $x$ is irrational if and only if for all positive integers $n$ there exists an integer $m$ such that $0\lt nx-m\lt1$.

The underlying theorem here is that for all real numbers $x$ and all positive integers $n$ there is a unique integer $m$ (namely, $m=\lfloor nx\rfloor$) such that $0\le nx-m\lt1$. If $0=nx-m$, then $x=m/n$ is rational, and vice versa.

Barry Cipra
  • 78,116
  • 7
  • 74
  • 151
47

You can give one such characterization using continued fractions. An irrational number is a real number that can be expressed as an infinite continued fraction $$a_0 + \cfrac{1}{a_1 + \cfrac{1}{a_2 + \cfrac{1}{a_3 + {_\ddots} }}}$$ for a sequence $(a_n)_{n\in\mathbb{N}}$ where $a_0\in\mathbb{Z}$ and $a_n\in\mathbb{Z}_+$ for all $n>0$. (In fact, the sequence $(a_n)$ is then unique, and this correspondence is actually a homeomorphism between the space of irrational numbers and the space of such sequences in the product topology.)

Eric Wofsey
  • 295,450
  • 24
  • 356
  • 562
  • 1
    Thank you. So I take it that rational numbers cannot be expressed as an infinite simple continued fraction? – barak manos Sep 06 '16 at 07:04
  • 7
    That's right. The proof is basically that you can prove by induction that the numbers $a_n$ are uniquely determined, but if you follow the process for uniquely determining them for a rational number, you are essentially performing the Euclidean algorithm which will terminate at some point and so you would get $a_n=0$. – Eric Wofsey Sep 06 '16 at 07:09
  • This answer is beautiful ^_^ – ABcDexter Sep 07 '16 at 07:41
  • This answer is wrong. The irrational numbers are uncountable, but the infinite continued fraction formula can only generate a countable number of different values, given all possible integer values for a0,a1 etc. So there must be some irrational numbers that the continued fraction cannot generate. – Adam Gawne-Cain Sep 09 '16 at 07:49
  • 12
    @AdamGawne-Cain: There are uncountably many infinite continued fractions, since there uncountably many different sequences $(a_n)_{n\in\mathbb{N}}$. – Eric Wofsey Sep 09 '16 at 07:50
  • I stand corrected. – Adam Gawne-Cain Sep 09 '16 at 07:51
30

In addition to Dirichlet's approximation theorem as given by @Eric M. Schmidt, you have Hurwitz's theorem, saying that an irrational number $\alpha$ is a real number such that there exist infinitely many relatively prime integers $p$, $q$ such that $$\displaystyle \left|\alpha -{\frac {p}{q}}\right|<{\frac {1}{{\sqrt {5}}\,q^{2}}}.$$

Here, $\sqrt {5}$ is the best possible constant. It is attained for instance by the irrational $\phi = \frac{1+\sqrt{5}}{2}$ (the golden mean or golden ratio). The reason is explained in Why is there a $\sqrt {5}$ for instance in Hurwitz's Theorem? See for instance Introduction to number theory, M. Klazar.

As a side note, what happens to mere rationals: if $\alpha = \frac{r}{s}$, ($r$ and $s$ relatively prime):

$$ \left| \frac{r}{s} - \frac{p}{q}\right| = \left| \frac{rq-ps}{sq} \right| \geq \frac{\left| \frac{q}{s}\right|}{q^2}$$

and

$$\frac{\left| \frac{q}{s}\right|}{q^2}> \frac{k}{q^2}$$ except for a finite number of $q$ such that $|q|\leq |ks|$. Nice graphic versions with circles of Hurwitz's theorem (and some more on fractions) can be found in Ford, Fractions, 1938, American Mathematical Monthly. You can check that out, for instance, at Ford circles:

Ford circles

Laurent Duval
  • 6,164
  • 1
  • 18
  • 47
  • 1
    Wow, I read about this "threshold" somewhere a few years ago, forgot where, and had no idea how find it. Thanks!!! – barak manos Sep 06 '16 at 11:10
  • 1
    Thank you for the extra information. As I mentioned, I was looking for it for quite some time, though I had no lead, except for the fact that I read it on Wikipedia (but couldn't remember under what search-criteria). Now I finally have that lead :) – barak manos Sep 06 '16 at 15:06
21

An irrational number is a number $c$ such that $\{cn \text{ mod } 1 \mid n \in \mathbb{N}\}$ is dense in $[0, 1]$.

More strongly, an irrational number is a number $c$ such that for every continuous function $f : [0, 1] \rightarrow \mathbb{R}$,

$$\lim_{N \rightarrow \infty} \frac{1}{N} \sum_{n=1}^N f(nc \text{ mod } 1) = \int_0^1 f \text{d}x.$$

Reinstate Monica
  • 4,983
  • 2
  • 19
  • 36
17

Some of the answers here are trying to define an irrational number via some of their non-obvious properties which are not shared by a rational number. This strikes me as quite counter-intuitive and perhaps not so helpful for a person trying to study about irrational numbers.

To give an analogy let's compare the following definitions of a prime number:

1) A natural number $p > 1$ is said to be prime if it can't be expressed as product $p = ab$ where $a, b$ are natural numbers greater than $1$. This one according to you is a negative definition.

2) A natural number $p > 1$ is said to be prime whenever $p \mid ab$ implies $p \mid a$ or $p \mid b$ where $a, b$ are natural numbers. This is a slightly complicated but positive definition.

3) A natural number $p > 1$ is said to be prime whenever $(p - 1)! + 1$ is divisible by $p$. This is again a very very complicated but positive definition.

Out of these I prefer the first definition because it is much much simpler than others and can be explained to a kid of 7-8 years who knows how to multiply small numbers. I have written a post on definitions which highlights other important qualities of a good definition but I don't see the positivity as a sufficiently desirable quality to trump simplicity.


Coming back to the definition of irrational number the simplest possible answer is that defining irrational numbers on the basis of existing knowledge of rational numbers is a reasonably hard problem which was solved only in 19th century by the likes of Cantor, Dedekind and Weierstrass. Some amount of simplicity can be achieved (at the cost of having difficult proofs for properties of irrational numbers) by defining irrational numbers as numbers with non-repeating non-terminating decimal representation.

But the really useful approach here is to define real numbers in terms of rationals (like a rational number is defined in terms of integers) and then define an irrational number as a real number which is not rational. This is the most frequently used definition in practice (say while proving that some particular number is irrational). The name irrational itself has negative connotation because of ir-prefix and hence it is somewhat natural to expect a definition with negative connotation. The real problem with this definition is not its negative connotation, but rather the fact that almost always whenever we encounter this definition, it is accompanied by a total lack of definition of "a real number" and in general this leads to a circularity in the definition game:

  • An irrational number is a real number which is not rational.
  • A real number is either a rational number or an irrational number.

And the blame for this circularity is entirely on textbook authors. It is better to be intellectually honest and say: Real numbers/irrational numbers are difficult to define in terms of rationals and henceforth we will take their existence for granted and assume some of their properties which are almost similar to rationals. You will study a proper definition when you have attained reasonable mathematical maturity. Unfortunately this attitude is very rare in textbooks authors and instead student is expected to be content with the circularity involved above.

Paramanand Singh
  • 79,254
  • 12
  • 118
  • 274
  • 3
    But the examples of defining a prime number negatively as *"a natural number $p \gt 1$ with no factors other than $1$ or $p$"* or positively as *"a natural number with exactly two factors"* may be closer to the question – Henry Sep 06 '16 at 12:58
  • @Henry: Agree. I should have used this definition. Thanks. – Paramanand Singh Sep 06 '16 at 19:40
  • @Henry I would say that "a prime number has no factors other than $1$ or $p$" is actually a positive property when you write it out: All factors of $p$ are equal to $1$ or $p$. – Mario Carneiro Sep 09 '16 at 05:37
  • For other people wondering about (3), see [Wilson's theorem](https://en.wikipedia.org/wiki/Wilson%27s_theorem). – Mark Hurd Sep 13 '16 at 07:11
14

Dirichlet's approximation theorem implies that irrational numbers are those that can be well-approximated by rational numbers, in a certain precise sense. Curiously, rational numbers cannot be approximated well by rational numbers.

Mariano Suárez-Álvarez
  • 126,294
  • 9
  • 223
  • 348
  • Thank you (got several **different** answers here, all interesting). – barak manos Sep 06 '16 at 07:05
  • Shouldn't this say "Curiously, rational numbers cannot be approximated well by *irrational* numbers?" – Alex Ortiz Sep 06 '16 at 17:44
  • 1
    @AOrtiz, no. In the certain precise sense that I mentioned, rational numbers cannot be approximated well by rational numbers. – Mariano Suárez-Álvarez Sep 06 '16 at 17:45
  • @MarianoSuárez-Álvarez I think that is worth mentioning because without qualification it does seem like a rather odd claim to make. – Alex Ortiz Sep 06 '16 at 17:50
  • But that is precisely what I wrote! My previous comment simply repeats what's in the answer. – Mariano Suárez-Álvarez Sep 06 '16 at 17:56
  • @barakmanos, actually, mine and Eric's both refer to the same result. :-) – Mariano Suárez-Álvarez Sep 06 '16 at 18:01
  • There are two Erics here, which one of them? :) – barak manos Sep 06 '16 at 18:21
  • 2
    The correct statement is that rational numbers cannot be well-approximated by *other* rational numbers. Under any definition of good approximation, rational numbers have better approximations than is possible for irrational numbers, by approximating $a/b$ by $na/nb$ for any nonzero $n$. – zyx Sep 06 '16 at 20:05
  • 1
    Well, no. The «certain precise sense» which I intentionally did not make explicit, trusting the googling powers of anyone interested, is certainly a good one and excludes that, simply because including it is not useful. – Mariano Suárez-Álvarez Sep 06 '16 at 23:11
  • 2
    The first result with any search engine is the Wikipedia page on rational approximation. The section of that page elaborating your observation is titled: "Approximation of a rational by **other** rationals". https://en.wikipedia.org/wiki/Diophantine_approximation#Approximation_of_a_rational_by_other_rationals – zyx Sep 07 '16 at 03:33
  • The concept of approximating a number by iitself is entirely devoid of interest. You are free to feel the need of including it in whatever meaning of approximation you work with, so as to be forced to exclude it every time you need to make a sensible statement. I, in the other hand, find it is as pointless as your comments here. – Mariano Suárez-Álvarez Sep 07 '16 at 05:08
  • All the standard "meanings of approximation" include the possibility of $x$ being approximated by itself, which is in fact necessary in order to have a useful definition. Apart from that technicality, it is substantially misleading to suggest that rational numbers are a worst-case for rational approximation. It is true for algebraic numbers of degree 2 but not for degree 1. Rational numbers are better-approximable than irrationals, under all definitions, but they have *fewer* reduced approximants. Even that is false unless you insist on reduced fractions in the approximations. – zyx Sep 07 '16 at 19:51
  • I suggest you write your own answer in which you use whatever meaning you want for all the words you use. I might read it, unlike your last comment. – Mariano Suárez-Álvarez Sep 07 '16 at 21:13
13

Whether a definition is positive or negative seems to be rather subjective and not significant to the elegance of a definition (as @ParamanandSingh pointed out). In fact you can formulate any idea positive as well as negative. Starting with your originally negative definition:

An irrational number is a real number that is not rational.

The Idea "real and not rational" can also be formulated positively:

An irrational number is a real number $x$ such that $\vert \{x\} \cup \mathbb Q \vert > \vert \mathbb Q \vert$

Or alternatively:

An irrational number is a real number $x$ such that $\forall q \in \mathbb Q: \vert x-q \vert > 0$

Which is of course the "positivised" formulation of:

An irrational number is a real number $x$ such that $\forall q \in \mathbb Q: x-q \neq 0$ or equivalently $\forall q \in \mathbb Q: x \neq q$

Generally speaking, we can always create a negative formulation from a positive one by negating its negation and a positive formulation from a negative by introducing new symbols. Since all correct definitions are logically equivalent, what is negative and what is positive is only a question of our language of describing things. (Looking forward to discussing this)

  • 1
    What if we define positive as meaning asserting something about a finite number of things. – Bradley Thomas Sep 06 '16 at 17:42
  • 2
    @BradThomas While I am thinking about this, could you define what a thing is? How about using a finite number of things that structurally contain infinitely many other things? E.g. how about a finite number of irrational numbers, which we could think of an infinite series of integers – MinecraftShamrock Sep 06 '16 at 17:47
  • 1
    @BradThomas The problem with this, however, is that we can't use irrationals as we're just defining them. To even generalize the question: Is $x \in M$ an assertion about a finite number of things if M is an infinite set? – MinecraftShamrock Sep 06 '16 at 17:50
  • 1
    Great points, probably worthy of their own question! – Bradley Thomas Sep 06 '16 at 18:16
  • 3
    What does the notation $\vert \{x\} \cup \mathbb Q \vert > \vert \mathbb Q \vert$ mean? – Jeppe Stig Nielsen Sep 09 '16 at 05:33
  • @JeppeStigNielsen I assume $|\cdot|$ means cardinality there, which of course renders that statement false, since $\{x\}\cup\mathbb{Q}$ is just as countable as $\mathbb{Q}$. – MickG Sep 10 '16 at 15:54
9

I think the fundamental distinction is not positive/negative, but that irrationals cannot be defined without quantifying over the set of rationals (or something equivalent to that, such as the set of all integers). They are of "higher type" than rationals.

More precisely, irrationality cannot (it seems) be defined without alternating at least two quantifiers, $\forall \exists$, while rationality can be defined with an $\exists$ quantifier, where the quantifiers range over integers.

It is similar, as is hinted at in the question, to the asymmetry of defining halting and non-halting Turing machines. One definition quantifies over inputs and the other has alternating quantification over inputs and computation times.

zyx
  • 34,340
  • 3
  • 43
  • 106
  • Not a direct answer to my question, but a very interesting one nevertheless. Thanks. – barak manos Sep 07 '16 at 04:37
  • Interestingly, this is also a litmus test for "positive" irrational definitions vs "negative" ones: negatively defined irrationals have complexity $\forall$, but positively defined irrationals have complexity $\forall\exists$. (The literal transcription of the negative irrational definition is $\forall m\in\Bbb Z,\forall n\in\Bbb N,m/n\ne\alpha$.) – Mario Carneiro Sep 09 '16 at 05:53
  • The negative definition hides one quantifier in " $\neq \alpha$". Maybe this is also true for some of the positive definitions. @MarioCarneiro – zyx Sep 09 '16 at 06:03
  • @zyx By $m/n\ne\alpha$ I mean no more or less than $m/n=\alpha\to\bot$; no further quantifiers are needed. (For the positive definitions involving $<$, I presume an apartness condition, which is an extra $\exists$ quantifier.) In set theory, at least, equality of objects is already at the foundation so you don't need to go further. – Mario Carneiro Sep 09 '16 at 06:09
  • I mean that real numbers are a "higher type" object in the same sense as irrationals are of higher type than rationals. If you build them out of integers then real number is $\forall \exists$ (the quantifiers that say a sequence of rationals converges) while rational is $\exists$. @MarioCarneiro – zyx Sep 09 '16 at 06:16
  • @zyx Something seems a bit strange about your statement, though, since the negation of an $\exists$ property is $\forall$. Perhaps you are comparing rational and irrationals on unequal footing, i.e. you are not talking about $\Bbb Q\subseteq\Bbb R$, but the "basic rationals" that appear in $\Bbb R=(\Bbb N\to\Bbb Q)/\sim$ or $\Bbb R\subseteq{\cal P}\Bbb Q$. How would you analyze the quantifiers of the predicate "the real number $x$ is rational"? – Mario Carneiro Sep 09 '16 at 06:19
  • Yes, I think that is correct. But let us say that R is an ordered field with a unary relation "is an integer". The Q is defined positively with $\exists$. The idea of "positive" definition only makes sense as intuitionistic definability, since in classical logic one can push negations inside the formula. Intuitionistically however the $\implies$ arrows raise the complexity so that the definition of irrational as $(\exists m/n) \implies \perp$ is (intuitionistically) one level higher than defining rational as $\exists m,n$. @MarioCarneiro – zyx Sep 09 '16 at 06:32
  • Actually you can still push the negation inside intuitionistically, i.e. you can write "not rational" also as $\forall mn,(m/n=\alpha\to\bot)$ which is equivalent to $(\exists mn,m/n=\alpha)\to\bot$. I don't know how arrows are intuitionistically counted in quantifier complexity but that is complexity $\forall$ by the classical count. – Mario Carneiro Sep 09 '16 at 07:02
  • The difference (other than how the formula complexity is counted) is that classically, pushing the negations inside often means that the negations can be removed, so the positive/negative distinction becomes subjective. @MarioCarneiro – zyx Sep 09 '16 at 07:21
8

An irrational number is one whose every representation in any base contains infinitely many digits.

Lynn
  • 202
  • 1
  • 4
8

There is a somewhat trivial answer:

An irrational number is a real number $x$ such that for every rational number $r$ we have $|x−r|>0$.

Of course, this is equivalent to $x$ being not rational - that is the goal, after all. However, I think the statement has no element that is obviously "negative".

This definition can be phrased in terms of positive knowledge: for each rational $r$, there is a pair of disjoint open intervals, one containing $x$ and one containing $r$. This is to say: $x$ is irrational if and only if it is 'separated' from each rational number.

Carl Mummert
  • 77,741
  • 10
  • 158
  • 292
  • Is "disjoint" a positive property? (Alternatively, you can phrase your "positive knowledge" as "for each rational $r$, there is a rational $s$ such that $xs>r$".) – Mario Carneiro Sep 10 '16 at 00:32
  • Yes - the latter is how the disjointness would be phrased in constructive settings. It is not about the lack of intersection so much as about the ability to examine the given endpoints to see that the intervals cannot overlap. For example, the intervals $(0,1)$ and $(2,3)$ cannot overlap based solely on their endpoints. – Carl Mummert Sep 10 '16 at 00:51
6

An irrational number is a real number in which every infinite contiguous subsequence of its decimal representation is unique.

Q the Platypus
  • 4,410
  • 15
  • 39
5

If you want a definition that starts with something like this,

An irrational number is a real number that ...

then first you have to define what a real number is.

It's possible to define the real numbers as Dedekind cuts, where by definition a Dedekind cut is a partition of the set of rational numbers, $\mathbb Q$, into an ordered pair of sets $(L,U)$ such that $L \cup U = \mathbb Q$, $\forall a, b: a \in L \land b \in U \implies a < b$, and $\forall a : a \in L \implies \exists b : b \in L \land a < b$. (The last condition is usually expressed, "$L$ has no largest element," but I am trying to avoid the word "no".)

If you have done all the steps to establish that it makes sense to say that every real number is a Dedekind cut, then an irrational number is a Dedekind cut $x = (L,U)$ such that $$\forall a : a \in U \implies \exists b : b \in U \land b < a. \tag1$$ If $x$ were rational, then $U$ would have a smallest element (namely, the element of $\mathbb Q$ corresponding to $x$) and condition $(1)$ would be false.

David K
  • 85,585
  • 7
  • 71
  • 188
  • using here Dedekind cuts is a little circular, no ? –  Sep 14 '16 at 13:13
  • @igael How so? It's one of the well-known ways to construct the real numbers. – David K Sep 14 '16 at 13:35
  • it is the complementary of something ( means a negative construction ) –  Sep 14 '16 at 15:48
  • @igael A Dedekind cut is a partition of $\mathbb Q$. Is every partition of a set a "negative" construction? (There is typically a "no largest element" condition in the definition, but I replaced that with what seemed to me a completely positive condition.) – David K Sep 14 '16 at 17:59
4

Just look at this algorithm which may gets you a continued fraction:

You start with a real number $\alpha_0$, then define $a_i$ recusively by $a_i=\frac{1 }{\alpha_{i-1} -n_i}$ where $n_i$ is the greatest integer strictly smaller than $\alpha_{i-1}$.

Now my claim is:

An irrational number is a real number that can be expressed as continued fraction fraction using this algorithm.

By expressed I mean $$ \limsup_i [n_1;n_2, \dots ,n_i]= \alpha_0 = \liminf_i [n_1;n_2, \dots ,n_i].$$

I used the axiomatic definition of the real numbers,(which to me is somehow positive) that is why I write the limit like this.

user60589
  • 2,505
  • 1
  • 11
  • 15
3

I think the notion of "positive" in this question indicates that a constructive definition is requested, as opposed to an existence proof. The unsatisfying part of the traditional definition is that given some particular value $x$, I cannot easily tell whether it's irrational or not. Furthermore, if I want to start enumerating the irrationals, the definition helps me not at all.

For this reason, I think that Eric Wofsey's answer is the only one which satisfies the spirit of the question. It both constructs instances of irrational numbers and offers a method for enumerating them!

From a computational perspective, all definitions require an infinite amount of work to verify the irrationality of $x$, due to the nature of irrational numbers to begin with. But with the continued fraction definition, one can compute increasingly longer approximations which get closer and closer to $x$, which are the convergents of $x$. With the other definitions, it is not clear how to proceed in a manner which increases one's confidence in the irrationality of $x$.

That is, if $x$ is actually rational, then there must be some $n$ at which the sequence equals $x$, and it should always be clear how to adjust the sequence to get closer to $x$. That's because increasing $a_i$ will always produce a bigger change than increasing $a_j$ when $i < j$. Therefore, searching for the sequence $a_0...a_n$ which is closest to $x$ should be linear in $n$.

Of course, this is hand-waving a bit, since this process requires a computer which can represent arbitrary reals to begin with, even though there can be no such thing. But the argument still works if we bound the representation by saying that we can only inspect the first $B$ digits of each value.

More importantly, for rational values of $x$, we know that computing the best rational approximation will terminate in finite time, and that this time is proportional to the "irrationality" of $x$, where I define "irrationality" to be the number of values $n$ in the continued fraction sequence which exactly equals $x$ (meaning, all successive values are 0). When $n = \infty$, $x$ is "completely irrational" or just "irrational". Of course, when $n = 0$, then $x$ is "completely rational", or "integer". When $n$ is small, $x$ is only "slightly irrational". ;)

On the other hand, it is not at all apparent to me how one could use Dirichlet's or Hurwitz's theorems to determine the rationality of $x$ in finite time, let alone an algorithm which is linear in the irrationality of $x$.

3

I think the spirit of "positive" in the original question is some way to test if a number is irrational in a finite time.

So assume(*) we have a computing engine (CE) that has all the language elements of C, common functions like floor and pow, but which can handle Real numbers with no loss of precision.

With this CE, can you write a function isIrrational(X) that gets the right answer in a finite time, and with a finite number of Real variables (i.e. infinite set of all rationals not allowed)? If not, can you prove that it is impossible with this CE?


(*) I expect this CE is impossible to implement with a Turing machine. But maybe it could be implemented by an analog computer in a non digital Universe, which could store the Real value as some continuous physical property.

  • 1
    There are no continuous physical properties in the quantum universe. "Every irrational has a decimal expansion that goes on forever." {No negatives; however, 'forever' may be 'im-possible'} – amI Sep 09 '16 at 20:20
  • 2
    The issue is that any computable function of real numbers will be continuous. This is because, in finite time, it can only examine its input up to some precision, which means that it will give the same answer for all other reals which agree up to that precision. But any continuous function from reals to naturals has to be continuous, by basic topology. So there is no nonempty proper subset of the reals that is decidable in finite time by a computer program. We cannot even compute whether an arbitrary real is equal to zero. This is a standard fact in a first course on computable analysis. – Carl Mummert Sep 10 '16 at 00:54
  • @CarlMummert: You're missing the point that he included **floor** which is **discontinuous**. In any case, this post does not answer the question, though it would make an interesting question on its own, I think. – user21820 Sep 16 '16 at 15:55
  • All of the "common" C functions with which I am familiar have a countable number of discontinuities, but the function you want to calculate (Dirichlet function) has an uncountable number. Since the calculation time is finite, it seems impossible that your CE machine could calculate that function (or any other function with an uncountable number of discontinuities). And no, I don't believe this is a proof. – Ron Kaminsky Jun 18 '21 at 20:46
2

This question is discussed in some detail on a different answer of mine: Are there real numbers that are neither rational nor irrational? See also What's an example of a number that is neither rational nor irrational?.

A small quote, with the actual definition:

Thus there is a measurable gap between the irrationality measures of rational and irrational numbers, and this yields an alternative "constructive" definition of irrational: let $x\in\Bbb I$, read "$x$ is irrational", if $|x-p/q|<q^{-2}$ has infinitely many coprime solutions.

Let me add, to forestall confusion about the word "infinite" in the above: I mean that the set of solutions is denumerable, which is to say that there is a function which takes each solution $(p,q)$ to another solution $(p',q')$ such that $(p,q)<(p',q')$ under some suitable total order (such as lexicographic order).

The definition is equivalent to Eric Schmidt's, but the extra comments about application to intuitionistic logic are worth a read if that is your interest.

Mario Carneiro
  • 26,030
  • 4
  • 59
  • 119
  • Side note: Perhaps the answer to that question is "no, there aren't any such numbers, but there are irrational numbers which cannot be expressed in any algorithm or formula, aka non-computable numbers" (which btw, I have also mentioned in my question here). I believe that the blue part in the diagram depicted in that other question was possibly meant by the author of the diagram to represent all the non-computable numbers. – barak manos Sep 20 '16 at 07:44
  • @barakmanos I assume it was just a bad drawing; somehow I doubt they had computability in mind. The idea is that the "constructive" definition gives the set of all *computable* irrational numbers when we assume that all functions in the definition (or $\forall\exists$ instantiations) are computable. If we relax this to *all* functions, we get the classical irrationals. The negative definition gives classical irrationals regardless of whether we interpret everything as computable or not. – Mario Carneiro Sep 20 '16 at 07:48
  • My initial concern here (in my question above) was that any "constructive" definition would not include the non-computable irrationals, hence no such definition was viable. But according to several answers here, there seem to be several different such definitions (although the term "constructive" is somewhat vague). Your definition here is indeed close to Eric Schmidt's definition, which is no arguably "constructive" (IMO). – barak manos Sep 20 '16 at 07:51
  • @barakmanos It is entirely dependent on how you choose to interpret the $\forall\exists$ statements. If you do it the normal (classical) way, then you will get all irrationals, including the noncomputable ones; however the function giving witnesses for this irrational will not be a computable function. (Classically, these are still functions, hence they are included in the set.) It is only when you use tricks like the [BHK interpretation](https://en.wikipedia.org/wiki/BHK_interpretation) that you get a separation of the +ve and -ve definitions, where the first only contains computable numbers. – Mario Carneiro Sep 20 '16 at 07:57
2

A real number $\alpha$ is irrational precisely when the equation $y=\alpha x$ has one solution in integers, namely $(0,0)$. The number $\alpha$ is rational if and only there are and infinite number of integral solutions. Here is the picture from C. D. Olds' book Continued Fractions:

Olds Page 78

O. S. Dawg
  • 572
  • 3
  • 14