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

Exercise 1.2.2-17

proved in Lean solution written

Rating05
Markersrecommended
KindK3, find a value: compute a number, a set or a closed form from the written solution
SectionSection 1.2.2 of Volume 1. Companion chapter: Numbers, powers and logarithms

The task

Find lg⁡32\lg 32, log⁡ππ\log_\pi \pi, ln⁡e\ln e, log⁡b1\log_b 1, and decide whether log⁡b(−1)\log_b(-1) is defined.

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

For each value ask which power of the base gives the argument.

Hint 2

For the last part recall that a power of a positive base is never negative.

Solution

Show the solution

lg⁡32=5\lg 32 = 5, because 25=322^5 = 32. log⁡ππ=1\log_\pi \pi = 1, because π1=π\pi^1 = \pi. ln⁡e=1\ln e = 1 for the same reason. log⁡b1=0\log_b 1 = 0 for every base b>0b > 0, b≠1b \ne 1, because b0=1b^0 = 1. The logarithm log⁡b(−1)\log_b(-1) is not defined: it would be a real yy with by=−1b^y = -1, but by>0b^y > 0 for every real yy when b>0b > 0.

Check

25=322^5 = 32 and π1=π\pi^1 = \pi. For the last part try b=2b = 2: the powers 2−3,20,21/2,232^{-3}, 2^0, 2^{1/2}, 2^3 are 0.125,1,1.414…,80.125, 1, 1.414\ldots, 8, all positive.

Remarks

The complex logarithm gives ln⁡(−1)=iπ\ln(-1) = i\pi and defines the logarithm of −1-1, but that lies outside this section, which keeps to real numbers.

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.