Function Repository Resource:

# OrthogonalPolynomialData

Return properties of orthogonal polynomials

Contributed by: Jan Mangaldan
 ResourceFunction["OrthogonalPolynomialData"][poly,"property"] gives the value of the specified property for the orthogonal polynomial poly.

## Details

Named orthogonal polynomials can be specified as strings such as "Legendre" and "ChebyshevFirst". Symbols such as LegendreP and ChebyshevT are also supported.
Orthogonal polynomials with additional parameters can be specified in the form {"name",c1,}, such as {"Jacobi",a,b}.
ResourceFunction["OrthogonalPolynomialData"][] and ResourceFunction["OrthogonalPolynomialData"][All] give a list of all available orthogonal polynomials.
ResourceFunction["OrthogonalPolynomialData"]["Properties"] gives a list of properties available for orthogonal polynomials.
Available properties include:
 "DifferenceRoot" DifferenceRoot representation "LeadingCoefficient" coefficient of the highest-order term "MonicRecursionCoefficientB" recursion coefficient for the monic polynomial "MonicRecursionCoefficientC" recursion coefficient for the monic polynomial "NormalizationFactor" normalization factor "OrthogonalityInterval" interval of orthogonality "RecursionCoefficientA" recursion coefficient an for the polynomial "RecursionCoefficientB" recursion coefficient bn for the polynomial "RecursionCoefficientC" recursion coefficient cn for the polynomial "WeightFunction" weight function
Orthogonal polynomials pn(x) satisfy a recurrence relation of the form pn+1(x)=(anx+bn)pn(x)+cnpn-1(x), where an, bn and cn respectively correspond to the properties "RecursionCoefficientA", "RecursionCoefficientB" and "RecursionCoefficientC".
Monic polynomials , where the leading coefficient is 1, can be obtained by dividing a polynomial by the expression corresponding to the property "LeadingCoefficient".
Monic polynomials , satisfy a recurrence relation of the form , where and respectively correspond to the properties "MonicRecursionCoefficientB" and "MonicRecursionCoefficientC".

## Examples

### Basic Examples (2)

Return the DifferenceRoot representation of the Legendre polynomial:

 In:= Out= Compare with the result of LegendreP for the first few polynomials:

 In:= Out= ### Scope (5)

Normalization factor for the Gegenbauer polynomial:

 In:= Out= Use the symbol GegenbauerC to get the same result:

 In:= Out= Supply the orthogonal polynomial as a pure function:

 In:= Out= Supply the orthogonal polynomial as an entity:

 In:= Out= Show all available orthogonal polynomials:

 In:= Out= Show all available properties:

 In:= Out= ### Applications (3)

Verify the recurrence relation for the Jacobi polynomial:

 In:= Out= Verify the recurrence relation for the monic Jacobi polynomial:

 In:= Out= Verify the orthogonality relation for the associated Laguerre polynomial:

 In:= Out= ### Possible Issues (1)

If a polynomial or property is not supported, Missing is returned:

 In:= Out= In:= Out= ### Neat Examples (1)

Verify the Christoffel-Darboux identity for the associated Laguerre polynomial:

 In:= Out= ## Version History

• 1.0.0 – 05 April 2021