For a partition of R into rectangles Rij and tag points
(xij∗,yij∗)∈Rij, the corresponding double Riemann sum is
i=1∑mj=1∑nf(xij∗,yij∗)ΔAij.
When f≥0, each term approximates the volume of a box above Rij.
When f takes both signs, the sum approximates a signed volume: contributions
below the xy-plane are subtracted.
For a partition P of R into rectangles Rij, the lower and upper
double Riemann sums are
L(f,P)=i,j∑mijΔAij,U(f,P)=i,j∑MijΔAij,
where mij and Mij are the infimum and supremum of f on
Rij.
For a nonnegative f, L(f,P) is the volume of the tallest boxes on the
partition that fit below the graph and U(f,P) is the volume of the shortest
boxes that reach above it. For a signed f, the box heights are signed.
Whenever the integral exists,