Type a command or search the notes. Tab cycles completions. Up and down recall history when blank. Escape dismisses, then leaves the prompt.
MATH
[1251]

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

a=x0<x1<⋯<xm=b,a=x_0<x_1<\cdots<x_m=b,

the iith subinterval has length Δxi=xi−xi−1\Delta x_i=x_i-x_{i-1}. Choosing a tag xi∗x_i^* in each interval produces

∑i=1mf(xi∗) Δxi.\sum_{i=1}^m f(x_i^*)\,\Delta x_i.

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

R=[a,b]×[c,d],R=[a,b]\times[c,d],

we partition both coordinates:

a=x0<⋯<xm=b,c=y0<⋯<yn=d.a=x_0<\cdots<x_m=b, \qquad c=y_0<\cdots<y_n=d.

The resulting small rectangles are

Rij=[xi−1,xi]×[yj−1,yj],ΔAij=Δxi Δyj.R_{ij}=[x_{i-1},x_i]\times[y_{j-1},y_j], \qquad \Delta A_{ij}=\Delta x_i\,\Delta y_j.

The mesh of this product partition is the largest side length among the small rectangles:

∥P∥=max⁡{max⁡iΔxi, max⁡jΔyj}.\lVert P\rVert=\max\left\{\max_i\Delta x_i,\ \max_j\Delta y_j\right\}.

“The partition becomes fine” means that ∥P∥→0\lVert P\rVert\to0.

[DEFINITION]

Double Riemann sum

For a partition of RR into rectangles RijR_{ij} and tag points (xij∗,yij∗)∈Rij(x_{ij}^*,y_{ij}^*)\in R_{ij}, the corresponding double Riemann sum is

∑i=1m∑j=1nf(xij∗,yij∗) ΔAij.\sum_{i=1}^{m}\sum_{j=1}^{n} f(x_{ij}^*,y_{ij}^*)\,\Delta A_{ij}.

When f≥0f\ge 0, each term approximates the volume of a box above RijR_{ij}. When ff takes both signs, the sum approximates a signed volume: contributions below the xyxy-plane are subtracted.

[DEFINITION]

Double integral over a rectangle

Let ff be bounded on R=[a,b]×[c,d]R=[a,b]\times[c,d]. If there is a number II such that, for every ε>0\varepsilon>0, some δ>0\delta>0 makes every tagged partition with ∥P∥<δ\lVert P\rVert<\delta satisfy

∣∑i=1m∑j=1nf(xij∗,yij∗) ΔAij−I∣<ε,\left| \sum_{i=1}^{m}\sum_{j=1}^{n} f(x_{ij}^*,y_{ij}^*)\,\Delta A_{ij}-I \right|<\varepsilon,

then ff is Riemann integrable over RR and

∬Rf(x,y) dA=lim⁡∑i=1m∑j=1nf(xij∗,yij∗) ΔAij.\iint_R f(x,y)\,dA = \lim \sum_{i=1}^{m}\sum_{j=1}^{n} f(x_{ij}^*,y_{ij}^*)\,\Delta A_{ij}.

The notation

dA=dx dy=dy dxdA=dx\,dy=dy\,dx

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 RijR_{ij}, set

mij=inf⁡(x,y)∈Rijf(x,y),Mij=sup⁡(x,y)∈Rijf(x,y).m_{ij}=\inf_{(x,y)\in R_{ij}}f(x,y), \qquad M_{ij}=\sup_{(x,y)\in R_{ij}}f(x,y).

Then

mij≤f(x,y)≤Mij((x,y)∈Rij),m_{ij}\le f(x,y)\le M_{ij} \qquad ((x,y)\in R_{ij}),

so multiplying by ΔAij\Delta A_{ij} and adding gives lower and upper bounds.

[DEFINITION]

Upper and lower double Riemann sums

For a partition PP of RR into rectangles RijR_{ij}, the lower and upper double Riemann sums are

L(f,P)=∑i,jmij ΔAij,U(f,P)=∑i,jMij ΔAij,L(f,P)=\sum_{i,j}m_{ij}\,\Delta A_{ij}, \qquad U(f,P)=\sum_{i,j}M_{ij}\,\Delta A_{ij},

