Exercise · Volume 1 · 1.2.3-24
Exercise 1.2.3-24
proved in Lean solution written
| Rating | 20 |
|---|---|
| Kind | K1, prove: show that a stated fact is true from the written solution |
| Section | Section 1.2.3 of Volume 1. Companion chapter: Sums and products |
The task
For a finite set of indices and positive numbers , prove by induction on the size of the set that the logarithm of the product is the sum of the logarithms.
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 induction runs on the number of integers with . Start with .
Hint 2
For the step, remove one index and use for .
Solution
Show the solution
Let and . Let be the claim for all relations satisfied by exactly integers.
Base, . The product is empty, so it is , and . The sum is empty, so it is . Equal.
Step. Let and assume . Let be satisfied by exactly integers and pick one of them, . Let be " and "; exactly integers satisfy . Then by rule (d) for products, since and the set of are disjoint. Both factors are positive, so By the last term is . Adding the term of gives by rule (d) for sums. This proves , and by induction all .
Check
For , and : the product is and . The logarithms are with sum .
Remarks
The identity changes a product into a sum, so each property of sums gives the product analog (Exercise 1.2.3-22) for positive numbers. The condition is needed: a zero factor has no logarithm, and a negative factor has no real one.
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.Ex24.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_3.Ex24.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.