TOPICS
Search

Trapezoidal Rule


TrapezoidalRule

The trapezoidal rule, also called the trapezoid rule or trapezium rule, is the 2-point Newton-Cotes formula

 int_(x_1)^(x_2)f(x)dx=1/2h(f_1+f_2)-1/(12)h^3f^('')(xi),

where f_i=f(x_i), h is the separation between the points, and xi is a point satisfying x_1<=xi<=x_2. If |f^('')(x)|<=M throughout the interval, then the magnitude of the error is at most Mh^3/12.

Applying the rule on equal subintervals gives the composite trapezoidal rule. Over a full period of an analytically extendible periodic function, this composite rule can converge exponentially, despite its ordinary second-order error bound for nonperiodic functions (Trefethen and Weideman 2014).


See also

Boole's Rule, Composite Trapezoidal Rule, Hardy's Rule, Newton-Cotes Formulas, Simpson's 3/8 Rule, Simpson's Rule, Weddle's Rule

Explore with Wolfram|Alpha

References

Abramowitz, M. and Stegun, I. A. (Eds.). Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, 9th printing. New York: Dover, p. 885, 1972.Trefethen, L. N. and Weideman, J. A. C. "The Exponentially Convergent Trapezoidal Rule." SIAM Rev. 56, 385-458, 2014. https://doi.org/10.1137/130932132.Whittaker, E. T. and Robinson, G. "The Trapezoidal and Parabolic Rules." The Calculus of Observations: A Treatise on Numerical Mathematics, 4th ed. New York: Dover, pp. 156-158, 1967.

Referenced on Wolfram|Alpha

Trapezoidal Rule

Cite this as:

Weisstein, Eric W. "Trapezoidal Rule." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/TrapezoidalRule.html

Subject classifications