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.
Numerical integration Created 2026-10-03 Updated 2026-10-18
Numerical integration approximates a definite integral using finitely many sampled function values. For an integrand on a finite interval , , a quadrature rule has the formThe quadrature nodes tell us where to evaluate ; the quadrature weights turn those values into an approximation to the accumulated signed area. The exact definite integral depends on the integrand throughout the interval, whereas the quadrature rule sees only these samples. Integrating a chosen interpolant exactly still generally approximates the original integrand's integral.[ref]
5.6 Numerical integration. Fundamentals of Numerical Computation by Tobin A. Driscoll and others; Definition 5.6.1 and §5.6.1, equations 5.6.2–5.6.5: weighted samples and integration of an interpolant
The fundamental theorem of calculus evaluates as when an antiderivative is available. Numerical integration is useful when no convenient antiderivative is known, or each evaluation of the integrand requires an expensive computation. The task then becomes choosing informative quadrature nodes and controlling the quadrature error with as few evaluations as possible. Fixed data also permit a quadrature rule, but refinement cannot supply new information between observations.[ref]
5.6 Numerical integration. Fundamentals of Numerical Computation by Tobin A. Driscoll and others; Opening discussion, Example 5.6.1 and the paragraph following Definition 5.6.1: antiderivatives, numerical evaluation and fixed data
For an exact comparison, take the polynomial on . Its antiderivative gives . On a partition of an interval into equal panels, the composite midpoint quadrature rule uses midpoint samples, each with quadrature weight ; the composite trapezoidal rule uses endpoint samples, with outer quadrature weights and interior quadrature weights . The existing derivations under these two quadrature rules giveIn particular, and already bracket ; two panels give and . The convex function explains the opposite signs. A midpoint rectangle can cross the curve within its panel, so its total signed area, rather than pointwise ordering, determines the underestimate.
One and two panels for numerical integration of : midpoint and endpoint samples with their quadrature weights
. Details. Define the signed approximation error as . In this example the absolute errors are and : doubling reduces each by exactly four. A plot with both axes on a logarithmic scale therefore has slope , expressing order two with respect to panel refinement. This is an exact calculation for this polynomial, including , rather than an observed rate extrapolated from a few computed answers.
Exact absolute errors for midpoint and trapezoidal numerical integration of : slope and a factor-four reduction
. Details. For a general integrand, the composite midpoint quadrature rule and composite trapezoidal rule give second-order quadrature error bounds when has two continuous derivatives on and a known bound on . These hypotheses describe behavior between samples. A formal error formula containing an unknown derivative is not a numerical accuracy certificate or a justified sample count. Finite samples do not certify quadrature accuracy makes the missing information explicit. Errors in the evaluations and roundoff error must also be considered; noise sensitivity of a quadrature rule treats the former.
More elaborate choices exploit other information: Gaussian quadrature obtains high polynomial exactness from carefully chosen quadrature nodes, and Simpson's rule uses a quadratic interpolant. Adaptive numerical integration compares approximations and concentrates samples where they disagree, often saving evaluations. Such a difference is an error estimate, not a certified bound without further assumptions: both approximations can miss the same feature.[ref]
5.7 Adaptive integration. Fundamentals of Numerical Computation by Tobin A. Driscoll and others; §5.7.1, equation 5.7.4: a difference-based error estimate; §5.7.2: interval bisection; Example 5.7.2 and concluding discussion: requested accuracy is not guaranteed
Quadrature ambiguity of pressure-tap data 2026-11-05
Quadrature ambiguity of pressure-tap data means that the same finite set of measured surface pressure values can be consistent with different integrated forces. A chosen quadrature rule fixes an estimate from those readings; it does not, by itself, establish the unsampled distribution. This is an instance of how finite samples do not certify quadrature accuracy.
For an original smooth example, use the normalized airfoil chord coordinate and let be the lower-minus-upper pressure coefficient difference. Put three sample locations at , and , and considerThese polynomials agree at all three taps. Both the composite trapezoidal rule and any other deterministic rule using only these same values produce identical answers for them. Nevertheless,The discrepancy is not caused by a discontinuity or mislocated tap: both profiles are smooth at every sample. At stipulated dynamic pressure and airfoil chord , the chord-normal pressure loads are and . Their relation to flow-relative lift still requires the geometric resolution explained in surface pressure integration for airfoil lift.
Additional assumptions can make an error bound possible. If a twice differentiable has a known bound over the entire chord, the local linear-interpolation remainder gives an integral error at most on an interval of width . Summing givesFor uniform spacing on this unit interval it becomes . A value of inferred only from the same sparse readings is not an independently established bound. Conversely, a justified polynomial model of fixed degree would supply different information and could remove the ambiguity.
A proposed experiment compares the pressure reconstruction with an independently corrected force-balance measurement at matched angle of attack and Reynolds number, then adds taps near suspected sharp features. Pressure-tap position calibration and repeated pressure readings address other error sources. Agreement of two sparse-data rules is a check on their chosen interpolants, not proof that an unresolved contribution is absent.
Surface pressure integration for airfoil lift reconstructs the pressure contribution to lift by summing the local surface pressure loads with their directions. With pointing from a two-dimensional body into the fluid, the force per unit span from its closed contour isThe uniform reference pressure cancels on the closed contour. This is a vector line integral, not the sum of positive pressure magnitudes.[ref]
Aerodynamic Forces by NASA Glenn Research Center. Variation in Pressure and Definitions of Lift and Drag
For upper and lower surfaces that are graphs over , their pressure contribution perpendicular to the chord isVertical end closures have no chord-normal pressure contribution. The pressure force parallel to the chord, , still matters when resolving flow-relative lift. With flow direction in aft/chord-normal axes, . Equating with lift needs a suitable angle of attack approximation. Pressure integration also omits the viscous stress contribution.
Finite pressure tappings require numerical integration. A composite trapezoidal rule integrates the linearly interpolated samples exactly; it need not integrate the actual unsampled distribution exactly. For an original example, let and place taps at . A second invented profile agrees at every tap but has an additional on and zero addition elsewhere. Both reconstructions give , while the second true integral is .
Two invented pressure-difference profiles agree at every tap but have different chord integrals. Equal readings alone do not bound an unsampled peak.
Details. At and , the two stipulated normal pressure forces are and , although the six samples are identical. This quadrature ambiguity of pressure-tap data is an instance of how finite samples do not certify quadrature accuracy. Additional geometric or regularity information is needed to bound the missed contribution.
A motivating experimental comparison uses a force balance independently of the pressure reconstruction. Robert M. Pinkerton's 54-orifice distribution measurements provide a historical example of resolving the shape of a pressure field.[ref]
Calculated and Measured Pressure Distributions over the Midspan Section of the NACA 4412 Airfoil by Robert M. Pinkerton. Abstract, apparatus and measured/theoretical distributions
A modern proposed test repeats both readings at controlled Reynolds number and angle of attack, checks tap coordinates and pressure-channel response, and refines sampling near sharp features. Agreement in a single integrated load does not prove agreement in the entire pressure distribution or pitching moment.

