Watch on Instagram

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.

Posted · About a 1 minute watch, 3 minute read · Take the quiz

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:

  1. Chop the floor into tiny squares.
  2. Stand a column on each square, reaching up to the surface.
  3. 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.

  1. Inner integral (in y, x held still): ∫₀² xy dy = x · y²/2 from 0 to 2, which is x · 2²/2 = 2x. That's the area of one thin slice at position x.
  2. Outer integral (in x): ∫₀² 2x dx = x² from 0 to 2, which is 2² − 0² = 4.
  3. 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

  1. Find ∬ xy dA over 0 ≤ x ≤ 1, 0 ≤ y ≤ 2.
  2. Find ∬ (x + y) dA over 0 ≤ 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 ≥ 0 on the region. Parts of the surface below the floor count as negative. (xy is never negative on this square.)
  • Over a rectangle, either order works: integrate in x first or in y first, 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.

1What does a double integral of f(x, y) ≥ 0 over a region measure?
2What does the double integral add up?
3For f = xy, what is ∫₀² xy dy (holding x still)?
4What is the volume under z = xy over 0 ≤ x ≤ 2, 0 ≤ y ≤ 2?

Sources

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

All Multivariable calculus lessons