# Multiple integral

Part of a series of articles about :
Calculus :
$\int _{a}^{b}f'(t)\,dt=f(b)-f(a)$ :
Fundamental theorem
Limits
Continuity
Rolle's theorem
Mean value theorem
Inverse function theorem :
Differential
Definitions
Derivative (generalizations)
Differential
infinitesimal
of a function
total
Concepts
Differentiation notation
Second derivative
Implicit differentiation
Logarithmic differentiation
Related rates
Taylor's theorem
Rules and identities
Sum
Product
Chain
Power
Quotient
L'Hôpital's rule
Inverse
General Leibniz
Faà di Bruno's formula
Reynolds :
Integral
Lists of integrals
Integral transform
Leibniz integral rule
Definitions
Antiderivative
Integral (improper)
Riemann integral
Lebesgue integration
Contour integration
Integral of inverse functions
Integration by
Parts
Discs
Cylindrical shells
Substitution (trigonometric, tangent half-angle, Euler)
Euler's formula
Partial fractions (Heaviside's method)
Changing order
Reduction formulae
Differentiating under the integral sign
Risch algorithm :
Series
Geometric (arithmetico-geometric)
Harmonic
Alternating
Power
Binomial
Taylor
Convergence tests
Summand limit (term test)
Ratio
Root
Integral
Direct comparison
Limit comparison
Alternating series
Cauchy condensation
Dirichlet
Abel :
Vector
Gradient
Divergence
Curl
Laplacian
Directional derivative
Identities
Theorems
Gradient
Green's
Stokes'
Divergence
generalized Stokes
Helmholtz decomposition :
Multivariable
Formalisms
Matrix
Tensor
Exterior
Geometric
Definitions
Partial derivative
Multiple integral
Line integral
Surface integral
Volume integral
Jacobian
Hessian :
Advanced
Calculus on Euclidean space
Generalized functions
Limit of distributions :
Specialized
Fractional
Malliavin
Stochastic
Variations :
Miscellanea
Precalculus
History
Glossary
List of topics
Integration Bee
Mathematical analysis
Nonstandard analysis :
vte :
In mathematics (specifically multivariable calculus), a multiple integral is a definite integral of a function of several real variables, for instance, f(x, y) or f(x, y, z).
Integrals of a function of two variables over a region in $\mathbb {R} ^{2}$ (the real-number plane) are called double integrals, and integrals of a function of three variables over a region in $\mathbb {R} ^{3}$ (real-number 3D space) are called triple integrals. For repeated antidifferentiation of a single-variable function, see the Cauchy formula for repeated integration.

## 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(x, y)) and the plane which contains its domain. If there are more variables, a multiple integral will yield hypervolumes of multidimensional functions.
Multiple integration of a function in n variables: f(x$_1$, x$_2$, ..., x$_n$) 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 {D} }\,f(x_{1},x_{2},\ldots ,x_{n})\,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=[a_{1},b_{1})\times [a_{2},b_{2})\times \cdots \times [a_{n},b_{n})\subseteq \mathbb {R} ^{n}$.
Partition each interval [a$_j$, b$_j$) into a finite family I$_j$ of non-overlapping subintervals i$_{jα}$, 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 C$_k$ are non-overlapping and their union is T.
Let f : T → R be a function defined on T. Consider a partition C of T as defined above, such that C is a family of m subrectangles C$_m$ and
    $T=C_{1}\cup C_{2}\cup \cdots \cup C_{m}$
We can approximate the total (n + 1)-dimensional volume bounded below by the n-dimensional hyperrectangle T and above by the n-dimensional graph of f with the following Riemann sum:
    $\sum _{k=1}^{m}f(P_{k})\,\operatorname {m} (C_{k})$
