A real number of the form
where is a nonnegative integer and ,
,... are integers satisfying ,
is usually written more briefly as follows:
This is said to be a decimal representation of r.
Finite decimal approximations
Real numbers can be approximated to any desired degree of accuracy by rational numbers with finite decimal representations.
Assume . Then for every integer there is a finte decimal such that
- .
Proof:
Let S be the set of all nonnegative integers . Then S is nonempty, since , and S is bounded above by x. Therefore S has a supremum, say . It is easily verified that , so is a nonnegative integer. We call the greatest integer in x, and we write . Clearly, we have.
Now let , the greatest integer in . Since , we have and . In other words,
is the largest integer satisfying the inequalities
- .
More generally, having chosen with , let be the largest integer satisfying the inequalities
- .
Then and we have
- ,
where .
It is easy to verify that x is actually the supremum of the set of rational numbers ,,....
Verification of
By the approximation property of the supremum of a set of real numbers, for every z>0, there exists x in S such that
. Therefore, and then
for .
Verify that x is the supremum of the set of rational numbers r1, r2, ...
For every , , or x is the upper bound of the set of rational numbers r1,r2,....
Suppose that there is a real number y such that for every and .
Thus, and then .This is a contradiction.Therefore, x is the least upper bound, or the supremum.
Finite decimal representions
The decimal expansion of x will end in zeros(or in nines) if, and only if, x is a rational number whose denominator is of the form 2n5m, where m and n are nonnegative integers.
Proof:
If the decimal expansion of x will end in zeros, or
for some n,
then the denominator of x is of the form 10n=2n5n.
Conversely, if the denominator of x is of the form 2n5m,
for some p.
While x is of the form p/10k,
for some n.
By ,
x will end in zeros.