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]

Examples from Double integrals and Riemann sums

All examples from Double integrals and Riemann sums.

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

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.

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