Derivation: simple midpoint
Replacing the function by a central height to obtain the centred rectangle rule and its error.
Centred rectangle
Rule and error
Define the centre of the interval:
Approximate the function by the constant :
Since is constant with respect to , the integral is base times height:
The linear Taylor term around contributes no net area by symmetry. The first remaining term depends on :