[Paper Review] Generating nested quadrature formulas for general weight functions with known moments
This paper presents a novel algorithm to generate nested quadrature formulas for general continuous probability distributions with known finite moments, bypassing the need for three-term recurrence relations. It extends Patterson’s method by directly using moments to construct high-degree exactness formulas through orthogonal polynomial-like constructions, enabling exact rational arithmetic for rational moments and efficient implementation in Mathematica.
We revisit the problem of extending quadrature formulas for general weight functions, and provide a generalization of Patterson's method for the constant weight function. The method can be used to compute a nested sequence of quadrature formulas for integration with respect to any continuous probability measure on the real line with finite moments. The advantages of the method include that it works directly with the moments of the underlying distribution, and that for distributions with rational moments the existence of the formulas can be verified by exact rational arithmetic.
Motivation & Objective
- To develop a general method for constructing nested quadrature rules applicable to any continuous probability distribution with finite moments.
- To eliminate reliance on three-term recurrence relations for orthogonal polynomials, which are often unavailable or hard to compute.
- To enable exact computation using rational arithmetic when moments are rational, ensuring numerical reliability.
- To provide a streamlined, implementable algorithm that works directly with moments, enhancing accessibility and reproducibility.
- To extend Patterson’s approach beyond the uniform weight case to general weight functions with known moments.
Proposed method
- The method uses a two-step algorithm: first, it extends an existing quadrature formula by finding a polynomial G of degree p such that ∫F(t)G(t)t^i ρ(t)dt = 0 for i = 0,…,p−1, where F is the polynomial whose roots are the current nodes.
- It ensures the extended formula has degree of exactness at least n + 2p − 1, where n is the degree of F.
- The algorithm relies on solving a system of equations derived from moment conditions to determine the existence and structure of G.
- It uses symbolic computation to verify the existence of such G via conditions on roots, resultant, and discriminant, ensuring real, simple, and distinct roots from F.
- The method is implemented in Mathematica using two core functions: FormulaExtension to compute the next polynomial in the sequence and NodesAndWeights to compute nodes and weights via solving a linear system.
- All computations can be performed exactly using rational arithmetic when inputs are rational, enabling error-free verification.
Experimental results
Research questions
- RQ1Can nested quadrature rules be systematically generated for general weight functions without relying on orthogonal polynomial recurrence relations?
- RQ2How can the degree of exactness of a quadrature formula be maximally extended using only the moments of the weight function?
- RQ3What conditions ensure that the extended formula maintains high polynomial exactness while preserving nestedness?
- RQ4To what extent can exact rational arithmetic be applied to verify the existence and correctness of the quadrature formulas?
- RQ5Can the method be efficiently implemented and scaled for distributions with known moments, such as the Beta(1/2,1/2) distribution?
Key findings
- The algorithm successfully generates a nested sequence of quadrature formulas for the Beta(1/2,1/2) distribution, with the final formula having 121 nodes and degree of exactness at least 121.
- The computation of five successive extensions took under 0.1 seconds in Mathematica, demonstrating high computational efficiency.
- The weights for the five formulas were computed in 0.4 seconds at 100-digit precision, confirming the feasibility of high-accuracy computation.
- For rational moments, the entire process can be carried out using exact rational arithmetic, ensuring numerical reliability and verifiable results.
- The method generalizes Patterson’s algorithm beyond the constant weight case, enabling application to arbitrary continuous distributions with known moments.
- The implementation in Mathematica is fully functional and accessible, with functions that accept symbolic moments and return nodes and weights via exact or high-precision numerical solving.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.