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 ()
The double integral of a function over a region in the -plane represents the volume of the solid below the surface and above .
Fubini’s Theorem
For a rectangular region , we can evaluate the double integral as an iterated integral:
🟡 2. Double Integrals in Polar Coordinates
When the region is circular or disk-like, polar coordinates are often simpler.
- Area element:
🔴 3. Triple Integrals ()
Triple integrals calculate the sum of values of over a 3D region .
Coordinate Systems for 3D
- Cylindrical (): Used for solids with axis symmetry. .
- Spherical (): Used for spheres or cones. .
🎯 4. Change of Variables & The Jacobian
When changing coordinate systems (from to ), we scale the integral by the Jacobian:
The Jacobian determinant represents the “area-scaling factor” of the transformation.
💡 Practical Example: Mass Calculation (Numerical Integration)
If 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.