Search Knowledge

© 2026 LIBREUNI PROJECT

Calculus & Analysis / Overview

Multiple Integration

Multiple Integration

In 1D calculus, we integrate over a line to find an area. In Multivariable Calculus, we integrate over a 2D region (Double Integral) to find a volume, or over a 3D region (Triple Integral) to find a total mass or charge.

Double Integrals: Volumes under Surfaces

The integral Rf(x,y)dA\iint_R f(x, y) dA represents the volume between the xyxy-plane and the surface z=f(x,y)z = f(x, y) over the region RR.

Fubini’s Theorem: If the function is nice, you can calculate the double integral by doing two “nested” single integrals in any order: abcdf(x,y)dydx=cdabf(x,y)dxdy\int_a^b \int_c^d f(x, y) dy \, dx = \int_c^d \int_a^b f(x, y) dx \, dy

The Jacobian: Scaling Space

When we change variables (e.g., from Cartesian (x,y)(x, y) to Polar (r,θ)(r, \theta)), the “infinitesimal area” dAdA changes. We use the Jacobian to account for this stretching.

  • Cartesian: dA=dxdydA = dx \, dy
  • Polar: dA=rdrdθdA = r \, dr \, d\theta

If you forget the rr in polar coordinates, your areas and volumes will be wrong!

python
1from scipy import integrate
2import numpy as np
3 
4# Let's calculate the volume of a hemisphere of radius 1
5# Surface: z = sqrt(1 - x^2 - y^2)
6# We will use SciPy to integrate over a circular region
7 
8def f(y, x):
9 if x**2 + y**2 <= 1:
10 return np.sqrt(1 - x**2 - y**2)
11 return 0
12 
13# Integrate over the square [-1, 1] x [-1, 1]
14# Note: we filter outside the circle in the function f
15volume, error = integrate.dblquad(f, -1, 1, lambda x: -1, lambda x: 1)
16 
17print(f"Calculated Volume: {volume:.4f}")
18print(f"Theoretical (2/3 * pi): { (2/3) * np.pi:.4f}")
19 

Triple Integrals and Density

If ρ(x,y,z)\rho(x, y, z) represents the density of an object at point (x,y,z)(x, y, z), the total mass of the object is the triple integral of the density over its volume VV:

M=Vρ(x,y,z)dVM = \iiint_V \rho(x, y, z) dV

Exercises

When integrating in polar coordinates, why do we include an extra 'r' factor?

What does Fubini's Theorem allow us to do?

If the density of a cube is constant ($\rho = 1$), what is the triple integral of $\rho$ over the cube's volume equal to?