How to use the midpoint rule for triple integrals
The midpoint rule lets us estimate a triple integral from a finite set of function values. We divide the region into small boxes and evaluate the function at the center of each one. Let’s work through the process on a unit cube.
Divide the box into equal subboxes
For a rectangular box, divide the , , and intervals into , , and equal pieces, respectively. Call the widths , , and . The grid contains subboxes, each with volume
Let be the center of the subbox in positions , , and . Evaluate at each center, add those values, and multiply by the common subbox volume.
Split the unit cube into eight pieces
Estimate the integral of over . Divide each side in half to get subcubes. Their common volume is
On each axis, the midpoint of the lower half is and the midpoint of the upper half is . Choose one of those two coordinates on each axis to get a subcube center.
| Box | Center | Sine argument |
|---|---|---|
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | ||
| 5 | ||
| 6 | ||
| 7 | ||
| 8 |
Evaluate the function and add the contributions
At the first center, . The other centers give the arguments shown in the table. Group the equal arguments so that each function value is counted once for every subcube that uses it.
The sine values use radians. If represents density, the estimate is the mass within the cube. The cube itself has geometric volume .