Numbers and Arithmetic

Real Numbers Explained and What Fills the Gaps on the Number Line

Understand why fractions leave holes in the number line, what completeness means, and how mathematicians construct the reals.

Key takeaways

  • Fractions are packed densely on the line, yet they still miss positions such as √2.
  • Completeness says every nonempty set of real numbers with an upper bound has a least upper bound that is itself real.
  • Real numbers can be constructed from fractions using Dedekind cuts or Cauchy sequences, and the two methods give the same system.
  • Completeness is the reason many central results of calculus are true.

The real numbers are all the numbers that correspond to points on a continuous line: whole numbers, fractions, and irrationals such as √2 and π. What fills the gaps left by fractions is, precisely, the irrational numbers.

The property that guarantees no gaps remain is called completeness. It sounds technical, but the idea is simple: whenever a collection of numbers closes in on some position, a real number is sitting at that position.

Dense but full of holes

Between any two fractions there is another one. The average of 1/3 and 1/2 is 5/12, which lies between them, and you can repeat this forever. Mathematicians call the rationals dense.

It seems that a dense set should cover the whole line. It does not. Take the diagonal of a square with side 1, and lay it along the line starting at 0. Its end lands at distance √2, and no fraction has a square equal to 2.

You can approach that spot with fractions as closely as you like: 1.4, 1.41, 1.414, 1.4142. Their squares are 1.96, 1.9881, 1.999396 and 1.99996164. Each is closer to 2, and none reaches it.

So there is a hole of zero width. It takes up no length, yet it is a definite position that the rationals fail to name. There are infinitely many such holes between any two fractions.

The least upper bound property

An upper bound for a set of numbers is a number that is at least as large as everything in the set. The least upper bound, or supremum, is the smallest of all the upper bounds.

Consider the set of positive fractions x with x² < 2. The number 2 is an upper bound. So is 1.5, since 1.5² = 2.25. So is 1.42. However small a rational upper bound you choose, a smaller rational one exists. Within the rationals there is no least upper bound.

Within the reals there is: it is √2.

The completeness axiom states that every nonempty set of real numbers that has an upper bound has a least upper bound in the real numbers. That single sentence is what separates ℝ from ℚ. Both obey the same rules of arithmetic and ordering. The completeness property looks at its equivalent forms.

Dedekind's idea: cut the line

How can you create the missing numbers using only fractions? In work published in 1872, Richard Dedekind proposed looking at the cut that a position makes.

Split all the rationals into two nonempty groups, a lower group and an upper group, so that every member of the lower group is less than every member of the upper group.

Sometimes there is a rational right at the boundary. If the lower group is all rationals below 3 and the upper group is the rest, the boundary is the number 3.

For √2, put in the lower group every negative rational and every rational whose square is less than 2. Put the others above. Now the lower group has no largest member and the upper group has no smallest. Nothing rational marks the boundary.

Dedekind's move was to define a real number as such a cut. The cut itself is the new number. Dedekind cuts shows how to add and multiply them.

Cantor's idea: sequences that bunch up

A second construction, developed by Georg Cantor among others at about the same time, uses sequences. A Cauchy sequence is one whose terms eventually stay as close to one another as you please.

Here is a very fast one for √2. Start with 1 and repeatedly replace x by the average of x and 2/x.

x₀ = 1
x₁ = (1 + 2/1)/2      = 3/2       = 1.5
x₂ = (3/2 + 4/3)/2    = 17/12     ≈ 1.416667
x₃ = (17/12 + 24/17)/2 = 577/408  ≈ 1.414216
√2                                ≈ 1.414214

Every term is a fraction, and the terms crowd together, but no fraction is their limit. In this construction, a real number is defined by such a sequence, with two sequences naming the same number when the difference between them shrinks to zero.

Cauchy sequences are valuable because you can test for convergence without knowing the answer in advance.

Decimals as addresses

The everyday picture of a real number is an infinite decimal. It works like a set of nested directions.

Zooming in on √2 one decimal place at a time
1 Between 1 and 2 1² = 1 and 2² = 4. 2 Between 1.4 and 1.5 1.4² = 1.96 and 1.5² = 2.25. 3 Between 1.41 and 1.42 1.41² = 1.9881 and 1.42² = 2.0164. 4 Continue forever The shrinking intervals pin down exactly one point. Between 1 and 2 1² = 1 and 2² = 4. 1 Between 1.4 and 1.5 1.4² = 1.96 and 1.5² = 2.25. 2 Between 1.41 and 1.42 1.41² = 1.9881 and 1.42² = 2.0164. 3 Continue forever The shrinking intervals pin down exactly one point. 4

