Adaptive Simpson's method Created 2026-10-20 Updated 2026-11-05
Adaptive Simpson's method compares one Simpson's rule panel on with two panels totaling after bisection. In the smooth asymptotic regime, the leading error drops by a factor of sixteen, so estimates , and is the corrected estimate.
If the discrepancy exceeds the local tolerance, subdivide again and split the error budget between the children. Endpoint and midpoint values can be reused. The factor fifteen follows by eliminating the leading fourth-order error; it is not a rigorous error bound without quantitative assumptions. A narrow peak missed by all sampled nodes can make both estimates agree while both are wrong, as finite samples do not certify quadrature accuracy explains.
For real , defineThe integrand is positive and at most , so and the improper integral converges. Substituting also gives in terms of the exponential integral; the original representation makes positivity and the large- behavior transparent.
Apply the exact finite geometric series identity inside the integral, without assuming that an infinite series can be integrated term by term:The Gamma integral gives . Therefore, with retained terms,This remainder formula proves the asymptotic expansion at every fixed order: as . Its sign also gives alternating bounds: an odd overestimates , and an even underestimates it.
At , an independent evaluation of the integral gives . Three retained terms giveFive retained terms give with error bounded by . The actual errors are about and , respectively. The error bound is conservative, but established without relying on the numerical integral evaluation.
Nevertheless, the formal infinite series diverges at every fixed . The magnitudes satisfy , so they eventually increase without bound. In particular, the terms fail the necessary zero-term condition for a convergent series. The finite remainder identity remains valid after convergence has failed; this is precisely what makes the example useful.
Approximation 2026-10-24
A replacement chosen to be sufficiently close for a stated purpose. Quantitative usefulness requires specifying the comparison and, when possible, an approximation error or error bound.
Dual norm as a worst-case linear error bound 2026-10-18
Suppose a perturbation satisfies , with . Absolute homogeneity of a norm and the dual norm definition giveFor nonzero , divide it by its norm to obtain an input in the unit ball; for zero perturbation the inequality is immediate. This is an exact error bound for a linear functional, for every perturbation in the stated input set.
For and a budget , the sharp output-error bounds are for , for , and for . Scale the maximizing vectors from the preceding example by to attain the positive endpoints; their negatives attain the negative endpoints. The L1 norm budget constrains a total absolute error; the maximum norm budget permits each coordinate to have that error separately. These budgets define nested sets and carry different information.
Dual norms give exact worst-case errors for the same linear functional
. Original bounds for . Lines show the sharp error magnitude as the stated input norm budget increases. The right panel gives the full possible error intervals at ; these are the full feasible intervals for the stated deterministic bounds. Details.The coordinates must use the stated scale and units. Rescaling one coordinate changes both its coefficient in and the meaning of its input budget. For a nonlinear differentiable function with scalar values, its Fréchet derivative at the base point is a linear functional governing the first-order response. An exact finite-perturbation error bound additionally needs control of the Taylor remainder or of the Fréchet derivative along the path.
Error bound 2026-10-14
An error bound is an established upper bound on a specified approximation error, on a stated domain and under stated assumptions. A numerical comparison at selected points can test an approximation but does not by itself establish a bound throughout that domain. An absolute error bound controls ; a relative error bound additionally specifies the reference scale.
Optimal truncation Created 2026-10-06 Updated 2026-10-14
Optimal truncation chooses how many terms to retain for a useful finite approximation. In a divergent asymptotic expansion, increasing the truncation order eventually makes the terms larger rather than smaller. Stopping near a smallest term often gives the best direct approximation, but the actual remainder must be checked. A small last term alone is not a universal error bound.[ref]
2.11 Remainder Terms; Stokes Phenomenon. NIST Digital Library of Mathematical Functions, §2.11(i), discussion of finite-parameter accuracy and independently checking remainders; §2.11(iii), exponentially improved expansions
For a divergent factorial series can approximate a convergent integral, decreases while and increases while . Thus the useful cutoff is near , rather than at arbitrarily large order. At , are the two smallest terms. Retaining terms givesThe actual error is about . Retaining twenty terms instead gives , with error about : more work produces a worse answer.
For this example the bound is explicit, so a requested tolerance can be tested before using a truncation. For a different integral, a nearby saddle point or simple pole can change the relevant remainder scale. This is why the smallest-term rule is a useful guide, rather than a replacement for remainder analysis.
The cutoff for factorial terms has . Better analysis can expose contributions smaller than every retained inverse power, linking optimal truncation to the Stokes phenomenon. Such contributions can be important even when many asymptotic coefficients agree. Directly summing ever more terms does not automatically recover them.
The fixed-point iteration stays inside because maps that interval to itself. A fixed point satisfies , so andOnly is admissible; fails the unsquared equation. With , the mean value theorem gives the error boundInduction yields , since . Therefore, for every allowed starting value,This estimate proves convergence directly, without assuming in advance that the sequence has a limit.
Start with . At stage , form the midpoint . If , stop; for a sequence defined for all later indices, repeat forever. Otherwise retain the half-interval with opposite endpoint signs: set if , and otherwise. This is the bisection method.
If it never stops, the closed intervals are nested, retain , and have lengthsBy the nested interval theorem, there is a unique real in their intersection. In particular, , , and the sequence of midpoints satisfiesSince is continuous, . All these products are negative, so their limit of a sequence is nonpositive. Therefore , forcing . We have proved that the sequence is a convergent sequence whose limit of a sequence is a zero of a function:The error bound applies at every stage before exact termination; after termination the error is zero. The intermediate value theorem also guarantees a zero of a function in each retained interval, but the nested-interval argument identifies the particular one to which the sequence of midpoints converges.
The supplied bracket gives . Part (b) ensures , so each error satisfiesWriting gives and . After three steps the exponent has doubled three times:This rigorous error bound uses only the given bracket, not advance knowledge of the digits of .
The actual rational iterates are , , and . They illustrate the bound, but the proof comes from the exact error identity and the positive lower bound on the denominators.


