Biot-Savart law and Ampere's law
Anchor (Master): Jackson, *Classical Electrodynamics*, 3e (1999), Ch. 5; Zangwill, *Modern Electrodynamics*, Ch. 9
Intuition [Beginner]
Static charges produce electric fields. Moving charges produce something else: a magnetic field . The experimental fact is that a current-carrying wire deflects a nearby compass needle — the same needle that points toward geographic north in Earth's field rotates when you switch on the current. The needle responds to ; the current creates it.
The Lorentz force law tells you what a magnetic field does to a charge moving with velocity :
The cross product means the force is perpendicular to both the velocity and the field. A charge moving along feels no force; a charge moving across curves sideways. Magnetic forces do no work (force perpendicular to displacement), so they change direction but not speed.
The Biot-Savart law tells you the field produced by a small piece of current-carrying wire. For a short segment of wire carrying current , the field at a point a distance away points perpendicular to both the wire and the line from wire to point, and its magnitude drops as . Adding up the contributions from every segment of wire gives the total field. For a long straight wire, the result is a field that circles the wire, with magnitude where is the permeability of free space.
Ampere's law is the magnetic analogue of Gauss's law. Where Gauss's law relates the total electric flux through a closed surface to the enclosed charge, Ampere's law relates the total field tangent to a closed loop to the current passing through the loop. The line integral of around any closed loop equals times the total current threading that loop. This is most useful when symmetry pins down the direction of : for the long straight wire, a solenoid, and a toroid, Ampere's law gives the field in a few lines.
Visual [Beginner]
A long straight wire carrying current out of the page produces circular magnetic field lines centred on the wire, lying in the plane of the page. The field lines get farther apart as you move outward — the field weakens as . A compass placed near the wire orients tangent to the nearest circle. Reverse the current direction and every arrow on every circle reverses.
Inside a solenoid (a long cylindrical coil of wire), the field lines run straight and parallel down the bore, tightly packed and uniform — a region of nearly constant . Outside the solenoid the field lines loop back around, but for a long solenoid the exterior field is weak compared to the interior.
The right-hand rule determines direction: point your right thumb along the current; your fingers curl in the direction of .
Worked example [Beginner]
Two long parallel wires carry current A in the same direction, separated by m. Find the magnetic force per unit length between them.
Step 1. Field of wire 1 at the location of wire 2. Wire 1 creates a field of magnitude at the position of wire 2. Substitute:
Step 2. Force on wire 2. A length of wire 2, carrying current in a field , experiences force (the cross-product magnitude, since the field is perpendicular to the wire). Force per unit length:
Step 3. Direction. Two parallel currents in the same direction attract. (If they were opposed, the force would be repulsive.) The result is an attractive force of N/m — small, but measurable, and the principle behind the operational definition of the ampere.
Check your understanding [Beginner]
Formal definition [Intermediate+]
A steady current density produces a static magnetic field. The fundamental law is the Biot-Savart law:
For a thin wire carrying current along a curve , this reduces to
The Biot-Savart law is the magnetic analogue of Coulomb's law for : both are laws, both superpose linearly, and both can be derived from the appropriate Maxwell equation plus a Green's-function inversion. The cross product in the Biot-Savart law reflects the vector character of current (a vector source) compared to the scalar character of charge.
Ampere's law (integral form). For any closed loop bounding a surface ,
The left side is the circulation of around ; the right side is times the total current threading . The sign convention: the direction of and the orientation of are linked by the right-hand rule.
Ampere's law (differential form). Applying Stokes' theorem to the integral form,
This is the magnetostatic Maxwell equation. The curl on the left is non-zero only where current is present — currents are the sources of curl , just as charges are the sources of . (The full time-dependent Maxwell equation adds the displacement current to the right side; see unit 10.04.01 pending.)
The vector potential. Since (no magnetic monopoles), there exists a vector field such that
The vector potential is the magnetic analogue of the electrostatic scalar potential (). It is not unique: replacing for any smooth function leaves unchanged. This gauge freedom is fixed by imposing a gauge condition — the standard magnetostatic choice is the Coulomb gauge , developed in the Master tier.
In the Coulomb gauge, the vector potential satisfies a Poisson equation , solved by
Magnetic force on a current loop. A current-carrying wire in an external field experiences a force. For a wire segment carrying current along , the force element is . A closed loop in a uniform field experiences zero net force but a torque
where is the magnetic dipole moment and is the oriented area vector of the loop. This is the magnetic analogue of for an electric dipole.
Counterexamples to common slips
- Ampere's law in the form is valid only in magnetostatics (steady currents, ). Time-varying fields require the displacement-current correction . Applying the magnetostatic form to a charging capacitor gives a contradiction — the displacement current resolves it.
- The Biot-Savart law gives the field of a steady current. It is not the correct Green's function for time-dependent currents; the retarded-potential formulation of the full Maxwell equations
10.04.01pending replaces instantaneous propagation with retardation at speed . - The vector potential is gauge-dependent and not directly measurable in classical electrodynamics. Its line integral (the magnetic flux through the loop) is gauge-invariant. In quantum mechanics acquires direct physical significance through the Aharonov-Bohm effect (Master tier).
- A magnetic dipole moment is not a pair of magnetic charges (a "north" and "south" pole). All known magnetic dipoles are current loops (or spin, which is quantum-mechanical). No magnetic monopole has been observed; holds in all known situations.
Key theorem with proof [Intermediate+]
Theorem (Ampere's law from the Biot-Savart law). The Biot-Savart law
implies for steady currents satisfying .
Proof. Write the Biot-Savart kernel using the identity . Then
where the curl passes through the integral (it acts on , not ) and the sign flip comes from with treated as constant under . Recognising the integral as the vector potential in the Coulomb gauge, .
Now take the curl of :
In the Coulomb gauge, . The vector Poisson equation follows from the Green's-function solution for and the identity . Therefore
The steady-current condition enters at the step where the Coulomb gauge is imposed: the vector potential satisfies if and only if (integrate by parts; the boundary term vanishes for localised currents).
Worked example: field of a solenoid at intermediate level
A solenoid of length with turns per unit length carries current . Use Ampere's law to find inside and outside.
Choose a rectangular Amperean loop with one long side inside the solenoid (parallel to the axis, length ) and the opposite long side outside. The two short sides are perpendicular to the axis. By symmetry, inside is axial and uniform; outside, the field of an infinite solenoid is zero (field lines that leave one end return through the other, and the exterior region is field-free in the ideal limit).
Ampere's law:
The enclosed current is turns times . Solving:
The field is uniform, axial, and independent of the solenoid's cross-section. Outside, the same Amperean loop with both long sides exterior gives zero enclosed current for a loop that does not thread the solenoid, so in the infinite-length limit.
Exercises [Intermediate+]
Biot-Savart as convolution and the Helmholtz decomposition [Master]
The Biot-Savart law is a convolution of the current density with a vector Green's function:
where , , and is the magnetic Green's kernel. The cross-product structure distinguishes this from the scalar Coulomb Green's function .
The Helmholtz decomposition states that any sufficiently smooth vector field vanishing at infinity can be decomposed as where is a scalar potential and is a vector potential. For the magnetic field: eliminates the scalar part (), leaving as the unique decomposition. The Biot-Savart law provides the explicit convolution formula for :
The curl of this gives Biot-Savart for ; the divergence of this (using ) is zero — the Coulomb gauge is automatic.
Gauge freedom and the Coulomb gauge [Master]
The vector potential is defined only up to a gradient: leaves unchanged for any smooth . This is gauge freedom, and it reflects a redundancy in the description — the physical field has fewer degrees of freedom than the mathematical object .
The Coulomb gauge fixes this redundancy by imposing . In this gauge the static equations become:
The Poisson equation for each component of is solved by the integral formula above. The Coulomb gauge condition holds automatically when (steady currents) because the divergence passes through the integral and gives .
Other gauge choices exist. The Lorenz gauge is the natural choice for time-dependent problems because it decouples the wave equations for and . The Coulomb gauge is natural for magnetostatics because it renders instantaneous (no retardation) and the Poisson equation is straightforward.
The Aharonov-Bohm effect (preview) [Master]
In classical electrodynamics, is a mathematical convenience — only is physical. In quantum mechanics this is no longer true. The Aharonov-Bohm effect (1959) demonstrates that a charged particle can be affected by even in a region where .
Consider a long solenoid carrying current, producing a confined magnetic field inside and outside. The vector potential outside is where is the flux through the solenoid. A quantum-mechanical electron beam split into two paths encircling the solenoid acquires a phase difference
even though along both paths. The interference pattern shifts by an amount depending on the enclosed flux — a direct measurement of the line integral of , which equals the flux of through the enclosed area by Stokes' theorem. This confirms that (or rather, the holonomy of the connection ) has physical significance beyond .
The Aharonov-Bohm effect is the entry point to the gauge-theory viewpoint on electromagnetism: is a connection on a principal bundle over space, is its curvature, and gauge transformations are bundle automorphisms. The holonomy (Wilson loop) is the gauge-invariant observable associated with a closed curve.
Multipole expansion for magnetic fields [Master]
For a localised current distribution, the vector potential admits a multipole expansion analogous to the electrostatic case. In the Coulomb gauge, the leading term at large distance is
where the magnetic dipole moment is
There is no magnetic monopole term ( forbids it). The dipole field is
This has the same angular structure as the electric dipole field with and . Higher-order terms (magnetic quadrupole, octupole) fall as , , etc. For most purposes the dipole approximation suffices at distances large compared to the source size.
The absence of a magnetic monopole term in the multipole expansion is a direct consequence of . If magnetic monopoles existed (Dirac monopoles, charge ), the leading term would be and the quantisation condition would follow from requiring single-valuedness of the wave function.
Historical notes [Master]
The magnetic effect of electric currents was discovered by Hans Christian Oersted in 1820, who observed that a compass needle deflects near a current-carrying wire. This was the first experimental link between electricity and magnetism.
Jean-Baptiste Biot and Felix Savart (1820) measured the dependence of the field around a long wire and formulated the law for the contribution of a current element. Andre-Marie Ampere (1820-1826) established the force law between current-carrying wires, developed the mathematical theory of the interaction of current elements, and formulated the circuital law bearing his name. Ampere's experimental and theoretical work was so thorough that Maxwell called him the "Newton of electricity."
The vector potential was introduced by Franz Ernst Neumann (1845) and developed by William Thomson (Lord Kelvin) and James Clerk Maxwell. The gauge-theory interpretation dates to Weyl (1918, scale invariance) and London (1927, phase invariance), with the modern bundle formulation due to Wu and Yang (1975).
Connections [Master]
To differential geometry. The vector potential is a connection 1-form on a principal bundle over . The magnetic field is the curvature 2-form . Gauge transformations are bundle automorphisms. The Aharonov-Bohm phase is the holonomy of the connection around a closed curve. This is the simplest example of a Yang-Mills theory and the template for the gauge-theory description of the other fundamental forces.
To Faraday's law 10.03.01 pending. The magnetostatic Maxwell equation becomes one of the four time-dependent Maxwell equations when the displacement current is added (unit 10.04.01 pending). The vector potential will reappear as the dynamical variable in the Lagrangian and Hamiltonian formulations of electrodynamics, and its time derivative is related to the electric field by .
To quantum mechanics. The minimal-coupling Hamiltonian is the starting point for the quantum theory of charged particles in electromagnetic fields. Landau levels, the quantum Hall effect, and flux quantisation in superconductors all derive from the interplay between and the wave function's phase.
To biophysics 17.09.02 pending. Ionic current loops in neurons produce magnetic fields detectable by magnetoencephalography (MEG). The Biot-Savart law gives the field from a known current distribution; inverse problems (inferring current from measured ) are the core computational challenge of MEG source localisation.
Bibliography [Master]
- Ampere, A.-M. (1826). Theorie des phenomenes electro-dynamiques, uniquement deduite de l'experience. Megnetiques et Electrodynamiques.
- Biot, J.-B. and Savart, F. (1820). "Note sur la magnetisme de la pile de Volta." Annales de chimie et de physique, 15, 222–223.
- Griffiths, D. J. (2017). Introduction to Electrodynamics, 4th ed. Cambridge University Press. Ch. 5.
- Jackson, J. D. (1999). Classical Electrodynamics, 3rd ed. Wiley. Ch. 5.
- Oersted, H. C. (1820). "Experiments on the effect of a current of electricity on the magnetic needle." Annals of Philosophy, 16, 273–276.
- Tong, D. "Electromagnetism." Lecture notes, Cambridge. §2.
- Zangwill, A. (2013). Modern Electrodynamics. Cambridge University Press. Ch. 9.
- Aharonov, Y. and Bohm, D. (1959). "Significance of electromagnetic potentials in the quantum theory." Physical Review, 115(3), 485–491.
- Wu, T. T. and Yang, C. N. (1975). "Concept of nonintegrable phase factors and global formulation of gauge fields." Physical Review D, 12(12), 3845–3857.