For , the equation has a bounded solution on if and only if . All bounded solutions differ by a constant. To prove necessity, integrate the equation once. The quantity has finite endpoint limits, and any nonzero endpoint limit would force logarithmic growth in . Both limits must therefore vanish, yielding the zero-mean condition. For sufficiency set and . Zero mean implies , so is bounded and extends continuously to the endpoints. The homogeneous solutions are a constant and , proving uniqueness up to a constant. This is the Fredholm alternative for the zero eigenvalue of this singular Sturm-Liouville problem.
The eigenfunction expansion in Legendre polynomials is . It follows by projecting onto the eigenfunctions with eigenvalues . Completeness follows because the Legendre polynomials span the polynomials, which are dense by the Weierstrass approximation theorem.
Continuity only in the open interval requires more care. Even if is integrable and has zero mean, the primitive of must still be bounded at both ends. For example, has zero endpoint limits and absolutely integrable derivative , but has a divergent primitive. Thus zero mean alone is insufficient without endpoint control.
Convergence of positive quadrature on continuous functions Created 2026-10-06 Updated 2026-10-14
On a compact interval, positive quadrature rule weights whose sum is the interval length define uniformly bounded functionals on continuous functions. If the rules eventually integrate every fixed polynomial exactly, the Weierstrass approximation theorem proves convergence for every continuous function.
Convergence of positive quadrature rules Created 2026-09-24 Updated 2026-09-24
If each -node quadrature rule is exact through degree and has positive weights, then it converges on every continuous function. The Weierstrass approximation theorem reduces the error to the uniform polynomial-approximation error, while exactness on constants controls the sum of the weights.
Suppose linear operators on a normed vector space satisfy uniformly and on a dense subspace. The displayed triangle inequality for any element of that subspace first permits to approximate , then lets increase, proving for every . Applied to the Bernstein polynomial, the Weierstrass approximation theorem supplies the dense polynomial subspace and .
For a real continuous function on a compact interval, choose its best uniform approximation of polynomial degree at most . If its error is nonzero, the Chebyshev alternation theorem supplies ordered alternating extrema. The intermediate value theorem gives a zero of in each intervening interval. At these distinct points, the polynomial interpolant is exactly . If the best error is zero, arbitrary distinct nodes suffice. The Weierstrass approximation theorem shows that these function-dependent interpolants converge uniformly. The nodes depend on the target function; the conclusion does not provide one universal node sequence for every continuous target.
Two probability measures supported on one compact interval are equal if all their moments are equal. Indeed, equality on monomials gives equality on polynomials, the Weierstrass approximation theorem extends it to every continuous function on the interval, and compactly supported continuous functions determine a finite Borel measure.
The orthogonal projection is . Subtract it from and use the orthonormal basis relations to obtain
This is the requested Bessel inequality.
For the infinite tail, use completeness of the orthonormal polynomial family in the usual weighted L2 space. The relevant density facts are that continuous functions are dense for the finite measure , and the Weierstrass approximation theorem makes polynomials uniformly dense in continuous functions on the compact interval. Since , uniform approximation also gives weighted L2 norm approximation. Parseval's identity therefore gives
Here finiteness of the weight integral is also necessary for the constant polynomial to belong to the stated Hilbert space. Without completeness of the polynomial family, an additional squared component orthogonal to every polynomial would remain; Bessel inequality alone does not justify equality.
The even-power family is dense on . It is the algebra . It contains constants, is closed under complex conjugation, and separates points because the real function is injective on this positive interval. The complex Stone-Weierstrass theorem therefore applies.
Equivalently, the squaring map is a homeomorphism from onto . Given , approximate the continuous function uniformly on by complex polynomials, using the Weierstrass approximation theorem on the real and imaginary parts. Substitution produces exactly the required even-power approximants. The positive interval is what lets even powers distinguish all its points.
First take the usual endpoint-regular interpretation . Integrating the divergence form shows that has finite endpoint limits. A nonzero limit would make proportional to near that endpoint, forcing a logarithmically unbounded . Thus boundedness requires , and consequently
This is orthogonality to the constant eigenfunction , hence the Fredholm alternative condition. It is also sufficient under the stated endpoint regularity: put
If , the zero-mean condition gives . Hence the last integrand is bounded, so extends continuously to both endpoints. Any two bounded solutions differ by a constant: their difference solves , whose other solution is .
For the requested eigenfunction expansion, set
The Legendre polynomials span all polynomials, so their completeness follows from the Weierstrass approximation theorem. Projecting onto each eigenfunction gives for . The zero mode is free, while . Thus the full family is
The formula is unchanged by rescaling any . For the usual normalization , the facts on and , together with the Cauchy-Schwarz inequality, bound each summand by a constant times . The series therefore converges absolutely and uniformly. Its identification with the preceding integral solution avoids unjustified termwise second differentiation.
There is a source ambiguity: continuity only on does not supply the endpoint control used above. Even for integrable forcing, zero mean alone is insufficient. For example, let
This is continuous in the interior, absolutely integrable, and has zero mean because . Yet every candidate with zero endpoint values of has
whose integral diverges logarithmically in at each endpoint. Thus no bounded solution exists. For a merely interior-continuous , the exact criterion is that some constant makes
bounded as approaches both endpoints. The Bounded solvability for the Legendre operator criterion above covers the intended regular forcing and makes this endpoint limitation explicit.
Composition with preserves continuity, so maps the space of continuous functions on a compact space into itself and is linear. Since maps onto itself,
For , the mean value theorem applied to gives
The same bound holds at . Each has uniform continuity by the Heine-Cantor theorem. With its modulus of continuity , we obtain
Alternatively, the bound proves convergence on every polynomial; the Weierstrass approximation theorem makes these a dense subset of , and the Banach-Steinhaus convergence theorem with gives the same conclusion.
The Weierstrass approximation theorem asserts that every real continuous function on a compact interval is a uniform limit of polynomials. An affine change of variable reduces the interval to . There are two complementary routes: construct positive approximation operators, or construct an algebra dense enough to approximate absolute values and hence pointwise maxima and minima.
For the first route, the Korovkin theorem reduces convergence of positive linear operators on continuous functions to the three tests . Here is its proof. Given and , uniform continuity supplies a such that for . For all one then has
Apply positivity to the two real inequalities obtained from this bound. At this gives
The expression in brackets is nonnegative and tends uniformly to zero by the three test assumptions. Also uniformly. Taking the upper limit of the supremum norm and then letting proves convergence for every . This is the quadratic barrier estimate for positive approximation operators.
The Bernstein polynomial supplies the constructive corollary
The binomial theorem makes its nonnegative weights sum to one. Differentiating the binomial theorem, or using the first two binomial distribution moments, gives
The Korovkin theorem proves uniformly, and each is a polynomial, proving the Weierstrass approximation theorem. The same criterion gives the Schoenberg spline operator convergence in Solution 3. For periodic functions its counterpart uses : the nonnegative barrier is bounded away from zero outside any fixed small arc. This periodic Korovkin test set gives convergence of the normalized Fejér sums and density of trigonometric polynomials.
The Lebesgue convergence criterion for approximation operators addresses stability. Suppose bounded linear operators converge to the identity on every polynomial. Then they converge on every continuous function if and only if . Sufficiency is the extension of approximation operators from a dense subspace: for a polynomial with and a common bound ,
First let , then . Necessity follows from the Uniform boundedness principle, since a convergent is bounded for every . Applied to approximation projectors, the Lebesgue inequality for approximation projectors is
Indeed makes ; take the infimum. Thus density of the ranges and a uniform bound on the Lebesgue constants of interpolation imply convergence. Density alone does not control a sequence of interpolation projectors.
There is also a kernel version of this stability criterion, useful for trigonometric polynomial approximation. If integrable periodic kernels have uniformly bounded norms, their integrals tend to one, and for every , then convolution with converges uniformly to every continuous periodic function. Subtract and split the error into a small arc, bounded by , and its complement, bounded by . The remaining mass error tends to zero. This approximate identity argument shows directly why nonnegative unit-mass Fejér kernels work even though ordinary Fourier partial sums need not converge uniformly for every continuous target.
Lebesgue's constructive approach to the Weierstrass approximation theorem starts instead with the absolute value. On define the polynomial recurrence for the absolute value
Induction gives , monotonicity, and
The pointwise limit satisfies and is nonnegative, hence equals . Dini's theorem makes the convergence uniform. More explicitly, the continuous decreasing errors have, for any positive tolerance, open sublevel sets covering the compact interval; a finite subcover supplies one index valid everywhere. Every continuous piecewise linear function has the form
The are its changes in slope. Scaling and translating the absolute-value approximation shows that is uniformly approximable by polynomials. Solution 4, or polygonal interpolation and uniform continuity, makes these piecewise linear functions dense in . Approximating first by and then by a polynomial is another complete proof of the Weierstrass approximation theorem.
The Stone-Weierstrass theorem generalizes from intervals to a compact Hausdorff space : a real subalgebra containing the constants and separating points is uniformly dense. Its proof uses the same absolute-value mechanism. The uniform closure of a function algebra is an algebra. If belongs to this closure, approximation of by polynomials on a bounded interval containing its range proves that also belongs to the closure. Therefore the closure contains
Point separation and constants allow exact interpolation of any two real values: choose with and solve for in . The lattice approximation from two-point approximation proved in Solution 4 now makes the closure all of .
The complex version requires a unital, point-separating subalgebra closed under complex conjugation. Its real-valued members separate points using real or imaginary parts, so the real result approximates both parts of every complex target. Conjugation closure is essential: polynomials in alone on the closed unit disk cannot approximate uniformly, because whereas .
Among the corollaries are density of multivariate polynomials on compact subsets of real Euclidean space, since coordinates separate points, and density of trigonometric polynomials on the circle, since sine and cosine separate points there. On a compact interval, polynomials with rational coefficients are a countable dense family, giving separability of . The real and complex approximation results above concern uniform approximation of continuous targets; neither asserts convergence of arbitrary interpolation schemes or arbitrary Fourier series.
Choose a best uniform approximation . It exists because this vector subspace is a finite-dimensional vector space and a minimizing sequence is bounded: . Finite-dimensional equivalence of norms then supplies a convergent subsequence of coefficients. If , the Chebyshev alternation theorem gives alternating error extrema. The intermediate value theorem supplies a zero of in each of the intervening open intervals. These interpolation nodes are distinct, and uniqueness of polynomial interpolation gives
The convergence follows from the Weierstrass approximation theorem. If , choose any distinct nodes: the polynomial interpolant is still . This constructs interpolation nodes from best uniform approximation; the nodes depend on , and no universal node system for all continuous functions is asserted.
Write , finite and positive. Exactness on the constant polynomial gives . Positivity therefore implies the uniform operator bound , and the integral has the same bound.
For a continuous and , the Weierstrass approximation theorem gives a fixed polynomial of degree with . For every , polynomial exactness gives . Thus
Since is arbitrary, for every continuous . This is convergence of positive quadrature on continuous functions. The argument requires nodes in , implicit in a rule defined on all continuous functions there; otherwise their function values would not even be specified by the stated domain. Exactness alone would not provide the norm bound if arbitrarily signed weights were allowed.
For each , choose the best uniform approximation . If its error is nonzero, take its alternating extrema. The intermediate value theorem supplies a point strictly between the th and st extrema such that , for . These points are distinct. The polynomial interpolation problem at them has a unique solution of degree at most , so its solution is exactly . This constructs the interpolation nodes from best uniform approximation.
If , then itself belongs to the polynomial space, and any distinct nodes give the same conclusion. In either case, take or the arbitrary nodes just described. Then
The Weierstrass approximation theorem gives ; alternatively, the bound derived in part 4(b), combined with uniform continuity, gives this convergence directly. Therefore
The nodes may depend on and on . The conclusion does not assert a universal sequence of interpolation grids working for every continuous target.
Take complex-valued functions. Pointwise multiplication is associative and commutative, with identity the constant function , whose norm is one. The product rule gives
To prove completeness, let be a Cauchy sequence in this norm. The functions and their derivatives converge uniformly to continuous functions . Passing to the limit in gives . The fundamental theorem of calculus yields , including the one-sided endpoint derivatives. Thus and in the stated norm. Consequently is a unital commutative Banach algebra.
Let . If , then belongs to . If , the function vanishes somewhere and cannot have a pointwise inverse. Thus . Every character of an algebra satisfies for some , by part (d), and therefore for every polynomial .
Polynomials are dense in this stronger norm, not just the supremum norm. By the Weierstrass approximation theorem, approximate the real and imaginary parts of uniformly by polynomials, combining them into . Put . Then is a polynomial and
Continuity of the algebra character now gives . Conversely each point evaluation is a continuous algebra character. Hence the character space of C1 on a compact interval consists exactly of the evaluation functionals, and part (c) gives
Distinct points give distinct maximal ideals, since the coordinate function separates them.
Use the unscaled Finite Fresnel integrals of this paper. Termwise integration of the absolutely convergent Taylor series for sine and cosine gives the full small-argument expansions
In particular,
These Taylor series converge at every finite argument, although cancellation makes them unattractive for large arguments.
For the large-argument asymptotic expansions, combine the two Finite Fresnel integrals into . The standard Fresnel integral gives
For the tail , integration by parts using gives
For example , , and . Repeated integration by parts bounds the remainder after any fixed number of terms by the order of the next term. Equivalently the Fresnel tail expansion is
Here . The first three terms of the requested cosine Fresnel integral, counting its constant term, are
For comparison, retaining one further correction in both Finite Fresnel integrals gives
Unlike the small-argument Taylor series, these large-argument asymptotic expansions must be truncated; adding indefinitely many terms at a fixed argument does not improve the approximation.
A calculator needs elementary arithmetic and its built-in sine and cosine, together with stored approximation coefficients. A convenient global construction uses compactified approximation from endpoint asymptotics. Define the exact real tail functions by
Then , while and at infinity. Consequently
extend continuously to the compact interval , with and . Choose stored polynomial approximations on that interval, constrained by the small-argument Taylor series and large-argument asymptotic expansions, and calibrated across the intervening interval. The resulting elementary formula is
Uniform errors in the stored polynomial approximations give for every positive argument. Existence of arbitrarily accurate such approximations follows from the Weierstrass approximation theorem. A Padé approximant with a denominator having no positive zero is an alternative implementation. Matching the two end expansions alone is not an error guarantee: the middle interval must also be controlled. For very small arguments, switching to the short Taylor series avoids cancellation. Ordinary finite-precision limitations in evaluating and reducing its trigonometric phase remain those of the calculator itself.
For , extend the restriction of the continuous function to to a continuous function on by making it constant on each of the two remaining intervals. The Weierstrass approximation theorem supplies a polynomial with . Every compact set is eventually contained in , where . Hence eventually. This proves uniform convergence on every compact subset, without assuming any endpoint limits of . The first two polynomials can be chosen arbitrarily.
The Weierstrass approximation theorem states that the polynomials are a dense subspace of in the supremum norm. By linearity and (c), uniformly for every polynomial . Given and , choose a polynomial with . The operator norm estimate in (a) gives
First let , then . Hence for every continuous . This is an instance of extension of approximation operators from a dense subspace.
The Weierstrass approximation theorem says that for every real continuous function on and every , there is a real polynomial with . Equivalently, polynomials are dense in in the uniform norm.
This also forces . Indeed, is a continuous function on . Approximate uniformly by polynomials using the Weierstrass approximation theorem. Then uniformly, and the even moments give . The estimate from part (i), with in place of , proves and hence the conclusion.