Magnetostatics

Magnetostatics studies magnetic field generated by a stationary current distribution.

Charge conservation in magnetostatics open_in_new

Charge conservation now means $$ \begin{align*} ∇\cdot \v J = 0, \end{align*} $$ implied by (M4').

Ampere's law open_in_new

For any open surface $S$ with the boundary $C = \partial S$ a closed curve, (M4') and Stokes' theorem implies $$ \begin{align*} \oint_{C} \v B\cdot \d \v x = μ_0 I \end{align*} $$ where $I = \int_{S} \v J\cdot \d \v S$ is the total current through $S$. The sign convention follows the right-hand rule.

Since $∇\cdot \v J = 0$, $I$ is the same through any open surface $S$ with the same boundary $C$.

By $∇\times \v B = μ_0 \v J$, cylindrically symmetric situation could involve a combination of (in cylindrical polars)

  • an axial current $J_z(r) \, \v e_z$, linearly related to an azimuthal magnetic field $B_ϕ(r)\, \v e_ϕ$; and

  • an azimuthal current $J_ϕ(r) \, \v e_ϕ$, linearly related to an axial magnetic field $B_z(r)\, \v e_z$,

  • but not a radial component since $∇\cdot \v J=0$ and $∇\cdot \v B = 0$.

Magnetic field due to long straight wire open_in_new

For a long cylindrical wire of radius $R$ carrying a total current $I$ parallel to its axis, the magnetic field outside $r>R$ is $$ \begin{align*} \v B = \frac{μ_0 I}{2πr} \v e_ϕ. \end{align*} $$ (Derivation)

Magnetic field due to solenoid open_in_new

A solenoid is a thin wire coiled around a cylindrical tube of radius $R$. An ideal solenoid is infinitely long and tightly wound, having cylindrical symmetry and purely azimuthal current.

It produces a magnetic field of $$ \begin{align*} \v B ={}& \begin{cases} \v 0, &r>R, \\ μ_0 IN, &r<R \end{cases} \end{align*} $$ where $N$ is the number of turns per unit length and $I$ is the current.

(Derivation)

At the end of a long solenoid, field is halved: consider joining two ends together.

Surface current open_in_new

At any point on a conducting surface, let $\v n$ be the unit normal vector, pointing from region 1 to 2.

A surface current $\v K$ (current per unit length), e.g. of the form $J_ϕ(r) = K_ϕ δ(r-R)$ in a solenoid, results in discontinuity in the magnetic field $$ \begin{align*} [\v n \times \v B] ={}& μ_0 \v K, \\ [\v n\cdot \v B] ={}& 0. \end{align*} $$

(Derivation)

Vector potential in magnetostatics open_in_new

Coulomb gauge open_in_new

We can always assume the Coulomb gauge $$ \begin{align*} ∇\cdot \v A = 0 \end{align*} $$ for the magnetic vector potential $\v A$ by making a gauge transformation $\v A = \tilde {\v A} + ∇χ$ with $χ$ the solution of the Poisson equation $-∇^2χ = ∇\cdot \tilde {\v A}$.

Then using the identity $∇\times (∇\times \v A) = ∇(∇\cdot \v A) - ∇^2 \v A$, (M4') becomes the Poisson equation $$ \begin{align*} -∇^2 \v A = μ_0 \v J. \end{align*} $$

Biot-Savart law open_in_new

The solution to the Poisson equation governing $\v A$ is (assuming $\v A \to \v 0$ as $|\v x|\to \infty$) $$ \begin{align*} \v A(\v x) = \frac{μ_0}{4π} \int_{\R^3} \frac{\v J(\v x')}{|\v x-\v x'|} \d^3 \v x', \end{align*} $$ which satisfies the Coulomb gauge condition (Derivation).

The magnetic field is given by the Biot-Savart law $$ \begin{align*} \v B(\v x) = \frac{μ_0}{4π} \int_{\R^3} \frac{\v J(\v x')\times (\v x - \v x')}{|\v x - \v x'|^3} \d^3 \v x'. \end{align*} $$

Magnetic dipoles open_in_new

Consider a general current distribution $\v J(\v x)$ confined to a ball $V = \sb{\v x}{|\v x|<R}$.

Magnetic field due to magnetic dipole open_in_new

The leading approximation for the vector potential and magnetic field for $|\v x|\gg R$ is $$ \begin{align*} \v A(\v x) &\approx \v A_\text{dipole}(\v x) = \frac{μ_0}{4π} \frac{\v m\times \v x}{|\v x|^3}, \\ \v B(\v x) &\approx \v B_\text{dipole}(\v x) = \frac{μ_0}{4π} \frac{3(\v m\cdot \v x)\v x - |\v x|^2 \v m}{|\v x|^5} \end{align*} $$ where the magnetic dipole moment is given by $$ \begin{align*} \v m = \frac{1}{2}\int_{V} \v x \times \v J \d^3 \v x \iff \int_{V} x_i J_j \d^3 \v x = ε_{ijk} m_k. \end{align*} $$ (Derivation)

$\v A_\text{dipole}$ and $\v B_\text{dipole}$ are produced by a magnetic point dipole $\v m$ at the origin, corresponding to $$ \begin{align*} \v J_\text{dipole}(\v x) = ∇\times (\v m\, δ(\v x)). \end{align*} $$

Force and torque on magnetic dipole open_in_new

Under an external magnetic field $\v B(\v x)$ that varies slowly over the length scale $R$, the current distribution experiences a torque (Derivation) $$ \begin{align*} \v τ \approx \v m\times \v B \end{align*} $$ and a force (Derivation) $$ \begin{align*} \v F \approx ∇(\v m\cdot \v B) \end{align*} $$ up to first order.

Thus the force is conservative: $$ \begin{align*} \v F \approx -∇U, \qquad U = -\v m\cdot \v B, \end{align*} $$ with the potential energy $U$ minimised when $\v m$ is aligned with $\v B$.

Thin wire in magnetostatics open_in_new

For a thin wire along a curve $C$ with current $I$, the current density is $$ \begin{align*} \v J(\v x) = I \int_{C} δ(\v x - \v x') \d\v x'. \end{align*} $$ Charge conservation implies $C$ is closed or infinite. (Derivation)

Magnetic field due to thin wire open_in_new

Biot-Savart law gives $$ \begin{align*} \v A(\v x) ={}& \frac{μ_0 I}{4π} \int_{C} \frac{\d \v x'}{|\v x - \v x'|}, \\ \v B(\v x) ={}& \frac{μ_0 I}{4π} \int_{C} \frac{\d\v x' \times (\v x - \v x')}{|\v x-\v x'|^3}. \end{align*} $$

The long-range behaviour is governed by the magnetic dipole moment $$ \begin{align*} \v m = \frac{I}{2} \int_{C} \v x \times \d \v x = I \v S \end{align*} $$ where $\v S = \int_{S} \d \v S$ is the vector area of the surface $S$ with boundary $C$. (Derivation)

Forces between thin wires open_in_new

The force on wire $i$ (along curve $C_i$ with current $I_i$) due to wire $j$ (along curve $C_j$ with current $I_j$) is $$ \begin{align*} \v F_{ij} ={}& \frac{μ_0 I_i I_j}{4π}\int_{C_i} \int_{C_j} \d \v x_i \times \frac{\d \v x_j\times (\v x_i - \v x_j)}{|\v x_i - \v x_j|^3} \\ ={}& \frac{μ_0 I_i I_j}{4π} \int_{C_i} \int_{C_j} \frac{\v x_j - \v x_i}{|\v x_j - \v x_i|^3} (\d \v x_i \cdot \d \v x_j). \end{align*} $$ (Derivation)

It agrees with Newton's third law: $\v F_{ij} = - \v F_{ji}$.