Divergence and Volume Integrals

Click For Summary

Homework Help Overview

The discussion revolves around calculating the divergence of a vector field in cylindrical coordinates and evaluating the corresponding volume integral over a defined cylindrical region. The vector field in question is given as \(\mathbf{F} = 3\mathbf{e_{\rho}} + \cos(\phi)\mathbf{e_{\phi}} + 5\rho\mathbf{e_{z}}\), and the volume integral is to be evaluated over the cylinder defined by \(-H \leq z \leq H\) and \(x^{2} + y^{2} \leq R^{2}\).

Discussion Character

  • Mixed

Approaches and Questions Raised

  • The original poster attempts to calculate the divergence using the provided formula and expresses uncertainty about the volume integral setup and limits.
  • Some participants question the correctness of the divergence expression and the treatment of singularities at \(\rho = 0\).
  • Others suggest defining the interval of \(\rho\) to avoid singularities and discuss the potential use of the divergence theorem for simplification.

Discussion Status

Participants are actively engaging with the original poster's calculations, providing feedback on the divergence expression and integration limits. There is an exploration of different interpretations regarding singularities and the implications for the volume integral. Suggestions for alternative approaches, such as using the divergence theorem, have been introduced.

Contextual Notes

There are discussions about the singularity at \(\rho = 0\) and how it affects the divergence calculation. The original poster is considering how to handle this in the context of the volume integral.

BOAS
Messages
546
Reaction score
19

Homework Statement



(3 i) Using \nabla . \mathbf{F} = \frac{\partial \mathbf{F_{\rho}}}{\partial \rho} + \frac{\mathbf{F_{\rho}}}{\rho} + \frac{1}{\rho} \frac{\partial \mathbf{F_{\phi}}}{\partial \phi} + \frac{\partial \mathbf{F_{z}}}{\partial z} calculate the divergence of the vector field \mathbf{F} = 3\mathbf{e_{\rho}} + \cos(\phi)\mathbf{e_{\phi}} + 5\rho\mathbf{e_{z}}.

(ii) Evaluate the volume integral of \nabla . \mathbf{F} over the cylinder defined by -H \leq z \leq H, x^{2} + y^{2} \leq R^{2}.

Homework Equations

The Attempt at a Solution



I'm not sure if I'm doing the volume integral properly.

\frac{\partial \mathbf{F_{\rho}}}{\partial \rho} = 0

\frac{\partial \mathbf{F_{\phi}}}{\partial \phi} = -\sin(\phi)

\frac{\partial \mathbf{F_{z}}}{\partial z} = 0

