existence and uniqueness of decimal expansion
The existence and uniqueness of decimal expansions (or more generally, base-b expansions) is taken for granted by most grade school students, but they are facts that need to be rigorously proven if one wants to understand the real numbers thoroughly.
We mention the following fact about natural numbers n,m∈ℕ0,
which we will use many times implicitly:
n<m⇔n≤m-1 |
This fact can be proven by mathematical induction on m.
Contents:
1 Proof of Existence
Let x be a number for which we want to write a base-b expansion for any natural number b greater than one.
We shall assume x≥0, since the base-b
expansion of a negative number is by definition
the negative of the expansion for its absolute value.
1.1 Expansions for non-negative integers
First we prove the existence of expansions of the form
x=k∑i=0aibi,0≤ai<b,ai∈ℕ0 |
for non-negative integers x,
using mathematical induction. (This proof is essentially the formal
statement of how to do addition by base-b digits.)
The number x=0 obviously has the expansion 0.
Suppose that we know the existence of expansions for a number x-1. We prove the existence of an expansion for x.
Let x-1 be expanded as
x-1=k∑i=0aibi,0≤ai<b,ai∈ℕ0,ak+1=0. |
From the above equation, add 1 to both sides:
x=(a0+1)+k∑i=1aibi. |
If a0<b-1, then we are done. Otherwise, (a0+1)=b, and therefore we may write instead
x=0+(a1+1)b+k∑i=2aibi. |
If a1<b-1, then we can stop. Otherwise, repeat the process and continue carrying digits until we reach some i for which ai<b-1. Since ak+1=0, this process is guaranteed to stop. At the end we will have expressed x in base b.
1.2 Reduction to numbers in [0,1)
Let ⌊x⌋ be the greatest integer less than or equal to x, otherwise known as the floor of x. We prove that the floor of x exists.
The set
A={n∈ℕ0:n≤x} |
is bounded above by x.
However, by the Archimedean
property, the set of natural numbers is not bounded
above, so ℕ0∖A must be non-empty,
and have a smallest element u
(formally, by the well-ordering principle).
For every n∈A, we have
n≤x<u.
The latter condition is equivalent to n≤u-1<x,
so u-1 is the maximum element of A.
In other words, ⌊x⌋=u-1.
Since u-1≤x<u, we have 0≤x-⌊x⌋<1. We shall obtain the base b expansion of x as the sum of the expansion of ⌊x⌋ and x-⌊x⌋.
1.3 Expansion of numbers in [0,1)
Given x∈[0,1), let a1=⌊bx⌋. Then 0≤a1≤bx<b, so we can take a1 as the first digit of the base-b expansion of x. Next, write
x=a1b-1+yb-1, |
and observe that 0≤x-a1b-1=b-1(bx-⌊bx⌋)<b-1, so it is possible to get the next digit of the expansion by expanding y. We do this recursively, leading to these recursive relations:
yi=aib-1+yi+1b-1,0≤ai=⌊byi⌋<b,0≤yi<1,y1=x. |
More explicitly, we have
x-(a1b-1+a2b-2+⋯+akb-k) | =b-1(y2-(a2b-1+⋯+akb-k+1)) | ||
=b-2(y3-(a3b-1+⋯+akb-k+2)) | |||
=⋯ | |||
=b-k+1(yk-akb-1) | |||
=b-kyk+1. |
It is easy to prove that the expansion
a1b-1+a2b-2+⋯+akb-k+⋯ |
converges to x:
0≤x-k∑i=1aib-i=b-kyk+1<1bk→0,as k→∞. |
(Formally, the “→0” part appeals to the Archimedean property.)
2 Proof of uniqueness
2.1 Uniqueness for non-negative integers
Suppose that
x=k∑i=0aibi,0≤ai<b. |
Now
akbk≤k∑i=0aibi≤akbk+k-1∑i=0(b-1)bi=akbk+(bk-1)<(ak+1)bk, |
and the intervals [akbk,(ak+1)bk) are disjoint for each value of ak, so ak is uniquely determined by where x lies in amongst these intervals.
Then we can consider
x-akbk=k-1∑i=0aibi. |
Repeating the previous argument with k replaced by k-1,
we see that ak-1 is uniquely determined.
Then we can consider x-akbk-ak-1bk-1 and so on.
Continuing this way, we see that all the digits ai are uniquely
determined.
2.2 Near-uniqueness for non-negative numbers
If
x=akbk+⋯+a1b+a0+a-1b-1+a-2b-2+⋯ |
then a0,…,ak are uniquely determined, since akbk+⋯+a1+a0 is the expansion for the non-negative integer ⌊x⌋.
The argument to prove that a-i are uniquely determined proceeds similarly as before. We have
a-1b-1 | ≤a-1b-1+a-2b-2+⋯ | |||
≤a-1b-1+∞∑i=2(b-1)b-i | (geometric series) | |||
=a-1b-1+(b-1)b21-b-1 | ||||
=(a-1+1)b-1, |
where equality on the second line occurs if and only if a-i=b-1 for every i≥2. If we insist that a-i is never eventually the same digit b-1, then this shows that the digit a-1 is uniquely determined by where the original number x in the disjoint intervals [a-1b-1,(a-1+1)b-1).
This argument may be repeated, to show that a-i are uniquely
determined, under the assumption that the expansion
does not end in all digits being b-1.
If the assumption is not made, then numbers which have an expansion ending in all digits 0 have an alternate expansion ending in all digits b-1, but other numbers still have unique base-b expansions.
3 Every base-b expansion represents a real number
We also want to prove that for every sequence of digits ak,ak-1,…,a1,a0,a-1,a-2,…
there exists a real number x
with the base-b expansion
x=k∑i=0aibi+∞∑i=0a-ib-i. |
This is the where we use the least upper bounds property of the
real numbers. (So far we have only used the Archimedean property,
so what we have done so far is also valid for ℚ.)
Consider the sequence {sn} with the
sn=k∑i=0aibi+n∑i=0a-ib-i. |
This sequence, considered as a set, is bounded above, for sn≤akbk+⋯+a0+1. So it has a least upper bound x. Since the sequence {sn} is also increasing, its least upper bound is the same as its limit.
Title | existence and uniqueness of decimal expansion |
---|---|
Canonical name | ExistenceAndUniquenessOfDecimalExpansion |
Date of creation | 2013-03-22 15:42:12 |
Last modified on | 2013-03-22 15:42:12 |
Owner | stevecheng (10074) |
Last modified by | stevecheng (10074) |
Numerical id | 8 |
Author | stevecheng (10074) |
Entry type | Theorem![]() |
Classification | msc 11A99 |
Synonym | every decimal expansion represents a real number |
Related topic | CantorsDiagonalArgument |
Related topic | DecimalExpansion |