Divergence in cylindrical/spherical coordinates

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
deedsy
Messages
81
Reaction score
0

Homework Statement



I'm just having trouble understanding a step in my notes from class.. We're talking about how to derive the divergence in other coordinate systems.

Homework Equations



So, we are deriving this divergence formula in spherical coordinates

[itex]\oint \vec{A}\cdot d\vec{A} = \int (∇ \cdot \vec{A}) dv[/itex]

The Attempt at a Solution



To do that, we create a small unit of spherical-like volume, and see it's contribution to [itex]\oint \vec{A}\cdot d\vec{A}[/itex]. We'll need to do this for all 6 faces of this small volume...and added together, it will give us the divergence formula in spherical coordinates.

So, for our small volume we use in spherical coords, we found that the contribution from the [itex]\pm \hat{r}[/itex] faces was [itex][\frac{\partial A_r}{\partial r} + \frac{2 A_r}{r_0}] r_0^2 sin(\theta_0) dr d\theta d\phi[/itex] ---> which is our [itex]\int (∇ \cdot \vec{A}) dv[/itex] for these 2 faces

Now when you look at the r-component of the divergence in spherical coordinates online, you'll see this written as
[itex](∇ \cdot \vec{A})_\hat{r} = \frac{1}{r^2} \frac{\partial (r^2 A_r)}{\partial r}[/itex]

In my notes, we did write it this way in the next step, but I guess I missed why you could re-write it that way. I'm thinking it should be easy (since it's just one step to get there)
 
Last edited:
Physics news on Phys.org
Try working it backward ie take the partial of r^2A sub r and what do you get?

The r^2sin(theta)drdthetadphi is the dv piece
 
  • Like
Likes   Reactions: 1 person