MathLabs

Analysis

Multiple integrals

Integration over regions in two or more dimensions, computing volumes and higher-dimensional totals.

IntuitionFrom slices of area to columns of volume

A single-variable integral ∫abf(x) dx\int_a^b f(x)\,dx chops an interval into thin segments of width Δx\Delta x and sums the areas of rectangles. A double integral ∬Df(x,y) dA\iint_D f(x,y)\,dA extends the exact same idea to a two-dimensional domain DD: we tile DD with tiny rectangles of area ΔA=Δx Δy\Delta A = \Delta x\,\Delta y, erect a thin column of height f(xi,yj)f(x_i,y_j) over each tile, and let the grid refine. Adding up the columns gives the signed volume under the surface z=f(x,y)z = f(x,y), or the total mass of a plate whose surface density is f(x,y)f(x,y).

Interactive 3D surface plot representing the volume accumulated by a double integral over a 2D domain.
The surface z=f(x,y)z = f(x,y) over a planar domain DD: the double integral ∬Df(x,y) dA\iint_D f(x,y)\,dA accumulates the volume of vertical columns under the surface, and Fubini's theorem computes it by integrating slice by slice.

UndergraduateFormal definitions: Double and triple integrals, Fubini reduction, and Jacobians

Definition: Double and triple Riemann integrals

For a bounded function f:D⊆R2→Rf : D \subseteq \mathbb{R}^2 \to \mathbb{R} on a bounded measurable domain DD, the double integral ∬Df(x,y) dA\iint_D f(x,y)\,dA is the limit of Riemann sums ∑i,jf(xi∗,yj∗) Δxi Δyj\sum_{i,j} f(x_i^*, y_j^*)\,\Delta x_i\,\Delta y_j as the mesh size of the partition approaches 00. Analogously, over a solid region E⊆R3E \subseteq \mathbb{R}^3, the triple integral ∭Ef(x,y,z) dV\iiint_E f(x,y,z)\,dV sums over small boxes of volume ΔV=Δx Δy Δz\Delta V = \Delta x\,\Delta y\,\Delta z.

∬Df(x,y) dA=∫ab(∫g1(x)g2(x)f(x,y) dy)dx=∫cd(∫h1(y)h2(y)f(x,y) dx)dy\iint_D f(x,y)\,dA = \int_a^b \left(\int_{g_1(x)}^{g_2(x)} f(x,y)\,dy\right) dx = \int_c^d \left(\int_{h_1(y)}^{h_2(y)} f(x,y)\,dx\right) dy

When a region is circular, cylindrical, or spherical, a smooth coordinate transformation Φ(u,v)=(x(u,v),y(u,v))\Phi(u,v) = (x(u,v), y(u,v)) simplifies the boundary limits. Under Φ\Phi, a tiny du×dvdu \times dv rectangle is stretched and sheared into a parallelogram whose area is scaled by the absolute value of the Jacobian determinant ∣det⁡DΦ∣=∣∂(x,y)∂(u,v)∣|\det D\Phi| = \left|\frac{\partial(x,y)}{\partial(u,v)}\right|. In polar coordinates (x,y)=(rcos⁡θ,rsin⁡θ)(x,y) = (r\cos\theta, r\sin\theta) this factor is rr, and in spherical coordinates (x,y,z)=(ρsin⁡φcos⁡θ,ρsin⁡φsin⁡θ,ρcos⁡φ)(x,y,z) = (\rho\sin\varphi\cos\theta, \rho\sin\varphi\sin\theta, \rho\cos\varphi) it is ρ2sin⁡φ\rho^2\sin\varphi.

∬Φ(U)f(x,y) dx dy=∬Uf(Φ(u,v)) ∣det⁡DΦ(u,v)∣ du dv,∫−∞∞e−x2 dx=π\iint_{\Phi(U)} f(x,y)\,dx\,dy = \iint_U f(\Phi(u,v))\,|\det D\Phi(u,v)|\,du\,dv, \qquad \int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi}
Coordinate systems and Jacobian volume elements in 2D and 3D
Coordinate systemTransformationDifferential element
Cartesian 2D(x,y)(x,y)dA=dx dydA = dx\,dy
Polar 2Dx=rcos⁡θ,  y=rsin⁡θx = r\cos\theta,\; y = r\sin\thetadA=r dr dθdA = r\,dr\,d\theta
Cylindrical 3Dx=rcos⁡θ,  y=rsin⁡θ,  z=zx = r\cos\theta,\; y = r\sin\theta,\; z = zdV=r dr dθ dzdV = r\,dr\,d\theta\,dz
Spherical 3Dx=ρsin⁡φcos⁡θ,  y=ρsin⁡φsin⁡θ,  z=ρcos⁡φx = \rho\sin\varphi\cos\theta,\; y = \rho\sin\varphi\sin\theta,\; z = \rho\cos\varphidV=ρ2sin⁡φ dρ dφ dθdV = \rho^2\sin\varphi\,d\rho\,d\varphi\,d\theta

UndergraduateCore theorems: Fubini's theorem and Jacobian change of variables

If f(x,y)f(x,y) is continuous on the rectangle R=[a,b]×[c,d]R = [a,b] \times [c,d], then the double integral equals both iterated single integrals: ∬Rf(x,y) dA=∫ab(∫cdf(x,y) dy)dx=∫cd(∫abf(x,y) dx)dy\iint_R f(x,y)\,dA = \int_a^b \left(\int_c^d f(x,y)\,dy\right) dx = \int_c^d \left(\int_a^b f(x,y)\,dx\right) dy. More generally, on a vertically simple region D={(x,y):a≤x≤b,  g1(x)≤y≤g2(x)}D = \{(x,y) : a \le x \le b,\; g_1(x) \le y \le g_2(x)\}, we have ∬Df(x,y) dA=∫ab∫g1(x)g2(x)f(x,y) dy dx\iint_D f(x,y)\,dA = \int_a^b \int_{g_1(x)}^{g_2(x)} f(x,y)\,dy\,dx.

Why is it true?

Computing a volume by summing tiny boxes in a grid gives the same answer whether you first add each column along yy to get cross-sectional slice areas A(x)A(x) and then integrate A(x)A(x) along xx, or slice perpendicular to the yy-axis first.

Proof

Partition [a,b][a,b] into mm subintervals [xi−1,xi][x_{i-1}, x_i] of width Δx\Delta x and [c,d][c,d] into nn subintervals [yj−1,yj][y_{j-1}, y_j] of width Δy\Delta y. For each fixed xx, define the cross-sectional integral A(x)=∫cdf(x,y) dyA(x) = \int_c^d f(x,y)\,dy. By the Mean Value Theorem for integrals, on each strip [yj−1,yj][y_{j-1}, y_j] there is yij∗∈[yj−1,yj]y_{ij}^* \in [y_{j-1}, y_j] such that ∫yj−1yjf(xi,y) dy=f(xi,yij∗) Δy\int_{y_{j-1}}^{y_j} f(x_i, y)\,dy = f(x_i, y_{ij}^*)\,\Delta y.

Summing over j=1,…,nj = 1, \dots, n gives A(xi)=∑j=1nf(xi,yij∗) ΔyA(x_i) = \sum_{j=1}^n f(x_i, y_{ij}^*)\,\Delta y. Multiplying by Δx\Delta x and summing over i=1,…,mi = 1, \dots, m yields ∑i=1mA(xi) Δx=∑i=1m∑j=1nf(xi,yij∗) Δx Δy\sum_{i=1}^m A(x_i)\,\Delta x = \sum_{i=1}^m \sum_{j=1}^n f(x_i, y_{ij}^*)\,\Delta x\,\Delta y. Because ff is uniformly continuous on the compact rectangle RR, letting Δx,Δy→0\Delta x, \Delta y \to 0 makes the left-hand side converge to ∫abA(x) dx=∫ab(∫cdf(x,y) dy)dx\int_a^b A(x)\,dx = \int_a^b \left(\int_c^d f(x,y)\,dy\right) dx while the right-hand side converges to ∬Rf(x,y) dA\iint_R f(x,y)\,dA. Repeating the argument with xx and yy swapped establishes equality with the other order of integration.

