Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedPipeline-generatedjudge pass (gpt-6-luna)
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.

Second-derivative error bound for the composite trapezoidal rule

Statement

Let a<b, let N≥1 be an integer, and put h:=(b−a)/N. For f∈C2([a,b]) in the sense of Higher derivatives and the classes Ck and C∞, the value TN(f) from Composite trapezoidal rule satisfies ∣∫abf(x) dx−TN(f)∣≤(b−a)h212sup⁡x∈[a,b]∣f′′(x)∣. The integral is the Riemann integral of The lower and upper Darboux integrals of a bounded f on [a,b] as sup⁡PL(f,P) and inf⁡PU(f,P), Darboux integrability as their equality, and the notation ∫abf.

Facts & Assumptions

Given: Reals a<b, an integer N≥1, the mesh width h=(b−a)/N, and f∈C2([a,b]).

[F1]

Composite trapezoidal rule: TN(f) is h times the sum of the endpoint values with half weights and the interior mesh values with unit weights.

[F2]

Higher derivatives and the classes Ck and C∞: C2([a,b]) means f,f′,f′′ are continuous on [a,b], with derivatives at the endpoints understood in the one-sided sense.

[F3]

A continuous function on [a,b] is Riemann integrable, by Heine-Cantor and Riemann's criterion: every continuous real function on a closed bounded interval is bounded and Riemann integrable.

[F4]

Pointwise linear interpolation error from a second-derivative bound: if a function is C2 on an open interval containing a panel [u,v], its endpoint affine interpolant L satisfies ∣f(x)−L(x)∣≤M(x−u)(v−x)/2, where M:=sup⁡[u,v]∣f′′∣.

[F5]

If f≤g on [a,b] and both are integrable then ∫abf≤∫abg; and m(b−a)≤∫abf≤M(b−a): pointwise order between integrable functions on an increasing interval implies the same order between their integrals.

[F8]

Newton–Leibniz needs only continuity on [a,b], differentiability on (a,b), and a Riemann-integrable extension of the interior derivative: a continuous function with an integrable interior derivative has integral equal to the endpoint difference of an antiderivative.

Proof

1.1givenF2F3construct

Since f′′ is continuous on [a,b], [F3] shows it is bounded; set M:=sup⁡[a,b]∣f′′∣<∞. The function f is also Riemann integrable.

2.1givenF2F4step 1.1construct

By [F2], the endpoint derivatives f′(a),f′′(a),f′(b),f′′(b) are the one-sided derivatives from within [a,b]. Define f~ on (a−1,b+1) by f~(x):={f(a)+f′(a)(x−a)+12f′′(a)(x−a)2,x<a,f(x),a≤x≤b,f(b)+f′(b)(x−b)+12f′′(b)(x−b)2,x>b. At each join the polynomial piece matches the value and the first two one-sided derivatives of f. Since f,f′,f′′ are continuous on [a,b], these matches make f~ C2 on the open interval (a−1,b+1). It agrees with f on [a,b] and sup⁡[a,b]∣f~′′∣=M. For j=0,…,N−1, let xj=a+jh and let Lj be the affine interpolant between f(xj) and f(xj+1). Put qj(x):=M2(x−xj)(xj+1−x) on that panel. Applying [F4] to f~ on each panel gives ∣f(x)−Lj(x)∣≤qj(x), and qj≥0.

3.1step 2.1construct

Let PN be the continuous piecewise-affine function equal to Lj on each panel, and let qN be the continuous piecewise function equal to qj on each panel; continuity of qN at a knot holds because both adjacent formulas vanish there. Step 2.1 gives −qN≤f−PN≤qN throughout [a,b].

3.2F1F7F8step 2.1algebra

By [F8], ∫xjxj+1Lj=h2(f(xj)+f(xj+1)) and ∫xjxj+1qj=Mh312; the second identity follows by integrating M2t(h−t) on [0,h]. Repeated additivity [F7] therefore gives ∫abPN=TN(f), because each interior knot occurs twice with half weight, and ∫abqN=NMh3/12.

4.1step 3.1F3F5F6algebra

The functions qN and f−PN are continuous and hence integrable by [F3]. Applying [F5] to the two pointwise inequalities in step 3.1 and using [F6] yields ∣∫abf−∫abPN∣≤∫abqN.

5.1step 4.1step 3.2algebra∎

Substituting the identities from step 3.2 into step 4.1 gives ∣∫abf−TN(f)∣≤NMh3/12=(b−a)h2M/12, since Nh=b−a. This is the claimed bound.

Depends on

Used by

Dependency tree · two levels

45 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources