Overview

Part 9 - Double and triple integrals

Introduction

In this part we’ll cover how we integrate functions of several variables, specifically, over a rectangular domain. We’ll later cover general domains.

For now, let’s stick to rectangles and rectangular boxes.

Let’s define our approach.

Double integrals

Say we have a function, f(x,y)f(x, y) with rectangular domain, R=[a,b]×[c,d]R = [a, b] \times [c, d].

In mathematical terms: {(x,y)∣a≤x≤b,c≤y≤d}\{(x, y) \mid a \leq x \leq b, c \leq y \leq d \}.

Let’s now imagine we divide, [a,b][a, b] into nn subintervals, of width Δx=b−an\Delta x = \dfrac{b - a}{n}.

Divide [c,d][c, d] into mm subintervals, of width Δy=d−cm\Delta y = \dfrac{d - c}{m}.

Now our rectangle is divided into nmnm subrectangles, let’s call them, RijR_{ij}, with area, ΔA=ΔxΔy\Delta A = \Delta x \Delta y.

In each RijR_{ij}, let’s choose a point denoted as, (xi∗,yj∗)(x_{i}^{*}, y_{j}^{*}).

If we sum up these rectangles:

∑j=1m∑i=1nf(xi∗,yj∗)ΔA\sum_{j = 1}^{m} \sum_{i = 1}^{n} f(x_{i}^{*}, y_{j}^{*}) \Delta A

We get something that reminds us of the volume under the graph, taking the limit of these we get:

lim⁡m→∞n→∞∑j=1m∑i=1nf(xi∗,yj∗)ΔA\lim_{\substack{m \to \infty \newline n \to \infty}} \sum_{j = 1}^{m} \sum_{i = 1}^{n} f(x_{i}^{*}, y_{j}^{*}) \Delta A

We get the exact volume under the graph (above the rectangle).

Usually, we write this as:

lim⁡Δx→0Δy→0∑j=1m∑i=1nf(xi∗,yj∗)ΔA\lim_{\substack{\Delta x \to 0 \newline \Delta y \to 0}} \sum_{j = 1}^{m} \sum_{i = 1}^{n} f(x_{i}^{*}, y_{j}^{*}) \Delta A

This is the definition of the double integral!

Definition 1 (Double integral)

The double integral of the function, ff, on a rectangle, RR, is:

∬Rf(x,y) dA=lim⁡Δx→0Δy→0∑j=1m∑i=1nf(xi∗,yj∗)ΔA\iint_{R} f(x, y) \, dA = \lim_{\substack{\Delta x \to 0 \newline \Delta y \to 0}} \sum_{j = 1}^{m} \sum_{i = 1}^{n} f(x_{i}^{*}, y_{j}^{*}) \Delta A

Assuming this limit exists, this limit exists for any continuous function.

Notation

We will use this notation:

∬Rf(x,y) dA\iint_{R} f(x, y) \, dA

But we can also write:

∬Rf(x,y) dx dy\iint_{R} f(x, y) \, dx \, dy

Geometrical sense

f(xi∗,yj∗)ΔA=f(x_{i}^{*}, y_{j}^{*}) \Delta A = volume of rectangular tube

Therefore:

lim⁡Δx→0Δy→0∑j=1m∑i=1nf(xi∗,yj∗)ΔA=volume under the graph\lim_{\substack{\Delta x \to 0 \newline \Delta y \to 0}} \sum_{j = 1}^{m} \sum_{i = 1}^{n} f(x_{i}^{*}, y_{j}^{*}) \Delta A = \text{volume under the graph}

Which just means:

∬Rf(x,y) dA=volume under the graph, above R\iint_{R} f(x, y) \, dA = \text{volume under the graph, above } R

General case - functions of three or more variables

The definition is similar, let’s define the triple integral.

Assume that the domain is a rectangular box, I=[a,b]×[c,d]×[e,f]I = [a, b] \times [c, d] \times [e, f]

We use the same approach, divide into n,m,ln, m, l subintervals, the volume of one of these sub-boxes will be:

f(xi∗,yj∗,zk∗)ΔVf(x_{i}^{*}, y_{j}^{*}, z_{k}^{*}) \Delta V

Summing these:

∑k=1l∑j=1m∑i=1nf(xi∗,yj∗,zk∗)ΔV\sum_{k = 1}^{l} \sum_{j = 1}^{m} \sum_{i = 1}^{n} f(x_{i}^{*}, y_{j}^{*}, z_{k}^{*}) \Delta V

Taking the limit:

lim⁡Δx→0Δy→0Δz→0∑k=1l∑j=1m∑i=1nf(xi∗,yj∗,zk∗)ΔV\lim_{\substack{\Delta x \to 0 \newline \Delta y \to 0 \newline \Delta z \to 0}} \sum_{k = 1}^{l} \sum_{j = 1}^{m} \sum_{i = 1}^{n} f(x_{i}^{*}, y_{j}^{*}, z_{k}^{*}) \Delta V

Using integral notation:

∭If(x,y,z) dV\iiint_{I} f(x, y, z) \, dV

How to compute double and triple integrals

Recall how we compute integrals for functions of one variable, specifically recall the fundamental theorem of calculus:

∫abf(x) dx=F(b)−F(a)\int_a^b f(x) \, dx = F(b) - F(a)

Where F(x)F(x) is the antiderivative/primitive function.

If we can boil it down to an integral of one variable we can use this, this is what we call iterated integrals.

Iterated integrals

Assume we have a function, ff, on R=[a,b]×[c,d]R = [a, b] \times [c, d].

