Generating Divergence Equation In Cylindrical Coordinates

In summary, the divergence equation in cylindrical coordinates describes how a vector field behaves in a three-dimensional space defined by cylindrical geometry. It involves the radial, azimuthal, and axial components of the vector field and is expressed through a specific formula that incorporates partial derivatives with respect to the cylindrical coordinates (r, θ, z). This equation is essential for applications in physics and engineering, particularly in fluid dynamics and electromagnetism, where it helps in analyzing sources and sinks of vector fields within cylindrical systems.
  • #1
Hardy
9
1
TL;DR Summary
Question about how to apply Taylor's Formula to a vector field to derive equation for divergence in cylindrical coordinates.
This is from an old E&M exam question where we were asked to derive the formula for the divergence of a vector field in cylindrical coordinates using Taylor's Approximation and the fundamental definition of the divergence:

∇⋅A = Lim V→0 { ( ∫S A⋅da ) / V }​

The vector field, A, is defined in cylindrical components such that:
A = Aρ(ρ,θ,z)ρ + Aθ(ρ,θ,z)θ + Az(ρ,θ,z)z

Where ρ, θ and z are the unit vectors in cylindrical coordinates, and Aρ, Aθ and Az are everywhere continuous and well defined functions.

The formula we are looking for (divergence in cylindrical coordinates):
∇⋅A = ( 1/ρ ) (δ/δρ) (ρAρ) + ( 1/ρ ) (δ/δθ)Aθ + (δ/δz)Az

I have found several similar analysis on-line, but most simply use the definition of the ∇ function in cylindrical coordinates and not Taylor's Formula. I am having a problem completing the analysis and it seems to stem from how Taylor's Formula is applied to the vector field. Hopefully the following is enough to convey the issue, I have lots more so that I could add if needed.

The vector field is represented by a Taylor's Series approximation about a point: Pooo,zo)

cyl_crds2.png

At this point I would apply Taylor's Formula such that:

A = AAAρ(Po)ρ + (ρ - ρo) (δ/δρ)(Aρρ) + (θ - θo) (δ/δθ)(Aρρ) + (z - zo) (δ/δz)(Aρρ)
A = + Aθ(Po)θ + (ρ - ρo) (δ/δρ)(Aθθ) + (θ - θo) (δ/δθ)(Aθθ) + (z - zo) (δ/δz)(Aθθ)
A = + Az(Po)z + (ρ - ρo) (δ/δρ)(Azz) + (θ - θo) (δ/δθ)(Azz) + (z - zo) (δ/δz)(Azz)

Which almost provides the correct answer, but not quite:
( 1/ρ ) (δ/δρ) (ρAρ) + ( 1/ρ ) { (δ/δθ)Aθ + Aθ } + (δ/δz)Az

Notice the only difference is the Aθ term.

But if I apply Taylor's Formula like:
A = AAAρ(Po)ρ + (ρ - ρo) (δ/δρ)(Aρρ)
A = + Aθ(Po)θ + (θ - θo) (δ/δθ)(Aθθ)
A = + Az(Po)z + (z - zo) (δ/δz)(Azz)

It provides the correct answer.

At this point, the rest of the analysis goes the same with both representations:
- The equation for A is developed, carrying out the derivatives, taking care since the unit vectors are not constant
- Collecting terms for each unit vector in the equation for A,
- The six elements for differential area, da is from :
da ≡ (+/-)ρδθδzρ ; (+/-)δρδzθ ; (+/-)ρδρδθz
where plus is applied for the sides in the direction from Po of the unit vector, minus if in the other direction
- and six surface integrals are defined by taking the dot products and then evaluated

I could include more gory details in the double integrals. But, once the integrals are set up, I have gotten the same answer solving them manually and with a MAPLE tool (symbolic math calculations). Just hoping the error is in how this Taylor's Formula is applied. It seems that adding the extra terms is correct since the vector components are functions of all three cylindrical variables and the unit vectors are not constant, so not including them seems wrong when applying a directional derivative, but it isn't providing the correct answer. Thanks for any insight.
 
Physics news on Phys.org
  • #2
Just use an infinitesimal volume with boundary surfaces defined by the coordinate lines. That's an infinitesimal cuboid.

