Kizaru
- 44
- 0
Homework Statement
Find the surface integral of \vec{r} over a surface of a sphere of radius a and center at the origin. Also find the volume integral of \nabla \bullet \vec{r}.
Homework Equations
Divergence theorem.
The Attempt at a Solution
First I did the volume integral part of the divergence theorem. I obtained \nabla \bullet \vec{r} = 1 + 1 + 1 = 3. So I figured, the answer must be 3*volume = 4\pir^{3} (I don't know why the pi looks like an exponent, but it's 4 pi r^3)
This answer seems like a correct one.
Now the surface integral I'm having trouble with. Knowing that the equation of the sphere is
x^{2}+y^{2}+z^{2}=a^{2}, I found \nabla \bullet (x^{2}+y^{2}+z^{2}) to obtain the normal. The \vec{r} \bullet \vec{n} = 2x^{2} + 2y^{2} + 2z^{2}.
So I would integrate this over the surface in Cartesian coordinates, or convert to spherical and integrate? Is the normal suppose to be the normal unit vector? I appear to be obtaining the wrong answer no matter which way I am doing this. What exactly would the integral in cartesian coordinates contain for boundaries?
Thanks. Sorry if the latex syntax is not perfect.