Rational mean of irrational numbers?

794 Views Asked by At

My teacher tells me that in the vicinity of any rational number, an irrational exists. To elucidate, I presume, he further went on to say, if a function, if defined to give 1 for every rational number and 0 for every irrational, then the function would be discontinuous at each and every point.

So that means that there are two irrational numbers surrounding a rational, right? And vice versa? So if I take the A.M. of those two irrational numbers, I get a rational number? Or of those two rational numbers, an irrational? Does that make sense?

2

There are 2 best solutions below

4
On BEST ANSWER

So that means that there are two irrational numbers surrounding a rational, right?

No, it is not the fact that there are only two irrationals surrounding a rational; there are actually infinitely many (for any distance of interest, say $\epsilon > 0$). This is referred to as the set being "dense".

So if I take the A.M. of those two irrational numbers, I get a rational number?

Hopefully you now see that this question doesn't make sense, because you can't uniquely identify "those two irrational numbers".

You could, if carefully selected, find two irrational numbers around any rational of equal distance, and as a consequence have their arithmetic mean be that initial rational number. However, picking irrationals at random close to a given rational would not have that as a result.

2
On

You have four questions. The answer to the first is yes. The answer to the second is yes. However, although given irrationals $x<y$, there is a rational $r$ with $x<r<y$, it need not be the arithmetic mean ${1\over2}(x+y)$. The arithmetic mean can easily be irrational: suppose, for example, $x=\sqrt{3}-\sqrt{2}$ and $y=\sqrt{3}+\sqrt{2}$. Similarly, given rationals $r<s$, there is an irrational $x$ with $r<x<s$, but it cannot be the arithmetic mean ${1\over2}(r+s)$ -- that will always be rational too.