The single-variable definite integral measures the area under a curve. The double integral extends that idea to two dimensions: it measures the volume under a surface.
1. Warm-up: Riemann sums in one dimension
Recall that the definite integral ∫abf(x)dx is built by slicing the interval [a,b] into n sub-intervals of width Δx=(b−a)/n, picking a sample point xi∗ in each sub-interval, and summing up rectangle areas:
∑i=1nf(xi∗)Δx.
As n→∞ (i.e.\ Δx→0), this sum converges to the exact area:
∫abf(x)dx=limn→∞∑i=1nf(xi∗)Δx.
The graph below shows y=x2 on [1,2]. Use the slider to increase n and watch the Riemann rectangles fill the area more and more accurately. Try all three sampling rules (left, right, midpoint) and observe how the error shrinks as Δx→0.
Riemann Sum: y = x² on [1, 2]
Riemann sum (right): 2.58796
Exact ∫₁² x² dx = 7/3 ≈ 2.33333
Error: 0.25463
Key formula for reference:
∫abf(x)dx=n→∞limi=1∑nf(xi∗)Δx.
2. Definition of the definite integral
Let f be a bounded function on [a,b]. Partition [a,b] into n equal sub-intervals [xi−1,xi] where xi=a+iΔx and Δx=(b−a)/n. Choose any sample point xi∗∈[xi−1,xi].
The definite integral is defined as
∫abf(x)dx=limn→∞∑i=1nf(xi∗)Δx,
provided this limit exists and is independent of the choice of sample points. When f≥0, this limit equals the area of the region between the graph of f and the x-axis.
3. From one dimension to two: volume under a surface
Now suppose f(x,y)≥0 is a function of two variables and R is a rectangle in the xy-plane. We want to find the volume of the solid that lies above R and below the surface z=f(x,y).
The 2D construction. Partition R into an m×n grid of small sub-rectangles Rij, each with area ΔA=ΔxΔy. Pick a sample point (xij∗,yij∗) in each Rij. The column above Rij with height f(xij∗,yij∗) has volume
f(xij∗,yij∗)ΔA.
Adding up all columns gives the double Riemann sum
∑i=1m∑j=1nf(xij∗,yij∗)ΔA.
The interactive graph below shows the surface z=6−x2−y2 on the rectangle R=[−1.5,1.5]×[−1.5,1.5]. The blue columns approximate the volume under the surface. Increase n to see the approximation improve.
Double Integral: z = 6 − x² − y² on R = [−1.5, 1.5] × [−1.5, 1.5]
Riemann sum: 42.0000
Exact ∬_R f dA = 40.5000
Error: 1.5000
4. Definition of the double integral
Let f be a bounded function on a rectangle R=[a,b]×[c,d]. Partition R into an m×n grid of sub-rectangles Rij=[xi−1,xi]×[yj−1,yj], each of area ΔA=ΔxΔy.
provided the limit exists independently of the choice of sample points. When f(x,y)≥0, the double integral equals the volume of the solid below z=f(x,y) and above R.
Existence. If f is continuous on R (or has only finitely many jump discontinuities), the double integral exists.
5. Iterated integrals on a rectangle
For a rectangle R=[a,b]×[c,d] we almost never compute double integrals directly from the limit definition. Instead, we reduce them to two ordinary one-variable integrals done one at a time — called iterated integrals.
The inner integral (holding x fixed) integrates f(x,y) with respect to y over [c,d]:
A(x)=∫cdf(x,y)dy.
A(x) is the area of a cross-sectional slice of the solid at a fixed value of x.
The outer integral then integrates A(x) over [a,b]:
∫abA(x)dx=∫ab[∫cdf(x,y)dy]dx.
Fubini's Theorem. If f is continuous on R=[a,b]×[c,d], then
Integrating xsin(xy) with respect to x by parts gives y2sin(xy)−xycos(xy), and the outer integral ∫0π of that expression involves the sine integralSi(y), which has no elementary closed form.
Lesson. Always check both orders. When the "natural" order is difficult, try the other — Fubini guarantees the same answer.