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

Exercise 1.2.11.1-1

not stated yet in Lean solution written

RatingHM01
MarkersHM (needs higher mathematics)
KindK3, find a value: compute a number, a set or a closed form from the written solution
SectionSection 1.2.11.1 of Volume 1. Companion chapter: The O-notation

The task

Find the limit of a quantity that is O(n−1/3)O(n^{-1/3}) as n→∞n\to\infty.

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

Unfold the definition of OO for a sequence xn=O(n−1/3)x_n=O(n^{-1/3}).

Solution

Show the solution

Let xn=O(n−1/3)x_n=O(n^{-1/3}). There are MM and n0n_0 with ∣xn∣≤Mn−1/3|x_n|\le Mn^{-1/3} for n≥n0n\ge n_0. Since n−1/3→0n^{-1/3}\to0, the squeeze gives xn→0x_n\to0. So the limit is 00, whatever MM and the sequence are.

Check

Take xn=5n−1/3sin⁡nx_n=5n^{-1/3}\sin n. For n=106n=10^6 the bound is 5/100=0.055/100=0.05, and for n=109n=10^9 it is 0.0050.005. Both tend to 00.

Remarks

The same argument shows lim⁡O(f(n))=0\lim O(f(n))=0 whenever f(n)→0f(n)\to0.

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.