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 R2 are called double integrals.
- 1 Introduction
- 2 Mathematical definition
- 3 Methods of integration
- 4 Examples
- 5 Multiple improper integral
- 6 Multiple integrals and iterated integrals
- 7 Some practical applications
- 8 See also
- 9 Free software for multidimensional numerical integration
- 10 References
- 11 External links
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.) If there are more variables, a multiple integral will yield hypervolumes of multi-dimensional functions.
Multiple integration of a function in n variables: f(x1, x2, ..., 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:
For n > 1, consider a so-called "half-open" n-dimensional hyperrectangular domain T, defined as:
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
is a partition of T; that is, the subrectangles Ck 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 Cm and
We can approximate the total nth-dimensional volume bounded below by T and above by f with the following Riemann sum:
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
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
Frequently this notation is abbreviated as
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.
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.
In the case of T ⊆ R2, the integral
is the double integral of f on T, and if T ⊆ R3 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. 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
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 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:
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(x, y, z) = 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 β.
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:
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:
Consider the region (please see the graphic in the example):
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 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
(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 ; 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 R2, two in R3); however, more general substitutions can be made using the same principle.
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:
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 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:
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 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:
φ 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 let's change the function:
finally let's apply the integration formula:
Once the intervals are known, you have
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:
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 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:
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 and as integration domain this cylinder: . The transformation of D in cylindrical coordinates is the following:
while the function becomes
Finally one can apply the integration formula:
developing the formula you have
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:
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 dz differentials therefore are transformed to ρ2 sin(φ) dρ dθ dφ.
Finally you obtain 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 R3 (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. D is 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 T from D:
Let's therefore apply the integration's formula:
and, developing, we get
Example 4c. The domain D is the ball with center in the origin and radius 3a,
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 T region 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 T intervals are
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
Then 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.
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.
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.
- By calculating the triple integral of the constant function 1 over the parallelepiped itself
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
Fubini's theorem states that if
that is, if the integral is absolutely convergent, then the multiple integral will give the same result as the iterated integral,
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.
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 ⊆ Rn 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.
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
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 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.
- Main analysis theorems that relate multiple integrals:
Free software for multidimensional numerical integration
- interalg: a solver from OpenOpt/FuncDesigner frameworks, based on interval analysis, license: BSD (free for any purposes)
- Cuba is a free-software library of several multi-dimensional integration algorithms
- Cubature code for adaptive multi-dimensional integration
- 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
- Weisstein, Eric W., "Multiple Integral", MathWorld.
- L.D. Kudryavtsev (2001), "Multiple integral", in Hazewinkel, Michiel, Encyclopedia of Mathematics, Springer, ISBN 978-1-55608-010-4
- 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))