A Riemann sum of a bounded function f:[a,b]→R with respect to a tagged partition
(P,{ti}), where P={x0,…,xn}, is the number
S(f;P,{ti})=i=1∑nf(ti)(xi−xi−1).Riemann sums approximate the Riemann integral
; the approximation is controlled by the mesh
∥P∥ becoming small.
Examples:
- If f(x)=1 on [a,b], then every Riemann sum equals b−a.
- For f(x)=x on [0,1], take P={0,21,1} and midpoint tags t1=41, t2=43. Then S(f;P,{ti})=41⋅21+43⋅21=21.