Exercise · Volume 1 · 1.2.7-20
Exercise 1.2.7-20
stated in Lean solution written
| Rating | HM22 |
|---|---|
| Markers | HM (needs higher mathematics) |
| Kind | K1, prove: show that a stated fact is true from the written solution |
| Section | Section 1.2.7 of Volume 1. Companion chapter: Harmonic numbers |
The task
Let converge at , and let the series converge too. Show that its sum is , an integral that is improper at .
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
Put and look at the tails . Rewrite the integrand as a power series in with the coefficients .
Hint 2
Integrate term by term. Then the integral is when the upper limit is .
Hint 3
To get to , use Abel's theorem on power series. For this, show that converges to the sum on the left. Compare its partial sums with those of .
Solution
Show the solution
Setup. Let , and let . The integral is improper at , and it is defined as the limit of as . Let .
Step 1: tails. Let for . Then , so for some , and .
Step 2: the integrand. The terms are bounded, so for the series converges absolutely. Also , and . For each , exchanging the finite sums,
As , , because and the geometric sum is at most . So for ,
Step 3: integrate. The power series in Step 2 has bounded coefficients, so it has the radius of convergence at least . On with it integrates term by term:
Step 4: converges to . For each , the same exchange of finite sums at gives
The left side tends to . Claim: . Let , so converges and its tails tend to . Then . The weights are positive and decrease. By Abel summation, , and the maximum is at most . So , and the claim follows. Hence converges, with sum .
Step 5: Abel's theorem. If a power series converges at , then its sum tends to as . With , as . This says .
Check
Take and . Then , and . The integral , computed by python, is also . A case with conditional convergence: for , , so . Python gives and the integral .
Remarks
The assumption that converges cannot be dropped. For and the series converges, since its terms alternate in sign and decrease to in absolute value. But , so diverges.
For and the identity is , the generating function of the harmonic numbers. Exercise 1.2.7-22 uses this function.
This solution is checked, and a person has not reviewed it yet. The source.
In Lean
stated The statement is in Lean and it builds. The proof is not in Lean yet.
- Problem:
TAOCP.S1_2_7.Ex20.statementaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.