The midpoint rule formula
The midpoint rule is a Riemann sum whose sample point is the centre of each slice. On a slope, the bit of rectangle that sticks out above the curve on one side nearly cancels the gap on the other, which is why it beats left and right sums.
Error bound: if on , then , half the trapezoidal bound.
For a concave-up function the midpoint rule underestimates; for concave-down it overestimates (the opposite of the trapezoidal rule).
Compare all five methods side by side on the Riemann sum calculator, or try another single rule: Trapezoidal rule, Simpson’s rule, Left Riemann sum, Right Riemann sum.