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.11.1-4

Exercise 1.2.11.1-4

not stated yet in Lean solution written

RatingM15
MarkersM (mathematical)
KindK4, find an estimate: give an asymptotic form or a bound from the written solution
SectionSection 1.2.11.1 of Volume 1. Companion chapter: The O-notation

The task

Find an asymptotic expansion of n(an−1)n(\sqrt[n]a-1) for fixed a>0a>0 with error O(n−3)O(n^{-3}).

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

Write an=e(ln⁡a)/n\sqrt[n]a=e^{(\ln a)/n} and use Eq. (12).

Hint 2

Keep the terms up to z3z^3 in ez−1e^z-1 with z=ln⁡a/nz=\ln a/n, then divide the error term by zz.

Solution

Show the solution

Let L=ln⁡aL=\ln a and z=L/nz=L/n. Then n(an−1)=n(ez−1)n(\sqrt[n]a-1)=n(e^z-1). By (12) with m=4m=4, ez−1=z+z22+z36+O(z4)e^z-1=z+\frac{z^2}2+\frac{z^3}6+O(z^4), and z=O(1/n)z=O(1/n) so O(z4)=O(n−4)O(z^4)=O(n^{-4}). Multiply by nn:

n(an−1)=L+L22n+L36n2+O(n−3).n(\sqrt[n]a-1)=L+\frac{L^2}{2n}+\frac{L^3}{6n^2}+O(n^{-3}).

The constant in the OO depends on aa (it is about L4/24L^4/24).

Check

For a=2a=2 and n=1000n=1000: n(21/n−1)=0.69338746258n(2^{1/n}-1)=0.69338746258 and the three terms give 0.693387462570.69338746257. The difference is 9.6×10−129.6\times10^{-12}, which is the size L4/(24n3)L^4/(24n^3).

Remarks

If a<1a<1 then L<0L<0 and the same formula holds. For a=1a=1 every term is 00.

This solution is drafted, and a person has not reviewed it yet. The source.

In Lean

not stated yet The exercise is not stated in Lean yet.

The status is computed from the Lean build. The node of the map.

Something is wrong? Report it.