Stock's theorem and calculation of current density

Click For Summary

Discussion Overview

The discussion revolves around the application of Stokes' theorem in the context of a magnetic field described in cylindrical coordinates, specifically addressing the calculation of current density and the implications of divergence in fields with singularities.

Discussion Character

  • Technical explanation, Conceptual clarification, Debate/contested

Main Points Raised

  • Adam presents a magnetic field B=1/r\hat{\theta} and derives conflicting results regarding current density using Stokes' theorem and divergence, leading to confusion about the implications of these results.
  • Another participant introduces an analogy with the Coulomb field of a point charge to illustrate potential pitfalls in calculating divergence and applying the divergence theorem, emphasizing the role of singularities.
  • Adam questions the reasoning behind ignoring behavior at r=0 when calculating divergence, seeking clarification on the divergence definition.
  • A participant explains that the divergence can be represented using a Dirac delta distribution to account for localized sources, suggesting that the divergence theorem can still be applied correctly in such cases.
  • There is a suggestion that divergence may not be applicable for fields undefined at r=0, but this is countered by the idea that including the Dirac delta allows for proper application of the divergence theorem.
  • The analogy of a vanishing current density except at a singular point is drawn, paralleling the earlier discussion about charge density, indicating a similar "spiking up" issue at r=0.

Areas of Agreement / Disagreement

Participants express differing views on the applicability of divergence in the presence of singularities, with some suggesting limitations while others argue for the inclusion of Dirac delta functions to resolve these issues. The discussion remains unresolved regarding the best approach to handle such cases.

Contextual Notes

The discussion highlights limitations in applying divergence and Stokes' theorem in scenarios involving singularities, particularly at r=0, and the need for careful treatment of localized sources in mathematical formulations.

adamp121
Messages
11
Reaction score
0
Hi,

I'm trying to use stock's theorem with the following magnetic field -
B=1/r\hat{\theta} on Cylindrical coordinate.

From one side I get -
\nabla X B=0 = \mu \int\int J \cdot dA, means that the current density is zero.

From the other side I get -
\oint B \cdot dl = 2 \pi r \cdot 1/r = \mu I
and hence
I = 2 \pi / \mu

So... How the current density could be zero?

Thanks,
Adam.
 
Physics news on Phys.org
Hi adamp. Let me first show you a "simpler" example from electrostatics and hopefully from this example you can see what goes wrong in your calculation. Consider the Coulomb field of a point charge ##E = \frac{q}{4\pi \epsilon_0} \frac{\hat{\mathbf r}}{r^{2}}##. If we naively calculate its divergence, we find that ##\nabla\cdot E = 0## hence by the divergence theorem ##\int _{\Sigma}(\nabla\cdot E )dV = \int _{\partial \Sigma}E\cdot dA = 0##. But if we calculate the surface integral from the start we find that ## \int _{\partial \Sigma}E\cdot dA = \frac{q}{\epsilon_0}## so what's the deal?

The problem is that our system consists of a localized point source. Recall that ##\nabla\cdot E = \frac{\rho}{\epsilon_0}## so the divergence will vanish everywhere except at the localized point source because this is the only point in space where there is a charge. As such, when we calculated the divergence of the Coulomb field, we naively ignored what happens at ##r = 0## which is where the charge density "spikes up".

What we really have to do is represent the charge density in terms of a Dirac delta distribution i.e. ##\rho = q \delta^{3} (\mathbf r)##. Consequently, ##\nabla\cdot \frac{\hat{\mathbf r}}{r^{2}} = 4\pi \delta^{3}(\mathbf r)## i.e. this will respect the statement of the divergence theorem: ##\int _{\Sigma}(\nabla\cdot E)dV = \frac{q}{ \epsilon_0}\int _{\Sigma}\delta^{3}(\mathbf r) = \frac{q}{\epsilon_0} = \int _{\partial \Sigma}E\cdot dA##.

Can you now extrapolate from this and see what goes wrong in your calculation?
 
Hi,

Thank you very much for your response.

I still don't understand why when we are calculate \nabla\cdot E we "naively" ignored what happens at r=0.
Is it comes up from the divergence definition?
 
##\nabla\cdot E = \frac{q}{4\pi \epsilon_0}\frac{1}{r^{2}}\partial_{r}(r^{2}\frac{1}{r^{2}})## we have a problem at ##r = 0## as you can see :)
 
So, can we say that it impossible to use the divergence for fields which are not defined at r=0 and we need to use stokes' theorem for getting the right answer using Path integral?
 
No we can still use the divergence theorem as long as we include the dirac delta distribution, as I have done in post #2. The problem of things "spiking up" at ##r = 0## comes from us having a vanishing charge density everywhere in space except at a single point. The dirac delta distribution takes care of that.

In your case we have a vanishing current density at all points in space except for the infinitely thin current carrying wire along ##r = 0## (now in cylindrical coordinates); we again have a sudden "spiking up" problem. The situation is analogous to what I talked about in post #2.
 
Now it's all clear :-)

Thank you again
 
Anytime. Good luck with your studies!
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
976
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K