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)โฟ.
Reference #
Tags #
shifted Legendre polynomials, derivative
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.
Equations
Instances For
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.
The coefficient of the shifted Legendre polynomial at k is
(-1) ^ k * (n.choose k) * (n + k).choose n.
The degree of shiftedLegendre n is n.
The values โโof the Legendre polynomial at x and 1 - x differ by a factor (-1)โฟ.