Is it irrational?

2.7k Views Asked by At

Suppose I generate a number $0 < x < 1$. In general, after the decimal point, the first digit is $1$, the second is $0$, the third is $1$, etc. However, every digit in position $n$ has a $1/n$ chance of being $2$ instead. The tenths place, for example, must have a $2$. The number might look like this:

$$x = 0.221210101020101010101010101010121010101010101010101010101010...$$

(There are an infinite number of possible values of $x$. My question applies to any number in this set, excluding numbers where the digits begin to repeat interminably at a finite point, which has 0 probability of happening. Ex. not interested in 0.222222...)

Such a number doesn't seem to be rational, because $2$ will continue to pop up, even as it becomes less frequent. However, as the position $n$ of a digit approaches infinity, the probability of that digit being $2$ approaches $0$. It seems that as $n$ goes to infinity (and there are an infinite number of digits), the digits approach rational behavior, for lack of a better phrase.

Would this number be irrational?

Clarification: What I am asking is whether a number would be considered irrational if its digits "approach repetition"; if they could be said to repeat interminably at infinity, but not at a finite point.

4

There are 4 best solutions below

0
On

That's not rational. And you don't write numbers by chance. Well, if a digit has certain 'probability' of appearing then it's not a fixed number.

You see one time the number may be 2 and another time it won't. And since you say that though the provability approaches 0, there is still the possibly, even if minute, that the number may be 2.

0
On

Assume that the digits do not happen to start repeating interminably at a finite position (0.2210101010101010...), since the probability of this happening is 0.

Well then it is irrational... A rational number has a decimal expansion that is eventually periodoc. If you assume that it isn't eventually periodic, then you're ruling out the case that it's rational.

I think what you're confused about is that it doesn't matter how you generated your number; either it is rational, or it isn't. It is possible that your process will generate a rational number, though the probability that it does is indeed zero.

And for that matter you cannot speak of the number generated by this process; many different number can be generated by this process, some are rational, some aren't. Every single number will have probability zero of occurring, and yet your process will always yield some number...

14
On

If you get infinitely many 2s, but with arbitrarily large gaps between them, then your number is irrational. This happens with probability one. (See the Borel-Cantelli theorem. I'm assuming your events with probability 1/n are independent, you didn't say that...)

But note if you use probabilities $1/n^2$ instead, then you get (with probability one) finitely many 2s, so your number is rational.

1
On

This isn't a number, it is a set of numbers. Probabilities don't make sense here, a number is part of your set or it isn't. The set is then $0.1010\ldots$ where some of the digits are replaced by $2$. One of the numbers in your set is $0.2222\ldots$, which is rational, another is $0.101010\ldots$, again rational. But it also contains the number where the $2$ show up only on positions that are perfect squares, i.e., $0.2012101012\ldots$, which isn't a repeating decimal and thus irrational.

Your set of numbers isn't countable, by the way, so it has to include transcendental numbers too (the set of algebraic numbers is countable).