How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Clenshaw–Curtis and extrapolation quadrature
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Binary Operations, Monoids, Groups and Subgroups
- Compactness
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Computed fast transforms and convolution
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Darboux, L'Hôpital, and Taylor's Theorem
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Equivalent Forms of Completeness
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Fourier Analysis and the Fast Fourier Transform
- Finite-precision direct factorizations and least squares
- Foundations of the Real Numbers for Analysis
- Fubini and Change of Variables
- Fundamental Trigonometric Identities
- Further Trigonometric Identities and Inverse Functions
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Improper Integrals
- Laplace approximation and deterministic quadrature
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrix Norms, Condition Numbers and Numerical Stability
- Measures and Their Basic Properties
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Outward rounded interval and ball arithmetic
- Polynomial approximation and Chebyshev interpolation
- Polynomial interpolation and remainder
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Subspaces, Products, and Quotients
- Suprema and Infima
- The Complex Exponential and Euler's Formula
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Riemann Integral in Rᵐ and Jordan Content
- The Riemann Integral: Definition and Integrability
- The Topology of Euclidean Space
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
Clenshaw–Curtis quadrature is defined by integrating the Chebyshev–Lobatto interpolant, with explicit DCT-I endpoint conventions and a midpoint case at degree zero. It is exact through degree . For , and , the approximation estimate is where is the best uniform degree- error on and is the Lobatto interpolation norm. Affine pullback identifies with the best degree- error of on . The factor follows by integrating the interpolation residual over the physical interval; on the factor is . The source contract's shorter expression without that factor is not used.
The page also defines a finite nested Romberg table. A finite Euler–Maclaurin formula supplies a uniform even-power expansion, and a separate induction proves the cancellations under that expansion hypothesis. An observed error ratio alone does not establish the hypothesis or the resulting order.
For a finite quadrature functional annihilating polynomials through degree , the Peano kernel gives an integral remainder and an bound. The nine-node closed Newton–Cotes rule is verified exactly through degree nine; its negative weights give a sample-perturbation norm larger than its signed weight sum. The even-extension DFT algorithm inherits only the computed-DFT status in its supplier contract and makes no new stability or accuracy claim.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Finite Romberg table from nested composite trapezoid levels
Definition
Input a real function on a nondegenerate closed interval and an integer . The output is the finite triangular table and its top entry .
- For each , set using natural exponentiation of Exponentiation of natural numbers, , and its agreement with the integer power in . Since and , induction gives , as required by Composite trapezoidal rule. Set and using its composite trapezoidal value. Natural powers in real scalar expressions are understood through their canonical real images.
- For , and then for each , set
For , claim 3 of Monotonicity of and of gives , using the natural-to-real power identity of Exponentiation of natural numbers, , and its agreement with the integer power in ; thus every displayed denominator is the positive real and is invertible by The reals form a field. This definition returns only the stated finite table; it makes no accuracy claim for nonsmooth inputs or finite-precision arithmetic.
Bernoulli polynomials by a normalized coefficient recursion
Definition
Let be the canonical natural map of The canonical natural of a field. Define polynomials recursively. Put . If and , set Every sum is finite. The denominator factors are positive by Canonical naturals are positive and strictly increasing, hence invertible in by The reals form a field. Write for the Bernoulli number of index .
Type-I cosine transform for Chebyshev–Lobatto data
Definition
Let with and let . In real-valued formulas, each natural index denotes its canonical real image (The canonical natural of a field). Since by Canonical naturals are positive and strictly increasing, division by is defined in (The reals form a field). The type-I discrete cosine transform, in the Lobatto convention used here, is the vector defined by Here is the natural power of the real number from Integer powers , and the sum is the finite sum of Finite sums and finite products, by recursion, empty when . The data are ordered from the right endpoint toward the left endpoint at nodes . This definition fixes the unnormalised DCT-I convention; the transform is not defined at .
Closed Newton–Cotes rule on eight equal panels
Definition
For , set and For any real-valued function on , define the closed nine-node rule where the sum is finite. The nodes are equally spaced and include both endpoints; the subsequent weight and exactness lemma verifies that these coefficients are the integrated Lagrange-cardinal weights.
Peano kernel of a finite quadrature functional
Definition
Let , let be a finite indexed list (repetitions are allowed), and let . For every Riemann-integrable , define the quadrature value and residual by Every formal real polynomial's evaluation function is continuous by Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function and integrable by A continuous function on is Riemann integrable, by Heine-Cantor and Riemann's criterion. In the following exactness predicate, means applied to that evaluation function. For a natural , say that is exact through degree if for the zero polynomial and every nonzero formal real polynomial with degree at most (Formal real polynomials, evaluation, degree, leading coefficient, and monic polynomials). Here is the natural predecessor specified by The factorial and the falling factorial , defined by recursion in . For any natural , the factorial in a real-valued formula denotes its canonical real image under The canonical natural of a field. This denominator is nonzero: by The factorial and the falling factorial , defined by recursion in , every nonzero natural is a successor by Every nonzero natural number is a successor and therefore is at least in the natural order Order on the natural numbers, and its canonical real image is positive by Canonical naturals are positive and strictly increasing, hence invertible by The reals form a field. For define The power is the natural power of Integer powers . For , is polynomial and continuous on each side of by Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function; the polynomial branch extends to with value because , agreeing with the zero branch. Thus it is continuous on and Riemann-integrable by A continuous function on is Riemann integrable, by Heine-Cantor and Riemann's criterion. For it is the indicator of ; if it is zero, and if , for each choose with and use the partition with breakpoints after deleting repeated endpoints. The indicator is constant on all panels except , where its oscillation is , so its upper-minus-lower sum is at most ; Riemann's criterion: a bounded on is Darboux integrable if and only if for every real there is a partition with makes it integrable. At the denominator is . Once is shown integrable, changing its values at the finitely many quadrature nodes does not change its integral by Changing an integrable function at finitely many points changes neither its integrability nor its integral.
The Chebyshev recurrence gives degree at most its index
Statement
For every integer , the coefficient list of the first-kind Chebyshev polynomial from Chebyshev polynomials of the first and second kinds by their three-term recurrences has no nonzero coefficient above index . In particular, .
Facts & Assumptions
Given: The recursively defined first-kind Chebyshev polynomials.
ranges over nonnegative integer indices.
Chebyshev polynomials of the first and second kinds by their three-term recurrences: , , , and polynomial multiplication uses coefficient convolution.
Formal real polynomials, evaluation, degree, leading coefficient, and monic polynomials: a nonzero formal polynomial is a finite coefficient list whose degree is its largest nonzero coefficient index; the zero polynomial has no degree.
The principle of mathematical induction: induction on natural indices is valid.
Proof
Define to assert that has no nonzero coefficient above and has none above . At , this holds because and by [F1].
Assume . By [F1], the coefficient of at index is the coefficient of at index (zero when ), so it vanishes for . The coefficient of vanishes for those indices as well; hence has no coefficient above . Together with the second assertion of , this is .
By [F3], steps 1.1 and 1.2 prove for every natural , so every has no nonzero coefficient above .
By the convolution definition in [F1] and finite distributivity, evaluation at respects polynomial sums and products. Evaluating the recurrence at therefore gives and . Induction yields for every natural , so no is the zero polynomial. Its degree is therefore defined by [F2], and the support bound in step 2.1 gives .
The Chebyshev recurrence agrees with cosine multiple angles
Statement
For every integer and every real , the first-kind Chebyshev polynomial from Chebyshev polynomials of the first and second kinds by their three-term recurrences satisfies
Facts & Assumptions
Given: An integer and a real angle .
is a nonnegative integer and .
Chebyshev polynomials of the first and second kinds by their three-term recurrences: , , and for every .
The addition formulas for sine and cosine: for every integer and real .
The principle of mathematical induction: an identity true at the initial indices and preserved by the stated recurrence holds for every natural index.
Proof
For the fixed real in [A1], define to assert the identity at both indices and . At , the identities for and give .
Fix as in [A1] and suppose . By the polynomial recurrence [F1], . Substituting the two induction hypotheses and then [F2] gives , so holds.
By [F3], steps 1.1 and 1.2 prove for every natural ; its first clause is the identity for every in [A1].
Derivative, endpoint, parity, and boundedness identities for Bernoulli polynomials
Statement
For the polynomials of Bernoulli polynomials by a normalized coefficient recursion and every natural , In particular, and . Consequently for . The reflection identity holds for every , so for odd . Each is bounded on .
Facts & Assumptions
Given: The recursive coefficient definition of and an integer index .
is a natural index; derivative and mean identities are asserted for .
For a natural the function is differentiable everywhere with derivative ; for it is the constant , with derivative ; for a natural the function is differentiable at every with derivative ; consequently every polynomial function is differentiable at every real, with the derivative computed term by term and Sums, scalar multiples, products and quotients: , , , and when : differentiating a finite polynomial sum termwise gives the sum of the power derivatives.
The second fundamental theorem: if is differentiable on with and is integrable, then : the integral of a continuous derivative on is the endpoint difference of its primitive.
A continuous function on is Riemann integrable, by Heine-Cantor and Riemann's criterion and For a nonempty subset of with , compactness, closedness and boundedness, pseudocompactness, and attainment of extrema by every continuous real-valued function are equivalent: polynomials are integrable and bounded on .
Monotone change of variable for Riemann-integrable functions: the decreasing affine map preserves the Riemann integral after multiplication by its absolute derivative .
The principle of mathematical induction: induction over the natural polynomial index is valid.
Proof
For the nonnegative natural index of [A1], the case gives by [F1]. For every , [F1]–[F2] give . Integrating each monomial in [F1] over , the integral of is , which cancels the subtracted constant term; hence .
The reflection formula holds at because by [F1], so .
For , [F3] and step 1.1 applied to give . Thus the endpoints agree for every such .
Let and assume for all . By [F2], [F4], and step 1.1, the derivative of is , using the induction hypothesis. Hence is constant by [F3]; its integral on is zero because step 1.1 gives and [F6] gives . A constant with zero integral on an interval of length one is zero, so reflection holds at .
The base case in step 1.2 and the induction step in step 2.2 prove the reflection identity for every natural in [A1] by [F7].
For the index in [A1], if it is odd and at least , step 3.1 gives while step 2.1 gives ; therefore . Finally each is a polynomial and hence continuous, so [F5] bounds it on the compact interval .
Exact integrals of Chebyshev polynomials
Statement
For every integer , let , where is the first-kind Chebyshev polynomial. Then Equivalently, for every integer .
Facts & Assumptions
Given: An integer and the polynomial of Chebyshev polynomials of the first and second kinds by their three-term recurrences.
is a nonnegative integer.
The Chebyshev recurrence agrees with cosine multiple angles: for every real .
Monotone change of variable for Riemann-integrable functions: a monotone differentiable bijection with integrable derivative changes a Riemann integral by the absolute derivative.
Signs, monotonicity intervals, and ranges of sine and cosine and The derivatives of sine and cosine are cosine and minus sine: decreases on , there, and .
Chebyshev polynomials of the first and second kinds by their three-term recurrences and A continuous function on is Riemann integrable, by Heine-Cantor and Riemann's criterion: is a continuous polynomial and is Riemann-integrable on .
The derivatives of sine and cosine are cosine and minus sine and The second fundamental theorem: if is differentiable on with and is integrable, then : an antiderivative of for nonzero integer is .
Quarter-turn values and shifts by pi/2 and pi and The principle of mathematical induction: induction using the shift by gives for natural .
Proof
Fix the integer in [A1]. The map is a decreasing differentiable bijection from to with derivative ; [F2]–[F4] verify the change-of-variable hypotheses. Therefore [F1]–[F4] give
For the nonnegative integer in [A1], the case gives by step 1.1. For , [F5] gives . [F6]–[F7] evaluate each nonzero-frequency sine integral; the term is identically zero.
If is odd, both positive integers among and are even, so [F6]–[F7] and step 2.1 give . If is even, both and are odd, so they give . Together with the case, this proves the formula.
Weighted cosine orthogonality on the Lobatto grid
Statement
For with and with , define Then when or , when is strictly between and , and when . The half-endpoint convention is the one used by the DCT-I of Type-I cosine transform for Chebyshev–Lobatto data.
Facts & Assumptions
Given: A natural and naturals .
The grid size is with , and in the natural-number order.
Type-I cosine transform for Chebyshev–Lobatto data fixes the Lobatto angles , the canonical real-image convention, and the half-weighted endpoint convention.
The addition formulas for sine and cosine and The subtraction formulas for sine and cosine give the sine-difference telescoping identity and the cosine product-to-sum identity.
Quarter-turn values and shifts by pi/2 and pi gives the shifts by and the quarter-turn values. Iterating its shift identities by induction on the natural gives for even , for odd , and for odd (The principle of mathematical induction).
Signs, monotonicity intervals, and ranges of sine and cosine gives strict increase of sine on and strict decrease on ; with from Quarter-turn values and shifts by pi/2 and pi, this implies for .
Proof
For the in [A1], and any natural frequency with , put and . Positivity of canonical naturals gives , and gives ; hence by [F4]. The half-weighted endpoints are the DCT-I convention fixed by [F1]. By [F2], Since , this gives .
If is even, the numerator factor is by [F3], so for . If is odd, write ; the addition formulas and give , hence . For and , direct evaluation gives .
Define . Since , step 1.2 gives for and .
For in [A1], [F2] makes each product in one half the sum of the cosine terms with natural frequency indices and , so . If , then and except the impossible distinct-endpoint case , so both terms vanish by step 2.1. If or , both indices are or , giving . If is interior, the indices are and with , giving . These cases prove the statement.
Peano representation and L1 error bound
Statement
Let , let and define the finite quadrature and residual of Peano kernel of a finite quadrature functional, and let with . Assume vanishes on the evaluation functions of the zero polynomial and every nonzero formal polynomial of degree at most , and let . For the kernel of Peano kernel of a finite quadrature functional,
Facts & Assumptions
Given: A nondegenerate interval , a finite real weighted quadrature exact on , an integer , and .
, with , vanishes on the evaluation functions of the zero polynomial and every nonzero formal polynomial of degree at most , and has continuous derivatives through order .
Peano kernel of a finite quadrature functional: and , where for and ; the factorial image is positive and invertible.
Higher derivatives and the classes and : has continuous derivatives through order , including one-sided endpoint derivatives.
The second fundamental theorem: if is differentiable on with and is integrable, then : for a continuous derivative, integration over equals the endpoint increment of a primitive.
For a natural the function is differentiable everywhere with derivative ; for it is the constant , with derivative ; for a natural the function is differentiable at every with derivative ; consequently every polynomial function is differentiable at every real, with the derivative computed term by term, The chain rule, in one line from Carathéodory: if is differentiable at and is differentiable at , then is differentiable at with , and Sums, scalar multiples, products and quotients: , , , and when : polynomial powers and their products with derivatives obey the usual differentiation rules on each interval; together with FTC these give the integration-by-parts identity used below.
A continuous function on a closed rectangle has repeated Riemann integrals in every coordinate order, all equal to its multiple integral: a continuous function on a closed rectangle has equal repeated Riemann integrals in either coordinate order.
Integrable functions on form a set closed under sums and scalar multiples, and and For : is integrable on if and only if it is integrable on and on , and then ; with the oriented form for arbitrary : integrals are linear and additive over adjacent intervals. The factorial and the falling factorial , defined by recursion in supplies the natural factorials; their canonical real images in real denominators are the convention fixed by [F1].
A continuous function on is Riemann integrable, by Heine-Cantor and Riemann's criterion: continuous functions on closed intervals are Riemann-integrable.
Heine-Cantor: a continuous map from a compact metric space to any metric space is uniformly continuous: a continuous function on a compact metric rectangle is uniformly continuous.
Changing an integrable function at finitely many points changes neither its integrability nor its integral: changing finitely many values preserves Riemann integrability and leaves the integral unchanged.
If are integrable on then so are , , , and , and and If on and both are integrable then ; and : products and absolute values of integrable functions are integrable, and pointwise order passes to their integrals.
For a nonempty subset of with , compactness, closedness and boundedness, pseudocompactness, and attainment of extrema by every continuous real-valued function are equivalent: every continuous real function on the compact interval is bounded and attains its extrema.
Proof
We first establish Taylor's integral remainder by induction on the natural order (The principle of mathematical induction). For , [F3] gives . If the remainder formula holds at order , put . The product rule and FTC give , and . Rearranging yields Thus induction yields .
Extend the last integral to by setting its kernel to zero when . With , the result is . Since is zero or has degree at most , [A1] gives .
Suppose first that . The function is continuous on because and is continuous. By [F5]–[F7], applying the integral part of to step 2.1 and interchanging the two rectangle integrals gives . Each finite evaluation term of commutes with the -integral by [F6]. Therefore . The function is uniformly continuous on the compact square by [F8], so its -integral and its finite weighted evaluations vary continuously with ; hence is continuous and integrable.
If , exactness on constants gives . For outside the finite node set, [F1] gives . It is bounded and affine between consecutive nodes. Extend each affine piece continuously to its closed subinterval; the resulting pieces are integrable by [F7] and add to an integrable piecewise function by [F6]. The kernel differs from that function at only finitely many nodes, so it is integrable and has the same integral by [F9]. Since is continuous, [F10] makes integrable; changing the kernel values at the finite node set does not change that product integral by [F9]. By [F3]–[F4] and integration by parts, , while . Subtracting gives .
By [F2] and [F11], is bounded on , so . In either case, the kernel is integrable and is integrable by [F10]. Apply monotonicity in [F10] to , and use the representation in step 3.1 or 3.2. This gives the asserted bound.
Finite Euler–Maclaurin formula for the composite trapezoid
Statement
Let , let and be integers, put and , and let in the sense of Higher derivatives and the classes and . Write for Bernoulli polynomials by a normalized coefficient recursion and . For on , the composite trapezoidal value of Composite trapezoidal rule satisfies In particular, with , the absolute value of the final remainder is at most .
Facts & Assumptions
Given: A nondegenerate interval , integers , the uniform mesh, and .
The parameters satisfy , , , , and has continuous derivatives through order on .
Higher derivatives and the classes and : means the derivatives through order are continuous, with one-sided endpoint derivatives.
The second fundamental theorem: if is differentiable on with and is integrable, then , Sums, scalar multiples, products and quotients: , , , and when , The chain rule, in one line from Carathéodory: if is differentiable at and is differentiable at , then is differentiable at with , and For a natural the function is differentiable everywhere with derivative ; for it is the constant , with derivative ; for a natural the function is differentiable at every with derivative ; consequently every polynomial function is differentiable at every real, with the derivative computed term by term: the derivatives and antiderivatives of the polynomial factors below obey the usual power, product, sum, and chain rules on each panel, so FTC applied to product derivatives gives the integration-by-parts identities.
Integrable functions on form a set closed under sums and scalar multiples, and , For : is integrable on if and only if it is integrable on and on , and then ; with the oriented form for arbitrary , and A continuous function on is Riemann integrable, by Heine-Cantor and Riemann's criterion: the continuous panel integrands are Riemann-integrable, integrals are linear, and adjacent panel integrals add.
The factorial and the falling factorial , defined by recursion in : is the positive product of the first positive integer real images.
For a nonempty subset of with , compactness, closedness and boundedness, pseudocompactness, and attainment of extrema by every continuous real-valued function are equivalent: a continuous real function on the compact interval attains finite maximum and minimum values.
Proof
On a panel , put . Integration by parts using gives Summing this identity over the panels and using [F1] and [F5] yields , where for .
For , differentiate to get . Integrating by parts on each panel therefore gives Because by [F2], the interior endpoint terms telescope, leaving as the boundary term.
Write for . If is odd and at least , [F2] makes that boundary term zero, so step 1.2 gives . If is even, step 1.2 gives . For each , the odd-index recurrence at gives ; hence . Finite induction on (The principle of mathematical induction) iterates these identities; followed by the final even-index recurrence, it gives
The polynomial is continuous by [F2], so [F7] ensures exists and is finite. By the definition of and the bound on each unit cell, . Substituting step 2.1 into step 1.1 proves the stated formula and remainder bound.
Even-power expansion of trapezoid levels with a uniform remainder
Statement
Let , let with , and let . For every integer , set , , and using the Bernoulli numbers of Bernoulli polynomials by a normalized coefficient recursion. Then where the level-independent finite constant does not depend on . Thus the remainder bound is uniform over every set of dyadic levels.
Facts & Assumptions
Given: , an integer , , and an integer trapezoid panel count .
Finite Euler–Maclaurin formula for the composite trapezoid: for every , the composite trapezoid equals the integral, the first endpoint Bernoulli corrections, and a remainder bounded by .
Higher derivatives and the classes and : supplies all continuous endpoint derivatives through order .
Composite trapezoidal rule: uses the uniform mesh of width .
For a nonempty subset of with , compactness, closedness and boundedness, pseudocompactness, and attainment of extrema by every continuous real-valued function are equivalent: continuous real functions on the compact interval are bounded and attain finite extrema.
Proof
Apply [F1] with . The formula has the displayed coefficients and a remainder satisfying .
By [F2] and [F4], each derivative norm in and is finite; the Bernoulli maximum exists by the Euler–Maclaurin theorem's construction. Put . The triangle inequality gives . Every term in depends only on , not on , so this is the claimed uniform remainder.
Exact weights and degree-nine exactness of the eight-panel rule
Statement
For the nodes and rule of Closed Newton–Cotes rule on eight equal panels, the weights are the integrals of the degree-eight Lagrange cardinal polynomials. Interpreting polynomial inputs by their evaluation functions, the rule is exact for the zero polynomial and every nonzero formal polynomial of degree at most .
Facts & Assumptions
Given: The nine equally spaced nodes , their weights , and the finite rule .
Closed Newton–Cotes rule on eight equal panels: with the displayed symmetric rational weights.
Cardinal-polynomial interpolation and Cardinal interpolation functions are polynomials of the stated degrees: each cardinal polynomial has degree , equals at , equals at the other eight nodes, and is ; every finite cardinal sum is zero or has degree at most .
Existence and uniqueness of the cardinal-polynomial interpolant and A nonzero real polynomial of degree has no more than distinct real roots: the degree-at-most-eight interpolant at nine distinct nodes is unique; equivalently, two such polynomials agreeing at all nine nodes are equal.
For a natural the function is differentiable everywhere with derivative ; for it is the constant , with derivative ; for a natural the function is differentiable at every with derivative ; consequently every polynomial function is differentiable at every real, with the derivative computed term by term, The second fundamental theorem: if is differentiable on with and is integrable, then , A continuous function on is Riemann integrable, by Heine-Cantor and Riemann's criterion, and Integrable functions on form a set closed under sums and scalar multiples, and : each polynomial monomial is integrable, its integral is obtained from its power antiderivative, and finite sums integrate termwise.
Proof
Put and . Substituting into [F2] cancels the eight factors between numerator and denominator, giving . For , the pairs are , , , , and . These coefficients follow by multiplying the eight factors, and each denominator is the product of the corresponding integer differences.
Integrating each coefficient list by [F5] gives for . The factor in [F4] therefore gives , exactly the first five weights in [F1]. Reflection sends node to and, by the product formula in [F2], sends to ; the substitution preserves the integral. Thus the remaining four cardinal integrals equal the corresponding symmetric weights in [F1].
For the zero polynomial and every nonzero formal polynomial of degree at most , its cardinal interpolant is the evaluation of a formal polynomial of degree at most or is zero, and it agrees with the evaluation function of at all nine nodes by [F2]. Uniqueness [F3] makes the two evaluation functions equal. Integrating this finite identity and using step 2.1 and [F5] yields .
The nodes and weights in [F1] occur in equal pairs under , so by cancellation of the paired terms and the zero central term. The integral of the odd polynomial over is zero by the same substitution. The zero polynomial, and each nonzero formal polynomial of degree at most , has the form for a zero polynomial or nonzero formal polynomial of degree at most and a scalar ; step 3.1 and linearity therefore prove exactness through degree .
Romberg cancels a proved finite even-power expansion
Statement
Let , let and be integers, and let . Write and let be the table from Finite Romberg table from nested composite trapezoid levels. If the trapezoid expansion has coefficients as in Even-power expansion of trapezoid levels with a uniform remainder, then the recurrence cancels all first even powers and there is a finite such that No error-order conclusion is made from a ratio of observed consecutive trapezoid errors.
Facts & Assumptions
Given: , integers , , , and its finite Romberg table.
Even-power expansion of trapezoid levels with a uniform remainder: for every level , with , where and is independent of .
Composite trapezoidal rule: and the initial table entries are the nested trapezoid values on these levels.
The principle of mathematical induction: induction on the finite extrapolation-column index is valid.
Proof
By [F1]–[F2], column zero has the expansion uniformly for . We prove by induction on the column that, for every , with coefficients independent of . For , this is [F2] with .
Assume the induction hypothesis for column with . Then has terms indexed and has the same coefficients with by [F3]. Substitution in [F1] multiplies the coefficient of by For this factor is zero, so the th error power cancels; the remaining powers have indices .
The new remainder is . Thus so a finite level-independent exists under the inductive remainder bound.
Step 1.1 supplies the base column, and steps 2.1 and 3.1 advance the expansion and its uniform remainder from column to column . By [F4], induction therefore gives the asserted expansion at every column through . At the coefficient sum is empty, so , and step 3.1 bounds its remainder by .
Peano remainder bound for the eight-panel rule
Statement
If , then the rule of Closed Newton–Cotes rule on eight equal panels satisfies where and .
Facts & Assumptions
Given: A function and the nine-node quadrature .
has continuous derivatives through order on .
Closed Newton–Cotes rule on eight equal panels: on the nodes .
Exact weights and degree-nine exactness of the eight-panel rule: is exact for the zero polynomial and every nonzero polynomial of degree at most .
Peano kernel of a finite quadrature functional: for , , where and .
Peano representation and L1 error bound: exactness through degree and imply .
Proof
By [F1] and [F3], . For , the integral is , by the power antiderivative and endpoint evaluation. This gives the displayed kernel.
The exactness condition of [F4] holds by [F2], and its smoothness condition is [A1]. Applying [F4] to this and substituting the kernel from step 1.1 proves the bound.
DCT-I coefficients of the Chebyshev–Lobatto interpolant
Statement
Let with , and let . Put for , and let be the DCT-I of Type-I cosine transform for Chebyshev–Lobatto data. Define Then is the unique polynomial of degree at most interpolating at the Chebyshev–Lobatto nodes ; in particular in the convention of Best uniform polynomial error and Chebyshev interpolation operators.
Facts & Assumptions
Given: An integer and a continuous .
Weighted cosine orthogonality on the Lobatto grid: the half-endpoint weighted cosine products sum to at matching endpoint frequencies, at matching interior frequencies, and at distinct frequencies.
The Chebyshev recurrence agrees with cosine multiple angles: for every real .
Best uniform polynomial error and Chebyshev interpolation operators: the Lobatto nodes are and is the Lagrange-cardinal interpolant at those nodes.
Chebyshev cardinal interpolation reproduces polynomials and its norm is the cardinal sum: is a polynomial of degree at most and has values at every node.
Cardinal-polynomial interpolation and Existence and uniqueness of the cardinal-polynomial interpolant: at strictly increasing distinct real nodes, the degree-at-most- Lagrange interpolant is the unique polynomial with the given node values.
The Chebyshev recurrence gives degree at most its index: each has degree at most .
Proof
Use the half-endpoint sum notation . By [F1], . The recurrence-angle identity [F3] gives , so the definition of then gives
Substitute the expression for from step 1.1 into the displayed reconstruction sum and interchange the two finite sums. By [F2], every frequency contributes zero. If is an endpoint, its outer half-weight and the diagonal sum contribute ; if is interior, the diagonal sum contributes . Thus for each .
By [F7], has degree at most . The interpolant has the same degree bound and node values by [F4]–[F5]. Reorder the common node set increasingly; it remains distinct nodes because is strictly decreasing on . Apply the uniqueness statement [F6] to the two polynomials with the same values from step 2.1. Hence .
Clenshaw–Curtis quadrature with the midpoint zero-degree case
Definition
Let , , , , and . For , set on , let , and form from the DCT-I coefficients in DCT-I coefficients of the Chebyshev–Lobatto interpolant. With the Chebyshev moments of Exact integrals of Chebyshev polynomials, define For , define instead the midpoint rule. This is the explicit endpoint and zero-degree convention for Clenshaw–Curtis quadrature. The sums and coefficients are exact real quantities; finite-precision evaluation is a separate algorithm.
Polynomial exactness and best-approximation error for Clenshaw–Curtis
Statement
Let , , and . Put , , and on . Let and be the best uniform polynomial error and the Chebyshev–Lobatto interpolation norm from Best uniform polynomial error and Chebyshev interpolation operators. Interpreting polynomial inputs by their evaluation functions, the rule of Clenshaw–Curtis quadrature with the midpoint zero-degree case is exact for the zero polynomial and every nonzero formal polynomial of degree at most , and Because affine pullback preserves the supremum norm and polynomial degree, is also the best degree- uniform error of on .
Facts & Assumptions
Given: , , and .
, and the normalized function is with and .
Clenshaw–Curtis quadrature with the midpoint zero-degree case: for , with the DCT-I coefficients and Chebyshev moments; at it is .
Exact integrals of Chebyshev polynomials: for every .
Chebyshev cardinal interpolation reproduces polynomials and its norm is the cardinal sum: for every , including .
Best uniform polynomial error and Chebyshev interpolation operators: , is the operator norm of , and .
Formal real polynomials, evaluation, degree, leading coefficient, and monic polynomials and The binomial theorem in : : if and , then . Regrouping these finite sums gives a coefficient list with no index above ; since , this applies to both affine maps and .
Monotone change of variable for Riemann-integrable functions: for the increasing affine bijection , .
A continuous function on is Riemann integrable, by Heine-Cantor and Riemann's criterion and Integrable functions on form a set closed under sums and scalar multiples, and : the continuous functions here are integrable and finite sums may be integrated termwise.
Proof
For , let . By [F1]–[F3] and [F10], . The affine substitution [F9] makes this for , and [F2] identifies with the interpolant pullback. For , [F1] is the integral of the constant polynomial by [F9]. Thus in every case.
Let be the zero polynomial or a nonzero formal polynomial of degree at most , interpreted by its evaluation function on , and put . By [F7], . The interpolation reproduction in [F4] gives , so step 1.1 yields . This proves polynomial exactness.
Set as in step 1.1. The pullback bijection gives . By [F8], . Combining this with from step 1.1 and [F5] proves the displayed bound.
For each on , the pullback is in on by [F7] and has the same supremum error against as has against . Conversely, every degree-at-most- polynomial on pulls back to one on . The two infima defining best uniform error are therefore equal.
Computed Clenshaw–Curtis from an even-extension DFT
Definition
Input real numbers , a natural , sampled values , and the phase/FFT controls for Arbitrary-length mixed-radix and Bluestein DFT: a phase tolerance (required to be exact rational when ), integer dyadic exponent limits , and integers , , , and . Set and . For an underlying , admissible samples satisfy when and for when , using the canonical real images of The canonical natural of a field. When , also require every to lie in the representable real set of the same floating-point model instance used by the called DFT; this ensures its complex input coordinates satisfy that procedure's input condition. No representability condition is needed for , when no DFT call is made. The output is an approximate real quadrature value or the first status returned by the called DFT procedure.
- If , return , the midpoint convention of Clenshaw–Curtis quadrature with the midpoint zero-degree case.
- If , form by for and for . This is the even extension , with real samples embedded as complex numbers with zero imaginary part. Call Arbitrary-length mixed-radix and Bluestein DFT on with length and the same controls . If it returns a status instead of a vector, return that status.
- Otherwise, take the real parts of output entries , form the DCT-I coefficients , , and for as in Type-I cosine transform for Chebyshev–Lobatto data, and return with the exact moments in Clenshaw–Curtis quadrature with the midpoint zero-degree case.
The postprocessing is exact real arithmetic applied to the approximate DFT output. The procedure makes no end-to-end floating-point error or stability claim; it only propagates the DFT routine's declared failure statuses.
5 · Examples, counterexamples and false statements
None yet.
Sources
- L. Ridgway Scott, Numerical Analysis, 2nd ed., §13.3
- NIST Digital Library of Mathematical Functions, §3.5 Quadrature
- NIST Digital Library of Mathematical Functions, Chapter 24 §24.2(i), Bernoulli Numbers and Polynomials
- Lloyd N. Trefethen, Is Gauss Quadrature Better than Clenshaw–Curtis?, §2
- L. Ridgway Scott, Numerical Analysis, 2nd ed., §13.4.1
- L. Ridgway Scott, Numerical Analysis, 2nd ed., §13.1.1
- NIST Digital Library of Mathematical Functions, §3.5(iv), Interpolatory Quadrature Rules
- L. Ridgway Scott, Numerical Analysis, 2nd ed., §13.2
- NIST Digital Library of Mathematical Functions, §3.5(iii), Romberg Integration
- L. Ridgway Scott, Numerical Analysis, 2nd ed., §13.1 and §13.4.1