Start from
$$\vec{x}=\begin{pmatrix} \rho \cos \theta \\ \rho \sin \theta \\ z \end{pmatrix}.$$
The tangent vectors are
$$\partial_\rho \vec{x}=\vec{e}_{\theta}, \quad \partial_{\theta} \vec{x}=\rho \vec{e}_{\theta}, \quad \partial_z \vec{x}=\vec{e}_z,$$
where the ##\vec{e}_{\rho}##, ##\vec{e}_{\theta}## and ##\vec{e}_z## are the tangent unit vectors. The order of the cylinder coordinates ##(\rho,\theta,z)## is chosen such that ##(\vec{e}_{\rho} \times \vec{e}_{\theta}) \cdot \vec{e}_z=+1##, i.e., in this order the tangent unit vectors everywhere build a right-handed triad.

The said cuboid-volume element is then given by
$$\mathrm{d}^3 x =\mathrm{d} \rho \mathrm{d} \theta \mathrm{d} z (\partial_{\rho} \vec{x} \times \partial_{\theta} \vec{x}) \cdot \partial_z \vec{x}=\mathrm{d} \rho \mathrm{d} \theta \mathrm{d} z \rho.$$
The surface-elements are given by
$$\mathrm{d}^2 \vec{f}_{\rho} = \pm \mathrm{d} \theta \mathrm{d} z \partial_{theta} \vec{x} \times \partial_z \vec{x}=\pm \mathrm{d} \theta \mathrm{d} z \partial_{theta} \rho \vec{e}_{\rho},$$
$$\mathrm{d}^2 \vec{f}_{\theta}=\pm \mathrm{d} \rho \mathrm{d} z \partial_{\rho} \vec{x} \times \partial_z \vec{x}=\pm \mathrm{d} \rho \mathrm{d} z \vec{e}_{\theta},$$
$$\mathrm{d}^2 \vec{f}_z = \pm \mathrm{d} \rho \mathrm{d} \theta (\partial_{\rho} \vec{x} \times \partial_{\theta} \vec{x}) = \pm \mathrm{d} \rho \mathrm{d} \theta \rho \vec{e}_z.$$
Now evaluate the surface integral
$$\begin{split}
\int_{\partial \mathrm{d} V} \mathrm{d}^2 \vec{f} = & \mathrm{d} \theta \mathrm{d} z [(\rho+\mathrm{d} \rho) A_{\rho}(\rho+\mathrm{d} \rho,\theta,z)-\rho A_{\rho}(\rho,\theta,z)] \\ & + \mathrm{d} \rho \mathrm{d} z [A_{\theta}(\rho,\theta+\mathrm{d} \theta,z) - A_{\theta}(\rho,\theta,z)] \\
&+ \mathrm{d} \rho \mathrm{d} \theta \rho [A_z(\rho,\theta,z+\mathrm{d} z)-A_z(\rho,\theta,z)].
\end{split}
$$
Expand the square brackets:
$$\int_{\partial \mathrm{d} V} \mathrm{d}^2 \vec{f} = \mathrm{d} \rho \mathrm{d} \theta \mathrm{d} z [\partial_{\rho} (\rho A_{\rho}) + \partial_{\theta} A_{\theta} + \rho \partial_z A_z].$$
Dividing by ##\mathrm{d}^3 x## finally gives
$$\vec{\nabla} \cdot \vec{A}=\frac{1}{\rho} \partial_{\rho}(\rho A_{\rho}) + \frac{1}{\rho} \partial_{\theta} A_{\theta} + \partial_z A_z.$$
 
  • Like
Likes Hardy
  • #3
vanhees71 wrote:
"Just use an infinitesimal volume with boundary surfaces defined by the coordinate lines. That's an infinitesimal cuboid."

Thank you for providing the analysis.

It has several interesting aspects that I have not seen before. I have been trying to understanding how you seemed to evaluate an integral without defining integral limits or even applying any anti-derivatives. If you have any references that might explain the math technique in a little bit more depth, I would appreciate it.

As for the EM exam question, I would wonder how the prof would react. The use of Taylor's formula nor the fact that the derivative of the cylindrical unit vectors not being constant is not evident. But, what is evident, from my technique, is that your derivation appears more like the application of Taylor's formula in the expansion of the vector field that provides the correct formula.

The only explanation I can think of why the representation of the vector field that includes more terms does not provide the correct answer is that the extra terms are not incorrect, but simply higher order terms in the expansion that diminish and eventually have no impact when taken to the infinitesimal level. For example, the term (θ - θo) (δ/δθ)(Aρρ) says there is a change in two variables, while (ρ - ρo) (δ/δρ)(Aρρ) is looking at a change in only one variable.

