Visualizing the Divergence Theorem for a Cylinder

In summary, the conversation discusses how to prove the divergence theorem for a given vector field and volume. Different approaches are suggested, including calculating the boundary integrals in three parts and using parametric equations. The correct approach is explained in detail, with the surface integrals being calculated using parametric equations and then without. There is a minor error in one of the calculations, which is corrected.
  • #1
jammydav93
7
0

Homework Statement



Prove the divergence theorem for the vector field A = p = (x,y) and taking the volume V to be the cylinder of radius a with its base centred at the origin, its axis
parallel to the z-direction and having height h.

I can find the dV side of the equation fine (I think) however am unable to do the dS side to show they are equal to each other


Homework Equations



∫∫∫div(A) dV = ∫∫ (A . n) dS

The Attempt at a Solution



∫∫∫div(A) dV = 2*∏*r^2*h
∫∫ (A . n) dS = ??


Many thanks for all hints and help

James
 
Physics news on Phys.org
  • #2
First, I have a problem with your "A = p = (x,y)" because that is a two dimensional vector and for this to make sense we must be working in three dimensions. I am going to assume that you mean (x, y, 0).

In that case, yes, your calculation of the volume integral is correct. Because the boundary is not "smooth" you will want to do it in three parts:
The base is the disc bounded by [itex]x^2+ y^2= r^2[/itex], z= 0. The unit vector normal to that surface, directed outward, is n= <0, 0, 1> and dS= dxdy.

The top is the disc bounded by [itex]x^2+ y^2= r^2[/itex], z= h. The unit vector normal to that surface, directed outward, is n= <0, 0, -1> and dS= dxdy. It would probably be simplest to do those two integrals in polar coordinates.

The curved surface is given by [itex]x^2+ y^2= r^2[/itex], with z any number between 0 and h. We can find the "vector differential of surface area" of any surface, given by the "position vector [itex]\vec{v}= x(s,t)\vec{i}+ y(s,t)\vec{j}+ z(s,t)\vec{k}[/itex] is given by the cross product of [itex]\partial \vec{v}/\partial s[/itex] and [itex]\partial \vec{v}/\partial t[/itex]. Standard parametric equations for the circle, of radius r, are [itex]x= r cos(\theta)[/itex] and [itex]y= r sin(\theta)[/itex] so parametric equations for the curved surface of the cylinder, using [itex]\theta[/itex] and z as parameters are [itex]x= r cos(\theta)[/itex], [itex]y= r sin(\theta)[/itex], [itex]z= z[/itex] so a position vector for a point , [itex]\vec{r}(\theta, z)= r cos(\theta)\vec{i}+ r sin(\theta)\vec{j}+ z\vec{k}[/itex].

Differentiate those with respect to [itex]\theta[/itex] and z and take the cross product. That cross product, with signs chosen to give the "outward normal" (changing the order of multiplication in a cross product changes the sign so we may have to correct that to give the correct direction), times [itex]d\theta dz[/itex] is [itex]\vec{n} dS[/itex].

(Although it is easy to get "dS" for the top and bottom by inspection, we could do the same thing there. A position vector for the top, the plane z= h, would be [itex]\vec{v}= x\vec{i}+ y\vec{j}+ h[/itex] with x and y as parameters. The derivatives with respect to x and y would be just [itex]\vec{i}[/itex] and [itex]\vec{j}[/itex] so the cross product is [itex]\vec{k}[/itex]. The "outward" normal would be upward so [itex]\vec{k}[/itex]. For z= 0, the same calculation gives [itex]\vec{k}[/itex] again, but now the outward normal is downward so [itex]-\vec{k}[/itex].)
 
  • #3
Yes sorry I did mean (x,y,0)

For the top and bottom face integrals, are they both just trivial as (x,y,0).(0,0,1) = 0 and (x,y,0).(0,0,-1) = 0, or am I doing this wrong?

Thanks for the indepth explanation!
 
  • #4
After you have worked through the surface integral the way Halls of Ivy explained, try to redo the entire surface integration without parametrizing the surface or calculating dS in coordinates. You can work it out in your head, and you are spot on about the top and bottom.
 
  • #5
[itex]\frac{dr}{d\vartheta}[/itex]=(-rsin([itex]\vartheta[/itex]), rcos([itex]\vartheta[/itex]),0)

[itex]\frac{dr}{dz}[/itex]=(0,0,1)

[itex]\frac{dr}{d\vartheta}[/itex] x [itex]\frac{dr}{dz}[/itex] = (rcos([itex]\vartheta[/itex]), -rsin([itex]\vartheta[/itex]),0)

A . ([itex]\frac{dr}{d\vartheta}[/itex] x [itex]\frac{dr}{dz}[/itex]) = (x,y,0) . (rcos([itex]\vartheta[/itex]), -rsin([itex]\vartheta[/itex]),0) = (rcos([itex]\vartheta[/itex]), rsin([itex]\vartheta[/itex]),0) . (rcos([itex]\vartheta[/itex]), -rsin([itex]\vartheta[/itex]),0)
= r^2*cos^2([itex]\vartheta[/itex]) - r^2*sin^2([itex]\vartheta[/itex]) + 0

is that right for A .n ?

Thanks!
 
  • #6
No, there is a sign error. It should come out to something simpler. Try to visualize A and n (drawing a good picture would help). Then you can see what their dot product should be.
 

1. What is the Divergence Theorem?

The Divergence Theorem is a mathematical theorem that relates the flow of a vector field through a closed surface to the divergence of the vector field within the enclosed volume.

2. How is the Divergence Theorem used in science?

The Divergence Theorem is used in various fields of science, such as physics and engineering, to calculate flux and to solve problems related to fluid flow, electromagnetism, and other vector fields.

3. What is the mathematical formula for the Divergence Theorem?

The mathematical formula for the Divergence Theorem is ∫∫∫ (div F) dV = ∫∫ F · n dS, where F is the vector field, div F is the divergence of the vector field, V is the enclosed volume, S is the closed surface, and n is the unit normal vector to the surface.

4. What are the prerequisites for understanding the Divergence Theorem?

A basic understanding of vector calculus, including vector fields, surface and volume integrals, and the gradient and divergence operators, is necessary for understanding and applying the Divergence Theorem.

5. What are some real-world applications of the Divergence Theorem?

The Divergence Theorem has many real-world applications, such as calculating fluid flow rate through a pipe, determining the electric flux through a closed surface, and analyzing the behavior of weather patterns using vector fields.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
766
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
954
  • Calculus and Beyond Homework Help
Replies
7
Views
3K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
605
Back
Top