Exercise · Volume 1 · 1.2.2-5
Exercise 1.2.2-5
not stated yet in Lean solution written
| Rating | 05 |
|---|---|
| Kind | K3, find a value: compute a number, a set or a closed form from the written solution |
| Section | Section 1.2.2 of Volume 1. Companion chapter: Numbers, powers and logarithms |
The task
Give a definition of the real numbers by binary expansions, to replace Eq. (2) of the section.
The exact wording is in your copy of the book.
Hints
Open one hint at a time. Try the exercise again after each.
Hint 1
Copy the shape of Eqs. (1) and (2) and change the base from to .
Hint 2
Keep the rule on the infinite run of the largest digit.
Solution
Show the solution
A real number is a quantity with a binary expansion , where is an integer, each is or , and the sequence of bits does not end with infinitely many s. The expansion means that for every positive integer . The rule on the bits is needed for the same reason as in the decimal case: without it the number would have two expansions, and . Both definitions describe the same real numbers. The bit of is , and the decimal digits are found in the same way with powers of .
Check
Take . The bits give for the bounds , and passes. The string ends in ones, so it is not allowed. Its bits would give , which rejects .
Remarks
Any integer base gives an equivalent definition. Exercise 1.2.2-6 transfers to a binary expansion without change.
This solution is checked, and a person has not reviewed it yet. The source.
In Lean
not stated yet The exercise is not stated in Lean yet.
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.