taocp

This site has no text of the book. Keep your own copy of TAOCP next to it. See what is checked.

Exercise · Volume 1 · 1.2.2-11

Exercise 1.2.2-11

proved in Lean solution written

Rating10
Markersrecommended
KindK2, decide: say whether a claim holds from the written solution
SectionSection 1.2.2 of Volume 1. Companion chapter: Numbers, powers and logarithms

The task

Decide how many decimal places of x≈log⁡102x \approx \log_{10} 2 are enough to fix the first three decimals of 10x10^x.

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 1.99999…1.99999\ldots and the next gives 2.00000…2.00000\ldots.

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 kk places of xx means that xx lies in an interval of length 10−k10^{-k} around log⁡102\log_{10} 2. Since log⁡102\log_{10} 2 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 10x10^x is increasing and 10log⁡102=210^{\log_{10} 2} = 2. For xx slightly below log⁡102\log_{10} 2 the value 10x10^x is just below 22, so it begins 1.999…1.999\ldots. For xx slightly above it is just above 22 and begins 2.000…2.000\ldots. The first three decimals are 999999 in the first case and 000000 in the second. A finite number of places of xx cannot tell these two cases apart, however large kk is. □\square

Check

Eqs. (8): 100.30102999=1.999999973…10^{0.30102999} = 1.999999973\ldots and 100.30103=2.00000002…10^{0.30103} = 2.00000002\ldots. The two inputs differ by only 10−810^{-8}, yet the outputs have different first decimals: 1.999…1.999\ldots and 2.000…2.000\ldots.

Remarks

Addition shows the same effect. The truncations of 1/3=0.333…1/3 = 0.333\ldots and 2/3=0.666…2/3 = 0.666\ldots to kk places add to 0.99…90.99\ldots9 for every kk, while the exact sum is 11. 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.

The status is computed from the Lean build. The node of the map.

Something is wrong? Report it.