Statement
Let
be a sequence of orthogonal polynomials on the interval
with respect to weight function
. That is, they have degrees
, satisfy the orthogonality condition
where
are nonzero constants depending on
, and
is the Kronecker delta. The interval
may be infinite in one or both ends.
Rodrigues' type formula—If
where
is a polynomial with degree at most 1 and
is a polynomial with degree at most 2, and
for any
.
Then, if
for all
, then
for some constants
.
Proof[1]
Let
, then
for all
for some polynomials
, such that
. Proven by induction on
: 
Let
. We have shown that
is a polynomial of degree
. With integration by parts, we have for all
,
since
. Thus,
make up an orthogonal polynomial series with respect to
. Thus,
for some constants
.
Differential equation[2]—

Proof[3]
When
, it is trivial. When
, it simplifies to
, which is true since
. So assume
. Define
, then by direct computation and simplification, the equation to be proven is equivalent to

By Leibniz differentiation rule, we have


for arbitrary
. This allows us to move
to the other side of the
-th derivative. Set
, and define



Then the equation simplifies to 
has three terms, call them in order
.
has two terms, call them in order
.
.
That
. follows from first writing
as

and then taking the innermost first derivative to obtain
![{\displaystyle J_{1}(x)={\frac {d}{dx}}\left[{\bigg (}nB'(x)B^{n-1}(x)+A(x)B^{n-1}(x){\bigg )}\int \exp \left({\frac {A(x)}{B(x)}}\right)dx\right]}](./_assets_/eb734a37dd21ce173a46342d1cc64c92/53af60ecc17c0a8dd83cb039da1f56cf4c07c401.svg)
and then rewriting this as

The first term is the negative of
and the second term is the negative of
.
More abstractly, this can be viewed through Sturm–Liouville theory. Define an operator
, then the differential equation is equivalent to
. Define the functional space
as the Hilbert space of functions over
, such that :=\int _{a}^{b}fgw}
. Then the operator
is self-adjoint on functions satisfying certain boundary conditions, allowing us to apply the spectral theorem.
Generating function
A simple argument using Cauchy's integral formula shows that the orthogonal polynomials obtained from the Rodrigues formula have a generating function of the form

The
functions here may not have the standard normalizations. But we can write this equivalently as

where the
are chosen according to the application so as to give the desired normalizations. The variable u may be replaced by a constant multiple of u so that

This gives an alternate form of the generating function.
By Cauchy's integral formula, Rodrigues’ formula is equivalent to
where the integral is along a counterclockwise closed loop around
. Let

Then the complex path integral takes the form


where now the closed path C encircles the origin. In the equation for
,
is an implicit function of
. Expanding
in the power series given earlier gives

Only the
term has a nonzero residue, which is
. The
coefficient was dropped since normalizations are conventions which can be inserted afterwards as discussed earlier.
By expressing t in terms of u in the general formula just given for
, explicit formulas for
may be found. As a simple example, let
and
(Hermite polynomials) so that
,
,
and so
.
Examples
| Family |
![{\displaystyle [a,b]}](./_assets_/eb734a37dd21ce173a46342d1cc64c92/9c4b788fc5c637e26ee98b45f89a5c08c85f7935.svg) |
 |
 |
 |
 |
 |
Legendre  |
![{\displaystyle [-1,+1]}](./_assets_/eb734a37dd21ce173a46342d1cc64c92/daa72f1a806823ec94fda7922597b19cbda684f4.svg) |
 |
 |
 |
 |
 |
Chebyshev (of the first kind)  |
![{\displaystyle [-1,+1]}](./_assets_/eb734a37dd21ce173a46342d1cc64c92/daa72f1a806823ec94fda7922597b19cbda684f4.svg) |
 |
 |
 |
 |
 |
Chebyshev (of the second kind)  |
![{\displaystyle [-1,+1]}](./_assets_/eb734a37dd21ce173a46342d1cc64c92/daa72f1a806823ec94fda7922597b19cbda684f4.svg) |
 |
 |
 |
 |
 |
Gegenbauer/ultraspherical  |
![{\displaystyle [-1,+1]}](./_assets_/eb734a37dd21ce173a46342d1cc64c92/daa72f1a806823ec94fda7922597b19cbda684f4.svg) |
 |
 |
 |
 |
 |
Jacobi  |
![{\displaystyle [-1,+1]}](./_assets_/eb734a37dd21ce173a46342d1cc64c92/daa72f1a806823ec94fda7922597b19cbda684f4.svg) |
 |
 |
 |
 |
 |
associated Laguerre  |
 |
 |
 |
 |
 |
 |
physicist's Hermite  |
 |
 |
 |
 |
 |
 |
These formulae
[4]
[5] are for the classical orthogonal polynomials. Similar formulae hold for many other sequences of orthogonal functions arising from Sturm–Liouville equations, and these are also called the Rodrigues formula (or Rodrigues' type formula), especially when the resulting sequence is polynomial.
Legendre
Source:[6]
Rodrigues stated his formula for Legendre polynomials
:

For Legendre polynomials, the generating function is defined as
.
The contour integral gives the Schläfli integral[7] for Legendre polynomials:

Summing up the integrand

where
. For small
, we have
, which heuristically suggests that the integral should be the residue around
, thus giving

Hermite
Source:[8]
Physicist's Hermite polynomials:
![{\displaystyle H_{n}(x)=(-1)^{n}e^{x^{2}}{\frac {d^{n}}{dx^{n}}}\!\left[e^{-x^{2}}\right]=\left(2x-{\frac {d}{dx}}\right)^{n}\cdot 1.}](./_assets_/eb734a37dd21ce173a46342d1cc64c92/f1d15b59d75f36c3c25e2d07d3da0df11f5d2ba2.svg)

The generating function is defined as

The contour integral gives


Laguerre
Source:[9]
For associated Laguerre polynomials


The generating function is defined as

By the same method, we have
.
Jacobi
Source:[10]



where
, and the branch of square root is chosen so that
.