Math Bytes · Multivariable calculus · Episode 7 · Integrating multivariable functions
Double integrals
A double integral adds up thin columns standing on a floor region, up to a surface z = f(x, y), to get the volume under the surface. Over a rectangle you work it out one variable at a time. For f = xy over the square 0 ≤ x ≤ 2, 0 ≤ y ≤ 2, the inner integral gives 2x and the outer one gives a volume of 4.
From strips to columns
With one variable, ∫ f(x) dx adds thin rectangles (strips) under a curve to get the area (the Riemann-sum picture from the Calculus course).
With two variables the graph z = f(x, y) is a surface floating over a flat floor, the region R in the xy-plane. To find the volume under it:
- Chop the floor into tiny squares.
- Stand a column on each square, reaching up to the surface.
- Add all the column volumes.
As the squares get smaller, that sum becomes the double integral ∬_R f(x, y) dA. Here dA is the tiny floor area of one square.
Work it out one variable at a time
Over a rectangle you don't have to add columns by hand. Integrate in one variable while holding the other still (like a partial derivative in reverse), then integrate what's left in the other variable. Either order gives the same answer.
Worked example: xy over the square from 0 to 2
Take f(x, y) = xy over 0 ≤ x ≤ 2, 0 ≤ y ≤ 2. The surface rises from height 0 at one corner to 4 at the far corner.
- Inner integral (in y, x held still):
∫₀² xy dy = x · y²/2from0to2, which isx · 2²/2 = 2x. That's the area of one thin slice at positionx. - Outer integral (in x):
∫₀² 2x dx = x²from0to2, which is2² − 0² = 4. - The volume is 4.
Sanity check: the average height of xy on this square is 1, and the floor area is 4, so the volume is 1 · 4 = 4.
Try it yourself
- Find
∬ xy dAover0 ≤ x ≤ 1,0 ≤ y ≤ 2. - Find
∬ (x + y) dAover0 ≤ x ≤ 2,0 ≤ y ≤ 2.
(Answers: 1. Inner: ∫₀² xy dy = 2x; outer: ∫₀¹ 2x dx = 1² − 0² = 1. 2. Inner: ∫₀² (x + y) dy = 2x + 2²/2 = 2x + 2; outer: ∫₀² (2x + 2) dx = (2² + 2 · 2) − 0 = 8.)
Good to know
- The double integral is a volume only when
f ≥ 0on the region. Parts of the surface below the floor count as negative. (xyis never negative on this square.) - Over a rectangle, either order works: integrate in
xfirst or inyfirst, and you get the same number. ∬is read "double integral". The inner integral is done first, the outer one last.- The surfaces and columns in the video are flat sketches, not drawn to an exact scale.
Answer to the comment question
Integrate xy over 0 ≤ x ≤ 2, 0 ≤ y ≤ 4. What's the volume? 16. Inner, holding x still: ∫₀⁴ xy dy = x · 4²/2 = 8x. Outer: ∫₀² 8x dx = 4x² from 0 to 2, which is 16.
Test your knowledge
Quick quiz: Double integrals
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- OpenStax, "Calculus Volume 3, 5.1 Double Integrals over Rectangular Regions": double integral as a limit of column sums, volume under a surface, iterated integrals
- Wolfram MathWorld, "Double Integral": definition and notation
- MIT OpenCourseWare, "18.02 Multivariable Calculus (Fall 2007)": lecture notes
Video transcript
How do you find the volume under a surface?
One integral adds thin strips to get area under a curve. Two integrals add thin columns to get volume.
Chop the floor into tiny squares, stand a column on each, up to the surface, and add them all. That's a double integral.
Take f equals x y over the square from zero to two in x and y.
First integrate in y, holding x still. x times y squared over two, from zero to two, gives two x.
Then integrate two x from zero to two: x squared, so the volume is four.
Your turn. Integrate x y with x from zero to two and y from zero to four. What's the volume? Comment your answer below!
That's your byte.
More from Multivariable calculus
- Multivariable calculus EP2Contour maps
- Multivariable calculus EP3Partial derivatives
- Multivariable calculus EP4The gradient
- Multivariable calculus EP5Finding peaks and valleys in 3D