Using divergence theorem?

In summary: S \vec F(x,y,z) \cdot d \vec S = \iint_S \vec F(x,y,z) \cdot \vec n \space dS = \iint_D \vec F(\vec r(u, v)) \cdot (\vec r_{u} \times \vec r_v) \space dA = \iint_D \vec F(\vec r(u, v)) \cdot (\vec r_{u} \times \vec r_v) = 216π$$
  • #1
uzman1243
80
1

Homework Statement


Capture.JPG


Homework Equations

The Attempt at a Solution


I thought of using the divergence theorem where
Snapshot.jpg


I find that ∇.F = 3z
thus integral is
∫ ∫ ∫ 3z r dz dr dθ where r dz dr dθ is the cylindrical coordinates
with limits
0<=z<=4
0<=r<=3
0<=θ<=2π

and solving gives me 216π

Can I use this method for this question? I'm skeptical about my method because the question talks about normal unit vector and paramatizing a surface
 
Physics news on Phys.org
  • #2
Well, this is a nice opportunity to verify the divergence theorem !
In principle you're free to ignore the hint, but I'm afraid some bad-tempered graders might think otherwise.

If you want to explore the path hinted at: what would you write for ##dS## at ##(x,y,z) = (r \cos \phi, r\sin \phi, z)##

(sorry for my genetically fixed notation for azimuthal angles :wink:)
 
  • Like
Likes uzman1243
  • #3
BvU said:
Well, this is a nice opportunity to verify the divergence theorem !
In principle you're free to ignore the hint, but I'm afraid some bad-tempered graders might think otherwise.)

So my method is valid?

BvU said:
If you want to explore the path hinted at: what would you write for ##dS## at ##(x,y,z) = (r \cos \phi, r\sin \phi, z)##

(sorry for my genetically fixed notation for azimuthal angles :wink:)
so ##dS## = N dr d ∅
 
  • #4
I find that ∇.F = 3z
thus integral is
∫ ∫ ∫ 3z r dz dr dθ where r dz dr dθ is the cylindrical coordinates
with limits
0<=z<=4
0<=r<=3
0<=θ<=2π

and solving gives me 216π

By the divergence theorem:

$$\iint_S \vec F \cdot d \vec S = \iiint_V \text{div}(\vec F) \space dV = \iiint_V 3z \space dV$$

The solid volume ##V## is the cylinder that sweeps the angle ##0 \leq \theta \leq 2 \pi##, has radius 3, and height 4. So yes the answer would be ##216 \pi##.

The question wants you to do this problem a little bit differently though. You need to parametrize the cylinder like so:

$$\vec r(\theta, z) = 3\text{cos}(\theta) \hat i + 3\text{sin}(\theta) \hat j + z \hat k$$

Then using this theorem:

$$\iint_S \vec F \cdot d \vec S = \iint_D \vec F(\vec r(\theta, z)) \cdot (\vec r_{\theta} \times \vec r_z) \space dA$$

The integral can be evaluated to obtain the same result by using polar co-ordinates.
 
  • Like
Likes uzman1243
  • #5
uzman1243 said:

Homework Statement


View attachment 82531

Homework Equations

The Attempt at a Solution


I thought of using the divergence theorem where

Technically the divergence theorem is not available here, since the surface S is not a closed surface.
 
  • Like
Likes uzman1243 and BvU
  • #6
uzman1243 said:
So my method is valid?

We were going to find out by evaluating the alternative route.
However, the comment by pasmith predicts that the answers differ.​
so ##dS## = N dr d ∅
N being North ? :rolleyes:

