Exercise · Volume 1 · 1.2.2-11
Exercise 1.2.2-11
proved in Lean solution written
| Rating | 10 |
|---|---|
| Markers | recommended |
| Kind | K2, decide: say whether a claim holds from the written solution |
| Section | Section 1.2.2 of Volume 1. Companion chapter: Numbers, powers and logarithms |
The task
Decide how many decimal places of are enough to fix the first three decimals of .
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
Look at Eqs. (8). One approximation gives and the next gives .
Hint 2
Use Exercise 1.2.2-10 to say what finite information can and cannot show.
Solution
Show the solution
No number of places is enough. Knowing places of means that lies in an interval of length around . Since is irrational by Exercise 1.2.2-10, it is not an endpoint of any such interval, and every interval of this kind holds numbers on both sides of it. The function is increasing and . For slightly below the value is just below , so it begins . For slightly above it is just above and begins . The first three decimals are in the first case and in the second. A finite number of places of cannot tell these two cases apart, however large is.
Check
Eqs. (8): and . The two inputs differ by only , yet the outputs have different first decimals: and .
Remarks
Addition shows the same effect. The truncations of and to places add to for every , while the exact sum is . So the first digit of a sum can depend on digits far to the right.
This solution is checked, and a person has not reviewed it yet. The source.
In Lean
proved The statement and its proof are in Lean. The kernel accepts the proof, and it uses the standard axioms only.
- Problem:
TAOCP.S1_2_2.Ex11.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_2.Ex11.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.