NLA-lib Explorer

The three-term recurrence of orthogonal polynomials

Library · Source module

The three-term recurrence of orthogonal polynomials

The monic orthogonal polynomials \pi_0, \pi_1, \dots of a measure \mu on \mathbb{R}, defined by the Stieltjes procedure: \pi_0 = 1, \pi_1 = \mathbf{x} - \alpha_0 and \pi_{k+2} = (\mathbf{x} - \alpha_{k+1})\pi_{k+1} - \beta_{k+1}\pi_k\,, with \alpha_k = \int \mathbf{x}\pi_k^2\,d\mu/\int\pi_k^2\,d\mu and \beta_k = \int\pi_k^2\,d\mu/\int\pi_{k-1}^2\,d\mu, \beta_0 = \mu(\mathbb{R}) (Gautschi's convention). The recurrence is the definition, so it holds by rfl; orthogonality, uniqueness and moment invariance are theorems. The definitions are total: a zero norm gives a zero coefficient (Lean's \mathbf{x}/0 = 0), and \pi_k is monic of degree k for every measure. For a measure with N support points, \pi_N is then the nodal polynomial of the support and every later \pi_k a multiple of it (not proved here).

The Jacobi matrix of order k carries \alpha_0, \dots, \alpha_{k-1} on its diagonal and \sqrt{\beta_1}, \dots, \sqrt{\beta_{k-1}} beside it, in the layout of the Lanczos tridiagonal matrix. [Gautschi2004]; [Szego1975].

Main definitions

* NLAlib.orthogonalPolynomial: the monic orthogonal polynomials, by the Stieltjes recurrence. * NLAlib.jacobiAlpha, NLAlib.jacobiBeta: the recurrence coefficients. * NLAlib.jacobiMatrix: the Jacobi matrix.

Main results

* NLAlib.orthogonalPolynomial_add_two: the three-term recurrence (by definition). * NLAlib.orthogonalPolynomial_zero, NLAlib.orthogonalPolynomial_one, NLAlib.jacobiBeta_zero: the initial values. * NLAlib.monic_orthogonalPolynomial, NLAlib.natDegree_orthogonalPolynomial: monic of degree k. * NLAlib.isOrthogonalPolynomial_orthogonalPolynomial: existence of the orthogonal polynomials. * NLAlib.integral_orthogonalPolynomial_succ_sq, NLAlib.integral_orthogonalPolynomial_sq_eq_prod: the norms. * NLAlib.isMomentPosDef_succ_iff: definiteness is positivity of the last norm. * NLAlib.IsMomentPosDef.eq_orthogonalPolynomial: uniqueness. * NLAlib.MatchesMoments.orthogonalPolynomial_eq, NLAlib.MatchesMoments.jacobiMatrix_eq: moment invariance. * NLAlib.isHermitian_jacobiMatrix: the Jacobi matrix is symmetric.

Declarations