Checking the divergence of a function

  • Thread starter chi-young
  • Start date
  • #1
9
0

Homework Statement


Check the divergence theorem using the vector function V = r^2 [itex]\hat{r}[/itex] + sin(θ) [itex]\hat{θ}[/itex] which is expressed in spherical coordinates. For the volume use a hemisphere of unit radius above the xy-plane (see figure below) (picture not shown, but I integrated r: 0 to 1, theta: 0 to pi/2, and phi 0 to 2pi)

Homework Equations


∫(Div V) d[itex]\tau[/itex] = [itex]\oint V da[/itex]
(Divergence Theorem)

The Attempt at a Solution


I did the RHS first because it's simpler. given da = R^2 sin(θ) dθ dψ [itex]\hat{r}[/itex] and R = 1
[itex]\oint V da[/itex] → ∫sinθd from 0 to pi/2 * ∫dψ from 0 to 2pi, which is of course, 2pi.

I assume that because of it's simplicity, this side must absolutely be correct. Unfortunately, the LHS is much harder.

First I find Div V = 4r + 2cos(θ)/r, then I use d[itex]\tau[/itex] = r^2 * sinθ dr dθ dψ
to obtain ∫ ( 4r + 2cos(θ)/r ) * r^2 * sinθ dr dθ dψ.

Next I integrate with respect to r, 0 to 1, to get sinθ (cos+1) dθ dψ. This is where it gets weird.

I integrate theta from 0 to pi/2 but I get 3/2. Since phi is from 0 to 2pi, and there are 0 phi terms, the answer must be 3pi. But this does not equal the LHS, which must be correct!

I have been doing this for a couple of hours and I cannot think of a problem. Please help!
 

Answers and Replies

  • #2
938
9
Are you sure you're integrating over the entire boundary surface? Perhaps you're forgetting something...
 
  • Like
Likes 1 person
  • #3
9
0
Done, thanks. =)
 

Related Threads on Checking the divergence of a function

  • Last Post
Replies
7
Views
4K
Replies
6
Views
2K
  • Last Post
Replies
3
Views
1K
  • Last Post
Replies
2
Views
7K
Replies
6
Views
2K
  • Last Post
Replies
5
Views
3K
Replies
20
Views
2K
Replies
6
Views
1K
Top