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.
Integral
Result
Method
2D Midpoint Riemann Sum
Grid points evaluated
Δx step size
Δy step size
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.
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
- Enter the function f(x,y) using standard notation (e.g. x*y, sin(x+y), x^2 + y^2).
- Set the x lower bound (a) and x upper bound (b).
- Set the y lower bound (c) and y upper bound (d).
- Choose the grid size n (number of sub-intervals per axis; higher n = more accurate).
- Click "Calculate" to run the 2D midpoint Riemann sum.
- 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.