Double Integral Calculator

Compute double integrals over rectangular regions, polar coordinates, and general type-I/II regions. Calculate volume under surface, mass, and centroid.

∫∫ f(x,y) dA over rectangle (numerical approx.)
Volume under surface z=f(x,y) (if f≥0)
Area of rectangle
Extended More scenarios, charts & detailed breakdown
Double integral over rectangle (numerical approx.)
Professional Full parameters & maximum detail

Double Integral

∫∫ f(x,y) dA (numerical approx.)

Mass & Centroid

Mass = ∫∫ ρ dA (numerical approx.)
Centroid x̄ = ∫∫ x·ρ dA / mass
Centroid ȳ = ∫∫ y·ρ dA / mass

How to Use This Calculator

  1. Enter f(x,y) (e.g. x*y).
  2. Set x bounds [x₁, x₂] and y bounds [y₁, y₂] for the rectangle.
  3. The double integral is computed using 2D Simpson's rule.
  4. Use the Polar tab for circular/annular regions (enter f(r,θ) with variables r and t).
  5. The Professional tab computes mass and centroid with a separate density function.

Formula

2D Simpson: ∫∫ f dA ≈ (hx/3)(hy/3) Σᵢ Σⱼ wᵢwⱼ f(xᵢ,yⱼ)

Polar: ∫∫ f(r,θ)·r dr dθ (Jacobian r)

Example

∫₀¹∫₀¹ xy dA = (∫₀¹x dx)(∫₀¹y dy) = (1/2)(1/2) = 0.25. Numerical ≈ 0.25000000.

Frequently Asked Questions

  • A double integral ∫∫_R f(x,y) dA gives the signed volume under the surface z=f(x,y) over a region R in the xy-plane. It extends the single integral to two dimensions.
  • Fubini's theorem states that for continuous f on a rectangle, ∫∫ f dA = ∫∫ f dx dy = ∫∫ f dy dx — the order of integration can be reversed. The tool verifies this numerically.
  • A 2D version of Simpson's rule is applied: the x and y intervals are each divided into n subintervals and the 2D weighted sum is evaluated. With nx=ny=50 this gives good accuracy for smooth functions.
  • When changing to polar coordinates x=r·cos(θ), y=r·sin(θ), the area element becomes dA = r dr dθ. The extra factor r is the Jacobian.
  • Mass = ∫∫ ρ(x,y) dA, where ρ is the density. The Professional tab accepts a separate density function and also computes the centroid (x̄, ȳ).

Related Calculators

Sources & References (5)
  1. Double Integrals — Paul's Online Math Notes — Lamar University
  2. MIT OCW 18.02 Double Integrals — MIT
  3. Double Integrals — Khan Academy — Khan Academy
  4. Multiple Integral — Wolfram MathWorld — Wolfram MathWorld
  5. Stewart's Multivariable Calculus (reference) — Cengage / Stewart