where P$_k$ is a point in C$_k$ and m(C$_k$) is the product of the lengths of the intervals whose Cartesian product is C$_k$, also known as the measure of C$_k$.
The diameter of a subrectangle C$_k$ is the largest of the lengths of the intervals whose Cartesian product is C$_k$. 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(C$_k$) of each subrectangle grows smaller. The function f is said to be Riemann integrable if the limit
    $S=\lim _{\delta \to 0}\sum _{k=1}^{m}f(P_{k})\,\operatorname {m} (C_{k})$
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(x_{1},x_{2},\ldots ,x_{n})\,dx_{1}\!\cdots dx_{n}$.
Frequently this notation is abbreviated as
    $\int _{T}\!f(\mathbf {x} )\,d^{n}\mathbf {x}$.
where x represents the n-tuple (x$_1$, ..., x$_n$) and d$^n$x 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 the 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 $T\subseteq \mathbb {R} ^{2}$, the integral
    $l=\iint _{T}f(x,y)\,dx\,dy$
is the double integral of f on T, and if $T\subseteq \mathbb {R} ^{3}$ the integral
    $l=\iiint _{T}f(x,y,z)\,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 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. For continuous functions, this is justified by Fubini's theorem. Sometimes, it is possible to obtain the result of the integration by direct examination without any calculations.
The following are some simple methods of integration:

### 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 R$^2$, the integral gives the area of the region, while if the domain is a subregion of R$^3$, the integral gives the volume of the region.
   Example. Let f(x, y) = 2 and
       $D=\left\{(x,y)\in \mathbb {R} ^{2}\ :\ 2\leq x\leq 4\ ;\ 3\leq y\leq 6\right\}$,
   in which case
       $\int _{3}^{6}\int _{2}^{4}\ 2\ dx\,dy=2\int _{3}^{6}\int _{2}^{4}\ 1\ dx\,dy=2\cdot \operatorname {area} (D)=2\cdot (2\cdot 3)=12$,
   since by definition we have:
       $\int _{3}^{6}\int _{2}^{4}\ 1\ dx\,dy=\operatorname {area} (D)$.

### 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(x,y) = 2 sin(x) − 3y$^3$ + 5 integrated over the domain
       $T=\left\{(x,y)\in \mathbb {R} ^{2}\ :\ x^{2}+y^{2}\leq 1\right\}$,
   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$.
   The function 2 sin(x) is an odd function in the variable x and the disc T is symmetric with respect to the y-axis, so the value of the first integral is 0. Similarly, the function 3y$^3$ is an odd function of y, and T is symmetric with respect to the x-axis, and so the only contribution to the final result is that of the third integral. Therefore the original integral is equal to the area of the disk times 5, or 5π.
   Example 2. Consider the function f(x, y, z) = x exp(y$^2$ + z$^2$) and as integration region the ball with radius 2 centered at the origin,
       $T=\left\{(x,y,z)\in \mathbb {R} ^{3}\ :\ x^{2}+y^{2}+z^{2}\leq 4\right\}$.
   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 R$^2$

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 β
Such a domain will be here called a normal domain. Elsewhere in the literature, normal domains are sometimes called type I or type II domains, depending on which axis the domain is fibred over. In all cases, the function to be integrated must be Riemann integrable on the domain, which is true (for instance) if the function is continuous.

#### x-axis

If the domain D is normal with respect to the x-axis, and f : D → R is a continuous function; then α(x) and β(x) (both of which are defined on the interval [a, b]) are the two functions that determine D. Then, by Fubini's theorem:
    $\iint _{D}f(x,y)\,dx\,dy=\int _{a}^{b}dx\int _{\alpha (x)}^{\beta (x)}f(x,y)\,dy$.

#### y-axis

If D is normal with respect to the y-axis and f : D → R is a continuous function; then α(y) and β(y) (both of which are defined on the interval [a, b]) are the two functions that determine D. Again, by Fubini's theorem:
    $\iint _{D}f(x,y)\,dx\,dy=\int _{a}^{b}dy\int _{\alpha (y)}^{\beta (y)}f(x,y)\,dx$.

#### Normal domains on R$^3$

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(x,y,z)\,dx\,dy\,dz=\iint _{D}\int _{\alpha (x,y)}^{\beta (x,y)}f(x,y,z)\,dz\,dx\,dy$.
This definition is the same for the other five normality cases on R$^3$. It can be generalized in a straightforward way to domains in R$^n$.

