Exercise · Volume 1 · 1.2.8-9
Exercise 1.2.8-9
not stated yet in Lean solution written
| Rating | M20 |
|---|---|
| Markers | M (mathematical) |
| Kind | K2, decide: say whether a claim holds from the written solution |
| Section | Section 1.2.8 of Volume 1. Companion chapter: Fibonacci numbers |
The task
Decide which of the equations (4), (6), (14) and (15) remain true when the subscripts may be any integers, with defined for negative as in Exercise 1.2.8-8.
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
A sequence indexed by all integers that satisfies is fixed by two consecutive values, in both directions.
Hint 2
For (4), (6) and (14), show that both sides satisfy the recurrence and agree at two consecutive places. For (15), try .
Solution
Show the solution
A sequence with for all integers is fixed by and : the rule gives from and , and it gives for the way down. Two such sequences that agree at and are equal.
Eq. (14), . The sequence is defined for all integers, because so neither number is zero. Both and satisfy , so multiplication by gives for all integers . Hence satisfies the rule. Also and . So for all integers . Eq. (14) holds.
Eq. (4), . Let be the left side. Using and , which are true for all integers,
Also . The relation moves up and down from , so for all integers . Eq. (4) holds.
Eq. (6), . Fix and let both sides be sequences in . Both satisfy the rule: the right side is a combination of the shifted sequences and . At the two sides are and . At they are and . So eq. (6) holds for all integers and .
Eq. (15), is rounded. This fails for every . For : rounds to , but . For in general: , so the rounded value is , while . For eq. (15) holds as in the text.
Answer: (4), (6) and (14) hold for all integers. (15) holds only for .
Check
With python3 and exact fractions in , or with floating point and from to : for all those , and eq. (6) holds for all pairs in that range. For : , which rounds to , but .
Remarks
The reason for the failure of (15) is that is small only for positive . For negative the term is the large one, and it carries the value of . In general the nearest-integer rule is with the second term of size less than for only. See the C1 chapter on Section 1.2.8.
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.