# Multiple integral

{{#invoke: Sidebar | collapsible }}

The **multiple integral** is a generalization of the definite integral to functions of more than one real variable, for example, *f*(*x*, *y*) or *f*(*x*, *y*, *z*). Integrals of a function of two variables over a region in **R**^{2} are called double integrals, and integrals of a function of three variables over a region of **R**^{3} are called triple integrals.^{[1]}

## 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. (the same volume can be obtained via the **triple integral**—the integral of a function in three variables—of the constant function *f*(*x*, *y*, *z*) = 1 over the above-mentioned region between the surface and the plane.)^{[1]} If there are more variables, a multiple integral will yield hypervolumes of multi-dimensional 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:^{[2]}

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:

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

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

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

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}, otherwise 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

exists, where the limit is taken over all possible partitions of *T* of diameter at most δ.^{[3]}

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

Frequently this notation is abbreviated as

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.^{[4]}

### Particular cases

In the case of *T* ⊆ **R**^{2}, the integral

is the **double integral** of *f* on *T*, and if *T* ⊆ **R**^{3} the integral

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. 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:^{[1]}

### 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.Letf(x,y) = 2 andin which case

since by definition we have:

### 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 integrated over the domaina disc with radius 1 centered at the origin with the boundary included.

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

The function 2sin(

x) is an odd function in the variablexand the discTis symmetric with respect to they-axis, so the value of the first integral is 0. Similarly, the function 3y^{3}is an odd function ofy, andTis symmetric with respect to thex-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 functionf(x,y,z) =xexp(y^{2}+z^{2}) 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 R^{2}

{{#invoke:see also|seealso}}
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* : *D* → **R** is a continuous function; then α(*x*) and β(*x*) (defined on the interval [*a*, *b*]) are the two functions that determine *D*. Then:

*y*-axis

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

#### Example

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

Calculate

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:

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:

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

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

and obtain the same value.

#### Normal domains on R^{3}

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

(this definition is the same for the other five normality cases on **R**^{3}).

### Change of variables

{{#invoke:see also|seealso}}

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 ; if one adopts this substitution therefore one obtains the new function .

- 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

{{#invoke:see also|seealso}}

In **R**^{2} 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:

Example 2a.The function is and applying the transformation one obtains

Example 2b.The function is , in this case one has: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 , 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 , that is the circular crown in the positiveyhalf-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:The Jacobian determinant of that transformation is the following:

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 thedx dydifferentials 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:

φ is valid in the [0, 2π] interval while ρ, which is a measure of a length, can only have positive values.

Example 2e.The function isf(x,y) =xand the domain is the same as in Example 2d. From the previous analysis ofDwe know the intervals of ρ (from 2 to 3) and of φ (from 0 to π). Now let's change the function:finally let's apply the integration formula:

Once the intervals are known, you have

#### Cylindrical coordinates

In **R**^{3} 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:

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 (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: (that is the parallelepiped whose base is similar to the rectangle in Example 2d and whose height is 5).Because the

zcomponent is unvaried during the transformation, thedx dy dzdifferentials 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:

This method is convenient in case of cylindrical or conical domains or in regions where it is easy to individuate the

zinterval and even transform the circular base and the function.

Example 3b.The function is and as integration domain this cylinder: . The transformation ofDin cylindrical coordinates is the following:while the function becomes

Finally one can apply the integration formula:

developing the formula you have

#### 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 in spherical coordinates*; the function is transformed by this relation:

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 (sphere with radius 4 and center in the origin); applying the transformation you get this region:The Jacobian determinant of this transformation is the following:

The

dx dy dzdifferentials therefore are transformed to ρ^{2}sin(φ)dρdθdφ.This yields the final integration formula:

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 **R**^{3} (please see Example 4b); in other cases it can be better to use cylindrical coordinates (please see Example 4c).

The extra and come from the Jacobian.

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

Example 4b.Dis the same region as in Example 4a and is the function to integrate. Its transformation is very easy:while we know the intervals of the transformed region

TfromD:Let's therefore apply the integration's formula:

and, developing, we get

Example 4c.The domainDis the ball with center in the origin and radius3a,and 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

Tregion are obviously:However, applying the transformation, we get

Applying the formula for integration we would obtain:

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

Tintervals arethe

zinterval has been obtained by dividing the ball in two hemispheres simply by solving the inequality from the formula ofD(and then directly transformingx^{2}+y^{2}in ρ^{2}). The new function is simply ρ^{2}. Applying the integration formulaThen we get

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

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*.

We then integrate the result with respect to *y*.

Observe that the order of integration is sometimes interchangeable:

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

### 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.

This is in agreement with the formula

**Sphere**: The volume of a sphere with radius*R*can be calculated by integrating the constant function 1 over the sphere, using spherical coordinates.

**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.

- This is in agreement with the formula

## 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

{{#invoke:see also|seealso}}
Fubini's theorem states that if^{[4]}

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

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

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

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

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

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

The notation

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 *D* ⊆ **R**^{n} and an integrable function *f* over *D*, the average value of *f* over its domain is given by

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:

The gravitational potential associated with a mass distribution given by a mass measure *dm* on three-dimensional Euclidean space **R**^{3} is^{[5]}

If there is a continuous function ρ(**x**) representing the density of the distribution at **x**, so that Template:Nowrap begin*dm*(**x**) = ρ(**x**)*d*^{ 3}**x**Template:Nowrap end, where *d*^{ 3}**x** is the Euclidean volume element, then the gravitational potential is

In electromagnetism, Maxwell's equations can be written using multiple integrals to calculate the total magnetic and electric fields.^{[6]} In the following example, the electric field produced by a distribution of charges given by the volume charge density is obtained by a *triple integral* of a vector function:

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

## See also

- Main analysis theorems that relate multiple integrals:

## References

- ↑
^{1.0}^{1.1}^{1.2}Stewart, James (2008).*Calculus: Early Transcendentals*, 6th ed., Brooks Cole Cengage Learning. ISBN 978-0-495-01166-8 - ↑ Larson/Edwards (2014)/
*Multivariable Calculus*, 10th ed., Cengage Learning. ISBN 978-1-285-08575-3 - ↑ {{#invoke:citation/CS1|citation |CitationClass=book }}
- ↑
^{4.0}^{4.1}Jones, Frank (2001),*Lebesgue Integration on Euclidean Space*, Jones and Bartlett publishers, pp. 527–529. - ↑ {{#invoke:citation/CS1|citation |CitationClass=book }}
- ↑ {{#invoke:citation/CS1|citation |CitationClass=book }}

## Further reading

- Robert A. Adams - Calculus: A Complete Course (5th Edition) ISBN 0-201-79131-5.
- R.K.Jain and S.R.K Iyengar- Advanced Engineering Mathematics (Third edition) 2009, Narosa Publishing House ISBN 978-81-7319-730-7

## External links

- Weisstein, Eric W., "Multiple Integral",
*MathWorld*. - {{#invoke:citation/CS1|citation

|CitationClass=citation }}

- Mathematical Assistant on Web online evaluation of double integrals in Cartesian coordinates and polar coordinates (includes intermediate steps in the solution, powered by Maxima (software))