Exercise statement
Prove Proposition 5.4.14.
Proposition 5.4.14. Given any two real numbers
, we can find a rational number
such that
.
Hints
- Use Exercise 5.4.4.
- You may need to argue by contradiction.
- You might also want to use Exercise 5.4.3.
How to think about the exercise
To use Exercise 5.4.4, we need a positive real number. But the problem only says that
, saying nothing about whether
are positive. Thankfully, it’s not too hard to make a positive real number: we can just subtract the two, to get
. So now we apply Exercise 5.4.4 to get an integer
such that
. Now what?
We can try adding
to each part, to get
. But
is not guaranteed to be a rational number, so
is not guaranteed to be rational either.
We can play around with
to get
. And
. It’s not clear what to do from here.
Let’s try another thing. What’s another way to get a number between
and
? We can average the two, to get
. Does this help? Again, we are not guaranteed to have
be rational. (Actually, this does seem to be the start of a proof, but it requires going back to the Cauchy sequence definition of the reals, which makes it messy.)
How can we get a rational number between
and
? Here’s a thought: what would that look like? We must have
for some integers
(with
positive). So we can play around with this a bit. We have
. It looks like
is playing the role of
from above. We can subtract to get
, but this doesn’t seem to help because
is hard to work with. However since we already know how to get
, we just need to find the integer
somehow.
At this point, I like to use actual numbers. If we take
and
(using rational numbers will simplify things), we want to scale these numbers to be large enough that an integer can be found between them. If we try
, then
and
, which is too narrow for an integer to fit (there is no integer
such that
). On the other hand, if we try
, then
and
, so we can take
.
At this point, we have two questions: (1) Is the number
we get from Exercise 5.4.4 large enough of a scaling factor that an integer fits between
and
? (2) How can we show in general that the integer
exists?
To answer question (1), we would have
, which means
. If two real numbers are more than a distance
apart, then there must be an integer between them (just imagine a number line). So the answer to this question is yes. That leaves question (2), and this is where we must fiddle with inequalities, which we leave to the solutions below.
I want to stress the core insight here. We want a rational number between
and
. But
and
might be super close to each other, and it’s hard to directly find a rational number. What do we do?

We blow up the scale. Even if
and
are close, if we take
large enough, then
and
will come apart. Eventually, they will come apart to such an extent that an integer can be guaranteed to be found between them.

So we can find some integer
such that
. Now dividing through by
completes the proof.
I like this exercise because even after the hint in the book, it’s not obvious what to do, and you naturally get stuck, so you have to backtrack and try a few things before you get it to work.
Model solution 1
Let
be real numbers such that
. Then
so by Exercise 5.4.4 there exists a positive integer
such that
. Multiplying through by
we have
.
By Exercise 5.4.3, there is some integer
such that
. By
we have
. Also from
we have
. Combining the inequalities, we have
. Dividing through by
, we have
, so we may take
as the rational number we seek.
Model solution 2
Let
be real numbers such that
. Then
so by Exercise 5.4.4 there exists a positive integer
such that
. Multiplying through by
we have
.
Since
and
is positive, we have
. We will now show that there exists an integer
such that
. Suppose for sake of contradiction that there is no such integer. By Exercise 5.4.3, there is some integer
such that
. By assumption, we cannot have
. Thus we must have
. Putting together the inequalities, we have
. But this means
. (To see this, use
to conclude that
, then add this inequality to
to obtain
.) This contradicts the fact that
. Thus we must in fact have some integer
such that
. Now dividing through by
we have
, so we may take
as the rational number that we seek.
Model solution 3
This one is pretty messy, but it uses a proof by contradiction and doesn’t use Exercise 5.4.3 so it’s possibly the proof that Tao had in mind.
Let
be real numbers such that
. Then
so by Exercise 5.4.4 there exists a positive integer
such that
. Multiplying through by
we have
.
Since
and
is positive, we have
. We will now show that there exists an integer
such that
. Suppose for sake of contradiction that there is no such integer. If
is an integer such that
, then
cannot be between
and
so we must have either
or
. If
then we have
, which contradicts the fact that
. Thus we must have
. In other words we have shown that for all integers
, if
then
. By Proposition 5.4.12, there is a positive integer
such that
, so
.
Now let
be the statement
. We will show by induction that
is true for all natural numbers
. By what we said above,
is true. Now suppose inductively that
. Then since
is an integer, we see that
, i.e.
. So we see that
is true. This closes the induction.
By Proposition 5.4.12 again, there is some positive integer
such that
, so
. But
is a natural number, so
is true, i.e.
, which is a contradiction. This contradiction shows that our assumption that there is no integer
such that
was mistaken.
So there is some integer
such that
, and we can divide by
to complete the proof.
Model solution 4
This one is just a sketch, based on this PDF. The idea is that once we find a positive integer
such that
, we consider rational numbers of the form
, where
is an integer. Then we pick the largest number
such that
, and show that
works as desired. (See the linked PDF for details.) The only trouble with this approach is to rigorously show that we can uniquely pick such a number
.
But first of all, what does it even mean to say that
is the largest number in this form such that
? It means that (1)
and (2) for all integers
, if
then
. Uniqueness is easy to see: if
both satisfy this condition, then we must have
and
(why?), so
(why?).
Now to find this
, our strategy is to narrow the selection to some finite set of rationals of the form
, then pick the one we want from this set.
We can use the Archimedean property to show that there is some integer
such that
. Similarly, we can apply the Archimedean property to
to show that there is some integer
such that
, i.e.
. Now we have
. Now there is a finite number of rationals
to pick from, which makes it particularly easy to find the
we want. (I can think of other ways to do this, but they require either the the least upper bound property or the well-ordering principle, neither of which have been covered in the book yet. The method I describe below will only need a simple induction proof.) Let’s see how this works more rigorously.
Consider the set
. This set is finite (why? Show that
is finite by using the definition of cardinality, then use Proposition 3.6.14(c)). Every non-empty finite set of numbers has a (unique) maximum element
, i.e. an element
such that
for all
(why? Use induction). The set
is non-empty since
. Thus we may define
.
Now we show that
has the required properties, i.e. that
and that
implies
for all integers
. First,
so
as required. Next, let
be an integer and suppose
. Suppose for a contradiction that
. Then
(why?) so
(why?). But
is the maximum element of
, so we have
, which means
, a contradiction.
So we have shown that the integer
exists, and we also know it is unique. Now we can just proceed as in the linked PDF.