Let Φ:U→Φ(U)⊆R2\Phi : U \to \Phi(U) \subseteq \mathbb{R}^2 be a C1C^1 diffeomorphism with Jacobian matrix DΦ(u,v)=(xuxvyuyv)D\Phi(u,v) = \begin{pmatrix} x_u & x_v \\ y_u & y_v \end{pmatrix}. For any integrable function ff on Φ(U)\Phi(U), we have ∬Φ(U)f(x,y) dx dy=∬Uf(x(u,v),y(u,v)) ∣det⁡DΦ(u,v)∣ du dv\iint_{\Phi(U)} f(x,y)\,dx\,dy = \iint_U f(x(u,v), y(u,v))\,|\det D\Phi(u,v)|\,du\,dv, where det⁡DΦ=xuyv−xvyu\det D\Phi = x_u y_v - x_v y_u.

Why is it true?

Just as dx=g′(u) dudx = g'(u)\,du rescales length in one-variable substitution, ∣det⁡DΦ(u,v)∣|\det D\Phi(u,v)| measures the local area-stretching ratio when a tiny (u,v)(u,v)-rectangle is mapped to an (x,y)(x,y)-parallelogram.

Proof

Consider a small rectangle Rij=[ui,ui+Δu]×[vj,vj+Δv]R_{ij} = [u_i, u_i + \Delta u] \times [v_j, v_j + \Delta v] in UU. By first-order Taylor expansion around (ui,vj)(u_i, v_j), the edges (Δu,0)( \Delta u, 0 ) and (0,Δv)( 0, \Delta v ) map approximately to the tangent vectors a=Φu(ui,vj) Δu=(xu,yu) Δu\mathbf{a} = \Phi_u(u_i,v_j)\,\Delta u = (x_u, y_u)\,\Delta u and b=Φv(ui,vj) Δv=(xv,yv) Δv\mathbf{b} = \Phi_v(u_i,v_j)\,\Delta v = (x_v, y_v)\,\Delta v. The area of the parallelogram spanned by a\mathbf{a} and b\mathbf{b} in R2\mathbb{R}^2 equals ∣xuyv−xvyu∣ Δu Δv=∣det⁡DΦ(ui,vj)∣ Δu Δv|x_u y_v - x_v y_u|\,\Delta u\,\Delta v = |\det D\Phi(u_i, v_j)|\,\Delta u\,\Delta v up to higher-order error o(Δu Δv)o(\Delta u\,\Delta v).

Substituting ΔAij≈∣det⁡DΦ(ui,vj)∣ Δu Δv\Delta A_{ij} \approx |\det D\Phi(u_i, v_j)|\,\Delta u\,\Delta v into the Riemann sum ∑i,jf(Φ(ui,vj)) ΔAij\sum_{i,j} f(\Phi(u_i, v_j))\,\Delta A_{ij} yields ∑i,jf(Φ(ui,vj)) ∣det⁡DΦ(ui,vj)∣ Δu Δv\sum_{i,j} f(\Phi(u_i, v_j))\,|\det D\Phi(u_i, v_j)|\,\Delta u\,\Delta v. In particular, for polar coordinates x=rcos⁡θx = r\cos\theta, y=rsin⁡θy = r\sin\theta, we have det⁡DΦ=(cos⁡θ)(rcos⁡θ)−(−rsin⁡θ)(sin⁡θ)=r(cos⁡2θ+sin⁡2θ)=r\det D\Phi = (\cos\theta)(r\cos\theta) - (-r\sin\theta)(\sin\theta) = r(\cos^2\theta + \sin^2\theta) = r, giving dx dy=r dr dθdx\,dy = r\,dr\,d\theta.

UndergraduateReal-World Applications and Worked Examples

Multiple integrals appear across physics, probability, and engineering: in mechanics, triple integrals compute the total mass M=∭Eρ(x,y,z) dVM = \iiint_E \rho(x,y,z)\,dV, center of mass, and moment of inertia Iz=∭E(x2+y2)ρ dVI_z = \iiint_E (x^2+y^2)\rho\,dV of rotating machinery; in probability and statistics, normalizing the normal distribution relies on the Gaussian integral ∫−∞∞e−x2 dx=π\int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi}, proved by squaring into a double integral in polar coordinates; and in astrophysics and electromagnetism, spherical integrals ρ2sin⁡φ dρ dφ dθ\rho^2\sin\varphi\,d\rho\,d\varphi\,d\theta integrate gravitational and charge distributions over stars and planets.

