Stuck on this? Solve it with AI
Calculus · real student question

Use spherical coordinates to evaluate the triple integral of x^2 + y^2 + z^2 over the unit ball x^2 + y^2 + z^2 <= 1.

Question

Use spherical coordinates to evaluate

∭B(x2+y2+z2)dV,B={(x,y,z):x2+y2+z2≤1}\iiint_B\left(x^2+y^2+z^2\right)dV,\qquad B=\{(x,y,z):x^2+y^2+z^2\le1\}

Step-by-step solution

  1. Notice that both the integrand and the region are radially symmetric. The integrand x2+y2+z2x^2+y^2+z^2 and the boundary x2+y2+z2=1x^2+y^2+z^2=1 depend on nothing but distance from the origin. That is the definitive signal to use spherical coordinates: in Cartesian form this integral needs nested square-root limits, while in spherical form the limits are three constants.

  2. Set up the spherical substitution, including the Jacobian. With

    x=ρsin⁡ϕcos⁡θ,y=ρsin⁡ϕsin⁡θ,z=ρcos⁡ϕx=\rho\sin\phi\cos\theta,\quad y=\rho\sin\phi\sin\theta,\quad z=\rho\cos\phi

    the integrand collapses to x2+y2+z2=ρ2x^2+y^2+z^2=\rho^2, and the volume element carries the Jacobian factor

    dV=ρ2sin⁡ϕ dρ dϕ dθdV=\rho^2\sin\phi\,d\rho\,d\phi\,d\theta

    The ρ2sin⁡ϕ\rho^2\sin\phi is not optional bookkeeping — it is the local volume-stretching factor of the coordinate change, and omitting it is the most common way this integral goes wrong.

  3. Write the limits. The unit ball is described by

    0≤ρ≤1,0≤ϕ≤π,0≤θ≤2π0\le\rho\le1,\qquad 0\le\phi\le\pi,\qquad 0\le\theta\le2\pi

    Note ϕ\phi (the polar angle, measured down from the +z+z axis) runs only to π\pi, while θ\theta (the azimuthal angle) runs the full 2π2\pi. Swapping those ranges would double-count the ball.

  4. Assemble the integral and separate it. Combining the integrand with the Jacobian gives ρ2⋅ρ2sin⁡ϕ=ρ4sin⁡ϕ\rho^2\cdot\rho^2\sin\phi=\rho^4\sin\phi, so

    ∭B(x2+y2+z2)dV=∫02π ⁣ ⁣∫0π ⁣ ⁣∫01ρ4sin⁡ϕ dρ dϕ dθ\iiint_B\left(x^2+y^2+z^2\right)dV=\int_0^{2\pi}\!\!\int_0^{\pi}\!\!\int_0^{1}\rho^4\sin\phi\,d\rho\,d\phi\,d\theta

    Because the integrand factors as (function of ρ\rho) ×\times (function of ϕ\phi) ×\times (constant in θ\theta) and the limits are constants, the triple integral splits into a product of three single integrals.

  5. Evaluate the three factors.

    ∫02πdθ=2π,∫0πsin⁡ϕ dϕ=[−cos⁡ϕ]0π=1+1=2,∫01ρ4 dρ=[ρ55]01=15\int_0^{2\pi}d\theta=2\pi,\qquad \int_0^{\pi}\sin\phi\,d\phi=\big[-\cos\phi\big]_0^{\pi}=1+1=2,\qquad \int_0^{1}\rho^4\,d\rho=\left[\frac{\rho^5}{5}\right]_0^1=\frac15

    Multiplying:

    (2π)(2)(15)=4π5≈2.5133(2\pi)(2)\left(\frac15\right)=\frac{4\pi}{5}\approx2.5133

  6. Sanity-check the size of the answer. The ball has volume 43π≈4.19\tfrac43\pi\approx4.19 and the integrand ρ2\rho^2 ranges from 00 at the centre to 11 at the surface, so the integral must lie strictly between 00 and 4.194.19. The mean value of ρ2\rho^2 over the ball is 4π/54π/3=35\tfrac{4\pi/5}{4\pi/3}=\tfrac35, which is sensibly above 12\tfrac12 because most of a ball's volume sits near its outer shell. A Monte Carlo estimate over the enclosing cube returns ≈2.515\approx2.515, confirming 4π/54\pi/5.

Answer

4π5≈2.5133\frac{4\pi}{5}\approx2.5133

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