### Double Integral

The multiple integral is a generalization of the definite integral to functions of more than one real variable, for example, f(xy) or f(xyz). Integrals of a function of two variables over a region in R2 are called double integrals.

## Introduction

Just as the definite integral of a positive function of one variable represents the area of the region between the graph of the function and the x-axis, the double integral of a positive function of two variables represents the volume of the region between the surface defined by the function (on the three dimensional Cartesian plane where z = f(xy)) and the plane which contains its domain. (the same volume can be obtained via the triple integral—the integral of a function in three variables—of the constant function f(xyz) = 1 over the above-mentioned region between the surface and the plane.) If there are more variables, a multiple integral will yield hypervolumes of multi-dimensional functions.

Multiple integration of a function in n variables: f(x1x2, ..., xn) over a domain D is most commonly represented by nested integral signs in the reverse order of execution (the leftmost integral sign is computed last), followed by the function and integrand arguments in proper order (the integral with respect to the rightmost argument is computed last). The domain of integration is either represented symbolically for every argument over each integral sign, or is abbreviated by a variable at the rightmost integral sign:

$\int \cdots \int_\mathbf\left\{D\right\}\;f\left(x_1,x_2,\ldots,x_n\right) \;dx_1 \!\cdots dx_n$

Since the concept of an antiderivative is only defined for functions of a single real variable, the usual definition of the indefinite integral does not immediately extend to the multiple integral.

## Mathematical definition

For n > 1, consider a so-called "half-open" n-dimensional hyperrectangular domain T, defined as:

$T=\left \left[ a_1, b_1 \right \right) \times \left \left[ a_2, b_2 \right \right) \times \cdots \times \left \left[ a_n, b_n \right \right) \subseteq \mathbf\left\{R\right\}^n.$

Partition each interval [aj, bj) into a finite family Ij of non-overlapping subintervals ijα, with each subinterval closed at the left end, and open at the right end.

Then the finite family of subrectangles C given by

$C=I_1\times I_2\times \cdots \times I_n$

is a partition of T; that is, the subrectangles Ck are non-overlapping and their union is T.

Let f : TR be a function defined on T. Consider a partition C of T as defined above, such that C is a family of m subrectangles Cm and

$T=C_1\cup C_2\cup \cdots \cup C_m$

We can approximate the total nth-dimensional volume bounded below by T and above by f with the following Riemann sum:

$\sum_\left\{k=1\right\}^m f\left(P_k\right)\, \operatorname\left\{m\right\}\left(C_k\right)$

where Pk is a point in Ck and m(Ck) is the product of the lengths of the intervals whose Cartesian product is Ck, otherwise known as the measure of Ck.

The diameter of a subrectangle Ck is the largest of the lengths of the intervals whose Cartesian product is Ck. The diameter of a given partition of T is defined as the largest of the diameters of the subrectangles in the partition. Intuitively, as the diameter of the partition C is restricted smaller and smaller, the number of subrectangles m gets larger, and the measure m(Ck) of each subrectangle grows smaller. The function f is said to be Riemann integrable if the limit

$S=\lim_\left\{\delta \to 0\right\} \sum_\left\{k=1\right\}^m f\left(P_k\right)\, \operatorname\left\{m\right\}\, \left(C_k\right)$

exists, where the limit is taken over all possible partitions of T of diameter at most δ.

If f is Riemann integrable, S is called the Riemann integral of f over T and is denoted

$\int \cdots \int_T\;f\left(x_1,x_2,\ldots,x_n\right) \;dx_1 \!\cdots dx_n$

Frequently this notation is abbreviated as

$\int_T\!f\left(\mathbf\left\{x\right\}\right)\,d\mathbf\left\{x\right\}.$

where x represents the n-tuple (x1, ... xn) and dx is the n-dimensional volume differential.

The Riemann integral of a function defined over an arbitrary bounded n-dimensional set can be defined by extending that function to a function defined over a half-open rectangle whose values are zero outside the domain of the original function. Then the integral of the original function over the original domain is defined to be the integral of the extended function over its rectangular domain, if it exists.

In what follows the Riemann integral in n dimensions will be called multiple integral.

### Properties

Multiple integrals have many properties common to those of integrals of functions of one variable (linearity, commutativity, monotonicity, and so on.). One important property of multiple integrals is that the value of an integral is independent of the order of integrands under certain conditions. This property is popularly known as Fubini's theorem.