Example: Reversing the order of integration when the inner integral has no elementary antiderivative

Evaluate the iterated integral I=∫01∫y1ex2 dx dyI = \int_0^1 \int_y^1 e^{x^2}\,dx\,dy by sketching the region of integration and reversing the order of integration via Fubini's theorem.

Solution

The inner integral ∫y1ex2 dx\int_y^1 e^{x^2}\,dx cannot be evaluated directly in closed form because ex2e^{x^2} has no elementary antiderivative. However, the inequalities 0≤y≤10 \le y \le 1 and y≤x≤1y \le x \le 1 describe the triangle D={(x,y):0≤x≤1,  0≤y≤x}D = \{(x,y) : 0 \le x \le 1,\; 0 \le y \le x\}.

By Fubini's theorem, slicing vertically first rewrites the integral as I=∫01(∫0xex2 dy)dx=∫01xex2 dxI = \int_0^1 \left(\int_0^x e^{x^2}\,dy\right) dx = \int_0^1 x e^{x^2}\,dx. Now substitute u=x2u = x^2, du=2x dxdu = 2x\,dx to obtain I=[12ex2]01=e−12I = \left[\frac{1}{2}e^{x^2}\right]_0^1 = \frac{e - 1}{2}.

Example: Evaluating the Gaussian integral via polar coordinates

Prove the Gaussian integral formula I=∫−∞∞e−x2 dx=πI = \int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi} by expressing I2I^2 as a double integral over R2\mathbb{R}^2 and converting to polar coordinates.

Solution

Write the product of two independent copies of II using dummy variables xx and yy: I2=(∫−∞∞e−x2 dx)(∫−∞∞e−y2 dy)=∬R2e−(x2+y2) dx dyI^2 = \left(\int_{-\infty}^{\infty} e^{-x^2}\,dx\right)\left(\int_{-\infty}^{\infty} e^{-y^2}\,dy\right) = \iint_{\mathbb{R}^2} e^{-(x^2+y^2)}\,dx\,dy.

Switch to polar coordinates x=rcos⁡θx = r\cos\theta, y=rsin⁡θy = r\sin\theta with 0≤r<∞0 \le r < \infty, 0≤θ≤2π0 \le \theta \le 2\pi, and Jacobian factor dx dy=r dr dθdx\,dy = r\,dr\,d\theta. Then I2=∫02π∫0∞e−r2r dr dθ=2π[−12e−r2]0∞=2π⋅12=πI^2 = \int_0^{2\pi} \int_0^{\infty} e^{-r^2} r\,dr\,d\theta = 2\pi \left[-\frac{1}{2}e^{-r^2}\right]_0^{\infty} = 2\pi \cdot \frac{1}{2} = \pi. Since e−x2>0e^{-x^2} > 0, taking the positive square root yields I=πI = \sqrt{\pi}.

Evaluate the double integral ∬R(2x+4y) dA\iint_R (2x + 4y)\,dA over the rectangle R=[0,2]×[0,1]R = [0, 2] \times [0, 1].

When reversing the order of integration in ∫02∫x24f(x,y) dy dx\int_0^2 \int_{x^2}^4 f(x,y)\,dy\,dx, which iterated integral is obtained?

In 3D spherical coordinates (x,y,z)=(ρsin⁡φcos⁡θ,ρsin⁡φsin⁡θ,ρcos⁡φ)(x,y,z) = (\rho\sin\varphi\cos\theta, \rho\sin\varphi\sin\theta, \rho\cos\varphi), what is the volume element dVdV?

Using the Gaussian integral ∫−∞∞e−x2 dx=π\int_{-\infty}^{\infty} e^{-x^2}\,dx = \sqrt{\pi}, what is the value of the 2D probability integral ∬R2e−(x2+y2)/2 dx dy\iint_{\mathbb{R}^2} e^{-(x^2+y^2)/2}\,dx\,dy?

References

  1. Jerrold E. Marsden, Anthony J. Tromba (2012). Vector Calculus
  2. Tom M. Apostol (1974). Mathematical Analysis
  3. Tom M. Apostol (1969). Calculus, Vol. 2: Multi-Variable Calculus and Linear Algebra with Applications