Volume Integral of f over Sphere: Find Solution

kidsmoker
Messages
85
Reaction score
0

Homework Statement



Find the volume integral of the function f=x^{2}+y^{2}+z^{2} over the region inside a sphere of radius R, centered on the origin.

Homework Equations



Spherical polars x=rsin(\theta)cos(\phi), y=rsin(\theta)sin(\phi), z=rcos(\theta)

Jacobian in spherical polars = r^2sin(\theta)

The Attempt at a Solution



When i work through it I end up with the triple integral

V=\int^{R}_{0}dr\int^{\pi}_{-\pi}d\phi\int^{\pi}_{-\pi}d\theta (r^{2}sin^{2}\theta cos^{2}\phi+r^{2}sin^{2}\theta sin^{2}\phi + r^{2}cos^{2}\theta)r^2sin\theta

but I'm not too sure whether this is right. Mainly I'm not sure about the limits of integration.

Is this correct please?

Thanks.
 
Physics news on Phys.org
If you want to integrate over all theta, that's only theta in [-pi/2,pi/2], isn't it? And you can simplify the integrand a LOT. x^2+y^2+z^2=r^2.
 
Ah yeah I didn't bother simplifying the integrand but I can see I should have done cos it would have made it a lot easier to type lol. I thought about it some more and understand why the limits are as you said now. Thanks!
 
Is there are reason why you titled this "surface integral"?
 
Because I was tired :D Oops lol
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top