Continuity and derivatives of Legendre's integrals in the modulus #
This file studies Legendre's elliptic integrals as functions of the modulus k.
- Continuity. On the nonsingular range
k ^ 2 < 1,legendreF φ,legendrePi φ · α2(forα2 < 1) and their complete valueslegendreK,legendrePic · α2are continuous ink. The integrals of the second kindlegendreE φandlegendreEcare continuous on all ofℝ, in particular at the singular modulik = ±1. - Derivatives (DLMF §19.4). For
k ≠ 0andk ^ 2 < 1, withk′² = 1 - k²andΔ = √(1 - k² sin² φ),∂F/∂k = (E - k′² F) / (k k′²) - k sin φ cos φ / (k′² Δ)and∂E/∂k = (E - F) / k. Atφ = π/2these becomedK/dk = (E(k) - k′² K(k)) / (k k′²)anddE/dk = (E(k) - K(k)) / k. Atk = 0every derivative in the modulus vanishes. - Legendre's differential equations. Differentiating the formulas for
dK/dkanddE/dkonce more shows thatKandEare twice differentiable at everyk ≠ 0withk ^ 2 < 1, and that on all ofk ^ 2 < 1k k′² K′′ + (1 - 3k²) K′ - k K = 0andk k′² E′′ + k′² E′ + k E = 0.
The integrals are differentiated under the integral sign
(TauCeti.hasDerivAt_intervalIntegral_of_contDiffOn), using the smoothness
TauCeti.contDiffOn_one_sub_sq_mul_sin_sq_rpow of the integrands. For the first kind, the
integrand of the derivative is rewritten as a difference of the integrands of Π(φ, k, k²) and
F(φ, k), and the evaluation TauCeti.Real.legendrePi_modulus_sq of Π(φ, k, k²) in terms of
E(φ, k) supplies the integration by parts. For the second kind, the integrand of the derivative
is already the difference of the integrands of E(φ, k) and F(φ, k), divided by k.
The first-derivative formulas are also the input to the proof by differentiation of Legendre's
relation E(k) K(k′) + E(k′) K(k) - K(k) K(k′) = π/2 for 0 < k < 1, where k′ = √(1 - k²) is
the complementary modulus.
Main statements #
TauCeti.Real.continuousOn_legendreK,TauCeti.Real.continuous_legendreEcandTauCeti.Real.continuousOn_legendrePic: continuity of the complete integrals in the modulus.TauCeti.Real.hasDerivAt_legendreF_modulusandTauCeti.Real.hasDerivAt_legendreE_modulus: the derivatives of the incomplete integrals in the modulus.TauCeti.Real.hasDerivAt_legendreKandTauCeti.Real.hasDerivAt_legendreEc: the derivatives of the complete integrals, withTauCeti.Real.hasDerivAt_legendreK_zeroandTauCeti.Real.hasDerivAt_legendreEc_zeroatk = 0.TauCeti.Real.hasDerivAt_deriv_legendreKandTauCeti.Real.hasDerivAt_deriv_legendreEc: the second derivatives of the complete integrals.TauCeti.Real.legendreK_differential_equationandTauCeti.Real.legendreEc_differential_equation: Legendre's differential equations.
References #
- NIST Digital Library of Mathematical Functions, §19.4, https://dlmf.nist.gov/19.4.
Differentiation under the integral sign #
Differentiation in the modulus under the integral sign. For k ^ 2 < 1 and every real
exponent p, the derivative in k of ∫ θ in a..b, (1 - k² sin² θ) ^ p is
∫ θ in a..b, -2 p k sin² θ (1 - k² sin² θ) ^ (p - 1). The cases p = -1/2 and p = 1/2 over
[0, φ] are the integrals legendreF φ k and legendreE φ k.
Continuity in the modulus #
The incomplete integral of the second kind is continuous in the modulus on all of ℝ.
For α2 < 1, the incomplete integral of the third kind is continuous in the modulus on
k ^ 2 < 1.
Continuity of E in the modulus on all of ℝ, including the singular moduli ±1.
Continuity of Π(·, α²) in the modulus on k ^ 2 < 1, for α2 < 1.
Derivatives in the modulus #
At k = 0 the incomplete integral of the first kind has derivative 0 in the modulus.
At k = 0 the incomplete integral of the second kind has derivative 0 in the modulus.
The derivative of F(φ, k) in the modulus (DLMF §19.4): for k ^ 2 < 1,
∂F/∂k = (E - (1 - k²) F) / (k (1 - k²)) - k sin φ cos φ / ((1 - k²) √(1 - k² sin² φ)). At
k = 0 both terms vanish by the convention x / 0 = 0, in accordance with
hasDerivAt_legendreF_modulus_zero.
The derivative of E(φ, k) in the modulus (DLMF §19.4): for k ^ 2 < 1,
∂E/∂k = (E - F) / k. At k = 0 the right-hand side is 0 by the convention x / 0 = 0, in
accordance with hasDerivAt_legendreE_modulus_zero.
The derivative of K (DLMF 19.4.1): for k ^ 2 < 1,
K′(k) = (E(k) - (1 - k²) K(k)) / (k (1 - k²)). At k = 0 the right-hand side is 0 by the
convention x / 0 = 0, in accordance with hasDerivAt_legendreK_zero.
The derivative of E (DLMF 19.4.1): for k ^ 2 < 1, E′(k) = (E(k) - K(k)) / k. At
k = 0 the right-hand side is 0 by the convention x / 0 = 0, in accordance with
hasDerivAt_legendreEc_zero.
Second derivatives and Legendre's differential equations #
E′(k) = (E(k) - K(k)) / k for k ^ 2 < 1, in deriv form.
The second derivative of K: for k ≠ 0 and k ^ 2 < 1,
K′′(k) = ((1 - k²) (1 - 2k²) K(k) - (1 - 3k²) E(k)) / (k² (1 - k²)²). In particular K is twice
differentiable at k.
The second derivative of E (DLMF §19.4): for k ≠ 0 and k ^ 2 < 1,
E′′(k) = -(E(k) - (1 - k²) K(k)) / (k² (1 - k²)), that is E′′(k) = -K′(k) / k. In particular E
is twice differentiable at k.
Legendre's differential equation for K (DLMF §19.4): for k ^ 2 < 1,
k (1 - k²) K′′(k) + (1 - 3k²) K′(k) - k K(k) = 0. At k = 0 it reduces to K′(0) = 0.
Legendre's differential equation for E (DLMF §19.4): for k ^ 2 < 1,
k (1 - k²) E′′(k) + (1 - k²) E′(k) + k E(k) = 0. At k = 0 it reduces to E′(0) = 0.