Double Integral Numeric

Enter f(x,y), set x and y bounds, and get a numeric approximation of the double integral using a 2D Riemann sum.

Configure Integral

Use x and y as variables. Use * for multiply.

x bounds [a, b]

y bounds [c, d]

Examples

Set the function and bounds, then click Calculate.

About the method

The tool divides the rectangle [a,b]×[c,d] into n×n sub-rectangles of equal size. For each sub-rectangle, it evaluates f at the midpoint and multiplies by the area Δx·Δy. The total is the sum of all those products — the midpoint Riemann sum. For smooth functions, error decreases as O(h²) where h = max(Δx, Δy), so doubling n roughly quarters the error.

Copied!

Summary

Enter f(x,y), set x and y bounds, and get a numeric approximation of the double integral using a 2D Riemann sum.

How it works

  1. Enter the function f(x,y) using standard notation (e.g. x*y, sin(x+y), x^2 + y^2).
  2. Set the x lower bound (a) and x upper bound (b).
  3. Set the y lower bound (c) and y upper bound (d).
  4. Choose the grid size n (number of sub-intervals per axis; higher n = more accurate).
  5. Click "Calculate" to run the 2D midpoint Riemann sum.
  6. The numeric result appears instantly with the step size and grid count used.

Use cases

  • Verify double integral results from calculus homework or textbooks.
  • Estimate volume under a surface when an antiderivative is difficult to find.
  • Compute 2D probability integrals for joint density functions.
  • Explore how integration bounds affect the integral value interactively.
  • Check symbolic CAS output against a numeric approximation.
  • Demonstrate iterated integration concepts in a classroom setting.

Frequently Asked Questions

Last updated: 2026-07-23 · Reviewed by Nham Vu