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-12

Exercise 1.2.2-12

proved in Lean solution written

Rating02
KindK1, prove: show that a stated fact is true from the written solution
SectionSection 1.2.2 of Volume 1. Companion chapter: Numbers, powers and logarithms

The task

Show that the value of log⁡102\log_{10} 2 in Eq. (10) follows from the two facts of Eqs. (8).

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

Use that 10x10^x is strictly increasing, and apply Eq. (7) in reverse.

Solution

Show the solution

Eqs. (8) say 100.30102999<2<100.3010310^{0.30102999} < 2 < 10^{0.30103}. The logarithm x=log⁡102x = \log_{10} 2 is defined by 10x=210^x = 2, and t↦10tt \mapsto 10^t is strictly increasing. So 100.30102999<10x<100.3010310^{0.30102999} < 10^x < 10^{0.30103} forces 0.30102999<x<0.301030.30102999 < x < 0.30103. The right end is 0.30102999+10−80.30102999 + 10^{-8}, so xx satisfies Eq. (2) with k=8k = 8, n=0n = 0 and the digits 3,0,1,0,2,9,9,93, 0, 1, 0, 2, 9, 9, 9. The intervals of Eq. (2) for the different strings of eight digits do not overlap, so no other string works, and Eq. (10) gives the first eight decimals of log⁡102\log_{10} 2. □\square

Check

The two digit strings differ by exactly 10−810^{-8}, which is the width in Eq. (2). The first value 0.301029990.30102999 is the left end and 0.301030000.30103000 is the right end of the interval.

Remarks

Eq. (10) lists only these eight places. More places follow from a sharper table, for example by the method at the end of Section 1.2.2.

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.