15.3.3.
\(f(x,y,z) = xe^{y - 2z}\, ; \qquad 0 \leq x \leq 2\, , \quad 0 \leq y \leq 1\, , \quad 0 \leq z \leq 1\)
Solution.
We are evaluating \(\ds \iiint_\c{B} xe^{y-2z} \, dV\) over the rectangular box \(\c{B} = [0,2] \times [0,1] \times [0,1]\text{.}\) Since all limits of integration are constants, we can set up the iterated integral in the order \(dz\, dy\, dx\text{:}\)
\begin{gather*}
\int_0^2 \int_0^1 \int_0^1 xe^{y-2z} \, dz \, dy \, dx
\end{gather*}
Evaluate the inner integral with respect to \(z\text{:}\)
\begin{align*}
\int_0^1 xe^{y-2z} \, dz \amp= \left[ -\frac{1}{2}xe^{y-2z} \right]_{z=0}^{z=1} \\
\amp= -\frac{1}{2}xe^{y-2} - \left(-\frac{1}{2}xe^{y-0}\right) \\
\amp= -\frac{1}{2}xe^{y-2} + \frac{1}{2}xe^y \\
\amp= \frac{1}{2}xe^y(1 - e^{-2})
\end{align*}
Substitute this into the middle integral and evaluate with respect to \(y\text{:}\)
\begin{align*}
\int_0^1 \frac{1}{2}xe^y(1 - e^{-2}) \, dy \amp= \frac{1}{2}x(1 - e^{-2}) \int_0^1 e^y \, dy \\
\amp= \frac{1}{2}x(1 - e^{-2}) \Big[ e^y \Big]_0^1 \\
\amp= \frac{1}{2}x(1 - e^{-2})(e - 1)
\end{align*}
Finally, substitute this into the outer integral and evaluate with respect to \(x\text{:}\)
\begin{align*}
\int_0^2 \frac{1}{2}x(1 - e^{-2})(e - 1) \, dx \amp= \frac{1}{2}(1 - e^{-2})(e - 1) \int_0^2 x \, dx \\
\amp= \frac{1}{2}(1 - e^{-2})(e - 1) \left[ \frac{1}{2}x^2 \right]_0^2 \\
\amp= \frac{1}{2}(1 - e^{-2})(e - 1) (2 - 0) \\
\amp= (1 - e^{-2})(e - 1)
\end{align*}
