Exercise · Volume 1 · 1.2.2-22
Exercise 1.2.2-22
proved in Lean solution written
| Rating | 20 |
|---|---|
| Markers | recommended |
| Kind | K1, prove: show that a stated fact is true from the written solution |
| Section | Section 1.2.2 of Volume 1. Companion chapter: Numbers, powers and logarithms |
The task
Show that approximates with a relative error below .
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
Write all three logarithms with as a common factor.
Hint 2
The ratio of the two sides does not depend on .
Solution
Show the solution
Let and . By Eq. (14), and . So With and this is . The relative error is below , and the same for every .
Check
For : , , the sum is and . The relative error is .
Remarks
The sum slightly underestimates for and overestimates it for . A table of natural and of common logarithms thus gives binary logarithms by one addition.
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.Ex22.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_2.Ex22.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.