Curl of the Magnetic Field of an Infinite Wire

Click For Summary

Discussion Overview

The discussion revolves around the mathematical treatment of the magnetic field generated by an infinite straight wire carrying a steady current. Participants explore the implications of using Stokes' theorem and the behavior of delta functions in this context, addressing both theoretical and mathematical aspects.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents a relationship involving the curl of the magnetic field and the delta function, suggesting it resolves an apparent contradiction in applying Stokes' theorem to the magnetic field of an infinite wire.
  • Another participant challenges the use of cylindrical coordinates for analyzing delta distributions along the z-axis, citing singularities in the coordinate system.
  • There is a correction regarding the expression for the divergence of a vector field, emphasizing the proper treatment of delta functions in three dimensions.
  • Participants discuss the derivation of the vector potential and its implications for the magnetic field, noting that the integral diverges but can be regularized by subtracting a constant.
  • Clarification is sought regarding the notation and expressions used for the magnetic field and current density, indicating some confusion about the application of the Dirac delta function.

Areas of Agreement / Disagreement

Participants express differing views on the appropriate mathematical treatment of the problem, particularly regarding the use of coordinate systems and the interpretation of delta functions. No consensus is reached on the validity of the initial relationship proposed or the implications of the corrections offered.

Contextual Notes

Limitations include the potential misunderstanding of delta function behavior in different coordinate systems and the unresolved nature of the mathematical derivations presented.

Daniel Gallimore
Messages
48
Reaction score
17
I'm familiar with the relationship \nabla\cdot\frac{\hat{r}}{r^2}=4\pi\delta(r) in classical electromagnetism, where \hat{r} is the separation unit vector, that is, the field vector minus the source vector. This is result can be motivated by applying the divergence theorem to a single point charge.

I stumbled across a similar relationship when playing with Stokes' theorem and the magnetic field of an infinite straight wire with a steady current I: it is \nabla\times\frac{\hat{\phi}}{r}=2\pi\delta^2(r) \, \hat{z}

The magnetic field of an infinite straight wire is B=\frac{\mu_0I}{2\pi r} \, \hat{\phi} Stokes' theorem states \iint_S(\nabla\times B)\cdot d a=\oint B\cdot d \ell The right side of the equation is \mu_0I. The left side of the equation, however, is zero since \nabla\times\frac{\hat{\phi}}{r}=0 using the standard definition of the gradient in cylindrical coordinates. Using the relationship I introduced in the second paragraph seems to fix this problem. This relationship is also able to satisfy Stokes' theorem for a finite straight wire.

So far, I have only been able to find one tangential reference to this relationship in Ben Niehoff's response to the question "Is B with curl 0 possible?" If this formula is familiar to anyone, or if anyone can reference literature that specifically addresses this formula, I would greatly appreciate it.
 
Physics news on Phys.org
The problem is that you cannot use cylinder coordinates to study the ##\delta##-distribution like behavior along the ##z## axis, because there the coordinates are singular, because the Jacobian between Cartesian and cylinder coordinates is ##\det (\partial(x,y,z)/\partial(\rho,\varphi,z)=r##, which is ##0## for ##\rho=0##, i.e., along the ##z## axis.

Also your first formula is a bit problematic. Correct is
$$\vec{\nabla} \cdot \frac{\vec{r}}{r^3}=-\Delta \frac{1}{r}=4 \pi \delta^{(3)}(\vec{x}),$$
but you cannot equal this simply to ##4 \pi \delta(r)## (which simply doesn't make sense as a equation of distributions; it's even dimensionally wrong).

