Suppose that you knew the hair density at each point on your head and you wanted to calculate the total number of hairs on your head.
In other words, let (x, y) be a point that is x millimeters to the right and y millimeters above some reference point, say your nose. We are assuming that you already know the function f (x, y) that gives hair density in hairs per square millimeter at point (x, y). The following might be a method to use your knowledge of f (x, y) to estimate the number of hairs on your body.
(Although this has nothing to do with double integrals, brain mappers and cartographers face similar problems. To map the brain or the surface of the earth, one looks for ways to flatten these surfaces into a plane.)
Label each rectangle by the number f (xij, yij).
If in the above picture, each rectangle were 75 millimeters wide and 65 millimeters high, then the resulting estimate of the total number of hairs would be (9 + 9 + 8 + 17 + 9 + 3 + 1 + 1 + 11 + 8 + 10 + 8 + 1 + 2 + 3 + 8 + 7 + 2 + 5 + 3) . 75 . 65 = 609, 375.
As long as f (x, y) is a continuous function, this procedure will converge to a single number, which would be the actual number of hairs on your head.
| Number of hairs on head = |
We refer to this integral as the double integral of f over D.
The sums of step 5 are the Riemann sums that approximate the integral. The integral is the limit of the Riemann sums as the size of the rectangles goes to zero. This is exactly the way you defined the integral in one-variable calculus.
I don't have good examples (other than the above hair-counting example) on computing double integrals this way, as this is not how we typically compute them. Instead, this reading is about how we define a double integral. We have better ways to compute double integrals (that is, unless you are a computer, in which case chopping up the domain in pieces and computing a sum as an approximation to an integral works pretty well).
For further reading, you can read how we can interpret the double integral as volume underneath a surface, just like you could interpret the regular one-variable integral as area under a curve. You can also read examples of computing double integrals using the method in which those of us who are not computers typically use, which is something called an iterated integral.