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

Exercise 1.2.1-4

proved in Lean solution written

Rating20
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 that Fn≥ϕn−2F_n \ge \phi^{n-2} for all n≥1n \ge 1, where ϕ=(1+5)/2\phi = (1 + \sqrt5)/2.

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 induction of eq. (3) in the text, with the inequality turned around.

Hint 2

The step uses the two previous values, so two starting cases are needed.

Hint 3

The identity ϕ2=ϕ+1\phi^2 = \phi + 1 finishes the step.

Solution

Show the solution

Let P(n)P(n) be the statement Fn≥ϕn−2F_n \ge \phi^{n-2}.

Base. F1=1≥ϕ−1≈0.618F_1 = 1 \ge \phi^{-1} \approx 0.618, and F2=1=ϕ0F_2 = 1 = \phi^0. So P(1)P(1) and P(2)P(2) hold.

Step. Let n≥2n \ge 2 and assume P(n−1)P(n-1) and P(n)P(n). Then Fn+1=Fn+Fn−1≥ϕn−2+ϕn−3=ϕn−3(ϕ+1)=ϕn−3ϕ2=ϕn−1,F_{n+1} = F_n + F_{n-1} \ge \phi^{n-2} + \phi^{n-3} = \phi^{n-3}(\phi + 1) = \phi^{n-3} \phi^2 = \phi^{n-1}, which is P(n+1)P(n+1). Here ϕ+1=ϕ2\phi + 1 = \phi^2 because ϕ\phi is a root of x2=x+1x^2 = x + 1. By strong induction, P(n)P(n) holds for all n≥1n \ge 1. □\square

Check

The values F1,…,F8=1,1,2,3,5,8,13,21F_1, \ldots, F_8 = 1, 1, 2, 3, 5, 8, 13, 21 and ϕn−2=0.618,1,1.618,2.618,4.236,6.854,11.09,17.94\phi^{n-2} = 0.618, 1, 1.618, 2.618, 4.236, 6.854, 11.09, 17.94 satisfy the inequality. A python3 run for n=1,…,40n = 1, \ldots, 40 found no failure.

Remarks

Together with eq. (3) this gives ϕn−2≤Fn≤ϕn−1\phi^{n-2} \le F_n \le \phi^{n-1}. The exact formula Fn=(ϕn−ϕ^n)/5F_n = (\phi^n - \hat\phi^n)/\sqrt5 is in Section 1.2.8, and it shows that Fn≈ϕn/5F_n \approx \phi^n/\sqrt5.

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.