What is the Probability of Choosing an Irrational Number on the Real Line?

In summary: Incorrect. I get a number with probability 1. :tongue:That's correct. The integral would still be the same, because the set of rationals is a subset of the set of all real numbers.
  • #1
mruncleramos
49
0
Take the Interval [0,1] over the reals. Randomnly choosing a number, what is the probability that you will get an irrational number? A rational one?
 
Physics news on Phys.org
  • #2
Is this homework? Have you had any thoughts about how to do this?

Anyways, you haven't given enough information: you can't really talk about randomness until you specify a probability distribution.
 
  • #3
mruncleramos said:
Take the Interval [0,1] over the reals. Randomnly choosing a number, what is the probability that you will get an irrational number? A rational one?
With a continuous distribution, the probability of picking anyone number at all is zero, regardless of it being rational or irrational. So it has to be discrete. Now the tough question is, how do you specify a discrete distribution over a nonatomic domain (a domain without a "smallest unit")? May not be possible. E.g. the pseudorandom generators that are programmed into statistical software are defined on rationals only (for example, they will never return the number "pi," just a rational approximation to an arbitrary yet finite number of digits).
 
  • #4
it is possible to give a discrete distribution for this, but the probability of picking almost all numbers is zero.

whilst we do not have such a discrete dist. we do commonly abuse notation and appeal to measure theory for the answer
 
  • #5
You don't need a discrete distribution to ask about the probability of picking a rational number vs a nonrational number. You don't even need it to be discrete for one (or both) of those probabilities to be nonzero.
 
  • #6
Hurkyl said:
You don't need a discrete distribution to ask about the probability of picking a rational number vs a nonrational number. You don't even need it to be discrete for one (or both) of those probabilities to be nonzero.
Can you give an example?
 
  • #7
Ack, I can't believe I said nonrational. :frown:

Let's set A = the set of all rationals in [0, 1], and B = the set of all irrationals in [0, 1].

Now, for ANY probability measure P, we have that P(A) + P(B) = P([0, 1]).

For example, if P is the uniform distribution on [0, 1], then we have:

P(A) + P(B) = 1

In particular, the uniform distribution is simply given by [itex]P(R) = \int_R \, dx[/itex], so we know P(A)=0 and P(B)=1.
 
  • #8
Sure, you can always get a set of numbers, but you'll never get a number from a continuous distribution (with positive probability, that is). Remember, the original quote said "randomly choosing a number."
 
Last edited:
  • #9
Sure, you can always get a set of numbers, but you'll never get a number from a continuous distribution (with positive probability, that is).

Incorrect. I get a number with probability 1. :tongue:

The probability that I get any specific number, like 1/2, is zero1, but that's not what the question asked.

1: well, there are technicalities...
 
Last edited:
  • #10
Hurkyl said:
Incorrect. I get a number with probability 1. :tongue:
Okay, you may be right. It may take a little more to sink in.
 
Last edited:
  • #11
EnumElish: there is a difference between "getting a specific number" and "getting a number". If I "pick a number at random" then I have to get a number!

