Calculus · real student question

Evaluate the triple integral of (3a·z²·sin y + 2z³·sin y·cos y) over the box 0 ≤ x ≤ 2π, π/2 ≤ y ≤ π, 0 ≤ z ≤ a, where a is a positive constant.

Question

Evaluate

02π ⁣π/2π ⁣0a(3az2siny+2z3sinycosy)dzdydx,\int_{0}^{2\pi}\!\int_{\pi/2}^{\pi}\!\int_{0}^{a}\bigl(3az^{2}\sin y+2z^{3}\sin y\cos y\bigr)\,dz\,dy\,dx,

where a>0a>0 is a constant.

Step-by-step solution

  1. Exploit the missing variable. The integrand contains no xx at all, and the xx-limits are constants. The outer integration therefore contributes only the length of the interval:

    I=2ππ/2π ⁣0a(3az2siny+2z3sinycosy)dzdy.I=2\pi\int_{\pi/2}^{\pi}\!\int_{0}^{a}\bigl(3az^{2}\sin y+2z^{3}\sin y\cos y\bigr)\,dz\,dy.

    Spotting this first removes a whole variable before any real work starts.

  2. Integrate in zz, treating siny\sin y and cosy\cos y as constants. Both terms are pure powers of zz:

    0a3az2dz=3aa33=a4,0a2z3dz=2a44=a42.\int_{0}^{a}3az^{2}\,dz=3a\cdot\frac{a^{3}}{3}=a^{4},\qquad \int_{0}^{a}2z^{3}\,dz=2\cdot\frac{a^{4}}{4}=\frac{a^{4}}{2}.

    So the inner integral is

    a4siny+a42sinycosy=a4(siny+12sinycosy).a^{4}\sin y+\frac{a^{4}}{2}\sin y\cos y=a^{4}\Bigl(\sin y+\tfrac12\sin y\cos y\Bigr).

    Note the parameter aa factors out completely as a4a^{4} — the answer must be proportional to a4a^{4}.

  3. Integrate the first trigonometric piece over [π/2,π][\pi/2,\pi].

    π/2πsinydy=[cosy]π/2π=(1)(0)=1.\int_{\pi/2}^{\pi}\sin y\,dy=\bigl[-\cos y\bigr]_{\pi/2}^{\pi}=-(-1)-(0)=1.

  4. Integrate the second piece by substitution. With u=cosyu=\cos y, du=sinydydu=-\sin y\,dy, so sinycosydy=u22=cos2y2\int\sin y\cos y\,dy=-\tfrac{u^{2}}{2}=-\tfrac{\cos^{2}y}{2}. Hence

    12π/2πsinycosydy=12[cos2y2]π/2π=14(10)=14.\frac12\int_{\pi/2}^{\pi}\sin y\cos y\,dy=\frac12\left[-\frac{\cos^{2}y}{2}\right]_{\pi/2}^{\pi}=-\frac14\bigl(1-0\bigr)=-\frac14.

    The negative sign is expected: on (π/2,π)(\pi/2,\pi) the sine is positive but the cosine is negative, so the product integrates to something negative.

  5. Combine the three factors. The yy-integral is 114=341-\tfrac14=\tfrac34, so

    I=2πa434=3πa42.I=2\pi\cdot a^{4}\cdot\frac34=\frac{3\pi a^{4}}{2}.

    Substituting a=2a=2 and evaluating the original triple integral by adaptive numerical quadrature returns 75.39822475.398224, and 32π24=24π=75.398224\tfrac32\pi\cdot 2^{4}=24\pi=75.398224 — the two agree.

Answer

3πa42\frac{3\pi a^{4}}{2}

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