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

Exercise 1.2.2-13

proved in Lean solution written

RatingM23
MarkersM (mathematical), recommended
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

(a) Show that 1+xn−1≤x/n\sqrt[n]{1+x} - 1 \le x/n for x>0x > 0 and a positive integer nn. (b) Use it to justify the remark after Eq. (7).

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

Prove Bernoulli's inequality (1+y)n≥1+ny(1 + y)^n \ge 1 + ny for y>0y > 0 by induction on nn.

Hint 2

Put y=x/ny = x/n and take nnth roots.

Hint 3

For part (b) put x=b−1x = b - 1 and n=10kn = 10^k.

Solution

Show the solution

(a) Claim: (1+y)n≥1+ny(1 + y)^n \ge 1 + ny for y>0y > 0 and n≥1n \ge 1. For n=1n = 1 it is an equality. If it holds for nn, then (1+y)n+1≥(1+ny)(1+y)=1+(n+1)y+ny2≥1+(n+1)y(1+y)^{n+1} \ge (1 + ny)(1 + y) = 1 + (n+1)y + ny^2 \ge 1 + (n+1)y. Now set y=x/ny = x/n: (1+x/n)n≥1+x(1 + x/n)^n \ge 1 + x. Both sides are positive and the nnth root is increasing, so 1+x/n≥1+xn1 + x/n \ge \sqrt[n]{1+x}, which is the claim.

(b) Let b>1b > 1 and let q=n0+d1/10+⋯+dk/10kq = n_0 + d_1/10 + \cdots + d_k/10^k be the truncation of xx in Eq. (7). The width between the two ends of (7) is bq(b1/10k−1)b^q (b^{1/10^k} - 1). Since 0≤q−n0<10 \le q - n_0 < 1, q<n0+1q < n_0 + 1 and bq<bn0+1b^q < b^{n_0+1}. By (a) with 1+x1 + x replaced by bb and n=10kn = 10^k, b1/10k−1≤(b−1)/10kb^{1/10^k} - 1 \le (b - 1)/10^k. So the width is less than bn0+1(b−1)/10kb^{n_0+1}(b-1)/10^k. This goes to 00 as kk grows, so Eq. (7) fixes bxb^x to any wanted accuracy. □\square

Check

Take x=3x = 3 and n=2n = 2: 4−1=1≤3/2\sqrt{4} - 1 = 1 \le 3/2. For b=10b = 10, k=1k = 1: 100.1−1=0.2589…≤9/1010^{0.1} - 1 = 0.2589\ldots \le 9/10.

Remarks

The bound is sharp only for n=1n = 1. For large nn the true value of 1+xn−1\sqrt[n]{1+x} - 1 is near ln⁡(1+x)/n\ln(1+x)/n, which is smaller than x/nx/n.

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.