Exercise · Volume 1 · 1.2.3-23
Exercise 1.2.3-23
not stated yet in Lean solution written
| Rating | 10 |
|---|---|
| Kind | Informal: the exercise has no formal statement, so Lean does not state it from the written solution |
| Section | Section 1.2.3 of Volume 1. Companion chapter: Sums and products |
The task
Explain why the empty sum should be and the empty product .
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
Ask which value keeps the rules of the section true when one of the two ranges is empty.
Solution
Show the solution
The value for an empty set must be the neutral element of the operation: for a sum and for a product. Then three things work without exception.
Splitting a range. The rule should hold for and for , where one part is empty. It holds only if an empty sum is , since for all needs . The same rule for products needs the empty product to be .
Rule (d). In Eq. (11) and its product form, the term over " and " is empty when and cannot hold together. The rule then reads , which is right only with the value for the empty sum (and with the value for the empty product).
Counting and formulas. The number of terms of an empty range is , as in Exercise 1.2.3-17. The geometric sum Eq. (14) for gives (Exercise 1.2.3-9), and gives . Any other choice, such as , would destroy the identity at .
Remarks
The same convention makes the sum and the product of one term equal that term, and lets the notation work for all in the formulas of the section. See Exercise 1.2.3-1 for the dotted notation, where the same issue gives a negative value.
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.