With step size , the composite trapezoidal rule gives half weight to the two endpoints:ThereforeIt exceeds the exact definite integral by , as expected because is a convex function and each trapezoid lies above the curve.
For equal intervals, the composite trapezoidal rule isAdding the missing term therefore gives the exact relationSince is continuous, its Riemann sums, and hence its endpoint-averaged trapezoidal sums, converge to its definite integral. Thus and , givingNo pre-existing formula for the sum of squares is needed.
Articles by others on the same topic
There are currently no matching articles.