Riemann sum

A Riemann sum approximates an integral by a finite sum.

Formally,
let f be a real function on a closed interval [a,b] with partition P=(x0,x1,,xn).
Then the Riemann sum S is

S=i=1nf(xi)Δxi

where Δxi=xixi1,
and xi[xi1,xi] is well-defined.


Choices of xi give different Riemann sums:


Powered by Forestry.md