For example, suppose we pick a number with the uniform probability distribution on the interval [0, 1]. That means that every number is equally likely to be picked, the probability of picking a number in a given interval is equal to the length of that interval, and the probability of picking a number in a given measurable set is equal to the measure of that set.
In this case, the probability of picking any specific number (like [tex]\pi[/tex] or 1/2) is 0. The probability of getting some number is, of course, one. In fact, since the set of all irrational numbers between 0 and 1 has measure 1,the probability that the number chosen will be irrational is 1, the probability that the number chosen will be rational is 0 (which does not mean that it can't be rational! Probabilities of 0 and 1 in infinite spaces do not mean "impossible" or "certain".)
 
  • #12
HallsofIvy said:
EnumElish: there is a difference between "getting a specific number" and "getting a number". If I "pick a number at random" then I have to get a number!
That's what I realized yesterday, after Hurkyl's last post. Thanks, all.
 
  • #13
Wow, so many responses. I was just wondering and all. I have another question now. This is not homework, I was just thinking. Let's say we take a definite integral from 0 to 1 of an arbitrary real valued function, and answer is x. Clearly if we take away any random point from the interval 0 to 1, the integral will still equal to x. Same thing with 2, 3, 4, 5 etc. What happens if we take away all of the rational numbers? Will the integral still be the same? It seems to me as if it should. But when I think about taking away all irrational numbers...
 
  • #14
My guess is, you'll still end up with the same integral value. I guess this will follow from Cantor's taxonomy of infinities: uncountable infinity (irrationals) + countable infinity (rationals) = uncountable infinity (reals). Therefore, U.I. = U.I. - C.I.

BTW, the integral you are describing is identical with the uniform probability distribution for 0 < x < 1. Under that measure, Hurkyl has suggested that P(rationals) = 0 and P(irrationals) = 1. Obviously P(reals) = 1. This imples P(irrationals) = 1 = P(reals). When you remove all rationals you are removing a set with measure zero.
 
  • #15
Removign a countable set doesn't affect the integral. Countable sets have measure zero. Let us prove it using some measure theory (as i know no measure theory this is hand wavy). First let us suppose that the function f is bounded and positive , ie 0<= f(x) <M for x in [0,1] and some M.

Now take any countable set of points

x_1, x_2, x_3,...

we want to show that this countable set of points conttributes "nothing" to the integral. Let us estimate the contribution.

Let d be some real positive number. About the point x_n put a little open set of width d2^{-n}. Then the x_i's can contribute no more than

[tex]\sum_n Md2^{-n}[/tex]=

that is they contribute less than the rectangle of width d_2^{-n} and height M to the integral.

Now we can work out that geometric sumand it is Md. but d was arbitrary so the contribution must be less than Md for any d in the positive reals (and is not negative) so it must be zero.
Yes this is surprisig and no it isn't rigorous.

Your idea of throwing away ione point at a time shows that we can remove any finite number of points. it doesn't then follow that we can remove an infinite number of points. We see that we can always remove a countable number of points, but not an uncountable number (we could remove all the points and that would certainly affect the integral).
 
  • #16
To make sense of that question you have to, as Matt Grime did, change from the Riemann integral to the Lebesque integral.
 
  • #17
Measure Theory. That sounds pretty cool.
 
  • #18
matt grime said:
Your idea of throwing away ione point at a time shows that we can remove any finite number of points. it doesn't then follow that we can remove an infinite number of points. We see that we can always remove a countable number of points, but not an uncountable number (we could remove all the points and that would certainly affect the integral).
I think what you mean is "we can remove a finite, and at most a countably infinite, number of points and still get the same sum."
 
  • #19
and what was the point of that post?
 
  • #20
For the sake of precision, I would like to point out that there are some uncountable sets of points we can remove without affecting the integral. (e.g. a Cantor set -- uncountable, yet with measure zero)
 
  • #21
Hurkyl said:
there are some uncountable sets of points
Do you mean "sets containing an uncountable number of points"?
 
  • #22
matt grime said:
and what was the point of that post?
You juggled finite vs. infinite, and then countable vs. uncountable. I was just paraphrasing you in a way that (I thought) is marginally more organized.
 
  • #23
you are merely restating in more words what is already explicit.

i "an uncountable set of poitnts" and "a set containing an uncountable number of poitns" are indeed synonymous though the former is perhaps better as it does not imply that we have defined what it means for a number to be uncountalby large.
 
  • #24
mruncleramos said:
Take the Interval [0,1] over the reals. Randomnly choosing a number, what is the probability that you will get an irrational number? A rational one?

As there are infinitely more irrational numbers than rational in this interval, the probabilily of getting a rational must be 0 while irrationals are obtained with prob = 1.
 
  • #25
"infintely more" isn't very rigorous is it?
 
  • #26
Depends upon which integral you are using. Matt Grime's answer- that removing a countable set of numbers (or even an uncountable set with measure 0) does not change the integral- is for the Lesbesque integral. If you remove a countable number of points from an interval, the resulting function would not be Riemann integrable.
 
  • #27
matt grime said:
"infintely more" isn't very rigorous is it?

Ok, I should have said perhaps:

as the the cardinality of the set of irrational number is higher than that of rationals, it follows that picking up a rational number has probability zero, while picking up an irrational has probability 1.
 

1. What is probability?

Probability is a measure of the likelihood that a certain event will occur. It is expressed as a number between 0 and 1, where 0 represents impossibility and 1 represents certainty.

2. How is probability calculated?

Probability is calculated by dividing the number of favorable outcomes by the total number of possible outcomes. This can be represented by the formula P(A) = number of favorable outcomes / total number of possible outcomes.

3. What is the difference between theoretical and experimental probability?

Theoretical probability is based on mathematical calculations and predictions, while experimental probability is based on actual data from experiments or observations. Theoretical probability can be used to make predictions, while experimental probability is used to analyze past events.

4. What is the significance of the real line in probability?

The real line is a mathematical representation of all possible outcomes in a probability experiment. It allows us to visualize and understand the likelihood of events occurring along a continuous scale.

5. How is probability used in real life?

Probability is used in many real-life situations, such as weather forecasting, risk assessment, and gambling. It is also used in scientific research to analyze and interpret data, and in business to make informed decisions and predictions.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
328
  • Set Theory, Logic, Probability, Statistics
Replies
8
Views
1K
  • Set Theory, Logic, Probability, Statistics
2
Replies
41
Views
4K
Replies
85
Views
4K
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
11
Views
490
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
Replies
19
Views
1K
  • Set Theory, Logic, Probability, Statistics
4
Replies
126
Views
6K
  • Set Theory, Logic, Probability, Statistics
Replies
16
Views
1K
Back
Top