Double integrals and Riemann sums
Define double integrals over rectangles using tagged partitions and upper and lower sums.
This page defines the double integral over a rectangle as a limit of Riemann sums. The construction copies the one-variable integral: small intervals become small rectangles and their lengths become areas.
The definition says what the integral means; later pages compute it. Fubini's theorem replaces the sums by iterated integrals, regions bounded by curves extend the construction beyond rectangles and a change of variables reshapes the iterated integrals.
From one variable to two
For a one-variable partition
the th subinterval has length . Choosing a tag in each interval produces
The integral is the limit of these sums as the partition becomes fine, provided the limit does not depend on the tags. Over a rectangle
we partition both coordinates:
The resulting small rectangles are
The mesh of this product partition is the largest side length among the small rectangles:
“The partition becomes fine” means that .
Double Riemann sum
For a partition of into rectangles and tag points , the corresponding double Riemann sum is
When , each term approximates the volume of a box above . When takes both signs, the sum approximates a signed volume: contributions below the -plane are subtracted.
Double integral over a rectangle
Let be bounded on . If there is a number such that, for every , some makes every tagged partition with satisfy
then is Riemann integrable over and
The notation
records that area is being accumulated. It does not say which variable is integrated first.
Upper and lower sums
Upper and lower sums remove the arbitrary choice of tags. For each small rectangle , set
Then
so multiplying by and adding gives lower and upper bounds.
Upper and lower double Riemann sums
For a partition of into rectangles , the lower and upper double Riemann sums are
where and are the infimum and supremum of on .
For a nonnegative , is the volume of the tallest boxes on the partition that fit below the graph and is the volume of the shortest boxes that reach above it. For a signed , the box heights are signed. Whenever the integral exists,
Criterion for Riemann integrability
A bounded function is Riemann integrable over if and only if, for every , there is a partition such that
In that case,
This is equivalent to requiring that the tagged sums have a common limit. It is usually the easier criterion for proving integrability or non-integrability.
Continuous functions are integrable
Every continuous function on a rectangle is Riemann integrable over that rectangle.
On sufficiently small rectangles, continuity prevents large variation in , so the upper and lower sums can be made arbitrarily close.
Continuity is sufficient, not necessary: a discontinuous function may still be integrable.
A midpoint approximation
Estimate the signed volume under
over
by dividing into rectangles and using their midpoints.
Because is negative on part of this rectangle, the result estimates a signed volume, not the geometric volume between the graph and the -plane. For instance, , so that box contributes negatively.
The subinterval widths are and , so . The midpoint -values are
and the midpoint -values are and . For , the four function values sum to ; for , they sum to . Therefore
[routine]
Upper and lower sums on eight squares
Partition
into eight squares of side length and let
The function is increasing in both variables on , so on each small square the minimum is at the lower-left corner and the maximum at the upper-right corner. Every square has area , so
Thus
Refining the partition narrows the gap.
[routine]
A function that is not integrable
Define
Every rectangle contains points where both coordinates are rational and points where at least one is irrational. Hence on every small rectangle,
For every partition ,
The upper and lower sums never approach one another, so is not Riemann integrable.
[challenge]