Fix yy, meaning, assume yy is a constant.

Therefore:

∫f(x,y) dx\int f(x, y) \, dx

is a function that will depend on yy, the value we get out from this, is only dependent on yy. Therefore:

∫cd(∫abf(x,y) dx)dy\int_c^d \left(\int_a^b f(x, y) \, dx \right) dy

We usually just write this as:

∫cd∫abf(x,y) dx dy\int_c^d \int_a^b f(x, y) \, dx \, dy

This is what we call iterated integrals. We can also do the other way around!

∫ab∫cdf(x,y) dy dx\int_a^b \int_c^d f(x, y) \, dy \, dx

Notice how our dxdx and dydy are now swapped, this order indicates what order we are integrating.

But do these functions yield the same integral?

Theorem 1 (Fubini’s Theorem)

Let, ff, be continuous function on rectangle, R=[a,b]×[c,d]R = [a, b] \times [c, d]. Then:

∬Rf(x,y) dA=∫cd∫abf(x,y) dx dy=∫ab∫cdf(x,y) dy dx\iint_R f(x, y) \, dA = \int_c^d \int_a^b f(x, y) \, dx \, dy = \int_a^b \int_c^d f(x, y) \, dy \, dx
Example 1

Find ∬R(x−3y2) dA\iint_R (x - 3y^2) \, dA, where R=[0,2]×[1,2]R = [0, 2] \times [1, 2].

Using Fubini:

∫12∫02(x−3y2) dx dy\int_1^2 \int_0^2 (x - 3y^2) \, dx \, dy∫12(x22−3xy2)∣x=0x=2 dy\int_1^2 \left(\dfrac{x^2}{2} -3xy^2\right) \bigg\rvert_{x = 0}^{x = 2} \, dy∫12(2−6y2) dy\int_1^2 (2 - 6y^2) \, dy(2y−2y3)∣y=1y=2(2y - 2y^3) \bigg\rvert_{y = 1}^{y = 2}(4−16)−(2−2)=−12(4 - 16) - (2 - 2) = \boxed{-12}

Let’s do the integral the other way around as well!

∫02∫12(x−3y2) dy dx\int_0^2 \int_1^2 (x - 3y^2) \, dy \, dx∫02(xy−y3)∣y=1y=2 dx\int_0^2 \left(xy - y^3\right) \bigg\rvert_{y = 1}^{y = 2} \, dx∫02(x−7) dx\int_0^2 (x - 7) \, dx(x22−7x)∣x=0x=2\left(\dfrac{x^2}{2} - 7x\right) \bigg\rvert_{x = 0}^{x = 2}(2−14)−0=−12(2 - 14) - 0 = \boxed{-12}

Same answer!

Let’s do a triple integral now!

Example 2

Find ∭Rxz⋅exy dV\iiint_R xz \cdot e^{xy} \, dV on the rectangle, R=[0,1]×[0,1]×[0,1]=[0,1]3R = [0, 1] \times [0, 1] \times [0, 1] = [0, 1]^3.

According to Fubini’s Theorem, we can choose any order when computing iterated integrals. If we do a quick analysis, we find that integrating with respect to zz first is a good idea.

∫01∫01∫01xz⋅exy dz dx dy\int_0^1 \int_0^1 \int_0^1 xz \cdot e^{xy} \, dz \, dx \, dy∫01∫01z2xexy2∣z=0z=1 dx dy\int_0^1 \int_0^1 \dfrac{z^2 x e^{xy}}{2} \bigg\rvert_{z = 0}^{z = 1} \, dx \, dy

Let’s integrate with respect to yy, to make it easier.

∫01∫01xexy2 dx dy\int_0^1 \int_0^1 \dfrac{x e^{xy}}{2} \, dx \, dy∫01exy2∣y=0y=1 dx\int_0^1 \dfrac{e^{xy}}{2} \bigg\rvert_{y = 0}^{y = 1} \, dx∫01(ex2−12) dx\int_0^1 \left(\dfrac{e^x}{2} - \dfrac{1}{2}\right) \, dx(ex2−x2)∣x=0x=1\left(\dfrac{e^x}{2} - \dfrac{x}{2}\right) \bigg\rvert_{x = 0}^{x = 1}(e2−12)−(12−0)=e2−1\left(\dfrac{e}{2} - \dfrac{1}{2}\right) - \left(\dfrac{1}{2} - 0\right) = \boxed{\dfrac{e}{2} - 1}

Let’s do one last example.

Example 3

Find ∬Ry⋅sin⁡(xy) dA\iint_R y \cdot \sin(xy) \, dA on the rectangle, R=[1,2]×[0,π]R = [1, 2] \times [0, \pi].

Let’s integrate with respect to xx, firstly, it’s much easier.

∫0π∫12y⋅sin⁡(xy) dx dy\int_0^{\pi} \int_1^2 y \cdot \sin(xy) \, dx \, dy−∫0πcos⁡(xy)∣x=1x=2 dy-\int_0^{\pi} \cos(xy) \bigg\rvert_{x = 1}^{x = 2} \, dy−∫0π(cos⁡(2y)−cos⁡(y)) dy-\int_0^{\pi} (\cos(2y) - \cos(y)) \, dy−(sin⁡(2y)2−sin⁡(y))∣y=0y=π=…=0-\left( \dfrac{\sin(2y)}{2} - \sin(y)\right) \bigg\rvert_{y = 0}^{y = \pi} = \ldots = \boxed{0}

Search

Essays, lecture notes, and research

Type to search the site.