Integrals over rectangles are
almost the same as integrals over intervals, except that now our
density f(x,y) is the amount of stuff per unit area instead
of stuff per unit length. The simplest example of `stuff' is
volume, in which case f(x,y) is height.
So suppose that R=[a,b]×[c,d] is a rectangle, where x runs from a
to b and y runs from c to d. Let's figure out the volume of the
solid between the x-y plane and the surface z=f(x,y), and over the
rectangle R.
Break the interval [a,b] into m pieces, each of size
Δx=(b−a)/m.
Break the interval [c,d] into n pieces, each of size
Δy=(d−c)/n.
Together, this breaks R into nm smaller rectangular boxes,
each of area ΔA=ΔxΔy. It breaks the solid
into little towers of width Δx, depth Δy, and
height f(x,y).
Label the boxes with two indices i,j, where i says what column
we're in and runs from 1 to m, while j says what row we're in and
runs from 1 to n.
For each pair i,j, pick a sample point(x∗ij,y∗ij) somewhere in the ij-th box.
Approximate the volume of the tower over the ij-th box as
f(x∗ij,y∗ij)ΔA.
Approximate the total volume as
m∑i=1n∑j=1f(x∗ij,y∗ij)ΔA.
To get an exact answer, take a limit as n→∞ and
m→∞.
The figure to the right shows this process for the function
f(x,y)=x2+y2, where R=[−10,10]×[−10,10], and where
n=m=8. The volume under the surface is approximately the sum
of the volumes of a number of towers, and
the volume of each tower is f(x∗ij,y∗ij)ΔxΔy.
As n→∞ and m→∞, the approximation gets better
and better, and in the limit gives the exact volume under the surface.
As with functions of one variable, the limit of this sum is the
definition of a (double) integral.
If f(x,y) is a continuous function of two variables and if R=[a,b]×[c,d] is a rectangle, then the double integral of f over R
is
∬Rf(x,y)dA=∬Rf(x,y)dxdy=limm→∞limn→∞m∑i=1n∑j=1f(x∗ij,y∗ij)ΔA.
A convenient choice for the sample point (x∗ij,y∗ij) is
given by the midpoint rule: x∗ij=a+(i−12)Δx,
y∗ij=c+(j−12)Δy.
In the following video, we develop the same definition with a slightly
different problem, namely computing the total population of the (conveniently
rectangular) state of Colorado.