### Particular cases

In the case of TR2, the integral

$\ell = \iint_T f\left(x,y\right)\, dx\, dy$

is the double integral of f on T, and if TR3 the integral

$\ell = \iiint_T f\left(x,y,z\right)\, dx\, dy\, dz$

is the triple integral of f on T.

Notice that, by convention, the double integral has two integral signs, and the triple integral has three; this is a notational convention which is convenient when computing a multiple integral as an iterated integral, as shown later in this article.

## Methods of integration

The resolution of problems with multiple integrals consists, in most of cases, of finding a way to reduce the multiple integral to an iterated integral, a series of integrals of one variable, each being directly solvable. Sometimes, it is possible to obtain the result of the integration by direct examination without any calculations.

### Integrating constant functions

When the integrand is a constant function c, the integral is equal to the product of c and the measure of the domain of integration. If c = 1 and the domain is a subregion of R2, the integral gives the area of the region, while if the domain is a subregion of R3, the integral gives the volume of the region.

Example. Let f(x, y) = 2 and

in which case

$\int_3^6 \int_2^4 \ 2 \ dx\, dy =2\int_3^6 \int_2^4 \ 1 \ dx\, dy= 2\cdot\mbox\left\{area\right\}\left(D\right) = \left(2 \cdot 3\right) \cdot 2 = 12$,

since by definition we have:

$\int_3^6 \int_2^4 \ 1 \ dx\, dy=\mbox\left\{area\right\}\left(D\right).$

### Use of symmetry

When the domain of integration is symmetric about the origin with respect to at least one of the variables of integration and the integrand is odd with respect to this variable, the integral is equal to zero, as the integrals over the two halves of the domain have the same absolute value but opposite signs. When the integrand is even with respect to this variable, the integral is equal to twice the integral over one half of the domain, as the integrals over the two halves of the domain are equal.

Example 1. Consider the function $f\left(x,y\right) = 2 \sin\left(x\right)-3y^3+5$ integrated over the domain

a disc with radius 1 centered at the origin with the boundary included.

Using the linearity property, the integral can be decomposed into three pieces:

$\iint_T \left(2\sin x - 3y^3 + 5\right) \, dx \, dy = \iint_T 2 \sin x \, dx \, dy - \iint_T 3y^3 \, dx \, dy + \iint_T 5 \, dx \, dy$
2sin(x) and 3y3 are both odd functions and moreover it is evident that the T disc has a symmetry for the x and even the y axis; therefore the only contribution to the final result of the integrals is that of the constant function 5 because the other two pieces are null.
Example 2. Consider the function f(xyz) = x exp(y2 + z2) and as integration region the sphere with radius 2 centered at the origin,
The "ball" is symmetric about all three axes, but it is sufficient to integrate with respect to x-axis to show that the integral is 0, because the function is an odd function of that variable.

### Normal domains on R2

This method is applicable to any domain D for which:

• the projection of D onto either the x-axis or the y-axis is bounded by the two values, a and b
• any line perpendicular to this axis that passes between these two values intersects the domain in an interval whose endpoints are given by the graphs of two functions, α and β.

#### x-axis

If the domain D is normal with respect to the x-axis, and f : DR is a continuous function; then α(x) and β(x) (defined on the interval [ab]) are the two functions that determine D. Then:

$\iint_D f\left(x,y\right)\ dx\, dy = \int_a^b dx \int_\left\{ \alpha \left(x\right)\right\}^\left\{ \beta \left(x\right)\right\} f\left(x,y\right)\, dy.$

#### y-axis

If D is normal with respect to the y-axis and f : DR is a continuous function; then α(y) and β(y) (defined on the interval [ab]) are the two functions that determine D. Then:

$\iint_D f\left(x,y\right)\ dx\, dy = \int_a^b dy \int_\left\{\alpha \left(y\right)\right\}^\left\{ \beta \left(y\right)\right\} f\left(x,y\right)\, dx.$

#### Example

Consider the region (please see the graphic in the example):

Calculate

$\iint_D \left(x+y\right) \, dx \, dy.$

This domain is normal with respect to both the x- and y-axes. To apply the formulae it is required to find the functions that determine D and the intervals over which these are defined. In this case the two functions are:

$\alpha \left(x\right) = x^2\text\left\{ and \right\}\beta \left(x\right) = 1$

