Gaussian quadrature is a quadrature rule that chooses both sample locations and coefficients to achieve unusually high polynomial exactness. For a finite interval with , assume the integration weight is integrable and positive almost everywhere. DefineLet be the monic orthogonal polynomial of polynomial degree for the inner product : it satisfies for every polynomial of polynomial degree below . The polynomial roots of are distinct and inside ; take them as the nodes . Integrate the Lagrange cardinal polynomials to obtain . These coefficients are positive, andThe integration weight and the discrete coefficients play different roles: specifies the integral being approximated, while tell us how much each sample contributes.[ref]
https://dlmf.nist.gov/3.5#v. Nico M. Temme, NIST Digital Library of Mathematical Functions, §3.5(v), Gauss quadrature: nodes, coefficients and exactness
A proof outline explains the gain over simply integrating an arbitrary polynomial interpolation. Use polynomial division to write , with and . Orthogonality makes , and sampling at the polynomial roots of makes . The Lagrange cardinal polynomials recover exactly, so both expressions agree. Also , since has polynomial degree . This is the mechanism behind positive weights of Gaussian quadrature.
For a concrete two-node example, set on . The Legendre polynomial has polynomial roots . Its monic polynomial version has zero integral against both and , as required. Symmetry and exactness for the constant polynomial give . Thus the Gauss–Legendre instance of Gaussian quadrature isDirect evaluation on gives , exactly their integrals. For the polynomial , two samples therefore give exactly. But for the rule gives , whereas the integral is : the error is .
Analytical illustration of two-node Gauss–Legendre sampling: exact monomial integrals through degree three and failure at degree four
. Details. The ceiling is sharp for distinct real nodes under the positive-weight assumptions. Their squared nodal polynomial has polynomial degree , is zero at every sample, and has a strictly positive weighted integral. Thus no such quadrature rule integrates every polynomial of polynomial degree exactly. Nor does Gaussian quadrature integrate every nonpolynomial function exactly: the same two-node example gives , while .
Gaussian quadrature is useful when evaluations are costly and a modest polynomial captures the integrand well. More precisely, for a continuous function and any polynomial of polynomial degree at most , positivity and constant exactness giveThe uniform norm on measures the approximation between samples. This bound connects quadrature rule accuracy to uniform approximation, rather than promising an error from sample count alone. Corners, sharp unresolved features and roundoff error require their own assessment; the absolute value function example already shows why polynomial exactness is a qualified guarantee.
For positive quadrature weights summing to the total mass , a quadrature rule exact on polynomials through polynomial degree satisfies for every such polynomial . This follows by subtracting the exactly integrated and applying the triangle inequality to the integral and weighted sum. For Gauss-Legendre quadrature with nodes, and . Exponentially decaying Chebyshev series coefficients therefore yield a bound proportional to when .
Let be orthonormal polynomials for a positive weight, and let define its -point Gaussian quadrature. Put and . Exactness through polynomial degree gives . Positivity of the quadrature weights makes a square orthogonal matrix, so also. Thus the unweighted row inner products of the evaluation matrix are .
Gauss-Legendre quadrature approximates an integral on a finite interval using nodes obtained from roots of a Legendre polynomial. With nodes it integrates every polynomial of degree at most exactly.
An -node quadrature exact on degree is exact through degree precisely when its node polynomial is orthogonal to every degree- polynomial for the integration weight. Necessity applies the rule to . Sufficiency divides an arbitrary degree- polynomial as , with both of degree at most ; the integral and quadrature of vanish while both agree on .
The even weight has moments and . Its monic quadratic orthogonal polynomial is , so the two Gaussian quadrature nodes are . Symmetry and constant exactness give weights each. These nodes and weights integrate every polynomial of degree at most three exactly. Degree four fails: the true integral is , whereas the rule gives .
The first-kind rule approximates at the zeros of the Chebyshev polynomial . It integrates all polynomials of degree at most exactly. The weights follow by integrating the Lagrange interpolation polynomial at those nodes. Orthogonality kills the quotient when a degree- polynomial is divided by ; its remainder is recovered by interpolation. No -node rule can integrate every degree- polynomial, since the squared nodal polynomial has zero quadrature sum and strictly positive weighted integral.
// Target: probability-and-statistics.bigb
For the weight on , use the zeros of a degree- Laguerre polynomial as quadrature nodes. Divide a polynomial of degree at most by that polynomial. The quotient term integrates to zero by orthogonality and vanishes at every node; interpolation of the remainder proves exactness. The two-node rule has nodes and corresponding weights , with the larger weight at the smaller node.
For weight on , the two-node Gaussian quadrature nodes are roots of , the monic quadratic orthogonal to all linear polynomials. Its weights come from integrating the Lagrange interpolation cardinal functions. Orthogonality gives exactness on cubic polynomials and positive weights.
For integration against on , the monic quadratic orthogonal polynomial is . Its two roots are the Gaussian quadrature nodes , with weights one. The rule integrates every cubic exactly: divide it by the orthogonal quadratic and integrate the degree-one remainder.
For an -node Gaussian quadrature rule exact through degree , the cardinal Lagrange interpolation polynomial has square of degree . Exactness gives for a positive integration weight. This proof turns polynomial exactness directly into positivity.
Gauss-Hermite quadrature uses the roots of a degree- Hermite polynomial as nodes for an integral with Gaussian weight. Its positive interpolation weights make it exact for every polynomial of degree at most .
Articles by others on the same topic
There are currently no matching articles.
