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

Exercise 1.2.11.1-7

not stated yet in Lean solution written

RatingHM15
MarkersHM (needs higher mathematics)
KindK1, prove: show that a stated fact is true from the written solution
SectionSection 1.2.11.1 of Volume 1. Companion chapter: The O-notation

The task

Show that for any integer mm there is no MM with ex≤Mxme^x\le Mx^m for arbitrarily large xx.

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

Use the series of exe^x to get a lower bound by a power of xx.

Solution

Show the solution

Fix an integer mm and M>0M>0. Let m′=max⁡(m,0)m'=\max(m,0). For x≥1x\ge1 we have xm≤xm′x^m\le x^{m'}. The series (1.2.9-22) has only positive terms for x>0x>0, so ex>xm′+1(m′+1)!e^x>\frac{x^{m'+1}}{(m'+1)!}. Then for x≥1x\ge1,

exxm≥exxm′>x(m′+1)!.\frac{e^x}{x^m}\ge\frac{e^x}{x^{m'}}>\frac{x}{(m'+1)!}.

The right side exceeds MM for every x>M (m′+1)!x>M\,(m'+1)!. So for all x>max⁡(1,M(m′+1)!)x>\max\bigl(1,M(m'+1)!\bigr) we have ex>Mxme^x>Mx^m. Hence the inequality ex≤Mxme^x\le Mx^m holds only for bounded xx, for each MM.

Check

Take m=5m=5 and M=106M=10^6. The bound gives x>106⋅720=7.2×108x>10^6\cdot720=7.2\times10^8, but the inequality fails already at x=100x=100, where e100/1005=2.69×1033e^{100}/100^5=2.69\times10^{33}.

Remarks

So xm=O(ex)x^m=O(e^x) for each mm, and exe^x is not O(xm)O(x^m) for any mm. See Exercise 1.2.11.1-8 for the inverse form.

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.