Thin wire in magnetostatics

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}$.