Multivariable calculus
Triple Integral of xyz over the Unit Cube
The triple integral of xyz over the unit cube, with x, y and z each running from 0 to 1, is 1/8, or 0.125. The integrand is one function of x times one of y times one of z, and the limits are constants, so the answer is the product of three separate integrals, each equal to 1/2.
Numerically 0.125000, confirmed by quadrature on every build.
Work from the inside out
A box has constant limits in every variable, so each stage of the iterated integral is an ordinary single variable integral. Start with the innermost one, in , and treat and as fixed numbers.
That result no longer mentions . Feed it to the middle integral in , holding fixed, then to the outer integral in .
Every stage must eliminate its variable completely. If a survives into the integral, a limit was substituted wrongly.
The shortcut when the integrand factors
Because splits into a function of , a function of and a function of , and because every limit is a constant, the triple integral splits into a product of three one variable integrals.
Two conditions have to hold together, and both are easy to check before you start.
- The integrand is a product with each factor using only one variable.
- The region is a box, so no limit mentions another variable.
- Fail either one and the product form is wrong, even if the integrand looks separable.
The mistake: splitting a region that is not a box
The product trick gets used on regions where it does not apply. If runs from to instead of to , the inner integral gives , which still carries and , so there is no clean factor of to pull out.
The other slip is dropping a factor. Students compute once, then write as the answer instead of cubing it. Three integrations means three factors, and each one has to appear.
A quick sanity check catches both. On the unit cube the volume is , and stays between and inside, so the answer has to land between and . It does, at .
Frequently asked questions
Does the order of integration change the answer?
No. On a box with constant limits, Fubini's theorem says all six orders give the same value, so and both give . Pick whichever order makes the inner antiderivative easiest.
What does 1/8 mean here?
The cube has volume , so the average value of on it is . If were a density in grams per cubic unit, the same number would be the total mass of the cube.