\nabla . \mathbf{F} = \frac{3}{\rho} + \frac{1}{\rho}(-\sin(\phi) + 0 = \frac{3 - \sin(\phi)}{\rho}

So that's part one done - Moving on to converting this cylinder to cylindrical polar coordinates.

x = \rho \cos(\phi)

y = \rho \sin(\phi)

\rho^{2} \cos^{2}(\phi) + \rho^2 \sin^{2}(\phi) \leq R^{2}

\cos^{2}(\phi) + \sin^{2}(\phi) = 1

\rho^{2} \leq R^{2}

\rho \leq R

\int_{V} \nabla . \mathbf{F} dV = \int^{H}_{-H} \int^{2\pi}_{0} \int^{\rho}_{0} \frac{3 - \sin(\phi)}{\rho} \rho d\rho d\phi dz

\int_{V} \nabla . \mathbf{F} dV = \int^{H}_{-H} \int^{2\pi}_{0} \int^{\rho}_{0} 3 - \sin(\phi) d\rho d\phi dz

\int_{V} \nabla . \mathbf{F} dV = \int^{H}_{-H} \int^{\rho}_{0} [3 - \sin(\phi)]^{2\pi}_{0} d\rho dz

\int_{V} \nabla . \mathbf{F} dV = 6\pi \int^{H}_{-H} \int^{\rho}_{0} d\rho dz

\int_{V} \nabla . \mathbf{F} dV = 6\pi \rho \int^{H}_{-H} dz

\int_{V} \nabla . \mathbf{F} dV = 12 \pi \rho H

I'm not that confident in my treatment of the limits, so it would be good to get some feedback/know if I'm doing this wrong.

Thanks!
 
Physics news on Phys.org
You have the wrong expression for the divergence. There is no term which does not contain a derivative. Your integration limits are fine apart from the fact that the ##\rho## should be an ##R##, ##\rho## is the coordinate which you integrate over. Also note that the result you get is not really correct anyway, the vector field has a singularity at ##\rho = 0##, which is not captured by your expression for the divergence, which only holds outside of ##\rho = 0##.
 
Orodruin said:
You have the wrong expression for the divergence. There is no term which does not contain a derivative.

Thanks for catching that - It's a mistake on the handout.

From my notes;

\nabla . \mathbf{F} = \frac{1}{\rho} \frac{\partial \rho \mathbf{F_{\rho}}}{\partial \rho} + \frac{1}{\rho} \frac{\partial \mathbf{F_{\phi}}}{\partial \phi} + \frac{\partial \mathbf{F_{z}}}{\partial z}

Which actually gives me the same function.

\nabla . \mathbf{F} = \frac{3 - \sin(\phi)}{\rho}

Orodruin said:
Your integration limits are fine apart from the fact that the ##\rho## should be an ##R##, ##\rho## is the coordinate which you integrate over.

Thank you, this makes sense.

Orodruin said:
Also note that the result you get is not really correct anyway, the vector field has a singularity at ##\rho = 0##, which is not captured by your expression for the divergence, which only holds outside of ##\rho = 0##.

How do I deal with this? Define the interval of rho to be not inclusive of zero? That would give me a cylinder with an infinitely small hole through the center I think...
 
BOAS said:
Thanks for catching that - It's a mistake on the handout.
It's actually not a mistake, so it's no surprised you ended up with the same expression for the divergence. In your original post, the product rule had already been applied to the ##\partial_\rho(\rho F_\rho)## term.

How do I deal with this? Define the interval of rho to be not inclusive of zero? That would give me a cylinder with an infinitely small hole through the center I think...
You could set the lower limit of the ##\rho## integral to ##\varepsilon## and take the limit as ##\varepsilon \to 0^+##. It wouldn't change the result though.
 
vela said:
It's actually not a mistake,

Indeed, for some reason I was thinking gradient, my bad.

BOAS said:
How do I deal with this?

In this case it is not really a problem, the divergence of this vector field goes to infinity at rho equals zero, but this is compensated by the rho in the volume element. Depending on the vector field, you may run into trouble or not. Try the same thing with the vector field ##\vec e_\rho/\rho## for example. The "safe" bet is applying the divergence theorem.
 
BOAS said:
Thanks for catching that - It's a mistake on the handout.

From my notes;

\nabla . \mathbf{F} = \frac{1}{\rho} \frac{\partial \rho \mathbf{F_{\rho}}}{\partial \rho} + \frac{1}{\rho} \frac{\partial \mathbf{F_{\phi}}}{\partial \phi} + \frac{\partial \mathbf{F_{z}}}{\partial z}

Which actually gives me the same function.

\nabla . \mathbf{F} = \frac{3 - \sin(\phi)}{\rho}
Thank you, this makes sense.
How do I deal with this? Define the interval of rho to be not inclusive of zero? That would give me a cylinder with an infinitely small hole through the center I think...

Couldn't (ii) be more easily done using the divergence theorem, ##\int_V \vec{\nabla} \cdot \vec{F} \, dv = \oint_{S} \vec{F} \cdot d\vec{S}##?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
3K
  • · Replies 1 ·
Replies
1
Views
968
Replies
3
Views
2K
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K