Exercise · Volume 1 · 1.2.3-31
Exercise 1.2.3-31
proved in Lean solution written
| Rating | M20 |
|---|---|
| Markers | M (mathematical) |
| Kind | K3, find a value: compute a number, a set or a closed form from the written solution |
| Section | Section 1.2.3 of Volume 1. Companion chapter: Sums and products |
The task
Find a closed form for the sum of over all pairs . Use only , , and .
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
The identity of Exercise 1.2.3-30 has a sum over pairs on the right. Choose its four sequences so that each pair term becomes .
Hint 2
Two of the four sequences must be constant, equal to .
Solution
Show the solution
Binet's identity reads Put , , , . Then and . The right side is the sum that the task asks for. The four sums on the left are Hence
Check
Take , and . Then , and , so the formula gives . The ten pair terms add up to as well (computed with python3).
Remarks
For the identity says that . Divided by it relates the variance of a list to the mean of the squared differences of its pairs.
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.
- Problem:
TAOCP.S1_2_3.Ex31.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_3.Ex31.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.