Simpson’s rule aims to improve the approximation of the function in each interval by using higher order polynomials.
Simpson’s 1/3 rule connects points using a quadratic function. First, a 2nd order Lagrange polynomial interpolation is done. After some algebraic manipulation (see textbook), the area for each interval is:
(Recall that ).
Composite Simpson’s 1/3 Rule
For multiple intervals, Simpson’s rule requires an even number of intervals or segments:
In a more readable form:
Error/Accuracy
The error is:
where is the average 4th derivative. Note that this is a function of , so doubling the number of intervals would reduce the error by a factor of or .