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

Exercise 1.2.2-23

proved in Lean solution written

RatingM25
MarkersM (mathematical)
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 ln⁡xy=ln⁡x+ln⁡y\ln xy = \ln x + \ln y with the area under the curve v=1/uv = 1/u.

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

Split the area from 11 to xyxy at the point xx.

Hint 2

Stretch the second part by the factor xx along one axis and shrink it by xx along the other.

Solution

Show the solution

For positive s<ts < t let A(s,t)A(s, t) be the area of the region 0≤v≤1/u0 \le v \le 1/u, s≤u≤ts \le u \le t, and put A(t,s)=−A(s,t)A(t, s) = -A(s, t) and A(s,s)=0A(s, s) = 0. Then A(s,t)+A(t,r)=A(s,r)A(s, t) + A(t, r) = A(s, r) for all positive s,t,rs, t, r, and ln⁡x=A(1,x)\ln x = A(1, x) by Fig. 6, with the sign convention that gives negative values for x<1x < 1.

Scaling. Take c>0c > 0 and the map (u,v)↦(u/c,cv)(u, v) \mapsto (u/c, cv). If s≤u≤ts \le u \le t and 0≤v≤1/u0 \le v \le 1/u, then the image point (u′,v′)(u', v') has s/c≤u′≤t/cs/c \le u' \le t/c and v′=cv≤c/u=1/u′v' = cv \le c/u = 1/u'. The map is a bijection between the region under the curve over [s,t][s, t] and the region under the curve over [s/c,t/c][s/c, t/c]. It multiplies lengths on the uu axis by 1/c1/c and on the vv axis by cc, so it keeps areas. Hence A(s,t)=A(s/c,t/c)A(s, t) = A(s/c, t/c).

Now ln⁡xy=A(1,xy)=A(1,x)+A(x,xy)\ln xy = A(1, xy) = A(1, x) + A(x, xy), and the scaling with c=xc = x gives A(x,xy)=A(1,y)=ln⁡yA(x, xy) = A(1, y) = \ln y. So ln⁡xy=ln⁡x+ln⁡y\ln xy = \ln x + \ln y. □\square

Check

Take x=2x = 2 and y=3y = 3. A midpoint-rule sum of 1/u1/u with 60006000 strips over [1,6][1, 6] gives 1.7917…1.7917\ldots, and ln⁡2+ln⁡3=0.6931+1.0986=1.7918\ln 2 + \ln 3 = 0.6931 + 1.0986 = 1.7918.

Remarks

The scaling is the geometric form of the substitution u=xsu = xs in ∫dt/t\int dt/t. Repeated use of the rule gives ln⁡xn=nln⁡x\ln x^n = n \ln x for positive integers nn, a case of Eq. (12), which Exercise 1.2.2-14 proves in general.

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.