Visualizing the Divergence Theorem for a Cylinder

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 2K views
jammydav93
Messages
7
Reaction score
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
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].)
 
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!
 
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.
 
[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!
 
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.