Calculus · real student question

Evaluate the triple integral of xyz times e to the power minus (x + y + z), over the region 0 ≤ x ≤ k, 0 ≤ y ≤ k − x, 0 ≤ z ≤ k − x − y.

Question

Evaluate

I=0k ⁣ ⁣0kx ⁣ ⁣0kxyxyzexyzdzdydxI = \int_0^k\!\!\int_0^{k-x}\!\!\int_0^{k-x-y} xyz\,e^{-x-y-z}\,dz\,dy\,dx

Step-by-step solution

  1. Recognise the region as a tetrahedron. The nested limits are exactly the conditions

    x0,y0,z0,x+y+zkx \ge 0, \quad y \ge 0, \quad z \ge 0, \quad x + y + z \le k

    the simplex with vertices at the origin and (k,0,0)(k,0,0), (0,k,0)(0,k,0), (0,0,k)(0,0,k). Seeing it this way is what lets the exponential, which depends only on x+y+zx+y+z, be pulled out along level surfaces.

  2. Use the fact that the exponential is constant on each slice. Write u=x+y+zu = x + y + z. On the slice where x+y+z=ux+y+z = u the factor eue^{-u} is constant, so the integral reduces to a single integral in uu once the "amount" of xyzxyz on each slice is known.

  3. Compute the weight of xyz on the sub-simplex. The scaling law gives

    x+y+zuxyzdV=u6720\int_{x+y+z\le u} xyz\,dV = \frac{u^6}{720}

    (a homogeneous degree-3 integrand over a 3-dimensional region scales as u3+3=u6u^{3+3} = u^6; the constant is 1720=1!1!1!6!\frac{1}{720} = \frac{1!\,1!\,1!}{6!} from the Dirichlet integral). Differentiating with respect to uu gives the density on the slice, u5120\frac{u^5}{120}.

  4. Reduce to a one-dimensional integral.

    I=11200ku5euduI = \frac{1}{120}\int_0^k u^5 e^{-u}\,du

    This is an incomplete gamma integral, and repeated integration by parts (or the standard antiderivative) gives

    u5eudu=eu(u5+5u4+20u3+60u2+120u+120)\int u^5 e^{-u}\,du = -e^{-u}\left(u^5 + 5u^4 + 20u^3 + 60u^2 + 120u + 120\right)

  5. Evaluate between 0 and k.

    0ku5eudu=120ek(k5+5k4+20k3+60k2+120k+120)\int_0^k u^5 e^{-u}\,du = 120 - e^{-k}\left(k^5 + 5k^4 + 20k^3 + 60k^2 + 120k + 120\right)

    Dividing by 120120:

    I=1ek(1+k+k22+k36+k424+k5120)I = 1 - e^{-k}\left(1 + k + \frac{k^2}{2} + \frac{k^3}{6} + \frac{k^4}{24} + \frac{k^5}{120}\right)

    The bracket is the first six terms of the Maclaurin series for eke^{k} — this is the regularised incomplete gamma function P(6,k)P(6, k), equivalently the probability that a Poisson variable with mean kk is at least 66.

  6. Check numerically and at the limits. As kk \to \infty, I1I \to 1; as k0k \to 0, I0I \to 0. Direct nested quadrature over the tetrahedron gives 0.00059418480.0005941848 at k=1k = 1, 0.04202103820.0420210382 at k=2.5k = 2.5 and 0.38403934520.3840393452 at k=5k = 5, matching the closed form to ten decimals in each case.

Answer

1ek(1+k+k22+k36+k424+k5120)1 - e^{-k}\left(1 + k + \frac{k^2}{2} + \frac{k^3}{6} + \frac{k^4}{24} + \frac{k^5}{120}\right)

Need to solve a different problem like this? Open the solver →