where mijm_{ij} and MijM_{ij} are the infimum and supremum of ff on RijR_{ij}.

For a nonnegative ff, L(f,P)L(f,P) is the volume of the tallest boxes on the partition that fit below the graph and U(f,P)U(f,P) is the volume of the shortest boxes that reach above it. For a signed ff, the box heights are signed. Whenever the integral exists,

L(f,P)≤∬Rf dA≤U(f,P).L(f,P)\le \iint_R f\,dA\le U(f,P).
[THEOREM]

Criterion for Riemann integrability

A bounded function ff is Riemann integrable over RR if and only if, for every ε>0\varepsilon>0, there is a partition PεP_\varepsilon such that

0≤U(f,Pε)−L(f,Pε)<ε.0\le U(f,P_\varepsilon)-L(f,P_\varepsilon)<\varepsilon.

In that case,

∬Rf dA=sup⁡PL(f,P)=inf⁡PU(f,P).\iint_R f\,dA =\sup_P L(f,P) =\inf_P U(f,P).

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.

[THEOREM]

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 ff, so the upper and lower sums can be made arbitrarily close.

Continuity is sufficient, not necessary: a discontinuous function may still be integrable.

[EXAMPLE]

A midpoint approximation

Estimate the signed volume under

f(x,y)=x+y2f(x,y)=x+y^2

over

R=[−2,2]×[0,4]R=[-2,2]\times[0,4]

by dividing RR into 4×24\times2 rectangles and using their midpoints.

Because ff is negative on part of this rectangle, the result estimates a signed volume, not the geometric volume between the graph and the xyxy-plane. For instance, f(−32,1)=−12f(-\tfrac32,1)=-\tfrac12, so that box contributes negatively.

The subinterval widths are Δx=1\Delta x=1 and Δy=2\Delta y=2, so ΔA=2\Delta A=2. The midpoint xx-values are

−32, −12, 12, 32,-\frac32,\ -\frac12,\ \frac12,\ \frac32,

and the midpoint yy-values are 11 and 33. For y=1y=1, the four function values sum to 44; for y=3y=3, they sum to 3636. Therefore

∬Rf dA≈2(4+36)=80.\iint_R f\,dA \approx 2(4+36)=80.

[routine]

  1. [1]:Double Riemann sum
[EXAMPLE]

Upper and lower sums on eight squares

Partition

R=[0,1]×[0,2]R=[0,1]\times[0,2]

into eight squares of side length 12\tfrac12 and let

f(x,y)=x2y.f(x,y)=x^2y.

The function is increasing in both variables on RR, 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 14\tfrac14, so

L(f,P)=∑j=01∑k=03(j2)2(k2)14=316,U(f,P)=∑j=01∑k=03(j+12)2(k+12)14=2516.\begin{aligned} L(f,P) &= \sum_{j=0}^{1}\sum_{k=0}^{3} \left(\frac j2\right)^2 \left(\frac k2\right)\frac14 =\frac{3}{16},\\ U(f,P) &= \sum_{j=0}^{1}\sum_{k=0}^{3} \left(\frac{j+1}{2}\right)^2 \left(\frac{k+1}{2}\right)\frac14 =\frac{25}{16}. \end{aligned}

Thus

316≤∬Rx2y dA≤2516.\frac{3}{16}\le\iint_R x^2y\,dA\le\frac{25}{16}.

Refining the partition narrows the gap.

[EXAMPLE]

A function that is not integrable

Define

f(x,y)={1,if x and y are both rational,0,if x or y is irrational.f(x,y)= \begin{cases} 1,&\text{if $x$ and $y$ are both rational},\\ 0,&\text{if $x$ or $y$ is irrational}. \end{cases}

Every rectangle contains points where both coordinates are rational and points where at least one is irrational. Hence on every small rectangle,

mij=0,Mij=1.m_{ij}=0,\qquad M_{ij}=1.

For every partition PP,

L(f,P)=0,U(f,P)=∑i,jΔAij=Area⁡(R).L(f,P)=0, \qquad U(f,P)=\sum_{i,j}\Delta A_{ij}=\operatorname{Area}(R).

The upper and lower sums never approach one another, so ff is not Riemann integrable.

On this page