Database › Physics › Classical physics › Electromagnetism
Because B is divergence-free it is the curl of a vector potential A; in the Coulomb gauge each Cartesian component of A obeys a Poisson equation sourced by the current.
Explanation
$\mathbf A$ is fixed only up to a gradient, $\mathbf A\to\mathbf A+\nabla\lambda$; choosing $\nabla\cdot\mathbf A=0$ (Coulomb gauge) turns Ampère's law into a Poisson equation, solved like the electrostatic one. The line integral of $\mathbf A$ around a loop is the magnetic flux through it.
Boundary conditions across a surface current $\mathbf K$: $B_\perp$ is continuous, the tangential component jumps, $\mathbf B_2-\mathbf B_1=\mu_0\mathbf K\times\hat{\mathbf n}_{12}$, and $\mathbf A$ itself is continuous. $\mathbf A$ can be nonzero where $\mathbf B=0$, e.g. outside a long solenoid; in quantum mechanics this has observable consequences.
Example 1
Find a vector potential for a uniform field $\mathbf B$, and check that it satisfies the Coulomb gauge.
Solution
$\mathbf A=\frac12\mathbf B\times\mathbf r$. Using $\nabla\times(\mathbf B\times\mathbf r)=\mathbf B(\nabla\cdot\mathbf r)-(\mathbf B\cdot\nabla)\mathbf r=3\mathbf B-\mathbf B=2\mathbf B$, we get $\nabla\times\mathbf A=\mathbf B$; and $\nabla\cdot(\mathbf B\times\mathbf r)=\mathbf r\cdot(\nabla\times\mathbf B)-\mathbf B\cdot(\nabla\times\mathbf r)=0$. Another choice, e.g. $\mathbf A=Bx\,\hat{\mathbf y}$ for $\mathbf B=B\hat{\mathbf z}$, differs by a gauge transformation.
Example 2
Find $\mathbf A$ inside and outside an infinite solenoid of radius $R$, $n$ turns per length, current $I$.
Solution
$\mathbf A$ circles the axis; use $\oint\mathbf A\cdot d\mathbf l=\Phi$ on a circle of radius $s$. Inside: $A\,2\pi s=\mu_0nI\pi s^2$, $\mathbf A=\frac{\mu_0nIs}{2}\hat{\boldsymbol\phi}$. Outside: $A\,2\pi s=\mu_0nI\pi R^2$, $\mathbf A=\frac{\mu_0nIR^2}{2s}\hat{\boldsymbol\phi}$, nonzero although $\mathbf B=0$ there. Both are divergence-free.