while the interval is given by the intersections of the functions with x = 0, so the interval is [ab] = [0, 1] (normality has been chosen with respect to the x-axis for a better visual understanding).

It is now possible to apply the formula:

$\iint_D \left(x+y\right) \, dx \, dy = \int_0^1 dx \int_\left\{x^2\right\}^1 \left(x+y\right) \, dy = \int_0^1 dx \ \left\left[xy + \frac\left\{y^2\right\}\left\{2\right\} \right\right]^1_\left\{x^2\right\}$

(at first the second integral is calculated considering x as a constant). The remaining operations consist of applying the basic techniques of integration:

$\int_0^1 \left\left[xy + \frac\left\{y^2\right\}\left\{2\right\}\right\right]^1_\left\{x^2\right\} \, dx = \int_0^1 \left\left(x + \frac\left\{1\right\}\left\{2\right\} - x^3 - \frac\left\{x^4\right\}\left\{2\right\} \right\right) dx = \cdots = \frac\left\{13\right\}\left\{20\right\}.$

If we choose normality with respect to the y-axis we could calculate

$\int_0^1 dy \int_0^\left\{\sqrt\left\{y\right\}\right\} \left(x+y\right) \, dx.$

and obtain the same value.

#### Normal domains on R3

The extension of these formulae to triple integrals should be apparent:

if T is a domain that is normal with respect to the xy-plane and determined by the functions α (x,y) and β(x,y), then

$\iiint_T f\left(x,y,z\right) \ dx\, dy\, dz = \iint_D \int_\left\{\alpha \left(x,y\right)\right\}^\left\{\beta \left(x,y\right)\right\} f\left(x,y,z\right) \, dz dx dy$

(this definition is the same for the other five normality cases on R3).

### Change of variables

The limits of integration are often not easily interchangeable (without normality or with complex formulae to integrate). One makes a change of variables to rewrite the integral in a more "comfortable" region, which can be described in simpler formulae. To do so, the function must be adapted to the new coordinates.

