Skip to content

Multiple Integrals

🔢 Multiple Integrals

Multiple integrals allow us to calculate areas, volumes, masses, and other quantities over regions of two or more dimensions.


🟢 1. Double Integrals (\iint)

The double integral of a function f(x,y)f(x, y) over a region RR in the xyxy-plane represents the volume of the solid below the surface z=f(x,y)z = f(x, y) and above RR. Rf(x,y)dA\iint_R f(x, y) dA

Fubini’s Theorem

For a rectangular region R=[a,b]×[c,d]R = [a, b] \times [c, d], we can evaluate the double integral as an iterated integral: Rf(x,y)dA=abcdf(x,y)dydx=cdabf(x,y)dxdy\iint_R f(x, y) dA = \int_a^b \int_c^d f(x, y) dy dx = \int_c^d \int_a^b f(x, y) dx dy


🟡 2. Double Integrals in Polar Coordinates

When the region RR is circular or disk-like, polar coordinates are often simpler.

  • x=rcos(θ)x = r \cos(\theta)
  • y=rsin(θ)y = r \sin(\theta)
  • Area element: dA=rdrdθdA = r dr d\theta

Rf(x,y)dA=Rf(rcosθ,rsinθ)rdrdθ\iint_R f(x, y) dA = \iint_{R'} f(r \cos\theta, r \sin\theta) \cdot r dr d\theta


🔴 3. Triple Integrals (\iiint)

Triple integrals calculate the sum of values of f(x,y,z)f(x, y, z) over a 3D region EE. Ef(x,y,z)dV\iiint_E f(x, y, z) dV

Coordinate Systems for 3D

  • Cylindrical (r,θ,zr, \theta, z): Used for solids with axis symmetry. dV=rdzdrdθdV = r dz dr d\theta.
  • Spherical (ρ,ϕ,θ\rho, \phi, \theta): Used for spheres or cones. dV=ρ2sinϕdρdϕdθdV = \rho^2 \sin\phi d\rho d\phi d\theta.

🎯 4. Change of Variables & The Jacobian

When changing coordinate systems (from u,vu, v to x,yx, y), we scale the integral by the Jacobian: Rf(x,y)dxdy=Rf(x(u,v),y(u,v))(x,y)(u,v)dudv\iint_R f(x, y) dx dy = \iint_{R'} f(x(u, v), y(u, v)) \cdot \left| \frac{\partial(x, y)}{\partial(u, v)} \right| du dv

The Jacobian determinant (x,y)(u,v)\left| \frac{\partial(x, y)}{\partial(u, v)} \right| represents the “area-scaling factor” of the transformation.


💡 Practical Example: Mass Calculation (Numerical Integration)

If f(x,y)f(x, y) represents the density of a thin plate, the double integral over the region gives the total mass.

import numpy as np

def calculate_mass_grid(density_func, x_range, y_range, n_pts):
    x = np.linspace(x_range[0], x_range[1], n_pts)
    y = np.linspace(y_range[0], y_range[1], n_pts)
    dx = x[1] - x[0]
    dy = y[1] - y[0]
    
    X, Y = np.meshgrid(x, y)
    Z = density_func(X, Y)
    
    # 2D approximation (simple sum)
    mass = np.sum(Z) * dx * dy
    return mass

# Example: Density f(x, y) = x*y on [0, 1]x[0, 1]
# Analytical: 1/2 * 1/2 = 0.25
mass = calculate_mass_grid(lambda x, y: x*y, (0, 1), (0, 1), 500)
print(f"Approximated Mass: {mass}")

🚀 Key Takeaways

  • Double integrals find volume under a surface.
  • Iterated integrals let us solve one variable at a time.
  • Choosing the right coordinate system (Polar/Spherical) makes integration much easier.