# Homework Help: Surface integral and divergence theorem over a hemisphere

1. Dec 10, 2012

### marineric

1. The problem statement, all variables and given/known data

Please evaluate the integral $\oint$ d$\vec{A}$$\cdot$$\vec{v}$, where $\vec{v}$ = 3$\vec{r}$ and S is a hemisphere defined by |$\vec{r}$| $\leq$a and z ≥ 0,

a) directly by surface integration.

b) using the divergence theorem.

2. Relevant equations

-Divergence theorem in spherical coordinates

3. The attempt at a solution

Another one where the $\vec{r}$ messes me up. Simple enough if it was in regular xyz. Plus the $\vec{v}$... and I don't really know where to start.

2. Dec 10, 2012

### clamtrox

Well, $\mathbf{r} = x \mathbf{e}_x + y \mathbf{e}_y + z \mathbf{e}_z$ shouldn't be too confusing...

In this case, the shape of the integration area suggests that you might want to use spherical coordinates instead of x, y and z. Do you know what the area element is in spherical coordinates? (or even better, can you calculate it?) What about volume element?

3. Dec 10, 2012

### marineric

Ok so attempt at a solution:

∫∫ 3$\vec{r}$ r$^{2}$sinθdθd$\phi$

limits are 0 to 2∏ for θ, and 0 to ∏/2 for $\phi$, or I could just do 3r^3 time the surface area of a hemisphere, which is 2*∏*r^2, so, 6*∏*a^5?

for divergence... do I just take the divergence in spherical coordinates and multiply by the volume of a hemisphere, which is 2/3*∏*r^3?

4. Dec 10, 2012

### clamtrox

Okay, couple of things

1) The surface area element is a vector.
2) Be careful with the angles. Right now your definitions do not work.
3) As you noticed, the integrand does not depend on the angles. Be careful about jumping over the integral though; now you're getting too many factors of r.

Is the divergence constant? If it is, then it should of course work.