The idea
Key formulas
Uniform subinterval width
Composite midpoint rule
Loading lessons…
Just a moment, getting everything ready. The first load can take up to a minute.
Calculus
Approximate definite integrals from function values using midpoint, trapezoidal, and Simpson's rules, with error bounds.
When an antiderivative is unavailable, complicated, or data are available only at sample points, approximate the area from a finite set of values. Split into equal pieces of width . The midpoint rule uses rectangles centered in each piece; the trapezoidal rule joins endpoint samples with straight lines; Simpson's rule fits parabolas over pairs of pieces.
For composite midpoint and trapezoidal rules, may be any positive integer. Composite Simpson's rule requires even . All three approximate a definite integral, so the estimate is a number, not an antiderivative with .