Gaussian quadrature Created 2026-09-24 Updated 2026-10-14
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. Define
Let 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, and
The integration weight and the discrete coefficients play different roles: specifies the integral being approximated, while tell us how much each sample contributes.[ref]
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 is
Direct 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 .
Figure 1.
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 give
The 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.
The uniform approximation closure of the integer-coefficient polynomials on consists precisely of the continuous functions taking integer values at both endpoints. Necessity follows because evaluations at zero and one are integers and convergent integer sequences are eventually constant. For sufficiency, the rounded Bernstein polynomial has integer monomial coefficients and differs uniformly by a vanishing amount from the Bernstein polynomial, which converges uniformly to the target.
Lattice approximation from two-point approximation Created 2026-10-14 Updated 2026-10-31
Suppose a family on a compact space is closed under pointwise maximum and minimum. If a target can be approximated arbitrarily closely at each pair of points by a member of , it can be approximated in the supremum norm. For a fixed first point, take finitely many pairwise approximants whose neighborhoods cover and take their maximum: it lies above everywhere and below near that first point. Take finitely many such first-point neighborhoods covering and take the minimum of their maxima. The result is within of everywhere. Starting with tolerance ensures a strict uniform approximation error smaller than .
A unital Banach star-algebra is a complex unital Banach algebra with a continuous conjugate-linear algebra involution satisfying
The algebra norm is complete and submultiplicative, with the unit conventionally normalized to norm one. Many definitions additionally require the involution to be isometric, ; the function algebra here satisfies this stronger convention as well. A Banach star-algebra does not by definition require the extra C-star identity .
Here is the lattice proof of the Stone-Weierstrass theorem in its complex self-adjoint form. Let be the uniform closure of the given unital star-subalgebra in , and let be its real-valued part. Closure preserves multiplication and complex conjugation, so is still a unital star-algebra. Real and imaginary parts lie in , and separation by the complex algebra implies separation by its real-valued part.
For , polynomial approximation of absolute value on a bounded interval gives . For example, this polynomial approximation follows from the binomial series for the square root, whose coefficients give uniform convergence on the relevant closed interval. Thus
also lie in . It is therefore a lattice of functions.
To see how the lattice gives density, fix a real continuous target and a tolerance . For any two distinct points , separation and constants provide with and , by an affine rescaling of a separating function. For , use the constant .
Fix . The sets where cover as varies. A finite subcover and a pointwise maximum give with everywhere and . The neighborhoods where now cover as varies. A second finite subcover and a pointwise minimum give satisfying
This is lattice approximation from two-point approximation. Using half the desired tolerance gives strict uniform error below the desired bound. Since is closed, it contains every real continuous function. Splitting a complex function into real and imaginary parts proves .
The annulus test. For the closed annulus, the family holomorphic in the interior is not dense in the full continuous-function algebra. A uniform limit on the annulus is locally uniform in its interior, so locally uniform convergence of holomorphic functions makes that limit holomorphic there. Thus the proposed family is closed in . It is proper because is continuous but not holomorphic on the annulus interior.
There is also an explicit continuous functional detecting the obstruction. Choose a small closed disk of radius contained in the annulus interior and let be the integral of around its positively oriented boundary. The Cauchy integral theorem gives for every member of the holomorphic family, while parametrizing the circle gives . Since , no uniform approximation of by that family is possible.
The original PDF prints , with a positive exponent. That premise is insufficient; the intended decay rate is . Indeed every bounded continuous periodic function has . For an explicit counterexample, on set
and extend periodically. This is continuous, but for , which is not for any . Thus the sign correction is required in the actual printed question, not just in its converted TeX.
For real continuous -periodic , write for best uniform approximation by degree-at-most- trigonometric polynomials and . A quantitative inverse theorem for trigonometric approximation is
where is universal. Here is a direct reason for the sum. Choose best approximants and . Write
The Bernstein inequality for trigonometric polynomials gives
For , monotonicity of best errors bounds by . The first terms are bounded by a fixed multiple of . Also . Now
proves the theorem, for example with a sufficiently large absolute constant .
Suppose, as intended, for , after enlarging to include any finite exceptional indices, where . Since , the inverse theorem gives
For take . Then , so monotonicity of the modulus of continuity and give . For , the separate bound covers the remaining scales. Therefore the corrected conclusion is
Now put . The given best approximant to the Weierstrass function leaves the uniformly convergent tail . Its supremum norm is exactly , attained at ; hence
The corrected inverse theorem gives . To show that this order is sharp, set . Every term of is nonnegative, and for the cosine equals because is odd. Thus
Given small , select with . Then . Combining the estimates gives the precise small-scale order
The exact approximation error can also be verified independently of the supplied fact: at the tail has alternating values . There are enough such points in one period for the trigonometric Chebyshev alternation theorem, since . This is the positive lacunary trigonometric series mechanism behind the best partial sums.
Take any trigonometric polynomial . The reproduction property in (a) gives
By (b),
Taking the infimum over yields the polynomial reproduction error bound for this operator. With and , it becomes
This is a near-best uniform approximation estimate; it follows from reproduction and boundedness without requiring the de la Vallée Poussin sum itself to be a best approximant.
The Chebyshev alternation theorem says that for a polynomial of degree at most is a best uniform approximation precisely when there are ordered points such that
The best polynomial is unique. These equally large alternating extrema are the equal-ripple criterion; the zero-error case is interpreted in the evident way.
Let . Choose a unit complex number normal to a supporting side of this convex set, with
Such a choice exists explicitly: take , where are the signs of the real and imaginary parts of ; then and the strict inequality is exactly the hypothesis. Set . Since on ,
For sufficiently large , the former is strictly smaller than the latter uniformly on . Consequently .
The geometric series now supplies actual approximating polynomials:
Choose so the right-hand side is below . This proves the required uniform approximation without assuming a general approximation theorem.
The bounded-variation space carries the norm . Its weak-star convergence in BV is characterized by
The second condition means convergence of the vector measure pairings against every . Equivalently, strong convergence in together with suffices: integration by parts identifies the limit on smooth compactly supported tests, and uniform approximation extends this to tests.
The bounded-variation compactness theorem says that
guarantees a subsequence convergent in weak-star convergence in BV on a bounded Lipschitz domain. This is the uniform criterion for relative sequential compactness. If asking only for the existence of one convergent subsequence, the exact condition is the existence of a BV-bounded subsequence, equivalently . The entire sequence need not be bounded: alternating zero functions and constants tending to infinity gives a simple example. Conversely, a convergent subsequence has bounded norm and bounded total variation seminorm by the Uniform boundedness principle for its derivative-measure pairings.
Polynomial approximation 2026-10-14
Polynomial approximation represents a function by polynomials of bounded polynomial degree. On a compact real interval, the Weierstrass approximation theorem guarantees uniform approximation of every continuous function by such polynomials. The displayed best error quantifies the accuracy available at degree at most .
Positive linear operator on continuous functions Created 2026-10-06 Updated 2026-10-14
A linear map is positive when implies . This is positivity for the pointwise order, not positivity of a quadratic form. On a compact space, , so . This makes positive maps especially useful for uniform approximation.