Exercise · Volume 1 · 1.2.2-29
Exercise 1.2.2-29
proved in Lean solution written
| Rating | HM20 |
|---|---|
| Markers | HM (needs higher mathematics) |
| 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
Find the base that makes least, when is a real number, when is an integer, and for the variant with an integer.
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 and note that . Only matters.
Hint 2
Differentiate, and find where the function falls and where it rises.
Hint 3
For integers compare the two integers next to the turning point.
Solution
Show the solution
Let , so , and .
(a) Put . Then . This is negative for and positive for . So has its unique minimum at , with value , and is least for .
(b) The function falls up to and rises afterwards, so among the integers the minimum is at or . Here and . The minimum is at .
(c) Put . Then . The function is increasing, since . Also and . So falls up to a point between and and rises afterwards, and the integer minimum is at or . Here and . The minimum is at .
Check
For : for is , and . For with the values are , and .
Remarks
The quantity measures the work for a number system with symbols, when a number up to needs places of states each. This is the old argument for base , which is the nearest integer to . Part (c) models a cost of for each place.
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.Ex29.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_2.Ex29.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.