### 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(x, y) = (x − 1)$^2$ + √y; if one adopts the substitution u = x − 1, v = y therefore x = u + 1, y = v one obtains the new function f$_2$(u, v) = (u)$^2$ + √v.
* 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 R$^2$, two in R$^3$); however, more general substitutions can be made using the same principle.

#### Polar coordinates

In R$^2$ if the domain has a circular symmetry and the function has some particular characteristics one 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(x,y)\rightarrow f(\rho \cos \varphi ,\rho \sin \varphi )$.
   Example 2a. The function is f(x, y) = x + y and applying the transformation one obtains
       $f(x,y)=f(\rho \cos \varphi ,\rho \sin \varphi )=\rho \cos \varphi +\rho \sin \varphi =\rho (\cos \varphi +\sin \varphi )$.
   Example 2b. The function is f(x, y) = x$^2$ + y$^2$, in this case one has:
       $f(x,y)=\rho ^{2}\left(\cos ^{2}\varphi +\sin ^{2}\varphi \right)=\rho ^{2}$
   using the Pythagorean trigonometric identity (can be 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 = {x$^2$ + y$^2$ ≤ 4}, 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 = {x$^2$ + y$^2$ ≤ 9, x$^2$ + y$^2$ ≥ 4, y ≥ 0}, 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=\{2\leq \rho \leq 3,\ 0\leq \varphi \leq \pi \}$.
   The Jacobian determinant of that transformation is the following:
       ${\frac {\partial (x,y)}{\partial (\rho ,\varphi )}}={\begin{vmatrix}\cos \varphi &-\rho \sin \varphi \\\sin \varphi &\rho \cos \varphi \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 become ρ 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(x,y)\,dx\,dy=\iint _{T}f(\rho \cos \varphi ,\rho \sin \varphi )\rho \,d\rho \,d\varphi$.
   φ 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(x, y) = 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 we change the function:
       $f(x,y)=x\longrightarrow f(\rho ,\varphi )=\rho \cos \varphi$.
   Finally let's apply the integration formula:
       $\iint _{D}x\,dx\,dy=\iint _{T}\rho \cos \varphi \rho \,d\rho \,d\varphi$.
   Once the intervals are known, you have
       $\int _{0}^{\pi }\int _{2}^{3}\rho ^{2}\cos \varphi \,d\rho \,d\varphi =\int _{0}^{\pi }\cos \varphi \ d\varphi \left[{\frac {\rho ^{3}}{3}}\right]_{2}^{3}={\Big\sin \varphi {\Big ]}_{0}^{\pi }\ \left(9-{\frac {8}{3}}\right)=0$.

#### Cylindrical coordinates

In R$^3$ the integration on domains with a circular base can be made by the passage to cylindrical coordinates; the transformation of the function is made by the following relation:
    $f(x,y,z)\rightarrow f(\rho \cos \varphi ,\rho \sin \varphi ,z)$
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 = {x$^2$ + y$^2$ ≤ 9, x$^2$ + y$^2$ ≥ 4, 0 ≤ z ≤ 5} (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=\{2\leq \rho \leq 3,\ 0\leq \varphi \leq 2\pi ,\ 0\leq z\leq 5\}$
   (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 to polar coordinates: therefore, they become ρ dρ dφ dz.
   Finally, it is possible to apply the final formula to cylindrical coordinates:
       $\iiint _{D}f(x,y,z)\,dx\,dy\,dz=\iiint _{T}f(\rho \cos \varphi ,\rho \sin \varphi ,z)\rho \,d\rho \,d\varphi \,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(x, y, z) = x$^2$ + y$^2$ + z and as integration domain this cylinder: D = {x$^2$ + y$^2$ ≤ 9, −5 ≤ z ≤ 5}. The transformation of D in cylindrical coordinates is the following:
       $T=\{0\leq \rho \leq 3,\ 0\leq \varphi \leq 2\pi ,\ -5\leq z\leq 5\}$.
   while the function becomes
       $f(\rho \cos \varphi ,\rho \sin \varphi ,z)=\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\varphi \,dz$;
   developing the formula you have
       $\int _{-5}^{5}dz\int _{0}^{2\pi }d\varphi \int _{0}^{3}\left(\rho ^{3}+\rho z\right)\,d\rho =2\pi \int _{-5}^{5}\left[{\frac {\rho ^{4}}{4}}+{\frac {\rho ^{2}z}{2}}\right]_{0}^{3}\,dz=2\pi \int _{-5}^{5}\left({\frac {81}{4}}+{\frac {9}{2}}z\right)\,dz=\cdots =405\pi$.

#### Spherical coordinates

In R$^3$ 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 to spherical coordinates; the function is transformed by this relation:
    $f(x,y,z)\longrightarrow f(\rho \cos \theta \sin \varphi ,\rho \sin \theta \sin \varphi ,\rho \cos \varphi )$.
Points on the z-axis do not have a precise characterization in spherical coordinates, so θ can vary between 0 and 2π.
The better integration domain for this passage is the sphere.
   Example 4a. The domain is D = x$^2$ + y$^2$ + z$^2$ ≤ 16 (sphere with radius 4 and center at the origin); applying the transformation you get the region
       $T=\{0\leq \rho \leq 4,\ 0\leq \varphi \leq \pi ,\ 0\leq \theta \leq 2\pi \}$.
   The Jacobian determinant of this transformation is the following:
       ${\frac {\partial (x,y,z)}{\partial (\rho ,\varphi ,\theta )}}={\begin{vmatrix}\cos \theta \sin \varphi &\rho \cos \theta \cos \varphi &-\rho \sin \theta \sin \varphi \\\sin \theta \sin \varphi &\rho \sin \theta \cos \varphi &\rho \cos \theta \sin \varphi \\\cos \varphi &-\rho \sin \varphi &0\end{vmatrix}}=\rho ^{2}\sin \varphi$.
   The dx dy dz differentials therefore are transformed to ρ$^2$ sin(φ) dρ dθ dφ.
   This yields the final integration formula:
       $\iiint _{D}f(x,y,z)\,dx\,dy\,dz=\iiint _{T}f(\rho \sin \varphi \cos \theta ,\rho \sin \varphi \sin \theta ,\rho \cos \varphi )\rho ^{2}\sin \varphi \,d\rho \,d\theta \,d\varphi$.
It is 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 to R$^3$ (see Example 4b); in other cases it can be better to use cylindrical coordinates (see Example 4c).
    $\iiint _{T}f(a,b,c)\rho ^{2}\sin \varphi \,d\rho \,d\theta \,d\varphi$.
The extra ρ$^2$ and sin φ 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(x, y, z) = x$^2$ + y$^2$ + z$^2$ is the function to integrate. Its transformation is very easy:
       $f(\rho \sin \varphi \cos \theta ,\rho \sin \varphi \sin \theta ,\rho \cos \varphi )=\rho ^{2}$,
   while we know the intervals of the transformed region T from D:
       $T=\{0\leq \rho \leq 4,\ 0\leq \varphi \leq \pi ,\ 0\leq \theta \leq 2\pi \}$.
   We therefore apply the integration 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\varphi$,
   and, developing, we get
       $\iiint _{T}\rho ^{4}\sin \theta \,d\rho \,d\theta \,d\varphi =\int _{0}^{\pi }\sin \varphi \,d\varphi \int _{0}^{4}\rho ^{4}d\rho \int _{0}^{2\pi }d\theta =2\pi \int _{0}^{\pi }\sin \varphi \left[{\frac {\rho ^{5}}{5}}\right]_{0}^{4}\,d\varphi =2\pi \left[{\frac {\rho ^{5}}{5}}\right]_{0}^{4}{\Big-\cos \varphi {\Big ]}_{0}^{\pi }={\frac {4096\pi }{5}}$.
   Example 4c. The domain D is the ball with center at the origin and radius 3a,
       $D=\left\{x^{2}+y^{2}+z^{2}\leq 9a^{2}\right\}$,
   and f(x, y, z) = x$^2$ + y$^2$ is the function to integrate.
   Looking at the domain, it seems convenient to adopt the passage to spherical coordinates, in fact, the intervals of the variables that delimit the new T region are:
       $T=\{0\leq \rho \leq 3a,\ 0\leq \varphi \leq 2\pi ,\ 0\leq \theta \leq \pi \}$.
   However, applying the transformation, we get
       $f(x,y,z)=x^{2}+y^{2}\longrightarrow \rho ^{2}\sin ^{2}\theta \cos ^{2}\varphi +\rho ^{2}\sin ^{2}\theta \sin ^{2}\varphi =\rho ^{2}\sin ^{2}\theta$.
   Applying the formula for integration we obtain:
       $\iiint _{T}\rho ^{2}\sin ^{2}\theta \rho ^{2}\sin \theta \,d\rho \,d\theta \,d\varphi =\iiint _{T}\rho ^{4}\sin ^{3}\theta \,d\rho \,d\theta \,d\varphi$,
   which can be solved by turning it into an iterated integral.$\iiint _{T}\rho ^{4}\sin ^{3}\theta \,d\rho \,d\theta \,d\varphi =\underbrace {\int _{0}^{3a}\rho ^{4}d\rho } _{I}\,\underbrace {\int _{0}^{\pi }\sin ^{3}\theta \,d\theta } _{II}\,\underbrace {\int _{0}^{2\pi }d\varphi } _{III}$.
   $I=\left.\int _{0}^{3a}\rho ^{4}d\rho ={\frac {\rho ^{5}}{5}}\right\vert _{0}^{3a}={\frac {243}{5}}a^{5}$,
   $II=\int _{0}^{\pi }\sin ^{3}\theta \,d\theta =-\int _{0}^{\pi }\sin ^{2}\theta \,d(\cos \theta )=\int _{0}^{\pi }(\cos ^{2}\theta -1)\,d(\cos \theta )=\left.{\frac {\cos ^{3}\theta }{3}}\right|_{0}^{\pi }-\left.\cos \theta \right|_{0}^{\pi }={\frac {4}{3}}$,
   $III=\int _{0}^{2\pi }d\varphi =2\pi$.
   Collecting all parts,
   $\iiint _{T}\rho ^{4}\sin ^{3}\theta \,d\rho \,d\theta \,d\varphi =I\cdot II\cdot III={\frac {243}{5}}a^{5}\cdot {\frac {4}{3}}\cdot 2\pi ={\frac {648}{5}}\pi a^{5}$.
   Alternatively, this problem can be solved by using the passage to cylindrical coordinates. The new T intervals are
       $T=\left\{0\leq \rho \leq 3a,\ 0\leq \varphi \leq 2\pi ,\ -{\sqrt {9a^{2}-\rho ^{2}}}\leq z\leq {\sqrt {9a^{2}-\rho ^{2}}}\right\}$;
   the z interval has been obtained by dividing the ball into two hemispheres simply by solving the inequality from the formula of D (and then directly transforming x$^2$ + y$^2$ into ρ$^2$). The new function is simply ρ$^2$. Applying the integration formula
       $\iiint _{T}\rho ^{2}\rho \,d\rho \,d\varphi \,dz$.
   Then we get:
       ${\begin{aligned}\int _{0}^{2\pi }d\varphi \int _{0}^{3a}\rho ^{3}d\rho \int _{-{\sqrt {9a^{2}-\rho ^{2}}}}^{\sqrt {9a^{2}-\rho ^{2}}}\,dz&=2\pi \int _{0}^{3a}2\rho ^{3}{\sqrt {9a^{2}-\rho ^{2}}}\,d\rho \\&=-2\pi \int _{9a^{2}}^{0}(9a^{2}-t){\sqrt {t}}\,dt&&t=9a^{2}-\rho ^{2}\\&=2\pi \int _{0}^{9a^{2}}\left(9a^{2}{\sqrt {t}}-t{\sqrt {t}}\right)\,dt\\&=2\pi \left(\int _{0}^{9a^{2}}9a^{2}{\sqrt {t}}\,dt-\int _{0}^{9a^{2}}t{\sqrt {t}}\,dt\right)\\&=2\pi \left[9a^{2}{\frac {2}{3}}t^{\frac {3}{2}}-{\frac {2}{5}}t^{\frac {5}{2}}\right]_{0}^{9a^{2}}\\&=2\cdot 27\pi a^{5}\left(6-{\frac {18}{5}}\right)\\&={\frac {648\pi }{5}}a^{5}\end{aligned}}$
   Thanks to the passage to 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 over a rectangle

Let us assume that we wish to integrate a multivariable function f over a region A:
    $A=\left\{(x,y)\in \mathbf {R} ^{2}\ :\ 11\leq x\leq 14\ ;\ 7\leq y\leq 10\right\}{\mbox{ and }}f(x,y)=x^{2}+4y\,$.
From this we formulate the iterated integral
    $\int _{7}^{10}\int _{11}^{14}(x^{2}+4y)\,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{aligned}\int _{11}^{14}\left(x^{2}+4y\right)\,dx&=\left[{\frac {1}{3}}x^{3}+4yx\right]_{x=11}^{x=14}\\&={\frac {1}{3}}(14)^{3}+4y(14)-{\frac {1}{3}}(11)^{3}-4y(11)\\&=471+12y\end{aligned}}$
We then integrate the result with respect to y.
    ${\begin{aligned}\int _{7}^{10}(471+12y)\ dy&={\Big471y+6y^{2}{\Big ]}_{y=7}^{y=10}\\&=471(10)+6(10)^{2}-471(7)-6(7)^{2}\\&=1719\end{aligned}}$
In cases where the double integral of the absolute value of the function is finite, the order of integration is interchangeable, that is, integrating with respect to x first and integrating with respect to y first produce the same result. That is Fubini's theorem. For example, doing the previous calculation with order reversed gives the same result:
    ${\begin{aligned}\int _{11}^{14}\int _{7}^{10}\,\left(x^{2}+4y\right)\,dy\,dx&=\int _{11}^{14}{\Bigx^{2}y+2y^{2}{\Big ]}_{y=7}^{y=10}\,dx\\&=\int _{11}^{14}\,(3x^{2}+102)\,dx\\&={\Bigx^{3}+102x{\Big ]}_{x=11}^{x=14}\\&=1719.\end{aligned}}$

### Double integral over a normal domain

Consider the region (please see the graphic in the example):
    $D=\{(x,y)\in \mathbf {R} ^{2}\ :\ x\geq 0,y\leq 1,y\geq x^{2}\}$ .
Calculate
    $\iint _{D}(x+y)\,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 functions are defined. In this case the two functions are:
    $\alpha (x)=x^{2}{\text{ and }}\beta (x)=1$
while the interval is given by the intersections of the functions with x = 0, so the interval is [a, b] = [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}(x+y)\,dx\,dy=\int _{0}^{1}dx\int _{x^{2}}^{1}(x+y)\,dy=\int _{0}^{1}dx\ \left[xy+{\frac {y^{2}}{2}}\right]_{x^{2}}^{1}$
(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[xy+{\frac {y^{2}}{2}}\right]_{x^{2}}^{1}\,dx=\int _{0}^{1}\left(x+{\frac {1}{2}}-x^{3}-{\frac {x^{4}}{2}}\right)dx=\cdots ={\frac {13}{20}}$.
If we choose normality with respect to the y-axis we could calculate
    $\int _{0}^{1}dy\int _{0}^{\sqrt {y}}(x+y)\,dx$.
and obtain the same value.

### Calculating 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 {Volume} =\int _{0}^{2\pi }d\varphi \,\int _{0}^{R}h\rho \,d\rho =2\pi h\left[{\frac {\rho ^{2}}{2}}\right]_{0}^{R}=\pi R^{2}h$
This is in agreement with the formula for the volume of a prism
       $\mathrm {Volume} ={\text{base area}}\times {\text{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{aligned}{\text{Volume}}&=\iiint _{D}f(x,y,z)\,dx\,dy\,dz\\&=\iiint _{D}1\,dV\\&=\iiint _{S}\rho ^{2}\sin \varphi \,d\rho \,d\theta \,d\varphi \\&=\int _{0}^{2\pi }\,d\theta \int _{0}^{\pi }\sin \varphi \,d\varphi \int _{0}^{R}\rho ^{2}\,d\rho \\&=2\pi \int _{0}^{\pi }\sin \varphi \,d\varphi \int _{0}^{R}\rho ^{2}\,d\rho \\&=2\pi \int _{0}^{\pi }\sin \varphi {\frac {R^{3}}{3}}\,d\varphi \\&={\frac {2}{3}}\pi R^{3}{\Big-\cos \varphi {\Big ]}_{0}^{\pi }={\frac {4}{3}}\pi R^{3}\end{aligned}}$
* Tetrahedron (triangular pyramid or 3-simplex): The volume of a tetrahedron with its apex at the origin and edges of length ℓ along the x-, y- and z-axes can be calculated by integrating the constant function 1 over the tetrahedron.
       ${\begin{aligned}{\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(l^{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{aligned}}$
    This is in agreement with the formula for the volume of a pyramid.
       $\mathrm {Volume} ={\frac {1}{3}}\times {\text{base area}}\times {\text{height}}={\frac {1}{3}}\times {\frac {\ell ^{2}}{2}}\times \ell ={\frac {\ell ^{3}}{6}}$.

## 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
    $\iint _{A\times B}\left|f(x,y)\right|\,d(x,y)<\infty$,
that is, if the integral is absolutely convergent, then the multiple integral will give the same result as either of the two iterated integrals:
    $\iint _{A\times B}f(x,y)\,d(x,y)=\int _{A}\left(\int _{B}f(x,y)\,dy\right)\,dx=\int _{B}\left(\int _{A}f(x,y)\,dx\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(x,y)\,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(x)=\int _{0}^{1}f(x,y)\,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(x,y)\,dy\,dx\neq \int _{0}^{1}\int _{0}^{1}f(x,y)\,dx\,dy$.
This is an instance of rearrangement of a conditionally convergent integral.
On the other hand, some conditions ensure that the two iterated integrals are equal even though the double integral need not exist. By the Fichtenholz–Lichtenstein theorem, if f is bounded on [0, 1] × [0, 1] and both iterated integrals exist, then they are equal. Moreover, existence of the inner integrals ensures existence of the outer integrals. The double integral need not exist in this case even as Lebesgue integral, according to Sierpiński.
The notation
    $\int _{[0,1]\times [0,1]}f(x,y)\,dx\,dy$
may be used if one wishes to be emphatic about intending a double integral rather than an iterated integral.

## Triple integral

Triple integral was demonstrated by Fubini's theorem. Drichlet theorem and Liouville 's extension theorem on Triple 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 D ⊆ R$^n$ and an integrable function f over D, the average value of f over its domain is given by
    ${\bar {f}}={\frac {1}{m(D)}}\int _{D}f(x)\,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 R$^3$ is
    $V(\mathbf {x} )=-\iiint _{\mathbf {R} ^{3}}{\frac {G}{|\mathbf {x} -\mathbf {y} |}}\,dm(\mathbf {y} )$.
If there is a continuous function ρ(x) representing the density of the distribution at x, so that dm(x) = ρ(x)d$^3$x, where d$^3$x is the Euclidean volume element, then the gravitational potential is
    $V(\mathbf {x} )=-\iiint _{\mathbf {R} ^{3}}{\frac {G}{|\mathbf {x} -\mathbf {y} |}}\,\rho (\mathbf {y} )\,d^{3}\mathbf {y}$.
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 ρ( r→ ) is obtained by a triple integral of a vector function:
    ${\vec {E}}={\frac {1}{4\pi \varepsilon _{0}}}\iiint {\frac {{\vec {r}}-{\vec {r}}'}{\left\|{\vec {r}}-{\vec {r}}'\right\|^{3}}}\rho ({\vec {r}}')\,d^{3}r'$.
This can also be written as an integral with respect to a signed measure representing the charge distribution.