Orthogonal Polynomials: General Theory
Orthogonal polynomials are the polynomial eigenbasis that quietly organises an astonishing amount of mathematical physics: separation of variables in the Laplacian, the harmonic-oscillator and hydrogen wavefunctions, multipole expansions, and high-accuracy numerical integration all reduce to one of a small number of classical families. The unifying datum is a single object — a weight function on an interval with finite moments . Feed the monomials through Gram-Schmidt in the inner product and out comes a unique (up to scale) sequence with , pairwise orthogonal by construction. From that one construction three apparently unrelated structures emerge and turn out to be equivalent. First, a universal three-term recurrence: because has degree and orthogonality annihilates every overlap except with , every family obeys a tridiagonal recurrence — orthogonal polynomials are the eigen-directions of a Jacobi matrix. Second, a Sturm-Liouville origin: the classical families are eigenfunctions of a self-adjoint second-order operator whose weight is forced by the Pearson equation . Third, a Rodrigues formula, a closed form that produces by -fold differentiation of . Threaded through all three are the zeros: real, simple, confined to , interlacing from one degree to the next — and, remarkably, the optimal nodes of Gaussian quadrature. This article develops the general theory; Legendre, associated Legendre, and spherical harmonics are treated in their own articles as worked instances of it.
- A family with is fixed by one hypothesis: orthogonality against a positive weight on .
- Every such family obeys a universal three-term recurrence , so an orthogonal family is exactly a symmetric tridiagonal (Jacobi) operator in disguise.
- The classical families — Hermite, Laguerre, Jacobi (with Legendre, Chebyshev, Gegenbauer as special cases) — are eigenfunctions of a singular Sturm-Liouville operator and carry a Rodrigues formula .
- The zeros of are real, simple, interior to , and interlace those of ; they are precisely the nodes of the -point Gaussian rule, which is exact to degree .
- Favard's theorem is the converse: any three-term recurrence with positive coefficients reconstructs a positive weight, so "orthogonal family" and "tridiagonal recurrence" name the same object.
- Key idea: Orthogonality against a positive weight on is the single hypothesis; the three-term recurrence, the real interlacing zeros, Gaussian quadrature, and (for classical weights) a Sturm-Liouville eigenproblem and Rodrigues formula are all forced consequences — and Favard's converse closes the loop by rebuilding the weight from the recurrence.
Orthogonality against a positive weight on is the single hypothesis; everything else — the three-term recurrence, real interlacing zeros, Gaussian quadrature, and (for classical weights) a Sturm-Liouville eigenvalue problem and a Rodrigues formula — is a forced consequence, and Favard's theorem runs the implication backward, so an orthogonal family and a positive-coefficient tridiagonal recurrence are two faces of one object.
Where this lives today
Orthogonal polynomials are not a museum piece; they are load-bearing in modern computation and physics. Every serious numerical-integration library computes Gauss nodes and weights on the fly by the Golub-Welsch algorithm, which finds them as eigenvalues and first-eigenvector components of the symmetric tridiagonal Jacobi matrix built from the recurrence coefficients — the three-term recurrence turned into linear algebra. Chebyshev polynomials are the workhorse of spectral methods for PDEs, where their minimax property and FFT-friendly node placement give exponentially convergent solvers used in climate models, fluid dynamics, and quantum chemistry. In quantum many-body physics the kernel-polynomial method expands spectral densities and Green's functions in Chebyshev series to reach system sizes direct diagonalisation cannot touch, and the Lanczos algorithm — the backbone of large-scale eigensolvers and of matrix-product-state simulations — is exactly the construction of orthogonal polynomials with respect to a spectral measure. Meanwhile the theory keeps growing: multiple orthogonal polynomials and matrix-valued families now drive results in random-matrix theory and integrable probability, where the distribution of the largest eigenvalue of a random matrix is governed by the very same Christoffel-Darboux kernel that appears in equation (5).
The physical picture
Think of the weighted inner product as turning the space of polynomials into a Hilbert space, and of Gram-Schmidt as the tool that straightens the natural but oblique basis into a rigid orthogonal frame. The weight is the whole story: it says where on agreement is expensive. Hermite's concentrates measure near the origin, Chebyshev's piles it against the endpoints, Legendre's flat treats every point alike. Change the weight and you change the family — but not the skeleton of theorems every family shares.
The three-term recurrence is the first non-obvious payoff, and it is no accident. Multiplying by raises the degree by one, and because multiplication by is symmetric — — the overlap with vanishes the moment , i.e. for every . Only the immediate neighbours can appear. Written as a matrix, "multiply by " is therefore symmetric and tridiagonal — a Jacobi matrix — and the zeros of are literally its eigenvalues. That single fact makes orthogonal polynomials the discrete-spectral backbone of everything from Gaussian quadrature to the Lanczos algorithm. Those zeros are where the theory becomes visual. All of them lie strictly inside , all are simple, and the zeros of consecutive degrees interlace like the teeth of a zip. The second figure lays the zeros of the first five Legendre polynomials on a shared axis so the interlacing is unmistakable — and marks the payoff: the two zeros of are exactly the nodes of the two-point Gauss-Legendre rule.
The core equations
The whole theory is generated by one line. Fix a weight and demand that the polynomials be mutually orthogonal in the inner product it defines; every result below is a theorem about the consequences of this single demand.
where: — weight function, on with finite moments; — the squared norm; — Kronecker delta. Setting says "different degrees don't overlap"; setting merely names the norm. Whether such a family exists at all is decided by the moments of the weight, packaged into a Hankel determinant. Positivity of these determinants is exactly the statement that the weight is a genuine positive measure.
where: — the -th moment; — the Hankel (moment) determinant. The Gram matrix of the monomials in this inner product is precisely , so for all is positive-definiteness in disguise. When the Hankel determinants are positive the monic family is not merely guaranteed to exist but written in closed form as a ratio of moment determinants — an explicit, if unwieldy, definition.
where: each of the top rows reproduces a Gram constraint, forcing for ; makes the monic polynomial well-defined and unique. Reading it: the determinant is orthogonality made into an object. Everything computational, though, runs off the recurrence, not the determinant. It holds for every orthogonal family without exception.
where: — coefficients fixed by and the normalisation; always. In monic form , , and it reads with . The recurrence collapses the reproducing kernel — the sum of that projects onto degree- polynomials — into a single closed expression, the Christoffel-Darboux identity.
where: the left side is the kernel ; taking (l'Hôpital) yields the confluent form that delivers the Gaussian weights. This identity is the engine behind completeness and convergence proofs. For the classical families only, the weight is not free: it must satisfy the Pearson equation, and then the polynomials solve a self-adjoint Sturm-Liouville eigenproblem with a purely algebraic spectrum.
where: — polynomial of degree ; — polynomial of degree ; — eigenvalue, quadratic in . Reading it on cases: Hermite (, ) gives ; Legendre (, ) gives . The same and generate explicitly by repeated differentiation — the Rodrigues formula, the discrete shadow of that eigenproblem.
where: — normalisation constant fixing the convention; — the -th power of the Pearson polynomial (e.g. for Legendre, giving ). Finally the zeros pay off in numerics: put the nodes at the zeros of and choose the Christoffel weights, and the quadrature is exact to a degree no other -node rule can reach.
where: — the zeros of ; — Christoffel numbers, manifestly positive as reciprocals of a sum of squares. Equivalently , which is positive because and carry opposite signs at a simple zero.
The goal is to prove that orthogonality alone — with no assumption about the weight beyond positivity — forces the entire family into a tridiagonal recurrence, so that an orthogonal polynomial system is nothing more nor less than a symmetric tridiagonal operator acting on a graded basis. We show that when is expanded in the orthogonal basis, all but three coefficients are annihilated by the symmetry of multiplication by , and we read off the recurrence and the sign of its trailing coefficient.
Step 1. Since , expand it in the complete basis of lower-degree orthogonal polynomials: , with coefficients obtained by taking the inner product with and using orthogonality. Why: an orthogonal basis makes every coefficient an explicit projection, so the problem reduces to deciding which projections vanish.
Step 2. Multiplication by is symmetric in the weighted inner product, , because is a real scalar function and can be moved across the integrand freely. Why: this self-adjointness is the whole mechanism — it lets us trade the degree-raising on for degree-raising on , where it can be defeated.
Step 3. For the polynomial has degree , so it lies in the span of , all orthogonal to ; hence and . Only survive. Why: degree-counting plus orthogonality kills the tail, leaving a strictly three-diagonal band.
Step 4. Rearranging for gives . Taking shows up to the leading-coefficient bookkeeping, yielding . Why: the trailing coefficient inherits the ratio of consecutive norms, so its positivity is automatic — the fact Favard's converse later exploits. *In monic form the recurrence reads with .*
Go deeper · Derivation B · 1 minZeros are real, simple, and interlace inside the interval
The goal is to establish the geometric backbone of the whole subject: that positivity of the weight alone confines all roots of to the open interval , forces them to be simple, and makes consecutive degrees interlace — the property that turns the zeros into quadrature nodes and eigenvalues. We argue by a sign-change contradiction against orthogonality, then read interlacing off the Christoffel-Darboux identity.
Step 1. Let be the interior points where actually changes sign (roots of odd multiplicity) and suppose for contradiction that . Build , a polynomial of degree whose sign flips exactly where 's does. Why: matching 's sign changes to 's is the device that manufactures a fixed-sign integrand.
Step 2. The product never changes sign on : at each both factors flip together, so the product keeps one sign throughout, and it is not identically zero. Why: a fixed-sign, non-trivial function integrated against a strictly positive weight cannot integrate to zero.
Step 3. Therefore . But , so orthogonality demands — a contradiction. Hence : has interior sign changes, and being degree these are all its zeros, each simple. Why: the contradiction pins the count at exactly and rules out repeated roots in one stroke.
Step 4. Interlacing follows from Christoffel-Darboux at : . At a zero of this forces , so takes opposite signs at consecutive zeros of and must vanish once between each pair. Why: a strictly positive kernel converts "consecutive polynomials share no zeros" into the sharper statement that their zeros strictly alternate. *The Legendre zeros illustrating the interlacing are: : ; : ; : ; : ; : .*
Go deeper · Derivation C · 1 minGaussian quadrature is exact to degree 2n minus 1
The goal is to prove the central numerical fact of the theory: choosing the nodes to be the zeros of and the weights to be the Christoffel numbers integrates every polynomial of degree up to exactly — twice the reach of any rule with prescribed nodes — and that is the best possible, no -node rule doing better. We use polynomial division by and the vanishing of at the nodes.
Step 1. Take any polynomial with and divide by : with , since . Why: division isolates the part of that orthogonality can kill from the part the nodes can see.
Step 2. Integrate against the weight. The quotient term vanishes, , because and is orthogonal to every lower-degree polynomial, leaving . Why: this is where orthogonality does the work — half of is invisible to the weighted integral.
Step 3. At each node , a zero of , we have ; the quadrature sum therefore reads . Why: the nodes are chosen precisely so the quotient term is invisible to the sum as well, matching what the integral already discarded.
Step 4. An interpolatory -node rule is exact for every with , so . Optimality: the degree- polynomial has positive weighted integral yet the sum gives zero (every node is a root), so is unreachable. Why: exhibiting one failing degree- integrand proves is sharp, not merely sufficient. *As a concrete check: the two-point Gauss-Legendre rule reproduces and exactly, and fails at — giving instead of the correct .*
Limiting cases
The three classical families are distinguished entirely by the support of and the degree of the Pearson polynomial — a complete taxonomy of the "nice" orthogonal polynomials with a Rodrigues formula.
| Case | Result | Meaning |
|---|---|---|
| Hermite (infinite line) | Quadratic-exponential weight; eigenfunctions of the quantum harmonic oscillator. Recurrence , eigenvalue . | |
| Laguerre (half-line) | Generalised Laguerre ; the radial hydrogen wavefunctions. Needs for integrability. | |
| Jacobi (finite interval) | Contains Legendre (), Chebyshev (), Gegenbauer (). Needs . | |
| Discrete weight (mass points) | , atoms | Only orthogonal polynomials exist (); the family truncates — Charlier, Krawtchouk, Hahn. |
| Degenerate weight () | recurrence breaks, | A non-positive "weight" makes a Hankel determinant vanish; the monic polynomial is undefined and the recurrence degenerates. |
Worked examples
1 · Building the first Legendre polynomials from moments (confidence builder)
Construct the monic orthogonal polynomials on with weight directly from the moments, and read off the zeros of .
Step 1. Compute the moments : these vanish for odd by symmetry, and for even give , , . Positivity check: and , so a family exists.
Step 2. Start with . Gram-Schmidt for : , since .
Step 3. For impose orthogonality. Against : . Against : . Hence .
Step 4. This is the monic Legendre polynomial; multiplying by recovers the standard . Its zeros solve , i.e. — real, simple, interior to , exactly as the separation theorem promises, and (as example 2 shows) exactly the two-point Gauss-Legendre nodes.
2 · Two-point Gauss-Legendre quadrature (fully worked)
Derive the two-point Gauss-Legendre rule on , verify its exactness to degree , and use it to estimate .
Step 1. The nodes are the zeros of , i.e. from example 1. The Christoffel weights follow from with : at this is , so and as a sanity check.
Step 2. Verify exactness. For : rule gives , matching . For (odd): rule gives . So the rule is exact through degree .
Step 3. Confirm it is not exact at degree : for the rule gives , but . The failure is expected — exceeds .
Step 4. Apply to . The rule gives , against the exact . With just two function evaluations the error is , a relative error of only — the payoff of placing nodes at orthogonal-polynomial zeros rather than on an equal grid.
Physics of the portrait
The general theory has no single author, but it has a decisive founder. Legendre, Hermite, Laguerre, and Chebyshev each gave the world a family; it was Chebyshev who first asked what all such families have in common, and answered with the machinery — continued fractions, the moment problem, and mechanical quadrature — that underlies this entire article.
Origins · 1 minPafnuty Chebyshev and how this was discovered
Pafnuty Lvovich Chebyshev built the general theory of orthogonal polynomials out of a problem in approximation. Studying how best to fit data and how to interpolate with least error, he was led in the 1850s to continued-fraction expansions of the integral , whose convergents are ratios of exactly the polynomials orthogonal in the weight — the first genuinely general construction, not tied to any one family. From it he extracted the three-term recurrence, the interior real zeros, and the mechanical-quadrature rule that Gauss had found for the Legendre weight, now generalised to any weight. His own polynomials , minimising the maximum deviation from zero, emerged as the extremal case. Chebyshev's students carried the programme forward: Andrey Markov sharpened the moment inequalities, and Thomas Stieltjes, working in the same tradition, solved the moment problem outright in 1894, tying a positive measure to its continued fraction and completing the circle of ideas — weight, moments, recurrence, quadrature — that Chebyshev had opened. The modern subject, codified in Szegő's 1939 treatise, is recognisably his.
Going further
Texts. Szegő, Orthogonal Polynomials, AMS Colloquium Publications vol. 23 (the canonical reference) · Chihara, An Introduction to Orthogonal Polynomials (Favard's theorem, moment problem) · Stone & Goldbart, Mathematics for Physics, ch. 8 (Sturm-Liouville and special functions) · Arfken & Weber, Mathematical Methods for Physicists, 7th ed., ch. 15–18 · Riley, Hobson & Bence, Mathematical Methods for Physics and Engineering, 3rd ed., ch. 18 · Abramowitz & Stegun, Handbook of Mathematical Functions, ch. 22. The Sturm-Liouville eigenvalue is stated in the operator-equals- convention as , which gives for Hermite and for Legendre — note this differs by a sign from sources that write the ODE as . Key anchor values: moments , , ; monic Legendre with zeros ; two-point Gauss weights and the estimate against the exact (0.33% error); and in the recurrence throughout. Conventions are flagged in the pitfall box above.
Prerequisites. Gamma Function · Beta Function · Recurrence Relations for Special Functions · Generating Functions for Special Functions. Leads to. Legendre Polynomials · Associated Legendre Functions · Spherical Harmonics.
Ask the tutor: Ask me to derive the recurrence, Rodrigues formula, or Gaussian nodes for any specific family — Hermite, Laguerre, Legendre, or Chebyshev — and watch the general theory specialise to it.
Is orthogonality really the only assumption, or is a recurrence assumed too?
Orthogonality against a positive weight is the only assumption; the three-term recurrence is a theorem, not a hypothesis. Given the family is orthogonal, the symmetry of multiplication by forces to expand in only , and that is the recurrence. The striking part is Favard's converse: start instead from any recurrence with every , and a positive measure making the orthogonal must exist. So the two properties are logically equivalent — you can take either as the definition and derive the other.
What makes a family "classical" as opposed to merely orthogonal?
Any positive weight generates an orthogonal family, but only three (up to affine change of variable) also solve a second-order differential equation and carry a Rodrigues formula: Hermite, Laguerre, and Jacobi. The distinguishing feature is that their weight satisfies the Pearson equation with of degree and of degree . That algebraic constraint is exactly what makes the Sturm-Liouville operator self-adjoint with polynomial eigenfunctions. A generic weight — say — still yields a perfectly good orthogonal family with a three-term recurrence, but no differential equation of finite order and no Rodrigues formula.
Why are the zeros guaranteed to be simple and real?
Both facts come from a single contradiction argument. If had fewer than interior sign changes, you could build a low-degree polynomial that makes one-signed on the interval; then would be nonzero, yet orthogonality forces it to vanish since . The only escape is exactly interior sign changes, which for a degree- polynomial means distinct real roots inside — no repeated roots, none on or outside the boundary. Positivity of the weight is essential: it is what guarantees a one-signed integrand cannot integrate to zero.
Why is Gaussian quadrature exact to degree 2n−1 and not simply n−1?
An -node interpolatory rule is exact to degree for any node placement — that is just polynomial interpolation. Gauss doubles this by choosing the nodes cleverly: put them at the zeros of . Then for a polynomial of degree up to , write ; the part integrates to zero by orthogonality, and it also contributes nothing to the sum because vanishes at every node. Only the degree- remainder survives, and the rule handles that exactly. You buy extra degrees of exactness by spending your freedom in node location — which fixed-node rules like Newton-Cotes throw away.
How does the Jacobi matrix connect to the recurrence and the zeros?
Write the recurrence in orthonormal form and it reads — multiplication by acting as a symmetric tridiagonal matrix with the on the diagonal and the off it. Truncate to its top-left block and its eigenvalues are exactly the zeros of , while the squared first components of its eigenvectors are the Gauss weights. This is the Golub-Welsch algorithm, and it is why computing quadrature nodes is really an eigenvalue problem: the abstract statement "orthogonal polynomials are eigen-directions of a Jacobi operator" is a literal, computable identity.
Do these families form a complete basis, so I can expand any function?
For the classical weights on their natural intervals, yes: the orthonormal polynomials are complete in the weighted space , so any square-integrable function has a mean-square-convergent expansion , the analogue of a Fourier series. Completeness follows from the Christoffel-Darboux kernel acting as an approximate identity, together with density of polynomials — which for unbounded intervals needs the weight to decay fast enough (a Carleman-type moment condition). Pointwise and uniform convergence are more delicate and depend on the smoothness of near the endpoints, exactly as with Fourier series, but the completeness that physics relies on is secure.