Vector potential and energy calculations in magnetostatics

Click For Summary

Discussion Overview

The discussion revolves around the calculation of energy in magnetostatics using the vector potential A. Participants explore the implications of gauge invariance, the role of current density J, and the conditions under which energy calculations may yield different results based on the choice of scalar potentials.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant expresses difficulty in calculating energy in magnetostatics using the vector potential A and questions how to determine the gradient to match the "real" energy, given that energy appears dependent on the gradient.
  • Another participant asserts that the total energy of the electromagnetic field is gauge invariant, referencing the continuity equation and concluding that the stationary current density must be source-free, leading to a zero integral under certain conditions.
  • A different participant describes a scenario with a rectangular conductor domain in 2D, questioning how the energy can become negative if the vector potential is adjusted, despite gauge invariance.
  • One reply suggests that the non-vanishing current density at infinity contributes to the surface integral, potentially affecting energy calculations.
  • Another participant counters that the divergence of J is zero in their scenario, implying that the previous integral should still hold true, thus challenging the assertion about the contribution from the surface integral.

Areas of Agreement / Disagreement

Participants exhibit disagreement regarding the implications of gauge invariance on energy calculations, particularly in scenarios where current density does not vanish at infinity. The discussion remains unresolved as different interpretations and conditions are presented.

Contextual Notes

The discussion highlights limitations related to the assumptions about current density and the conditions under which integrals are evaluated, particularly regarding the behavior at infinity and the choice of scalar potentials.

Mbert
Messages
63
Reaction score
0
I have some trouble with the calculation of energy in magnetostatics, using the vector potential A. From the classic formula that uses B*H, I find the expression (in magnetostatics) in terms of A and J (current density):

[tex]\begin{align}W &=\frac{1}{2}\int_V{\vec{B}\cdot\vec{H}{\rm d}V}\\<br /> &=\frac{1}{2}\int_V{\left(\vec{\nabla}\times\vec{A}\right)\cdot\vec{H}{\rm d}V}\\<br /> &=\frac{1}{2}\int_V{\left(\vec{\nabla}\times\left(\vec{A}+\vec{\nabla}\psi\right)\right)\cdot\vec{H}{\rm d}V}\\<br /> &=\frac{1}{2}\int_V{\left(\vec{A}+\vec{\nabla}\psi\right)\cdot\left(\vec{\nabla}\times\vec{H}\right){\rm d}V}\\<br /> &=\frac{1}{2}\int_V{\left(\vec{A}+\vec{\nabla}\psi\right)\cdot\vec{J}{\rm d}V}\end{align}[/tex]

Since the vector potential A is defined up to a gradient of some scalar field (the divergence of B is still 0), from the above equation, we can see that the energy will be depending on the gradient. However, there is only one energy that can be calculated for a given B and H. How can I find the value of the gradient to match the "real" energy?

thanks
 
Physics news on Phys.org
Of course the total energy of the electromagnetic field must be gauge invariant, and indeed it is.

In magnetostatics, all fields are time-independent. From the continuity equation,

[tex]\partial_t \rho+\vec{\nabla} \cdot \vec{J}=\vec{\nabla} \cdot \vec{j}=0,[/tex]

one concludes that the stationary current density must be source free and thus, using Green's integral theorem and the assumption that [itex]\vec{j}[/itex] vanishes at infinity, you get

[tex]\int_{\mathbb{R}^3} \mathrm{d}^3 \vec{x} \; (\vec{\nabla} \psi) \cdot \vec{J} = -\int_{\mathbb{R}^3} \mathrm{d}^3 \vec{x} \; \psi \vec{\nabla} \cdot \vec{J}=0.[/tex]
 
If I define in 2D a rectangular conductor domain in air (infinitely long in Z), where J is oriented outside the plane in Z, it is only necessary to evaluate the scalar product A*J inside the conductor domain, since elsewhere J=0. If the vector potential is also outside the plane in Z, but I choose the additive gradient to be along -Z (and also very large in module so that the resulting vector potential becomes negative), the energy becomes negative. How can this be possible if the total energy is gauge invariant?
 
Because in that situation J does not vanish at infinity, and you have a large contribution to the surface integral over the end caps at Z = ± ∞
 
But we also have div J = 0 in this case, since we have only a Jz component that does not depend on Z. So the equation of the previous poster should still be true:
[tex]\int_{\mathbb{R}^3} \mathrm{d}^3 \vec{x} \; (\vec{\nabla} \psi) \cdot \vec{J} = -\int_{\mathbb{R}^3} \mathrm{d}^3 \vec{x} \; \psi \vec{\nabla} \cdot \vec{J}=0[/tex]
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 28 ·
Replies
28
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 10 ·
Replies
10
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K