Example 1a. The function is $f\left(x, y\right) = \left(x-1\right)^2 +\sqrt y$; if one adopts this substitution $x\text{'} = x-1, \ y\text{'}= y$ therefore $x = x\text{'} + 1, \ y=y\text{'}$ one obtains the new function $f_2\left(x,y\right) = \left(x\text{'}\right)^2 +\sqrt y$.
• Similarly for the domain because it is delimited by the original variables that were transformed before (x and y in example).
• the differentials dx and dy transform via the absolute value of the determinant of the Jacobian matrix containing the partial derivatives of the transformations regarding the new variable (consider, as an example, the differential transformation in polar coordinates).

There exist three main "kinds" of changes of variable (one in R2, two in R3); however, more general substitutions can be made using the same principle.

#### Polar coordinates

In R2 if the domain has a circular symmetry and the function has some particular characteristics you can apply the transformation to polar coordinates (see the example in the picture) which means that the generic points P(x, y) in Cartesian coordinates switch to their respective points in polar coordinates. That allows one to change the shape of the domain and simplify the operations.

The fundamental relation to make the transformation is the following:

$f\left(x,y\right) \rightarrow f\left(\rho \cos \phi,\rho \sin \phi \right).$
Example 2a. The function is $f\left(x,y\right) = x + y$ and applying the transformation one obtains
$f\left(\rho, \phi\right) = \rho \cos \phi + \rho \sin \phi = \rho\left(\cos \phi + \sin \phi \right).$
Example 2b. The function is $f\left(x,y\right) = x^2 + y^2$, in this case one has:
$f\left(\rho, \phi\right) = \rho^2 \left(\cos^2 \phi + \sin^2 \phi\right) = \rho^2$
using the Pythagorean trigonometric identity (very useful to simplify this operation).

The transformation of the domain is made by defining the radius' crown length and the amplitude of the described angle to define the ρ, φ intervals starting from x, y.

Example 2c. The domain is $D = \\left\{ x^2 + y^2 \le 4 \\right\}$, that is a circumference of radius 2; it's evident that the covered angle is the circle angle, so φ varies from 0 to 2π, while the crown radius varies from 0 to 2 (the crown with the inside radius null is just a circle).
Example 2d. The domain is $D = \\left\{ x^2 + y^2 \le 9, \ x^2 + y^2 \ge 4, \ y \ge 0 \\right\}$, that is the circular crown in the positive y half-plane (please see the picture in the example); φ describes a plane angle while ρ varies from 2 to 3. Therefore the transformed domain will be the following rectangle:
$T = \\left\{ 2 \le \rho \le 3, \ 0 \le \phi \le \pi \\right\}.$

The Jacobian determinant of that transformation is the following:

$\frac\left\{\partial \left(x,y\right)\right\}\left\{\partial \left(\rho, \phi\right)\right\} =$

\begin{vmatrix} \cos \phi & - \rho \sin \phi \\ \sin \phi & \rho \cos \phi \end{vmatrix} = \rho

which has been obtained by inserting the partial derivatives of x = ρ cos(φ), y = ρ sin(φ) in the first column respect to ρ and in the second respect to φ, so the dx dy differentials in this transformation becomes ρ dρ dφ.

Once the function is transformed and the domain evaluated, it is possible to define the formula for the change of variables in polar coordinates:

$\iint_D f\left(x,y\right) \ dx\, dy = \iint_T f\left(\rho \cos \phi, \rho \sin \phi\right) \rho \, d \rho\, d \phi.$
φ is valid in the [0, 2π] interval while ρ, which is a measure of a length, can only have positive values.
Example 2e. The function is f(xy) = x and the domain is the same as in Example 2d. From the previous analysis of D we know the intervals of ρ (from 2 to 3) and of φ (from 0 to π). Now let's change the function:
$f\left(x,y\right) = x \longrightarrow f\left(\rho,\phi\right) = \rho \cos \phi.$

finally let's apply the integration formula:

$\iint_D x \, dx\, dy = \iint_T \rho \cos \phi \rho \, d\rho\, d\phi.$

Once the intervals are known, you have

$\int_0^\pi \int_2^3 \rho^2 \cos \phi \, d \rho \, d \phi = \int_0^\pi \cos \phi \ d \phi \left\left[ \frac\left\{\rho^3\right\}\left\{3\right\} \right\right]_2^3 = \left\left[ \sin \phi \right\right]_0^\pi \ \left\left(9 - \frac\left\{8\right\}\left\{3\right\} \right\right) = 0.$

#### Cylindrical coordinates

In R3 the integration on domains with a circular base can be made by the passage in cylindrical coordinates; the transformation of the function is made by the following relation:

$f\left(x,y,z\right) \rightarrow f\left(\rho \cos \phi, \rho \sin \phi, z\right)$

The domain transformation can be graphically attained, because only the shape of the base varies, while the height follows the shape of the starting region.

Example 3a. The region is $D = \\left\{ x^2 + y^2 \le 9, \ x^2 + y^2 \ge 4, \ 0 \le z \le 5 \\right\}$ (that is the "tube" whose base is the circular crown of Example 2d and whose height is 5); if the transformation is applied, this region is obtained: $T = \\left\{ 2 \le \rho \le 3, \ 0 \le \phi \le 2\pi, \ 0 \le z \le 5 \\right\}$ (that is the parallelepiped whose base is similar to the rectangle in Example 2d and whose height is 5).

Because the z component is unvaried during the transformation, the dx dy dz differentials vary as in the passage in polar coordinates: therefore, they become ρ dρ dφ dz.

Finally, it is possible to apply the final formula to cylindrical coordinates:

$\iiint_D f\left(x,y,z\right) \, dx\, dy\, dz = \iiint_T f\left(\rho \cos \phi, \rho \sin \phi, z\right) \rho \, d\rho\, d\phi\, dz.$
This method is convenient in case of cylindrical or conical domains or in regions where it is easy to individuate the z interval and even transform the circular base and the function.
Example 3b. The function is $f\left(x,y,z\right) = x^2 + y^2 + z$ and as integration domain this cylinder: $D = \\left\{ x^2 + y^2 \le 9, \ -5 \le z \le 5 \\right\}$. The transformation of D in cylindrical coordinates is the following:
$T = \\left\{ 0 \le \rho \le 3, \ 0 \le \phi \le 2 \pi, \ -5 \le z \le 5 \\right\}.$

while the function becomes

$f\left(\rho \cos \phi, \rho \sin \phi, z\right) = \rho^2 + z$

Finally one can apply the integration formula:

$\iiint_D \left(x^2 + y^2 +z\right) \, dx\, dy\, dz = \iiint_T \left( \rho^2 + z\right) \rho \, d\rho\, d\phi\, dz;$

developing the formula you have

$\int_\left\{-5\right\}^5 dz \int_0^\left\{2 \pi\right\} d\phi \int_0^3 \left( \rho^3 + \rho z \right)\, d\rho = 2 \pi \int_\left\{-5\right\}^5 \left\left[ \frac\left\{\rho^4\right\}\left\{4\right\} + \frac\left\{\rho^2 z\right\}\left\{2\right\} \right\right]_0^3 \, dz = 2 \pi \int_\left\{-5\right\}^5 \left\left( \frac\left\{81\right\}\left\{4\right\} + \frac\left\{9\right\}\left\{2\right\} z\right\right)\, dz = \cdots = 405 \pi.$

#### Spherical coordinates

In R3 some domains have a spherical symmetry, so it's possible to specify the coordinates of every point of the integration region by two angles and one distance. It's possible to use therefore the passage in spherical coordinates; the function is transformed by this relation:

$f\left(x,y,z\right) \longrightarrow f\left(\rho \cos \theta \sin \phi, \rho \sin \theta \sin \phi, \rho \cos \phi\right)$

Points on z axis do not have a precise characterization in spherical coordinates, so θ can vary between 0 to 2π .

The better integration domain for this passage is obviously the sphere.

Example 4a. The domain is $D = x^2 + y^2 + z^2 \le 16$ (sphere with radius 4 and center in the origin); applying the transformation you get this region: $T = \\left\{ 0 \le \rho \le 4, \ 0 \le \phi \le \pi, \ 0 \le \theta \le 2 \pi \\right\}.$

The Jacobian determinant of this transformation is the following:

$\frac\left\{\partial \left(x,y,z\right)\right\}\left\{\partial \left(\rho, \theta, \phi\right)\right\} =$

\begin{vmatrix} \cos \theta \sin \phi & - \rho \sin \theta \sin \phi & \rho \cos \theta \cos \phi \\ \sin \theta \sin \phi & \rho \cos \theta \sin \phi & \rho \sin \theta \cos \phi \\ \cos \phi & 0 & - \rho \sin \phi \end{vmatrix} = \rho^2 \sin \phi

The dx dy dz differentials therefore are transformed to ρ2 sin(φ) dρ dθ dφ.

Finally you obtain the final integration formula:

$\iiint_D f\left(x,y,z\right) \, dx\, dy\, dz = \iiint_T f\left(\rho \sin \phi \cos \theta, \rho \sin \phi \sin \theta, \rho \cos \phi\right) \rho^2 \sin \phi \, d\rho\, d\theta\, d\phi.$

It's better to use this method in case of spherical domains and in case of functions that can be easily simplified, by the first fundamental relation of trigonometry, extended in R3 (please see Example 4b); in other cases it can be better to use cylindrical coordinates (please see Example 4c).

$\iiint_T f\left(a,b,c\right) \rho^2 \sin \phi \, d\rho\, d\theta\, d\phi.$

The extra $\rho^2$ and $\sin \phi$ come from the Jacobian.

In the following examples the roles of φ and θ have been reversed.

Example 4b. D is the same region as in Example 4a and $f\left(x,y,z\right) = x^2 + y^2 + z^2$ is the function to integrate. Its transformation is very easy:
$f\left(\rho \sin \phi \cos \theta, \rho \sin \phi \sin \theta, \rho \cos \phi\right) = \rho^2,$

while we know the intervals of the transformed region T from D:

$\left(0 \le \rho \le 4, \ 0 \le \phi \le \pi, \ 0 \le \theta \le 2 \pi\right).$

Let's therefore apply the integration's formula:

$\iiint_D \left(x^2 + y^2 +z^2\right) \, dx\, dy\, dz = \iiint_T \rho^2 \ \rho^2 \sin \theta \, d\rho\, d\theta\, d\phi,$

and, developing, we get

$\iiint_T \rho^4 \sin \theta \, d\rho\, d\theta\, d\phi = \int_0^\left\{\pi\right\} \sin \phi \,d\phi \int_0^4 \rho^4 d \rho \int_0^\left\{2 \pi\right\} d\theta = 2 \pi \int_0^\left\{\pi\right\} \sin \phi \left\left[ \frac\left\{\rho^5\right\}\left\{5\right\} \right\right]_0^4 \, d \phi = 2 \pi \left\left[ \frac\left\{\rho^5\right\}\left\{5\right\} \right\right]_0^4 \left\left[- \cos \phi \right\right]_0^\left\{\pi\right\} = \frac\left\{4096 \pi\right\}\left\{5\right\}.$
Example 4c. The domain D is the ball with center in the origin and radius 3a,
$D = \left \\left\{ x^2 + y^2 + z^2 \le 9a^2 \right \\right\}$

and $f\left(x,y,z\right) = x^2 + y^2$ is the function to integrate.

Looking at the domain, it seems convenient to adopt the passage in spherical coordinates, in fact, the intervals of the variables that delimit the new T region are obviously:

$0 \le \rho \le 3a, \ 0 \le \phi \le 2 \pi, \ 0 \le \theta \le \pi.$

However, applying the transformation, we get

$f\left(x,y,z\right) = x^2 + y^2 \longrightarrow \rho^2 \sin^2 \theta \cos^2 \phi + \rho^2 \sin^2 \theta \sin^2 \phi = \rho^2 \sin^2 \theta$.

Applying the formula for integration we would obtain:

$\iiint_T \rho^2 \sin^2 \theta \rho^2 \sin \theta \, d\rho\, d\theta\, d\phi = \iiint_T \rho^4 \sin^3 \theta \, d\rho\, d\theta\, d\phi$

which is very hard to solve. This problem will be solved by using the passage in cylindrical coordinates. The new T intervals are

$0 \le \rho \le 3a, \ 0 \le \phi \le 2 \pi, \ - \sqrt\left\{9a^2 - \rho^2\right\} \le z \le \sqrt\left\{9a^2 - \rho^2\right\};$

the z interval has been obtained by dividing the ball in two hemispheres simply by solving the inequality from the formula of D (and then directly transforming x2 + y2 in ρ2). The new function is simply ρ2. Applying the integration formula

$\iiint_T \rho^2 \rho \ d \rho d \phi dz$.

Then we get

\begin\left\{align\right\}

\int_0^{2\pi} d\phi \int_0^{3a} \rho^3 d\rho \int_{-\sqrt{9a^2 - \rho^2}}^{\sqrt{9 a^2 - \rho^2}}\, dz &= 2 \pi \int_0^{3a} 2 \rho^3 \sqrt{9 a^2 - \rho^2} \, d\rho \\ &= -2 \pi \int_{9 a^2}^0 (9 a^2 - t) \sqrt{t}\, dt && t = 9 a^2 - \rho^2 \\ &= 2 \pi \int_0^{9 a^2} \left ( 9 a^2 \sqrt{t} - t \sqrt{t} \right ) \, dt \\ &= 2 \pi \left[ \int_0^{9 a^2} 9 a^2 \sqrt{t} \, dt - \int_0^{9 a^2} t \sqrt{t} \, dt\right] \\ &= 2 \pi \left[9 a^2 \frac{2}{3} t^{ \frac{3}{2} } - \frac{2}{5} t^{ \frac{5}{2}} \right]_0^{9 a^2} \\ &= 2 \cdot 27 \pi a^5 \left ( 6 - \frac{18}{5} \right ) \\ &= \frac{648 \pi}{5} a^5. \end{align}

Thanks to the passage in cylindrical coordinates it was possible to reduce the triple integral to an easier one-variable integral.

See also the differential volume entry in nabla in cylindrical and spherical coordinates.

## Examples

### Double integral

Let us assume that we wish to integrate a multivariable function f over a region A.

From this we formulate the double integral

$\int_7^\left\{10\right\} \int_\left\{11\right\}^\left\{14\right\} \left(x^2 + 4y\right) \ dx\, dy$

The inner integral is performed first, integrating with respect to x and taking y as a constant, as it is not the variable of integration. The result of this integral, which is a function depending only on y, is then integrated with respect to y.

\begin\left\{align\right\}
\int_{11}^{14} (x^2 + 4y) \ dx  & = \left (\frac{1}{3}x^3 + 4yx \right)\Big |_{x=11}^{x=14} \\
& = \frac{1}{3}(14)^3 + 4y(14) - \frac{1}{3}(11)^3 - 4y(11) \\
&= 471 + 12y


\end{align}

We then integrate the result with respect to y.

\begin\left\{align\right\}
\int_7^{10} (471 + 12y) \ dy  & = (471y + 6y^2)\big |_{y=7}^{y=10} \\
& = 471(10)+ 6(10)^2 - 471(7) - 6(7)^2 \\
&= 1719


\end{align}

Observe that the order of integration is sometimes interchangeable:

\begin\left\{align\right\}
\int_{11}^{14} \int_{7}^{10} \ (x^2 + 4y) \ dy\, dx  & = \int_{11}^{14} \left (x^2 y + 2y^2 \right)\Big |_{y=7}^{y=10} \ dx \\
& = \int_{11}^{14} \ (3x^2 + 102) \ dx \\
& = \left (x^3 + 102x \right)\Big |_{x=11}^{x=14} \\
&= 1719


\end{align}

The instances where the order is interchangeable is determined by Fubini's Theorem.

### Volumes

The volume of the parallelepiped of sides 4 × 6 × 5 may be obtained in two ways:

• By calculating the double integral of the function f(x, y) = 5 over the region D in the xy-plane which is the base of the parallelepiped.
$\iint_D 5 \ dx\, dy$
• By calculating the triple integral of the constant function 1 over the parallelepiped itself
$\iiint_\mathrm\left\{parallelepiped\right\} 1 \, dx\, dy\, dz$

### Computing a volume

Using the methods previously described, it is possible to calculate the volumes of some common solids.

• Cylinder: The volume of a cylinder with height h and circular base of radius R can be calculated by integrating the constant function h over the circular base, using polar coordinates.
$\mathrm\left\{Volume\right\} = \int_0^\left\{2 \pi \right\} d \phi \int_0^R h \rho \ d \rho = h 2 \pi \left\left[\frac\left\{\rho^2\right\}\left\{2 \right\}\right\right]_0^R = \pi R^2 h$

This is in agreement with the formula

$\mathrm\left\{Volume\right\} = \text\left\{base area\right\} \times height$.
• Sphere: The volume of a sphere with radius R can be calculated by integrating the constant function 1 over the sphere, using spherical coordinates.
\begin\left\{align\right\}

\text{Volume} &= \iiint_D f(x,y,z) \, dx\, dy\, dz \\ &= \iiint_D 1 \, dV \\ &= \iiint_S \rho^2 \sin \phi \, d\rho\, d\theta\, d\phi \\ &= \int_0^{2 \pi }\, d \theta \int_0^{ \pi } \sin \phi\, d \phi \int_0^R \rho^2\, d \rho \\ &= 2 \pi \int_0^{ \pi } \sin \phi\, d \phi \int_0^R \rho^2\, d \rho \\ &= 2 \pi \int_0^{ \pi } \sin \phi \frac{R^3}{3 }\, d \phi \\ &= \frac{2}{3 } \pi R^3 [- \cos \phi]_0^{ \pi } = \frac{4}{3 } \pi R^3. \end{align}

• Tetrahedron (triangular pyramid or 3-simplex): The volume of a tetrahedron with its apex at the origin and edges of length l along the x, y and z axes can be calculated by integrating the constant function 1 over the tetrahedron.
\begin\left\{align\right\}

\text{Volume} &= \int_0^\ell dx \int_0^{\ell-x }\, dy \int_0^{\ell-x-y }\, dz \\ &= \int_0^\ell dx \int_0^{\ell-x } (\ell - x - y)\, dy \\ &= \int_0^\ell \left[\ell^2 - 2\ell x + x^2 - \frac{ (\ell-x)^2 }{2 }\right]\, dx \\ &= \ell^3 - \ell \ell^2 + \frac{\ell^3}{3 } - \left[\frac{\ell^2 x}{2 } - \frac{\ell x^2}{2} + \frac{x^3}{6 }\right]_0^\ell \\ &= \frac{\ell^3}{3 } - \frac{\ell^3}{6 } = \frac{\ell^3}{6} \end{align}

This is in agreement with the formula
$\mathrm\left\{Volume\right\} = \frac\left\{1\right\}\left\{3\right\} \times \text\left\{base area\right\} \times \text\left\{height\right\} = \frac\left\{1\right\}\left\{3\right\} \times \frac\left\{\ell^2\right\}\left\{2\right\} \times \ell = \frac\left\{\ell^3\right\}\left\{6\right\}.$

## Multiple improper integral

In case of unbounded domains or functions not bounded near the boundary of the domain, we have to introduce the double improper integral or the triple improper integral.

## Multiple integrals and iterated integrals

Fubini's theorem states that if

$\int_\left\{A\times B\right\} |f\left(x,y\right)|\,d\left(x,y\right)<\infty,$

that is, if the integral is absolutely convergent, then the multiple integral will give the same result as the iterated integral,

$\int_\left\{A\times B\right\} f\left(x,y\right)\,d\left(x,y\right)=\int_A\left\left(\int_B f\left(x,y\right)\,dy\right\right)\,dx=\int_B\left\left(\int_A f\left(x,y\right)\,dx\right\right)\,dy.$

In particular this will occur if |f(x, y)| is a bounded function and A and B are bounded sets.

If the integral is not absolutely convergent, care is needed not to confuse the concepts of multiple integral and iterated integral, especially since the same notation is often used for either concept. The notation

$\int_0^1\int_0^1 f\left(x,y\right)\,dy\,dx$

means, in some cases, an iterated integral rather than a true double integral. In an iterated integral, the outer integral

$\int_0^1 \cdots \, dx$

is the integral with respect to x of the following function of x:

$g\left(x\right)=\int_0^1 f\left(x,y\right)\,dy.$

A double integral, on the other hand, is defined with respect to area in the xy-plane. If the double integral exists, then it is equal to each of the two iterated integrals (either "dy dx" or "dx dy") and one often computes it by computing either of the iterated integrals. But sometimes the two iterated integrals exist when the double integral does not, and in some such cases the two iterated integrals are different numbers, i.e., one has

$\int_0^1\int_0^1 f\left(x,y\right)\,dy\,dx \neq \int_0^1\int_0^1 f\left(x,y\right)\,dx\,dy.$

This is an instance of rearrangement of a conditionally convergent integral.

The notation

$\int_ f\left(x,y\right)\,dx\,dy$

may be used if one wishes to be emphatic about intending a double integral rather than an iterated integral.

## Some practical applications

Quite generally, just as in one variable, one can use the multiple integral to find the average of a function over a given set. Given a set DRn and an integrable function f over D, the average value of f over its domain is given by

$\bar\left\{f\right\} = \frac\left\{1\right\}\left\{m\left(D\right)\right\} \int_D f\left(x\right)\, dx,$

where m(D) is the measure of D.

Additionally, multiple integrals are used in many applications in physics. The examples below also show some variations in the notation.

In mechanics, the moment of inertia is calculated as the volume integral (triple integral) of the density weighed with the square of the distance from the axis:

$I_z = \iiint_V \rho r^2\, dV.$

The gravitational potential associated with a mass distribution given by a mass measure dm on three-dimensional Euclidean space R3 is

$V\left(\mathbf\left\{x\right\}\right) = -\int_\left\{\mathbf\left\{R\right\}^3\right\} \frac\left\{G\right\}\left\{|\mathbf\left\{x\right\} - \mathbf\left\{y\right\}|\right\}\,dm\left(\mathbf\left\{y\right\}\right).$

If there is a continuous function ρ(x) representing the density of the distribution at x, so that dm(x) = ρ(x)d 3x, where d 3x is the Euclidean volume element, then the gravitational potential is

$V\left(\mathbf\left\{x\right\}\right) = -\int_\left\{\mathbf\left\{R\right\}^3\right\} \frac\left\{G\right\}\left\{|\mathbf\left\{x\right\}-\mathbf\left\{y\right\}|\right\}\,\rho\left(\mathbf\left\{y\right\}\right)\,d^3\mathbf\left\{y\right\}.$

In electromagnetism, Maxwell's equations can be written using multiple integrals to calculate the total magnetic and electric fields. In the following example, the electric field produced by a distribution of charges given by the volume charge density $\rho \left(\vec r\right)$ is obtained by a triple integral of a vector function:

$\vec E = \frac \left\{1\right\}\left\{4 \pi \epsilon_0\right\} \iiint \frac \left\{\vec r - \vec r\text{'}\right\}\left\{\left \| \vec r - \vec r\text{'} \right \|^3\right\} \rho \left(\vec r\text{'}\right)\, \operatorname\left\{d\right\}^3 r\text{'}.$

This can also be written as an integral with respect to a signed measure representing the charge distribution.