Ampere's law relates the circulation of a magnetic field around a closed loop to the electric current passing through the loop. In differential form it reads
where is the vacuum permeability and is the volume current density. It can be converted to integral form by application of the curl theorem:
where is the enclosed current passing through the surface. This law can be thought of as the magnetic counterpart of Gauss' law and just like it, it makes solving some problems trivial, provided symmetry allows.
It can also be expressed in terms of the magnetic vector potential as
which are three Poisson's equation, one for each coordinate.
Symmetries#
There are four symmetries that work well for Ampere's law:
- a loop around an infinite straight wire
- a loop across an infinite flat surface charge density
- an infinite solenoid
- a toroid
Loop around a wire#
Consider a wire carrying a steady current . We want to find the magnetic field at a distance from it. We know the field goes around the wire, so the magnitude of is constant on a loop around that wire. So, Ampere's law gives
or
Loop across a surface#
Consider a uniform surface current density flowing over the plane. The magnetic field cannot have an component since the cross product between the current and the position vector in the Biot-Savart law must be on the plane. But it also cannot have a component as the component of the field cannot possibly depend on the direction of the current in the plane. Another way of looking at this is to imagine a wire in the direction of the current density. This creates a loop of magnetic field around it. If you add another wire right next to it, it'll create a second loop, but the left side of the second loop cancels out the right side of the first loop because of the superposition principle. The only parts that don't cancel out are the horizontal ones at the top and bottom. This way, the leftmost and rightmost parts remains circular, but the center is now stretched out a little. If you keep adding wires, the central flat field gets stretched out even more, until it either goes to infinity or you just pretend the surface current you just made is large enough you can only consider the central portion. Thus, the field of a flat current density is parallel to the surface and perpendicular to the current and the only direction that can be is the axis.
Thus, we draw an Amperian square loop across the surface with a side of , with the current passing through the loop (i.e. on the plane). Applying Ampere's law
(one comes from the bottom edge, the other from the top edge. The edges that cross the surface cancel each other out). Thus
or more precisely
Solenoid#
Consider a long, closely wound solenoid of radius carrying a steady current . The magnetic field cannot have a radial component as that would imply that reversing the current could make the radial component flip sign, but that makes no sense as reversing the current is equivalent to putting the solenoid upside down, which would certainly not affect the magnetic field (radially). It also cannot have a circumferential component, as if it did, the field would be constant over a loop around the solenoid and applying Ampere's law
since the loop is outside the solenoid and there is no current there. This implies that the field is zero everywhere, which is manifestly false. So the field of an infinite, closely wound solenoid can only have a component on the axis of the solenoid. Goes in the reverse of the winding direction inside and alongside it outside. Knowing this, let's try applying Ampere's law to a loop outside of the solenoid, with sides at distances and from the axis:
so
Clearly then, the field outside of the solenoid does not depend on the distance from the axis. But it also goes to zero at large distances, so the only value it can have is zero everywhere.
Let's try again with a loop going around some of the turns. Half of the loop is inside, the other half outside, so Ampere's law gives
so
where the field here is the one inside of the solenoid.
For magnetized matter#
Consider any magnetized object upon which is set a free current . The total current then is the sum of the free one and the bound one :
From Ampere's law we get
if we collect the curls we get
where is the auxiliary field. Thus Ampere's law in magnetized matter is
and in integral form
where is the free current enclosed in the Amperian loop.
In electrodynamics#
There is an internal issue with how Ampere's law is formulated. In differential form, it is the curl of the magnetic field and from calculus we know that the Divergence of curl is always zero. And yet, if we apply the divergence to Ampere's law we get
which is, in general, not zero. It is zero in magnetostatics, when using steady currents, but beyond magnetostatics (in electrodynamics), it cannot be correct. Truth is, Ampere's law is actually missing a piece, as Maxwell discovered.
For a thought experiment, imagine we are charging a capacitor. The integral from of Ampere's law is
Say I want to use this law on a loop right after a capacitor, beyond the second plate.
What's the enclosed current? Well, it's whatever current is passing through the surface of the loop. But what is the surface of the loop? It's any surface bounded by it. The obvious choice here is just the flat space within the loop (blue in the image), but it could just as well be the amorphous green one, similar to a balloon, passing through the space in between the conductor's armatures. The issue here is that, while in the blue surface the current passing through is obvious, in the green one there is no current passing through. This makes no sense: Ampere's law must hold for every possible surface bounded by the loop, it can't be picky. There's clearly something wrong here.
The problem arises in electrodynamics: this never occurred in magnetostatics because steady current don't cause a buildup of electric charge anywhere, whereas non-steady currents do. Since in order to charge a capacitor you need a non-steady current (to stockpile charge on the capacitor plates), this occurs only now. In fact, in all of electrodynamics, the concept of "current enclosed by the loop" is ill-defined, as it predicates on the notion that the current is constant in time.
To find the missing link, apply the current continuity equation and Gauss' law to the problematic side of Ampere's law
where we brought the time derivative inside the Divergence because the function is "well-behaved", i.e. continuous and differentiable. So, if we add the term in brackets to Ampere's law, it exactly cancels out the divergence we found before and fix the law. Thus, we get the Ampere-Maxwell law:
The new terms vanishes in magnetostatics, where is constant in time, but it cannot be ignored in electrodynamics, where it has the fundamental consequence:
The additional term is called the displacement current (as opposed to the conduction current ), though it has nothing to do with the actual current beyond adding to its value. To see why this fixes the law physically, beyond mathematically, let's go back to the capacitor problem. If the capacitor plates are close to each other, the field between them is
where is the charge on the plate and is its area. We thus have
Substituting this in the fixed Ampere's law gives us
If we choose the flat surface, then and , but if we choose the pathological balloon-like surface instead, then and , which again gives us the correct result.