Let be a suitably differentiable function on . Then
where the error term is
for some between and .
In many cases the error is very small and Simpson’s rule gives a good approximation. When the rule is applied to a quadratic, such as , the error is zero.