My plan was to do the inner product in Cartesian coordinates (I'm rather lazy). But Z's theorem is also intriguing (where does it come from ?).

--
 
  • Like
Likes uzman1243
  • #7
If ##S## is a smooth orientable surface given in parametric form by a vector function ##\vec r(u,v)##, then the orientation induced by ##\vec r(u,v)## is defined by the unit normal vector;

$$\vec n = \frac{\vec r_u \times \vec r_v}{|\vec r_u \times \vec r_v|}$$

This vector is oriented out of the surface.

Now, if ##\vec F(x,y,z)## is a continuous vector field defined on the oriented surface ##S## with normal vector ##\vec n##, we can re-write the flux integral:

$$\iint_S \vec F(x,y,z) \cdot d \vec S = \iint_S \vec F(x,y,z) \cdot \vec n \space dS = \iint_D \vec F(\vec r(u, v)) \cdot \frac{\vec r_u \times \vec r_v}{|\vec r_u \times \vec r_v|} |\vec r_u \times \vec r_v| \space dA = \iint_D \vec F(\vec r(u, v)) \cdot (\vec r_{u} \times \vec r_v) \space dA$$

So the flux integral of the vector field across the surface ##S## is equivalent to the double integral of the parametrized vector field over the region ##D##.

Also, I believe the surface is closed because it is the boundary of a solid region. Here is the surface:

Screen Shot 2015-04-25 at 7.54.41 PM.png


The flux out of the top and bottom surfaces will cancel due to the orientations.
 
Last edited:
  • Like
Likes uzman1243 and BvU
  • #8
The flux out of the top and bottom surfaces will cancel due to the orientations.
I don't think so. The vector field is different on the top surface than the bottom surface, particularly the z component, which is what is dotted with the normal.

If I were doing this problem, I would use the divergence theorem to allow me to integrate over the entire volume, and then I would subtract the net flux through the top and bottom surfaces. The latter would come out to 144π (basically out the top surface, since the flux out the bottom surface is zero).

Chet
 
  • Like
Likes uzman1243
  • #9
Zondrina said:
If ##S## is a smooth orientable surface given in parametric form by a vector function ##\vec r(u,v)##, then the orientation induced by ##\vec r(u,v)## is defined by the unit normal vector;

$$\vec n = \frac{\vec r_u \times \vec r_v}{|\vec r_u \times \vec r_v|}$$
Ok so I am trying the surface integral
r(θ,z) = 3cosθ i + 3sinθ j + zk

dr/dθ = -3sinθ i + 3cosθ j +0 k
dr/dz = 0i + 0j + 1k
dr/dθ x dr/dz = 3cosθ, 3sinθ,0

|dr/dθ x dr/dz| = 3

thus I get $$\vec n$$ = cosθ,sin θ,0

finally adding into the integral
∫∫ (3zcosθ,3cosθ,z2).(cosθ,sinθ,0) .3 dθ dz where 0<=z<=4 and 0<=θ<=2pi and 3 being the jacobian

and then finally solving gives me 72pi

Im guessing I've gone wrong somewhere?
 
Last edited:
  • #10
Chestermiller said:
I don't think so. The vector field is different on the top surface than the bottom surface, particularly the z component, which is what is dotted with the normal.

If I were doing this problem, I would use the divergence theorem to allow me to integrate over the entire volume, and then I would subtract the net flux through the top and bottom surfaces. The latter would come out to 144π (basically out the top surface, since the flux out the bottom surface is zero).

Chet

I cannot understand what you mean. Can you please explain a little more?
 
  • #11
uzman1243 said:
Ok so I am trying the surface integral
r(θ,z) = 3cosθ i + 3sinθ j + zk

dr/dθ = -3sinθ i + 3cosθ j +0 k
dr/dz = 0i + 0j + 1k
dr/dθ x dr/dz = 3cosθ, 3sinθ,0

|dr/dθ x dr/dz| = 3

thus I get $$\vec n$$ = cosθ,sin θ,0

finally adding into the integral
∫∫ (3zcosθ,3cosθ,z2).(cosθ,sinθ,0) dθ dz where 0<=z<=4 and 0<=θ<=2pi
and then finally solving gives me 27pi

Im guessing I've gone wrong somewhere?
You worked out the ##\hat n## vector all right, but the dS is not ##d\phi dz## (or ##d\theta dz## as mathematicians insist on calling it :rolleyes: ).
imho this ##\hat n## vector is pretty obvious also when not using Z's theorem
Where you go wrong in working out the integral, I can't really see because of my limited telepathic powers :wink:, so if you want guidance there, you should post your working in more detail. ##27 \pi## is definitely not what I got (and I did get a lot of different answers trying to check the 216##\pi## at first, because I totally missed pasmith's insight!). Mathematically I wonder from where you got two extra factors 3

And the wonder of it all is that your initial answer and Chet's correction for the end surfaces match the outcome (well, at least they match what I found).

Economically speaking, the divergence theorem isn't the optimal way: you have to evaluate two integrals thanks to the obstacle pasmith pointed out. Going straight only requires one integral...
 
  • Like
