Exercise · Volume 1 · 1.2.5-22
Exercise 1.2.5-22
proved in Lean solution written
| Rating | HM20 |
|---|---|
| Markers | HM (needs higher mathematics), recommended |
| Kind | K1, prove: show that a stated fact is true from the written solution |
| Section | Section 1.2.5 of Volume 1. Companion chapter: Permutations and factorials |
The task
Guess how behaves as . Test the guess for integer . Say what the guess implies for with not an integer.
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
Euler's argument: times is . So the ratio should grow like . Put this as a limit.
Hint 2
For integer , expand as a product of factors. For the other , assume a function with and the limit property, and write in terms of .
Hint 3
Compare the result with eq. (13).
Solution
Show the solution
Hypothesis. For each fixed real , as . That is, .
(a) The hypothesis is true with , for each real . The proof uses that has the integral form of exercise 20 and the recurrence for .
Step 1: log-convexity. For and , Hölder's inequality with exponents and gives
Step 2: . The point is , so . The point is , so . Together, with ,
The left side tends to . So . The case is trivial.
Step 3: all real . Let . By the recurrence, and for large . The factors tend to . So if then . With Step 2 this gives for each real .
Step 4. , because . So the ratio tends to .
(b) Integer . Then . The hypothesis holds.
(c) What it says about . Let be a function with and , and let not be a negative integer. Then and , by the recurrence. If the hypothesis holds for at , then
This is eq. (13). So the hypothesis fixes for every noninteger , and it leads to Euler's definition.
Check
Python gives for : at , at , and at . For the values at the same are , and . For they are , and . For the product is , for example at .
Remarks
The error in (a) is of order : the ratio is , which matches the values above for , where . Exercise 1.2.5-20 supplies the integral that the proof of (a) uses.
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. Lean states the parts one by one.
- Problem (a):
TAOCP.S1_2_5.Ex22.a.statementaxioms: Classical.choice, Quot.sound, propext - Solution (a):
TAOCP.S1_2_5.Ex22.a.solvedaxioms: Classical.choice, Quot.sound, propext - Problem (b):
TAOCP.S1_2_5.Ex22.b.statementaxioms: Classical.choice, Quot.sound, propext - Solution (b):
TAOCP.S1_2_5.Ex22.b.solvedaxioms: Classical.choice, Quot.sound, propext - Problem (c):
TAOCP.S1_2_5.Ex22.c.statementaxioms: Classical.choice, Quot.sound, propext - Solution (c):
TAOCP.S1_2_5.Ex22.c.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.