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.8-11

Exercise 1.2.8-11

not stated yet in Lean solution written

RatingM20
MarkersM (mathematical)
KindK1, prove: show that a stated fact is true from the written solution
SectionSection 1.2.8 of Volume 1. Companion chapter: Fibonacci numbers

The task

Show that ϕn=Fnϕ+Fn−1\phi^n = F_n\phi + F_{n-1} and ϕ^n=Fnϕ^+Fn−1\hat\phi^n = F_n\hat\phi + F_{n-1} for every integer nn.

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

Both ϕ\phi and ϕ^\hat\phi are roots of x2=x+1x^2 = x + 1.

Hint 2

Show that both sides of each equation satisfy the Fibonacci rule as sequences in nn. Then compare two consecutive values.

Solution

Show the solution

Let xx be ϕ\phi or ϕ^\hat\phi. Then x2=x+1x^2 = x + 1, and x≠0x \ne 0. Multiply by xnx^n to get xn+2=xn+1+xnx^{n+2} = x^{n+1} + x^n for all integers nn. So an=xna_n = x^n satisfies the Fibonacci rule for all integers nn.

The sequence bn=Fnx+Fn−1b_n = F_n x + F_{n-1} satisfies the rule as well, because (Fn)(F_n) does and the rule is linear: bn+2=Fn+2x+Fn+1=(Fn+1+Fn)x+(Fn+Fn−1)=bn+1+bnb_{n+2} = F_{n+2}x + F_{n+1} = (F_{n+1} + F_n)x + (F_n + F_{n-1}) = b_{n+1} + b_n.

The two sequences agree at two consecutive places:

b0=F0x+F−1=1=x0,b1=F1x+F0=x=x1.b_0 = F_0 x + F_{-1} = 1 = x^0, \qquad b_1 = F_1 x + F_0 = x = x^1.

A sequence on all integers that satisfies the rule is fixed by two consecutive values (see Exercise 1.2.8-9), so an=bna_n = b_n for all integers nn.

Check

For n=5n = 5: ϕ5=11.0902…\phi^5 = 11.0902\ldots, and F5ϕ+F4=5⋅1.6180…+3=11.0902…F_5\phi + F_4 = 5 \cdot 1.6180\ldots + 3 = 11.0902\ldots. For ϕ^\hat\phi: ϕ^5=−0.0902…\hat\phi^5 = -0.0902\ldots and 5⋅(−0.6180…)+3=−0.0902…5 \cdot (-0.6180\ldots) + 3 = -0.0902\ldots. For n=−2n = -2: ϕ−2=0.3819…\phi^{-2} = 0.3819\ldots and F−2ϕ+F−3=−1.6180…+2=0.3819…F_{-2}\phi + F_{-3} = -1.6180\ldots + 2 = 0.3819\ldots.

Remarks

The result is the case r=1r = 1, s=xs = x of Exercise 1.2.8-13(a), since xnx^n is a solution of the rule with the start values 11 and xx. The equation ϕt=Ftϕ+Ft−1\phi^t = F_t\phi + F_{t-1} is used in Exercise 1.2.8-23. The matrix form of Exercise 1.2.8-6 says the same thing in another way: AA acts on the pair (ϕ,1)(\phi, 1) as multiplication by ϕ\phi.

This solution is checked, 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.