Evanalysis
3.5Source-backedEstimated reading time: 5 min

3.5 Gaps in Q and why sqrt(2) is not rational

Use the set of rationals below sqrt(2) to see why density is not enough to make Q complete.

Note collections

MATH1090: Set theory

Rigorous course notes on logic, sets, and number construction, written in short linked sections with careful proofs and examples.

Chapter 1

Logic

Reasoning tools for statements, connectives, and quantifiers.

Chapter 2

Sets and relations

Basic set language, functions, and relations.

Chapter 4

Order and completeness

Total order, bounds, supremum and infimum, and the completeness gap between Q and R.

This note is where the construction story of the number systems starts to change direction. Up to now, you have been building NN, ZZ, and QQ and checking that their operations are well-defined. Here the question is different:

Does QQ already contain every number you need for order and limit arguments?

The answer is no. The standard example comes from 2\sqrt{2}.

Intuition first: dense is not the same as complete

A common first reaction is:

"But there are so many rational numbers. Surely there is no gap."

That reaction mixes up two different ideas.

  • Dense means that between two different rational numbers, you can always find another rational.
  • Complete means that certain bounded sets really do have least upper bounds inside the number system you are working in.

The notes use QQ to show that density does not guarantee completeness. Rationals can be packed closely together and still miss an important boundary point.

The key order-language

Definition

Upper bound and supremum

Let XX be a subset of an ordered set.

  • An upper bound of XX is a number u such that xux \le u for every xXx \in X.
  • A supremum of XX, written sup(X)\sup(X), is the least upper bound of XX.

The word "least" is crucial. A supremum is not just any upper bound. It is the smallest number that still stays above the whole set.

Definition

Irrational number

An irrational number is a real number that does not belong to QQ.

The set that exposes the gap

The classic set is

S={qQq2<2}.S = \{q \in Q \mid q^2 < 2\}.

This set collects all rational numbers whose square is still less than 2.

At first glance, it feels as if this set ought to have a rational boundary. After all, numbers such as 1, 1.4, and 1.41 belong to it, while numbers such as 2 or 3/2 sit above it.

The problem is that the "correct" boundary is 2\sqrt{2}, and that number is not in QQ.

Why SS is bounded above in QQ

Before proving that SS has no supremum in QQ, you should first check that SS really is a bounded-above set.

Worked example

Finding an upper bound for SS

Take u=2u = 2.

Since 22=4>22^2 = 4 > 2, the number 2 does not belong to SS. More importantly, every rational q with q>2q > 2 also satisfies q2>2q^2 > 2, so such a q lies above every element of SS.

That means 2 is an upper bound for SS.

In fact, any rational number u with u2>2u^2 > 2 is an upper bound for SS.

So the issue is not that SS has no upper bounds. The issue is that among its rational upper bounds, there is no least one.

Why 2\sqrt{2} is not rational

The source notes first recall the standard contradiction proof.

Proof

Proof that 2\sqrt{2} does not belong to QQ

This matters because if 2\sqrt{2} were rational, it would be the obvious candidate for sup(S)\sup(S) in QQ. The contradiction tells you that the obvious candidate is missing from the rational number system.

The formal gap statement

Theorem

The set S={qQq2<2}S = \{q \in Q \mid q^2 < 2\} has no supremum in QQ

The set SS is bounded above in QQ, but there is no rational number that serves as its least upper bound.

The notes justify this by splitting every rational candidate s into three cases.

Proof

Why no rational candidate can be sup(S)\sup(S)

What this teaches you about Q

This result is not just a trick about one set.

It tells you that QQ is missing some order-theoretic limits. A bounded set of rational numbers can get closer and closer to a boundary without ever finding a rational least upper bound.

That is what the notes mean when they say that QQ is not complete.

Common mistake

Common mistake

Dense does not mean complete

It is true that between any two rational numbers there is another rational. But that fact only talks about what happens between two existing rationals. It does not say that every bounded set of rationals has a rational supremum.

Another common mistake is to think that a supremum must belong to the set itself. That is false. A supremum only has to be the least upper bound in the ambient ordered set.

Quick checks

Quick check

Why is a rational number s with s2<2s^2 < 2 not an upper bound for SS?

Use the source-note idea that you can move a little to the right and still keep the square below 2.

Solution

Answer

Quick check

Does the supremum of a set have to belong to the set?

Answer in one sentence.

Solution

Answer

Exercise

Quick check

Why do infinitely many rationals near 2\sqrt{2} still fail to fix the gap in QQ?

Use the difference between density and completeness.

Solution

Guided solution

Read this first

If you want the construction of QQ first, read 3.4 Rationals and well-defined operations.

Key terms in this unit