Likes uzman1243
  • #12
BvU said:
You worked out the ##\hat n## vector all right, but the dS is not ##d\phi dz## (or ##d\theta dz## as mathematicians insist on calling it :rolleyes: ).
imho this ##\hat n## vector is pretty obvious also when not using Z's theorem
Where you go wrong in working out the integral, I can't really see because of my limited telepathic powers :wink:, so if you want guidance there, you should post your working in more detail. ##27 \pi## is definitely not what I got (and I did get a lot of different answers trying to check the 216##\pi## at first, because I totally missed pasmith's insight!). Mathematically I wonder from where you got two extra factors 3

And the wonder of it all is that your initial answer and Chet's correction for the end surfaces match the outcome. So the

Sorry I made some changes a few minutes ago. Can you check my reply above again?
 
  • #13
Yeah, now the thread has become labyrinthic. You inserted the r = 3 and oops, 27 changes in 72. Even though 3 x 27 is not 72.

My telepathic powers are sufficient to claim that
  • in your workings you did not forget the factor r
  • and the 27 was just a typo.
So even without having seen the detailed steps I wager you did just fine. (Jacobian ? I just call ##rd\phi dz## by the name ##dS## and imagine a curved little rectangular window ... goes to show how primitively physicists think)

(I type with 2 x 1.5 fingers and still one hand is often too quick for the other one) .

So all's good that ends good. That 216 = 144 + 72 Is a nice reassurance in this exercise ! Well done!
 
  • Like
Likes uzman1243
  • #14
BvU said:
Yeah, now the thread has become labyrinthic. You inserted the r = 3 and oops, 27 changes in 72. Even though 3 x 27 is not 72.

My telepathic powers are sufficient to claim that
  • in your workings you did not forget the factor r
  • and the 27 was just a typo.
So even without having seen the detailed steps I wager you did just fine. (Jacobian ? I just call ##rd\phi dz## by the name ##dS## and imagine a curved little rectangular window ... goes to show how primitively physicists think)

(I type with 2 x 1.5 fingers and still one hand is often too quick for the other one) .

So all's good that ends good. That 216 = 144 + 72 Is a nice reassurance in this exercise ! Well done!

where are you getting the 144 from?
 
  • #15
A most reliable source: post #8. And it's not a difficult calculation, so I did it too.
 
  • Like
Likes uzman1243
  • #16
BvU said:
A most reliable source: post #8. And it's not a difficult calculation, so I did it too.
I don't get it.
using divergence theorem I get 216pi. Using the surface integrals I get 72pi. The answer to solving using surface integrals should give me the same answer as using divergence theorem (provided it's a close surface).
 
  • #17
Using the divergence theorem you get 216##\;\pi##. The top and bottom surface give 144##\;\pi##. The exercise wants only the side surface (although it doesn't state that all too explicitly, I must admit).

Reading this problem statement once again, I realize that interpretation is forced upon me by my own context: cylindrical membranes where you pump something in and something goes out through the membrane; the rest goes out at the other end. A cell biologist would have a totally different picture, I imagine. So the mathematician has to make sure the problem statement is unambiguous.
 
Last edited:
  • Like
Likes uzman1243
  • #18
BvU said:
Using the divergence theorem you get 216##\;\pi##. The top and bottom surface give 144##\;\pi##. The exercise wants only the side surface (although it doesn't state that all too explicitly, I must admit).

Reading this problem statement once again, I realize that interpretation is forced upon me by my own context: cylindrical membranes where you pump something in and something goes out through the membrane; the rest goes out at the other end. A cell biologist would have a totally different picture, I imagine. So the mathematician has to make sure the problem statement is unambiguous.
so the answer is just 72 pi?
 
  • #19
What I'm trying to say is: I don't know. The most literal mathematical interpretation of the exercise text would favor the 216.

But then I don't really understand the hint in the problem statement, because in that case the divergence route you took is more economical.
 
  • Like
Likes uzman1243
  • #20
BvU said:
What I'm trying to say is: I don't know. The most literal mathematical interpretation of the exercise text would favor the 216.

But then I don't really understand the hint in the problem statement, because in that case the divergence route you took is more economical.

No i think the exercise text means only the side surface cause it says ##x^2+y^2=9##.(notice the equality, its not <=) The points with (x,y) such that satisfy that equation lie all in the side surface, otherwise it would have state something like to include the bottom and up surfaces with ##x^2+y^2\leq 9,z=0,z=4##.

So the answer should be just 72pi.
 
  • Like
Likes uzman1243 and BvU
  • #21
00
Delta² said:
No i think the exercise text means only the side surface cause it says ##x^2+y^2=9##.(notice the equality, its not <=) The points with (x,y) such that satisfy that equation lie all in the side surface, otherwise it would have state something like to include the bottom and up surfaces with ##x^2+y^2\leq 9,z=0,z=4##.

So the answer should be just 72pi.

If possible, can you please explain what you mean from the graph that was plotted in post #7?
 
  • #22
I mean that the surface has only the points for which (x,y,z) are such that ## x^2+y^2=9## and ##0\leq z\leq 4##. (it is important that it is ##=9## and not ##\leq 9##) So that is not the whole closed surface as shows the graph in post 7, but only the side surface of the graph (that is the cylindrical surface without the top and the bottom surfaces). So if you apply the divergence theorem, then you got to subtract the flux through the bottom and up surfaces , so you have 216-144=72pi.
 
  • Like
Likes uzman1243
  • #23
Delta² said:
I mean that the surface has only the points for which (x,y,z) are such that ## x^2+y^2=9## and ##0\leq z\leq 4##. (it is important that it is ##=9## and not ##\leq 9##) So that is not the whole closed surface as shows the graph in post 7, but only the side surface of the graph (that is the cylindrical surface without the top and the bottom surfaces). So if you apply the divergence theorem, then you got to subtract the flux through the bottom and up surfaces , so you have 216-144=72pi.

Thank you so much. Finally makes sense.
Just one more question, how do you know if a surface is closed? So that I could have used the divergence theorem here instead.
 
  • #24
I believe pasmith is correct about the cylinder not being a closed surface actually, because a closed surface is compact and without boundary. The cylinder ##x^2 + y^2 = 9## has no top and no bottom, is hollow, and so is not a closed surface. Hence the divergence theorem does not apply.

I find this question weird because I have seen other examples with very similar givens that use the divergence theorem to calculate the net flux out of all surfaces:

Screen Shot 2015-04-26 at 10.14.04 AM.png

Screen Shot 2015-04-26 at 10.14.33 AM.png


I guess they have been doing it wrong the whole time.

As for this problem, you could either split up the three surfaces and calculate three surface integrals, or you could parametrize the surface as you have done already and find the answer to be ##72 \pi##.
 
Last edited:
  • Like
Likes uzman1243

1. What is the divergence theorem?

The divergence theorem, also known as Gauss's theorem, is a mathematical principle that relates the flow of a vector field through a closed surface to the behavior of the vector field inside the surface. It is a fundamental tool in the study of vector calculus and has various applications in physics, engineering, and other fields.

2. How is the divergence theorem used in physics?

In physics, the divergence theorem is used to calculate the flux of a vector field through a closed surface. This has many applications, such as calculating the electric or magnetic flux through a surface, determining the flow of a fluid through a boundary, or understanding the behavior of an electromagnetic field around a charged object.

3. What is the difference between the divergence theorem and Stokes' theorem?

Both the divergence theorem and Stokes' theorem are fundamental theorems in vector calculus. However, the divergence theorem relates a closed surface to the vector field inside it, while Stokes' theorem relates a closed curve to the vector field tangent to the curve. In other words, the divergence theorem deals with three-dimensional objects while Stokes' theorem deals with two-dimensional objects.

4. What are some real-world applications of the divergence theorem?

The divergence theorem has many practical applications in various fields. For example, it is used in fluid dynamics to calculate the flow of a fluid through a boundary, in electromagnetism to understand the behavior of electric and magnetic fields around charged objects, and in engineering to analyze stress and strain in solid materials.

5. Are there any limitations to the use of the divergence theorem?

Yes, there are some limitations to the use of the divergence theorem. It can only be applied to vector fields that are continuous and differentiable inside the surface or region of interest. Additionally, the surface or region must be closed, meaning it has no holes or gaps. If these conditions are not met, the divergence theorem cannot be used to calculate the flux of the vector field.

Similar threads

  • Calculus and Beyond Homework Help
Replies
5
Views
2K
  • Calculus and Beyond Homework Help
Replies
6
Views
766
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
266
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
950
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
954
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
Back
Top