Documentation

LeanPool.PolylogIntegrals.Lemmas.LogSinSq

The integral ∫₀^{π/2} log² sin x dx #

This file proves ∫₀^{π/2} log² sin x dx = π³/24 + (π/2) log² 2, which A015 and A016 use.

Main results #

Proof sketch #

Write L = ∫₀^{π/2} log² sin and B = ∫₀^{π/2} log sin · log cos; also ∫₀^{π/2} log² cos = L and ∫₀^{π/2} log cos = ∫₀^{π/2} log sin = -(π/2) log 2.

Integrability #

On (0, π/2], Jordan's inequality gives log² sin x ≤ log² (2x/π).

log² (2x/π) is integrable on [0, π/2].

log sin · log cos is integrable on [0, π/2]: it is bounded by log² sin + log² cos.

Symmetries #

∫₀^{π/2} log² cos x dx = ∫₀^{π/2} log² sin x dx, by x ↦ π/2 - x.

∫₀^π log² sin x dx = 2 ∫₀^{π/2} log² sin x dx, by x ↦ π - x on [π/2, π].

∫₀^{π/2} log sin x dx = ∫₀^{π/2} log cos x dx = -(π/2) log 2.

The substitution x = arctan t #

∫₀^{π/4} (log sin x - log cos x)² dx = ∫₀¹ log² t/(1+t²) dt = π³/16.

∫₀^{π/2} (log sin x - log cos x)² dx = π³/8: the reflection x ↦ π/2 - x maps [π/4, π/2] onto [0, π/4] and swaps sin and cos.

The value of ∫₀^{π/2} log² sin #

∫₀^{π/2} log² sin x dx = π³/24 + (π/2) log² 2 and ∫₀^{π/2} log sin x · log cos x dx = (π/2) log² 2 - π³/48.

∫₀^{π/2} log² sin x dx = π³/24 + (π/2) log² 2.

∫₀^{π/2} log sin x · log cos x dx = (π/2) log² 2 - π³/48.