Multiple integration extends the concept of the definite integral to functions of several variables defined on regions in . This lesson develops the theory with analytical rigor, progressing from Riemann sums to the Change of Variables Theorem.
1. Riemann Integration in
Let be an -dimensional closed box defined by the Cartesian product of intervals: The -dimensional volume (measure) of is .
Partitions and Riemann Sums
A partition of is a collection of sub-boxes obtained by partitioning each interval into sub-intervals. The mesh size of , denoted , is the maximum diameter of any sub-box .
For a bounded function , we define the Riemann sum relative to a partition and a set of sample points as:
The Definite Integral
The function is Riemann integrable on if there exists a number such that for every , there exists such that for any partition with and any choice of sample points : We denote this value as or .
2. Iterated Integrals and Fubini’s Theorem
Fubini’s Theorem provides the theoretical justification for evaluating multiple integrals via successive univariate integrations.
Theorem (Fubini): Let and be closed boxes, and let be continuous. Then:
Rigorous Caveat: Continuity is a sufficient but not necessary condition. More generally, if is Lebesgue integrable on , the iterated integrals exist and match the double integral almost everywhere. However, if is not in (absolutely integrable), the order of integration can lead to different results, notably in cases like , where the integral depends on the path to the origin.
3. The Change of Variables Theorem
The most powerful tool in multi-variable integration is the general Change of Variables Theorem, which generalizes the -substitution of single-variable calculus.
Theorem: Let be an open set and be a diffeomorphism (injective with a continuous inverse). If is integrable on the region , then: where is the Jacobian matrix of at .
The Jacobian Determinant
The term represents the local volume expansion factor.
Proof Sketch: At any point , the map can be approximated by its linearization: Under a linear transformation represented by matrix , the volume of the image of a set is . Thus, a small -box in the -space with volume is mapped to a region in the -space with volume approximately . Summing these infinitesimal volumes yields the integral identity.
4. Standard Coordinate Systems
Applying the Change of Variables theorem to common geometries leads to specific Jacobian factors:
Polar Coordinates ()
Mapping: Jacobian:
Cylindrical Coordinates ()
Mapping: Jacobian:
Spherical Coordinates ()
Mapping: Where is radius, is the polar angle (from -axis), and is the azimuthal angle. Jacobian determinant:
5. Improper Multiple Integrals
An integral over an unbounded region is defined via a sequence of bounded regions such that and : For the integral to be well-defined (independent of the sequence ), the function must be absolutely integrable (). A classic example is the Gaussian integral:
6. Numerical Methods: Monte Carlo Integration
In high dimensions (), traditional grid-based methods (like Simpson’s rule) suffer from the “curse of dimensionality,” where the number of points required grows exponentially. Monte Carlo integration provides an alternative.
By the Law of Large Numbers, the integral of over a region of volume is approximated by: where are points sampled uniformly from . The error scales as , regardless of the dimension .
Implementation in Python
The following example uses scipy.integrate.tplquad to compute the mass of a solid with a variable density function over the unit cube.
import numpy as np
from scipy.integrate import tplquad
# Density function
def density(z, y, x):
return x**2 + y**2 + z**2
# Bounds for the unit cube [0, 1]x[0, 1]x[0, 1]
# Note: tplquad takes arguments in order (func, q, r, gfun, hfun, qfun, rfun)
# where q, r are outer bounds, g, h are middle, q, r are inner.
mass, error = tplquad(density, 0, 1, lambda x: 0, lambda x: 1,
lambda x, y: 0, lambda x, y: 1)
print(f"Computed Mass: {mass:.6f}")
print(f"Estimated Error: {error:.6e}")
# Theoretical value: Integral of x^2 + y^2 + z^2 from 0 to 1
# = [x^3/3] + [y^3/3] + [z^3/3] = 1/3 + 1/3 + 1/3 = 1.0