To answer your question, you can however use this correct equation (which is derived in electrostatics when calculating the Green's function of the negative Laplace operator). In magnetostatics you have (in Heaviside-Lorentz units)
$$\vec{\nabla} \times \vec{B}=\frac{1}{c} \vec{j}, \quad \vec{\nabla} \cdot \vec{B}=0.$$
The latter equation implies that there is a vector potential
$$\vec{B}=\vec{\nabla} \times \vec{A},$$
which is only defined up to a gradient field (for given ##\vec{B}##). Thus we can impose one constraint condition ("gauge-fixing condition"). Here the most convenient choice is
$$\vec{\nabla} \cdot \vec{A}=0.$$
Then you have (in Cartesian coordinates!)
$$\vec{\nabla} \times \vec{B}=\vec{\nabla} \times (\vec{\nabla} \times \vec{A})=\vec{\nabla} (\vec{\nabla} \cdot \vec{A})-\Delta \vec{A}=-\Delta \vec{A}=\frac{1}{c} \vec{j}.$$
Now for your case of an infinitely long infinitesimally thin wire along the ##z## axis you have
$$\vec{j}=\vec{e}_z I \delta(x) \delta(y).$$
Using the Green's function of the negative Laplace operator leads to
$$\vec{A}(\vec{r})=\int_{\mathbb{R}^3} \frac{\vec{j}(\vec{r}')}{4 \pi c |\vec{r}'-\vec{r}|}=\vec{e}_z \frac{I}{4 \pi c} \int_{-\infty}^{\infty} \mathrm{d} z' \frac{1}{\sqrt{(z'-z)^2+\rho^2}}=\vec{e}_z \frac{I}{4 \pi c} \int_{-\infty}^{\infty} \mathrm{d} z' \frac{1}{\sqrt{z^{\prime2}+\rho^2}}.$$
This diverges of course, but we can add an arbitrary constant to the potential. So we can calculate instead
$$\vec{A}_{\text{reg}}(\vec{r})=\vec{e}_z \frac{I}{4 \pi c} \int_{-\infty}^{\infty} \mathrm{d} z' \left (\frac{1}{\sqrt{z^{\prime2}+\rho^2}} - \frac{1}{\sqrt{z^{\prime2}+\rho_0^2}} \right )=-\vec{e}_z \frac{I}{2 \pi} \ln \left (\frac{\rho}{\rho_0} \right).$$
In the last step I used Mathematica and, of course, I have assumed ##\rho, \quad \rho_0>0## for ##\rho=0## the integral doesn't exist at all.

Now evaluating the magnetic field, indeed gives your result
$$\vec{B}=\vec{\nabla} \times \vec{B}=\frac{I}{2 \pi \rho} \hat{\phi}, \quad \rho \neq 0.$$
Our derivation shows that indeed
$$\vec{\nabla} \times \vec{B}=I \delta(x) \delta(y) \vec{e}_z,$$
i.e.,
$$\vec{\nabla} \times \frac{\hat{\phi}}{2 \pi \rho}=\delta(x) \delta(y) \vec{e}_z.$$
It's clear that you can't write the right-hand side in terms of cylinder coordinates, because ##\delta(x) \delta(y)## has its support at ##x=y=0##, i.e., ##\rho=0## along the ##z## axis, where these coordinates are singular and their Jacobian with Cartesian coordinates vanishes.
 
  • Like
Likes   Reactions: Daniel Gallimore
Thank you!

I didn't know you could write the current density for an infinite wire. Very neat.
vanhees71 said:
Now evaluating the magnetic field, indeed gives your result
\vec{B}=\vec{\nabla}\times\vec{B}=\frac{I}{2\pi\rho}\hat{\phi},ρ≠0.​
Did you mean \vec{B}=\vec{\nabla} \times \vec{A}=\frac{I}{2 \pi \rho} \hat{\phi}, \quad \rho \neq 0?
I don't have a very good grasp on the theory behind the Dirac delta since you typically only learn how to use them undergraduate E&M or Quantum course when they're useful. Very handy objects, though.
 
Yes, I should have put a larger blank after the comma.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 29 ·
Replies
29
Views
2K
  • · Replies 1 ·
Replies
1
Views
898
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 3 ·
Replies
3
Views
959
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K