Documentation

CslibFrontier.Foundations.Analysis.SpecialFunctions.ArcsinSeries

The Maclaurin series of arcsin and central-binomial coefficient estimates #

For |z| < 1, (1 - z²)^(-1/2) = ∑_n C(2n, n) / 4ⁿ · z^(2n) (Real.hasSum_centralBinom_div_four_pow_mul_pow_two_mul), by the binomial series Real.hasSum_choose_mul_pow with exponent -1/2, whose coefficients are C(-1/2, n) = (-1)ⁿ C(2n, n) / 4ⁿ, derived via the successor recurrence Real.centralBinom_div_four_pow_succ. Integrating termwise, arcsin z = ∑_n C(2n, n) / (4ⁿ (2n + 1)) · z^(2n + 1) (Real.hasSum_arcsin) O'Donnell, equation (5.9) and Exercise 5.18. The series of arcsin is differentiated termwise on (-r, r) for |z| < r < 1 and compared with arcsin, which has the same derivative and value 0 at 0.

At z = ±1 (Exercise 5.18(c)) the terms are nonnegative up to sign: each partial sum at 1 is a limit of partial sums at x < 1, which are at most arcsin x, and the full sum dominates arcsin x for every x < 1, so it is π/2 = arcsin 1.

From the identity (Real.Wallis.W a)⁻¹ = (2a + 1) (C(2a, a) / 4^a)² (Real.Wallis.inv_W_eq) and Mathlib's Wallis product inequalities, this module also establishes the two-sided estimates 2 / (π (2a + 1)) ≤ (C(2a, a) / 4^a)² ≤ 1 / (π a) (Real.two_div_le_sq_centralBinom_div_four_pow, Real.sq_centralBinom_div_four_pow_le), the size of the coefficients [x^(2j+1)] (2/π) arcsin x (Real.two_div_pi_mul_centralBinom_div_mem_Icc, Exercise 5.27(a)), the partial-sum bound Real.sum_centralBinom_div_four_pow_le, and the telescoping tail bounds for 1 - ∑_{j ≤ J} [x^(2j+1)] (2/π) arcsin x (Real.one_sub_sum_two_div_pi_mul_centralBinom_div_mem_Icc).

Main results #

References #

theorem Real.centralBinom_div_four_pow_succ (n : ℕ) :
↑(n + 1).centralBinom / 4 ^ (n + 1) = (2 * ↑n + 1) / (2 * ↑n + 2) * (↑n.centralBinom / 4 ^ n)

Successor recurrence for the normalized central binomial coefficients: C(2(n + 1), n + 1) / 4^(n + 1) = (2n + 1) / (2n + 2) · C(2n, n) / 4^n.

theorem Real.hasSum_centralBinom_div_four_pow_mul_pow_two_mul {z : ℝ} (hz : |z| < 1) :
HasSum (fun (n : ℕ) => ↑n.centralBinom / 4 ^ n * z ^ (2 * n)) (1 / √(1 - z ^ 2))

The series of (1 - z²)^(-1/2) O'Donnell, Exercise 5.18(a): for |z| < 1, 1 / √(1 - z²) = ∑_n C(2n, n) / 4ⁿ · z^(2n).

theorem Real.hasSum_arcsin {x : ℝ} (hx : |x| ≤ 1) :
HasSum (fun (n : ℕ) => ↑n.centralBinom / 4 ^ n / (2 * ↑n + 1) * x ^ (2 * n + 1)) (arcsin x)

The Maclaurin series of arcsin [O'Donnell, equation (5.9) and Exercise 5.18(b), (c)] [OD14]: for |x| ≤ 1, arcsin x = ∑_n C(2n, n) / (4ⁿ (2n + 1)) · x^(2n + 1).

Wallis product identity and central-binomial bounds #

theorem Real.Wallis.inv_W_eq (a : ℕ) :
(W a)⁻¹ = (2 * ↑a + 1) * (↑a.centralBinom / 4 ^ a) ^ 2

The reciprocal of the a-th Wallis product is (2a + 1) (C(2a, a) / 4^a)².

theorem Real.sq_centralBinom_div_four_pow_le {a : ℕ} (ha : 1 ≤ a) :
(↑a.centralBinom / 4 ^ a) ^ 2 ≤ 1 / (Real.pi * ↑a)

By Wallis's product, (C(2a, a) / 4^a)² ≤ 1 / (π a) for a ≥ 1.

theorem Real.two_div_le_sq_centralBinom_div_four_pow (a : ℕ) :
2 / (Real.pi * (2 * ↑a + 1)) ≤ (↑a.centralBinom / 4 ^ a) ^ 2

By Wallis's product, (C(2a, a) / 4^a)² ≥ 2 / (π (2a + 1)).

Asymptotics and tail bounds for the coefficients of (2/π) arcsin #

theorem Real.two_div_pi_mul_centralBinom_div_mem_Icc (j : ℕ) :
2 / Real.pi * √(2 / Real.pi) / ((2 * ↑j + 1) * √(2 * ↑j + 1)) ≤ 2 / Real.pi * (↑j.centralBinom / 4 ^ j / (2 * ↑j + 1)) ∧ 2 / Real.pi * (↑j.centralBinom / 4 ^ j / (2 * ↑j + 1)) ≤ 2 / Real.pi * √(2 / Real.pi) / ((2 * ↑j + 1) * √(2 * ↑j + 1)) * (1 + 1 / (2 * ↑j + 1))

The size of the coefficients of (2/π) arcsin [O'Donnell, Exercise 5.27(a)] [OD14]: for odd k = 2j + 1, (2/π)^(3/2) k^(-3/2) ≤ [ρ^k] (2/π) arcsin ρ ≤ (2/π)^(3/2) k^(-3/2) (1 + 1/k), written with (2/π)^(3/2) k^(-3/2) = (2/π) √(2/π) / (k √k). The book's upper factor is 1 + O(1/k).

theorem Real.one_sub_sum_two_div_pi_mul_centralBinom_div_mem_Icc (J : ℕ) :
2 / Real.pi * √(2 / Real.pi) / √(2 * ↑J + 3) ≤ 1 - ∑ j ∈ Finset.range (J + 1), 2 / Real.pi * (↑j.centralBinom / 4 ^ j / (2 * ↑j + 1)) ∧ 1 - ∑ j ∈ Finset.range (J + 1), 2 / Real.pi * (↑j.centralBinom / 4 ^ j / (2 * ↑j + 1)) ≤ 2 / Real.pi * √(2 / Real.pi) * (1 + 1 / (2 * ↑J + 1)) / √(2 * ↑J + 1)

The tail 1 - ∑_{j ≤ J} [ρ^(2j+1)] (2/π) arcsin ρ lies between (2/π)^(3/2) / √(2J + 3) and (2/π)^(3/2) (1 + 1/(2J + 1)) / √(2J + 1).

theorem Real.sum_centralBinom_div_four_pow_le (J : ℕ) :
∑ j ∈ Finset.range (J + 1), ↑j.centralBinom / 4 ^ j ≤ 2 * √(2 / Real.pi) * √(2 * ↑J + 1)

∑_{j ≤ J} C(2j, j) / 4^j ≤ 2 √(2/π) √(2J + 1).