# Homework Help: A question about analysis

1. Oct 20, 2012

### Artusartos

http://math.berkeley.edu/~scanez/courses/math104/fall11/homework/hw7-solns.pdf

In number 3, the text says "By the denseness of Q in R, there exists a sequence $(r_n)$ of rationals converging to x."

1) Why/how does denseness imply that there exists a sequence? Becuase Q is dense in R, we know that any two real numbers have a rational number between them. But how does that tell us that there is a "sequence" of rational numbers?

2) Do we have to assume that x is an irrational number?

3) Does this statement mean that for every irrational number, there is a sequence of rational number converging to it?

2. Oct 20, 2012

### jbunniii

Well, that's not all that denseness tells you. Between any two even integers is an odd integer, but that doesn't mean that the odd integers are dense in the even integers. What is the definition of denseness?

The first paragraph proves that f(x) = x for any rational x. The second paragraph uses that fact, but you don't have to assume that x is irrational in the second paragraph. The argument also works for rational x, because given a rational number, you can certainly find a sequence of rationals converging to that number.

I'm not sure what "this statement" refers to, but it's true that for every irrational number, there is a sequence of rational numbers converging to it.

If $x$ is irrational, start by picking any rational, say $r_1$. Since $x \neq r_1$, the distance between these numbers is positive: $|x - r_1| > 0$. Choose a rational $r_2$ such that $|x - r_2| < (1/2)|x - r_1|$, i.e. $r_2$ is less than half the distance from $x$ as $r_1$.

Then just keep repeating this process. At the n'th step, you will choose a rational $r_n$ such that $|x - r_n| < (1/2)^n |x - r_1|$. Clearly the sequence $r_n$ converges to $x$.

Another, more concrete (but less rigorous) way to see this is to consider the decimal expansion of $x$. Any real number has a decimal expansion. You can form a sequence of rationals converging to the real number by simply taking more and more digits, e.g.

$x_1 = 3$
$x_2 = 3.1$
$x_3 = 3.14$
$x_4 = 3.141$
$x_5 = 3.1415$
$x_6 = 3.14159$
and so on

3. Oct 20, 2012

### Artusartos

This is the definition that my textbook gives us "If a,b in R and a < b, then there is a rational r in Q such that a < r < b".

But I think I understand why sequences exist, from the answer you gave to my 3rd question. Thanks a lot. :)