A Field With No Sources
Magnetostatics mirrors electrostatics with the two roles swapped. Where has divergence but no curl, has curl but no divergence:
with T m/A. The first says there are no magnetic monopoles: every field line closes on itself, so the flux through any closed surface is exactly zero. The second is Ampère's law, whose integral form is
Because is divergence-free it cannot be the gradient of a scalar, but it can be the curl of something, the vector potential , with . In the Coulomb gauge this satisfies , one Poisson equation per component.
Ampère's law earns its keep on symmetric geometries:
| Source | Field |
|---|---|
| Long straight wire | |
| Long solenoid | inside, ~0 outside |
| Toroid |
The Biot-Savart law handles the rest, integrating contributions along the wire.
At large distance a current loop looks like a magnetic dipole of moment , with a field of the same shape as the electric dipole's. In a uniform field it feels a torque but no net force, which is why a compass needle turns rather than being dragged.
Common pitfall: expecting the field to be zero wherever the enclosed current is zero. Ampère's law constrains the circulation, not the field. An Amperian loop drawn outside a solenoid encloses equal and opposite currents and gives zero circulation, while the field just inside is large.