TOPICS
Search

Composite Simpson's Rule


The composite Simpson's rule approximates a definite integral by applying Simpson's rule to successive pairs of equal subintervals. For h=(b-a)/(2n) and x_j=a+jh, it is

 int_a^bf(x)dx approx h/3[f(x_0)+4sum_(j=1)^nf(x_(2j-1))+2sum_(j=1)^(n-1)f(x_(2j))+f(x_(2n))].
(1)

If f has a continuous fourth derivative, then for some xi in (a,b) the error is

 -((b-a)h^4)/(180)f^((4))(xi),
(2)

where the error means the exact integral minus its approximation. Thus the error satisfies

 E=O(h^4).
(3)

Here O(h^4) is big-O notation indicating that as h->0, the error magnitude is bounded by a constant multiple of h^4 for all sufficiently small positive h.


See also

Composite Trapezoidal Rule, Newton-Cotes Formulas, Numerical Integration, Simpson's Rule

Explore with Wolfram|Alpha

References

Burden, R. L. and Faires, J. D. Numerical Analysis, 9th ed. Boston, MA: Brooks/Cole, 2011.

Cite this as:

Weisstein, Eric W. "Composite Simpson's Rule." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/CompositeSimpsonsRule.html

Subject classifications