One thing that helped me getting to this thought was looking at EM analysis of charge distributions. A monopole expansion is sufficient at some point, and is the correct answer. But, when getting relatively closer to the charges themselves, you need to account for dipole terms to get the correct answer, and then again having to going to multi-poles components at some point. Each is a correct answer at some point - relatively anyway. This is kinda of the opposite though, the higher order terms go away when 'zooming in' to a point.

Now, maybe I'll spend some time looking at the formula for the curl, and also, how these techniques look using spherical formulas. If it’s found that the same Taylor’s formula expansion does not work, it will be a head scratcher! Thanks again.
 
  • #4
Hardy said:
vanhees71 wrote:
"Just use an infinitesimal volume with boundary surfaces defined by the coordinate lines. That's an infinitesimal cuboid."


Thank you for providing the analysis.

It has several interesting aspects that I have not seen before. I have been trying to understanding how you seemed to evaluate an integral without defining integral limits or even applying any anti-derivatives. If you have any references that might explain the math technique in a little bit more depth, I would appreciate it.
A very nice treatment of vector calculus is in A. Sommerfeld, Lectures on Theoretical Physics vol. 2.
Hardy said:
As for the EM exam question, I would wonder how the prof would react. The use of Taylor's formula nor the fact that the derivative of the cylindrical unit vectors not being constant is not evident. But, what is evident, from my technique, is that your derivation appears more like the application of Taylor's formula in the expansion of the vector field that provides the correct formula.
Of course, I don't know, what your professor expects as an answer. You should use the techniques taught in the lecture or provided in the textbook used.
Hardy said:
The only explanation I can think of why the representation of the vector field that includes more terms does not provide the correct answer is that the extra terms are not incorrect, but simply higher order terms in the expansion that diminish and eventually have no impact when taken to the infinitesimal level. For example, the term (θ - θo) (δ/δθ)(Aρρ) says there is a change in two variables, while (ρ - ρo) (δ/δρ)(Aρρ) is looking at a change in only one variable.

One thing that helped me getting to this thought was looking at EM analysis of charge distributions. A monopole expansion is sufficient at some point, and is the correct answer. But, when getting relatively closer to the charges themselves, you need to account for dipole terms to get the correct answer, and then again having to going to multi-poles components at some point. Each is a correct answer at some point - relatively anyway. This is kinda of the opposite though, the higher order terms go away when 'zooming in' to a point.

Now, maybe I'll spend some time looking at the formula for the curl, and also, how these techniques look using spherical formulas. If it’s found that the same Taylor’s formula expansion does not work, it will be a head scratcher! Thanks again.
The coordinate independent definitions of the derivative operators grad, div, curl always work. It's a good idea to check it for spherical coordinates.
 

FAQ: Generating Divergence Equation In Cylindrical Coordinates

What is the divergence of a vector field in cylindrical coordinates?

The divergence of a vector field in cylindrical coordinates (r, θ, z) is given by the formula: \( \nabla \cdot \mathbf{A} = \frac{1}{r} \frac{\partial (r A_r)}{\partial r} + \frac{1}{r} \frac{\partial A_\theta}{\partial \theta} + \frac{\partial A_z}{\partial z} \), where \( A_r \), \( A_\theta \), and \( A_z \) are the components of the vector field in the r, θ, and z directions, respectively.

How do you derive the divergence formula in cylindrical coordinates?

To derive the divergence formula in cylindrical coordinates, you start with the definition of divergence in Cartesian coordinates and transform it using the relationships between Cartesian and cylindrical coordinates. The process involves expressing the Cartesian components of the vector field in terms of cylindrical coordinates and then applying the chain rule for partial derivatives to obtain the cylindrical form.

Why is the divergence formula in cylindrical coordinates different from Cartesian coordinates?

The divergence formula in cylindrical coordinates differs from that in Cartesian coordinates because cylindrical coordinates account for the geometry of the system, particularly the radial and angular components. The additional terms, such as \( \frac{1}{r} \), arise due to the non-linear scaling of the coordinate system, which affects how changes in the field components are measured.

What are the applications of using the divergence equation in cylindrical coordinates?

The divergence equation in cylindrical coordinates is particularly useful in problems with cylindrical symmetry, such as fluid flow in pipes, electromagnetic fields around wires, and heat conduction in cylindrical objects. It simplifies the analysis and calculations by aligning the coordinate system with the natural geometry of the problem.

Can the divergence in cylindrical coordinates be applied to any vector field?

Yes, the divergence in cylindrical coordinates can be applied to any vector field, provided the field components are expressed in terms of the cylindrical coordinates (r, θ, z). However, it is most convenient and effective for fields that exhibit some form of cylindrical symmetry.

Back
Top