8. Usual expansions of real numbers; the power of r
1. Approximations to a real number
Definition 1
Given a number ε>0, a real number r is said to be an approximation to within ε to a real number x, if ∣x−r∣≤ε; r is said to be an approximation by defect if r≤x, by excess if r≥x.
Let A be a dense subset of R. For each x∈R and each ε>0 there is an approximation by defect (resp. excess) to x to within ε belonging to A, since the interval ]x−ε,x[ (resp. ]x,x+ε[) contains at least one point of A. If we now consider a given strictly decreasing sequence (εn) of numbers >0, tending to 0, and if rn is an approximation to x to within εn, then the sequence (rn) has x as limit as n tends to infinity.
In the case where A is a subgroup of the additive group R, and we restrict the εn to belong to A, we can define canonically for each x∈R a sequence (rn) of approximations to x by defect, belonging to A.
For by Archimedes' axiom (§ 2, no. 1, Theorem 1), the set of integers p such that pεn≤x has a greatest element pn; in other words, there is a unique integer pn such that
pnεn≤x<(pn+1)εn.
Since ∣x−pnεn∣≤εn, it follows that pnεn is an approximation to x to within εn by defect, and belongs to A by hypothesis; similarly (pn+1)εn is an approximation to x to within εn by excess, belonging to A, and the two sequences (pnεn) and ((pn+1)εn) have x as their limit.
2. Expansions of real numbers relative to a base sequence
We shall limit ourselves to studying the case where εn=1/dn, where (dn) is a strictly increasing sequence of integers such that d0=1 and dn is a multiple of dn−1 for n≥1. Let an=dn/dn−1 (n≥1): an is an integer >1. In this case, the sequence of approximations by defect rn=pn/dn is increasing, for pn is the largest integer such that pn/dn≤x; but we have
dn−1pn−1=dnpn−1an≤x<dn−1pn−1+1=dnpn−1an+an
so that anpn−1≤pn<anpn−1+an, and therefore rn−1≤rn≤x. Let
pn=anpn−1+un; then 0≤un−an, which is equivalent to 0≤un≤an−1, since un is an integer. Hence rn=rn−1+dnun=p0+k=1∑ndkuk, and, since x=limn→∞rn, x=p0+n=1∑∞dnun. The series on the right-hand side of (4), whose sum is x, is called the expansion of x relative to the base sequence (dn). All the coefficients un are ≥0; p0 is, by definition, the largest integer p such that p≤x; it is called the integral part of x, and is often denoted by [x].
3. Definition of a real number by means of its expansion
Conversely, suppose we are given an integer q0 and a sequence (vn) (n≥1) of integers such that 0≤vn≤an−1; we ask whether there is a number x whose expansion (4) is such that p0=q0 and un=vn for all n. If such a number exists it is unique, because it is equal to
q0+n=1∑∞dnvn. For each integer m>0 we have (by the principle of comparison) n=m+1∑∞dnvn≤n=m+1∑∞dnan−1=n=m+1∑∞(dn−11−dn1)=dm1 and the extreme left-hand and right-hand terms are equal only if vn=an−1 for each n>m (§ 7, no. 1, Theorem 2). Hence the series whose general term is dnvn is convergent; moreover, if x=q0+∑n=1∞dnvn, we have sm=q0+n=1∑mdnvn≤x≤sm+dm1 and x=sm+dm1 only if vn=an−1 for each n>m. Since sm is a fraction with denominator dm, the approximation rm to x to within 1/dm by defect is equal to sm or sm+dm1; and the latter alternative can occur only if vn=an−1 for all n>m. Thus: (i) There is an infinity of values of n such that vn<an−1: then the series q0+∑n=1∞dnvn is identical with the expansion of its sum x. (ii) There is an integer m≥0 such that vn=an−1 whenever n>m, and vm<am−1 (if m>0); then the sum x of the series q0+∑n=1∞dnvn is equal to the rational number q0+n=1∑mdnvn+dm1 which is of the form k/dm (k an integer); the expansion of x is identical with the series (5), in which all the terms with indices >m are zero; such an expansion is said to be terminating, or to terminate. The series q0+n=1∑∞dnvn=q0+n=1∑mdnvn+n=m+1∑∞dnan−1 is called the improper expansion of the number x.
Conversely, let x be a rational number which can be written in the form of a fraction with denominator dn for some value of n. Let m be the smallest integer such that x is of the form k/dm (k an integer); we have rn<x for n<m, and rm=x, and therefore the expansion of x is of the form (5), and x has an improper expansion given by (6); moreover this improper expansion is unique.
A rational number, written in its irreducible form p/q, is equal to a fraction with denominator dn if and only if q divides dn (the number m will therefore be the smallest integer n such that q divides dn). It can happen that every rational number has this property (for a suitably chosen n) : this will be the case if and only if every integer >0 divides some dn, e.g., if dn=n! If the dn have this property, then a number is rational if and only if its expansion, relative to the sequence (dn), terminates.
To summarize: to every sequence s whose initial term q0 is an arbitrary integer, and whose term vn(n≥1) is such that 0≤vn≤an−1, corresponds a real number equal to q0+∑n=1∞dnvn; if In denotes the interval [0,an−1] of N, we thus define a mapping φ of X=Z×∏n=1∞In onto the real line R; moreover the equation φ(s)=x, where x∈R is given, has one solution if x is not a fraction with denominator dn (for some n), and two solutions otherwise.
4. Comparison of expansions
If we know the expansions of two distinct real numbers x and y, we can determine whether x<y or x>y.
Let x=p0+∑n=1∞un/dn, y=q0+∑n=1∞vn/dn be the expansions of x and y. If p0<q0 then x<y, since
p0≤x<p0+1≤q0≤y.
More generally, suppose that p0=q0 and un=vn for 1≤n≤m, but that um<vm; if
rn=p0+k=1∑nuk/dk,sn=q0+k=1∑nvk/dk,
then rn=sn for n<m, and since um+1≤vm, rm+dm1≤sm; but rm≤x<rm+dm1≤sm≤y, hence again we have x<y. In other words, the order of x and y is the same as the order of the first two distinct terms of their respective expansions.
It follows that, if p0=q0 and un=vn for n<m, then the first m terms of the expansion of every number z belonging to the closed interval with end-points x and y are the same as those of the expansions of x and y.
We remark also that, in this case, we have ∣y−x∣≤dm−11. If we endow Z and the intervals In with the discrete topology, it follows that the mapping φ defined above is continuous on the product space X.
5. Expansions to base a
The most important base sequences are those for which dn=an, where a is an integer >1; a is then said to be the base number (or simply the base) of the corresponding expansions. For numerical calculations, expansions to base 10, which are called decimal expansions, are used; also expansions to base 2 (dyadic expansions) and base 3 (triadic expansions) are often used.
To represent the approximations by defect rn to a number x≥0, in its expansion to base a, the following symbolism is employed: each integer u such that 0≤u≤a−1 is denoted by a particular sign; if
rn=p0+k=1∑ndkuk,
we first write down, with the aid of these signs, the representation to base a of the integer p0=[x]≥0 (Set Theory, Chapter III, § 5, no. 7), then we put a point ("decimal point") and we write successively the signs representing the numbers u1,u2,…,un. If S is the symbol thus obtained, it is customary to write x=S..., by abuse of language. It should be understood once and for all that such a relation is only an abbreviated method of indicating that the right-hand side is the approximation to x to within 1/an by defect.
For negative numbers the established usage is different: we write an approximation to x′=−x>0 in the symbolism described above, and precede it by the sign “—”; it is thus an approximation to x to within 1/an by excess that is so denoted.
This usage has its inconveniences for numerical calculations. In the notation for negative logarithms the same symbolism is adopted as for positive numbers, by putting a bar over the integral part, to indicate that it is equal to the negative of the number written.
6. The power of r
We have R=⋃n∈Z[n,n+1[, and all the intervals [n,n+1[ are equipotent to [0,1[. Since [0,1[ is an infinite set it follows that R is equipotent to the interval [0,1[. By considering the dyadic expansion of the numbers of the interval [0,1[ we shall show that this interval is equipotent to the set S of all sequences (un) in which each term is equal to 0 or 1.
First, it is equipotent to the subset S′ of S consisting of sequences (un) such that un=0 for an infinity of values of n. On the other hand, the complement S′′ of S′ in S is equipotent to the set of all improper expansions of rational numbers which are equal to a fraction with denominator 2n; these numbers form a subset of Q, hence the set of them is countable and therefore so is S′′. Since S′ is infinite, it is equipotent to S, hence the result.
Now S is equipotent to P(N); for we can define a bijection of P(N) onto S by mapping each subset A of N to the sequence (un) such that un=0 if n∈A and un=1 if n∈/CA. We have thus proved:
Theorem 1 (Cantor)
The set of real numbers is equipotent to the set of all subsets of a countably infinite set.
Corollary
The set of real numbers has a cardinal strictly greater than the cardinal of a countable set.
A set equipotent to R is said to have the power of the continuum. By Proposition 1 of § 4, no. 1, every interval which contains more than one point has the power of the continuum. Again, the complement of a countable subset of R has the power of the continuum in particular, the set of all irrational numbers has the power of the continuum.
Exercises
See the exercises for § 8.