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

Exercise 1.2.1-10

proved in Lean solution written

RatingM22
MarkersM (mathematical)
KindK1, prove: show that a stated fact is true from the written solution
SectionSection 1.2.1 of Volume 1. Companion chapter: Mathematical induction

The task

Show by induction that 2n>n32^n > n^3 for all integers n≥10n \ge 10.

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

Check n=10n = 10 by hand.

Hint 2

In the step, 2n+1=2⋅2n>2n32^{n+1} = 2 \cdot 2^n > 2n^3. Compare 2n32n^3 with (n+1)3(n+1)^3.

Solution

Show the solution

Base. 210=1024>1000=1032^{10} = 1024 > 1000 = 10^3.

Step. Let n≥10n \ge 10 and assume 2n>n32^n > n^3. Then 2n+1>2n32^{n+1} > 2n^3. It remains to show that 2n3≥(n+1)32n^3 \ge (n+1)^3, that is (1+1n)3≤2\left(1 + \frac1n\right)^3 \le 2. Since n≥10n \ge 10, (1+1n)3≤(1.1)3=1.331<2\left(1 + \frac1n\right)^3 \le (1.1)^3 = 1.331 < 2. So 2n+1>2n3>(n+1)32^{n+1} > 2n^3 > (n+1)^3. □\square

Check

211=2048>13312^{11} = 2048 > 1331, and 212=4096>17282^{12} = 4096 > 1728. The start value 1010 is the least: 29=512<729=932^9 = 512 < 729 = 9^3, and the inequality is false for n=2,…,9n = 2, \ldots, 9 (python3 found 2n≤n32^n \le n^3 exactly for these nn).

Remarks

The step needs a lower bound on nn: the inequality (1+1/n)3≤2(1 + 1/n)^3 \le 2 holds exactly for n≥4n \ge 4 (at n=3n = 3 the value is (4/3)3≈2.37(4/3)^3 \approx 2.37). So the step is valid from n=4n = 4 on. The statement itself is false for 2≤n≤92 \le n \le 9, so the first base case that works is n=10n = 10.

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.