Integrals against 1/(1+x²) and the kernel of A012 #
This file collects the lemmas behind A012 (and A013): termwise integration of geometric series
over [0, 1], the integral representation of Li₂(-x), an explicit kernel, and the Fubini swap
that connects them.
Main results #
LeanPolyLog.Arctan.hasSum_integral_div_one_sub: termwise integration ofφ(y)/(1 - q(y)) = ∑ q(y)ⁿ φ(y)over[0, 1], when|q| < 1on(0, 1)and the integrals of the norms of the terms are summable.LeanPolyLog.Arctan.hasSum_integral_mul_div_one_add_mul,LeanPolyLog.Arctan.hasSum_integral_div_one_add_sq: the casesq(y) = -xyandq(y) = -y².LeanPolyLog.Arctan.integral_pow_mul_log:∫₀¹ tᵐ log t dt = -1/(m+1)².LeanPolyLog.Arctan.integral_mul_log_div_one_add_mul: for0 ≤ x ≤ 1,∫₀¹ x log y/(1 + xy) dy = Li₂(-x).LeanPolyLog.Arctan.integral_kernel: fory ≥ 0,∫₀¹ x/((1+x²)(1+xy)) dx = (log 2/2 + πy/4 - log(1+y))/(1+y²).LeanPolyLog.Arctan.integral_integral_swap_kernel: forφintegrable on[0, 1],∫₀¹ (1+x²)⁻¹ ∫₀¹ x φ(y)/(1+xy) dy dx = ∫₀¹ φ(y) ∫₀¹ x/((1+x²)(1+xy)) dx dy.LeanPolyLog.Arctan.integral_log_div_one_add_sq,LeanPolyLog.Arctan.integral_mul_log_div_one_add_sq:∫₀¹ log y/(1+y²) dy = -Gand∫₀¹ y log y/(1+y²) dy = -π²/48.LeanPolyLog.Arctan.hasDerivAt_Lir_two_neg_add: on(0, 1),Li₂(-x) + log x · log(1+x)is an antiderivative oflog x/(1+x).
Proof sketch #
- Termwise integration is
MeasureTheory.hasSum_integral_of_summable_integral_norm. The geometric series∑ q(y)ⁿconverges on(0, 1), which differs from(0, 1]by a null set. - For
Li₂(-x), expandx log y/(1+xy) = ∑ (-x)ⁿ x yⁿ log yand use∫₀¹ yⁿ log y dy = -1/(n+1)²; the norms of the terms integrate tox^(n+1)/(n+1)². - The kernel has the explicit antiderivative
(log(1+x²)/2 + y arctan x - log(1+xy))/(1+y²)(partial fractions). - For the swap, on
(0, 1]²the integrandx φ(y)/((1+x²)(1+xy))is bounded by|φ(y)|, which is integrable on the square, so Fubini applies (intervalIntegral_intervalIntegral_swap). ∫₀¹ y log y/(1+y²) dy = ∑ (-1)ⁿ ∫₀¹ y^(2n+1) log y dy = -η(2)/4 = -π²/48.
Termwise integration of geometric series #
Termwise integration of φ(y)/(1 - q(y)) = ∑ q(y)ⁿ φ(y) over [0, 1], when |q(y)| < 1 on
(0, 1) and the integrals of the norms of the terms are summable.
For 0 ≤ x ≤ 1: ∫₀¹ x ψ(y)/(1 + xy) dy = ∑ (-x)ⁿ x ∫₀¹ yⁿ ψ(y) dy, provided the moments
∫₀¹ ‖yⁿ ψ(y)‖ dy are summable.
∫₀¹ ψ(y)/(1 + y²) dy = ∑ (-1)ⁿ ∫₀¹ y²ⁿ ψ(y) dy, provided the moments ∫₀¹ ‖y²ⁿ ψ(y)‖ dy
are summable.
The moments ∫₀¹ tᵐ log t dt #
tᵐ log t is integrable on [0, 1].
The dilogarithm as an integral #
The kernel ∫₀¹ x/((1+x²)(1+xy)) dx and the Fubini swap #
x ↦ (1 + x²)⁻¹ is continuous.
Fubini for the kernel: for φ integrable on [0, 1],
∫₀¹ (1+x²)⁻¹ ∫₀¹ x φ(y)/(1+xy) dy dx = ∫₀¹ φ(y) ∫₀¹ x/((1+x²)(1+xy)) dx dy.
Two integrals against 1/(1+y²) #
An antiderivative of log x/(1+x) #
x ↦ log x · log(1+x) is continuous on ℝ (with Lean's log 0 = 0).
For s ≥ 2, x ↦ Li_s(-x) is continuous on [0, 1].