Completeness guarantees that one number lies inside every interval.

Each new digit chooses one of ten smaller pieces of the current interval. The widths shrink by a factor of 10 each time. Completeness ensures that nested closed intervals like these always contain a point.

One wrinkle: a few numbers have two decimal forms. For instance, 0.999 repeating equals 1. Apart from such pairs, different decimals name different numbers.

What completeness buys you

Calculus depends on limits existing when they should. Several key results fail if you work with fractions alone.

  • The intermediate value theorem. A continuous function that is negative at one end of an interval and positive at the other equals zero somewhere between. With only rationals, f(x) = x² − 2 goes from −1 at x = 1 to 2 at x = 2 without ever being zero.
  • Monotone convergence. A sequence that always increases but stays below some bound has a limit.
  • Existence of roots. Every positive real number has a positive square root, cube root and so on.

Completeness also implies the Archimedean property: for any real number, some whole number is larger. As a consequence, there is no positive real number smaller than every fraction 1/n. Infinitely small quantities are not real numbers.

A proof that uses completeness

To see the axiom at work, here is why some real number has square 2. Let S be the set of all real numbers x ≥ 0 with x² < 2.

The set is nonempty, since 1 belongs to it, and it is bounded above by 2. Completeness gives it a least upper bound, which we call s. Note that 1 ≤ s ≤ 2. There are three possibilities for s², and two of them fail.

If s² < 2:  a slightly larger number s + h still has (s + h)² < 2
            so s is not an upper bound of S
If s² > 2:  a slightly smaller number s − h still has (s − h)² > 2
            so s − h is an upper bound, and s was not the least
Therefore:  s² = 2

To make "slightly" concrete in the first case, take 0 < h < 1 with h < (2 − s²)/(2s + 1). Then (s + h)² = s² + 2sh + h², which is less than s² + h(2s + 1), and that is less than 2. In the second case, h = (s² − 2)/(2s) works, because (s − h)² = s² − 2sh + h², which exceeds s² − 2sh = 2.

Notice that the proof never produces digits. It establishes that the number exists, and a method such as the averaging sequence above then computes it. Estimating square roots by hand gives practical versions of that method.

How many real numbers are there?

The rationals can be arranged in an infinite list that includes every one of them. The reals cannot. Cantor showed that for any proposed list of real numbers, you can construct a real number that is missing from it.

So in a precise sense there are far more irrationals than rationals. If you could pick a point at random from the interval between 0 and 1, with every stretch weighted by its length, the chance of landing on a rational would be 0.

Most reals are stranger still. Only countably many can be described by a computer program that produces their digits, so almost all real numbers are uncomputable. You will never meet one individually by naming it, even though they make up nearly the whole line.

Algebraic and transcendental fillers

The irrationals that fill the gaps come in two broad kinds. Some, like √2 or the golden ratio, are roots of polynomial equations with integer coefficients, and they are called algebraic. The rest, including π and e, satisfy no such equation and are called transcendental.

This means you cannot build the real line just by adding solutions of equations to the fractions. After you include every root of every integer polynomial, nearly all of the line is still missing. Completeness, a statement about bounds and limits, is what brings in the rest.

Misconceptions to clear up

"Real" does not mean more genuine. The name contrasts these numbers with imaginary ones. Both are mathematical constructions with consistent rules.

A real number does not grow. The decimal 3.14159... is one fixed number. Writing more digits improves your description, and the number stays where it is.

Infinity is not a real number. Symbols such as ∞ describe unbounded behavior. Adding them to the line is possible, but the usual rules of arithmetic no longer all hold.

Measurements are not exact reals. Any physical measurement has limited precision. The real number system is an idealized model that lets limits, lengths and rates behave cleanly. Whether physical space is truly continuous at every scale is a question for physics, and mathematics does not decide it.

Up to a change of names, there is only one complete ordered field. That is why Dedekind's cuts, Cantor's sequences and infinite decimals all describe the same line.

Written for 4Mathematics with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 38 articles in Numbers and Arithmetic →

Latest news on this topic