Overview
Simpson's Rule estimates area under a curve with weighted samples that match a quadratic curve over each pair of subintervals.
Approximates an integral by fitting parabolas over intervals.
Compact metadata for implementation and discovery.
Simpson's Rule estimates area under a curve with weighted samples that match a quadratic curve over each pair of subintervals.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n)
Worst
O(n)
Space
O(1)
integral ~= h/3 * (f(x0) + 4*f(x1) + f(x2))Approximates area under a curve using a quadratic fit over two subintervals.
Show parabolic arcs approximating area under a curve.
Simpson's Rule operates in O(n) time and O(1) space within the Numerical Integration family. Key governing relation: integral ~= h/3 * (f(x0) + 4*f(x1) + f(x2)). Often compared with Bisection Method and Runge-Kutta Method.
What each reference supports for this entry.
Reference text and implementation-oriented treatment for root finding, interpolation, integration, and ODE methods.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Numerical Methods · Foundation
Simpson's Rule uses quadratic interpolation rather than linear trapezoids.
Compare with thisSimpson's Rule is based on local polynomial approximation.
Simpson's Rule uses quadratic interpolation rather than linear trapezoids.