Documentation

TauCeti.Analysis.SpecialFunctions.EllipticIntegral.Monotonicity

Monotonicity of Legendre's integrals in the modulus #

For nonnegative amplitude, increasing the squared modulus increases legendreF when the larger squared modulus is below 1, and decreases legendreE for all real moduli. For positive amplitude these comparisons are strict. In particular, legendreK is strictly increasing on [0, 1), and legendreEc is strictly decreasing on [0, ∞). Consequently legendreEc k ≤ π / 2 ≤ legendreK k on the nonsingular range, with equality only at zero. We also have the lower bound (1 - k²) K(k) ≤ E(k) for k² < 1. Squared-modulus comparisons also apply directly to negative moduli.

These order properties follow by comparing the defining integrands, without differentiating in the modulus. For strictness the integrands differ at a sufficiently small positive angle.

References #

The conventions agree with B. Braams' lean-codes. Its LegendreStandard and CompleteK modules treat transformations through symmetric integrals; the comparison proofs here are independent and use the direct real integral definitions.

theorem TauCeti.Real.legendreF_le_of_sq_le {φ k l : ℝ} (hφ : 0 ≤ φ) (hkl : k ^ 2 ≤ l ^ 2) (hl : l ^ 2 < 1) :

For nonnegative amplitude, the first kind increases with the squared modulus when the larger squared modulus satisfies l ^ 2 < 1.

theorem TauCeti.Real.legendreE_le_of_sq_le {φ k l : ℝ} (hφ : 0 ≤ φ) (hkl : k ^ 2 ≤ l ^ 2) :

For nonnegative amplitude, the second kind decreases with the squared modulus. This non-strict comparison holds even beyond the nonsingular range.

For nonnegative amplitude, F(φ, k) is increasing in k ∈ [0, 1).

For nonnegative amplitude, E(φ, k) is decreasing on the nonnegative moduli.

theorem TauCeti.Real.legendreF_lt_of_sq_lt {φ k l : ℝ} (hφ : 0 < φ) (hkl : k ^ 2 < l ^ 2) (hl : l ^ 2 < 1) :

For positive amplitude, the first kind strictly increases with the squared modulus when the larger squared modulus is below 1.

theorem TauCeti.Real.legendreE_lt_of_sq_lt {φ k l : ℝ} (hφ : 0 < φ) (hkl : k ^ 2 < l ^ 2) :

For positive amplitude, the second kind strictly decreases with the squared modulus for all real moduli.

theorem TauCeti.Real.legendreK_lt_of_sq_lt {k l : ℝ} (hkl : k ^ 2 < l ^ 2) (hl : l ^ 2 < 1) :

The complete first kind strictly increases with the squared modulus below 1.

theorem TauCeti.Real.legendreEc_lt_of_sq_lt {k l : ℝ} (hkl : k ^ 2 < l ^ 2) :

The complete second kind strictly decreases with the squared modulus for all real moduli.

K is strictly increasing on [0, 1).

The complete second kind is strictly decreasing on the nonnegative moduli.

π / 2 is a lower bound for the complete first kind in the nonsingular range.

π / 2 is an upper bound for the complete second kind, for every real modulus.

The second kind lies above (1 - k²) K(k) in the nonsingular range.

@[simp]
theorem TauCeti.Real.legendreK_eq_pi_div_two_iff {k : ℝ} (hk : k ^ 2 < 1) :

The lower bound for K is attained exactly at modulus zero.

@[simp]

The upper bound for the complete second kind is attained exactly at modulus zero.