The areas / V09. Commutative algebra I: ideals, polynomials, factorization
Mathlib.RingTheory.Polynomial.ShiftedLegendre
7 declarations. Mathlib docs · Source
shifted Legendre Polynomials
In this file, we define the shifted Legendre polynomials shiftedLegendre n for n : ℕ as a
polynomial in ℤ[X]. We prove some basic properties of the Legendre polynomials.
factorial_mul_shiftedLegendre_eq: The analogue of Rodrigues' formula for the shifted Legendre polynomials;shiftedLegendre_eval_symm: The values of the shifted Legendre polynomial atxand1 - xdiffer by a factor(-1)ⁿ.
References
Tags
shifted Legendre polynomials, derivative
def Polynomial.shiftedLegendre E1 #
ℕ → Polynomial ℤ
shiftedLegendre n is an integer polynomial for each n : ℕ, defined by:
Pₙ(x) = ∑ k ∈ Finset.range (n + 1), (-1)ᵏ * choose n k * choose (n + k) n * xᵏ
These polynomials appear in combinatorics and the theory of orthogonal polynomials.
theorem Polynomial.factorial_mul_shiftedLegendre_eq E0 #
∀ (n : ℕ),
↑n.factorial * Polynomial.shiftedLegendre n = (⇑Polynomial.derivative)^[n] (Polynomial.X ^ n * (1 - Polynomial.X) ^ n)
The shifted Legendre polynomial multiplied by a factorial equals the higher-order derivative of
the combinatorial function X ^ n * (1 - X) ^ n. This is the analogue of Rodrigues' formula for
the shifted Legendre polynomials.
theorem Polynomial.coeff_shiftedLegendre E1 #
∀ (n k : ℕ), (Polynomial.shiftedLegendre n).coeff k = (-1) ^ k * ↑(n.choose k) * ↑((n + k).choose n)
The coefficient of the shifted Legendre polynomial at k is
(-1) ^ k * (n.choose k) * (n + k).choose n.
theorem Polynomial.degree_shiftedLegendre E0 #
∀ (n : ℕ), (Polynomial.shiftedLegendre n).degree = ↑n
The degree of shiftedLegendre n is n.
theorem Polynomial.natDegree_shiftedLegendre E0 #
∀ (n : ℕ), (Polynomial.shiftedLegendre n).natDegree = n
theorem Polynomial.neg_one_pow_mul_shiftedLegendre_comp_one_sub_X_eq E0 #
∀ (n : ℕ), (-1) ^ n * (Polynomial.shiftedLegendre n).comp (1 - Polynomial.X) = Polynomial.shiftedLegendre n
theorem Polynomial.shiftedLegendre_eval_symm E1 #
∀ (n : ℕ) {R : Type u_1} [inst : Ring R] (x : R),
(Polynomial.aeval x) (Polynomial.shiftedLegendre n) =
(-1) ^ n * (Polynomial.aeval (1 - x)) (Polynomial.shiftedLegendre n)
The values of the Legendre polynomial at x and 1 - x differ by a factor (-1)ⁿ.