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

Exercise 1.2.2-10

proved in Lean solution written

Rating18
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

Prove that log⁡102\log_{10} 2 is irrational.

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

Assume log⁡102=p/q\log_{10} 2 = p/q with positive integers and clear the denominators with Eq. (9).

Hint 2

Compare the prime factors of the two sides.

Solution

Show the solution

Suppose log⁡102=p/q\log_{10} 2 = p/q with integers p,q>0p, q > 0. Then 2=10p/q2 = 10^{p/q}, and raising to the power qq gives 2q=10p2^q = 10^p. The right side is divisible by 55, because p≥1p \ge 1. The left side is a power of 22, which has no factor 55. This is a contradiction. □\square

Check

Try p/q=3/10p/q = 3/10, near 0.301030.30103: 210=10242^{10} = 1024 and 103=100010^3 = 1000, which are close but not equal. Try p/q=10/33p/q = 10/33: 233=85899345922^{33} = 8589934592 and 101010^{10} are not equal either.

Remarks

The same argument shows that log⁡10n\log_{10} n is irrational unless nn is a power of 1010. See Exercise 1.2.2-20 for the link with lg⁡10\lg 10.

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.