Documentation

TauCeti.Analysis.SpecialFunctions.EllipticIntegral.Relation

Legendre's relation #

The complete elliptic integrals at complementary moduli satisfy E(k) K(k′) + E(k′) K(k) - K(k) K(k′) = π / 2, where k′ = √(1 - k²). This identity relates the first and second kinds and determines the second kind at the self-complementary modulus 1 / √2.

The left side has derivative zero on (0, 1). Its constant is evaluated at k → 0⁺: the derivatives of E and K at zero give E(k) - K(k) = o(k), while the elementary bound on K gives k K(k′) ≤ π / 2. Thus no logarithmic expansion at modulus one is needed.

References #

theorem TauCeti.Real.legendre_relation {k : ℝ} (hk₀ : 0 < k) (hk₁ : k < 1) :

Legendre's relation between the complete first and second elliptic integrals at complementary moduli (DLMF 19.7.1).

The complete second kind at the self-complementary modulus, expressed in terms of the complete first kind.