Topic 12.4
Ampère's law
The field around a closed path and the current through it; long wires, solenoids and other symmetric currents.
7 min read2 worked examples3 questions to check yourself
Big idea
Around any closed path, the magnetic field added up along the path equals times the current passing through the path, which gives the field directly whenever the current is symmetric enough.
A long wire carries current out of the page. The dashed circle is an Amperian loop: an imaginary closed path chosen to follow a field line. The field is tangent to it and equally strong all the way round, so the integral of along it is just .
Explanation
Ampère's law says that for any closed path, . The left side walks once round the path, adding up the component of along each step. The right side counts the net current that pierces the surface spanned by the path: curl your right fingers the way you walk, and currents along your thumb count as positive. Currents outside the path still affect on it, but their contributions to the integral cancel.
The law holds for every steady current, but it yields only when symmetry lets you pick a path, an Amperian loop, on which is either tangent with constant size or contributes nothing. Then the integral becomes times a length. For a long straight wire the loop is a circle of radius : , the Biot–Savart result in one line.
Only the enclosed current counts. Inside a thick wire of radius with uniformly spread current, a circle of radius encloses the fraction of the current, so the field rises in proportion to , peaks at the surface, and falls as outside. If the current density varies with radius, integrate over the area inside the loop.
A long solenoid, a tightly wound coil with turns per metre, has a nearly uniform field along its axis inside and almost none outside. A rectangular loop that straddles the windings gives , the same at every point inside, whatever the solenoid's radius.
Equations
Ampère's law: the field summed along a closed path equals μ₀ times the net current through the path.
- magnetic field on the path (T)
- short step along the closed path (m)
- permeability of free space, 4π × 10⁻⁷ (T·m/A)
- net current through the surface the path bounds (A)
- Use it when
Steady currents with cylindrical or planar symmetry: long wires, thick wires, coaxial cables, solenoids.
- Not when
It cannot be solved for B when there is no path on which B is constant: short segments, a single loop. Use Biot–Savart there.
The current inside a circle of radius r, found by adding thin rings of current.
- current enclosed by the circular path (A)
- current density at radius r′ (A/m^2)
- radius of the path; radius of a thin ring inside it (m)
- Use it when
The path lies inside a conductor, especially when the current density depends on radius.
- Not when
Once the path is outside the conductor, stop the integral at the conductor's surface: the enclosed current is the whole current.
The field inside a long wire of radius R carrying uniformly distributed current I; outside, B = μ₀I/(2πr).
- magnetic field at radius r (T)
- permeability of free space (T·m/A)
- total current in the wire (A)
- distance from the wire's axis (r ≤ R) (m)
- radius of the wire (m)
- Use it when
A point inside a solid wire whose current is spread evenly over its cross-section.
- Not when
Not if the current density varies with radius, and not outside the wire.
The uniform field inside a long solenoid.
- magnetic field inside the solenoid (T)
- permeability of free space (T·m/A)
- number of turns per unit length (N/L) (1/m)
- current in each turn (A)
- Use it when
Well inside a solenoid that is long compared with its diameter.
- Not when
Near the ends the field is weaker (about half at the very end), and n is turns per metre, not the total number of turns.
Where it comes from
Inside a thick wire. A long straight wire of radius carries current spread uniformly, so its current density is . By symmetry is tangent to circles centred on the axis and has the same size all round each one. For such a circle of radius ,
Ampère's law then gives
For the loop encloses all of the current and . The two expressions agree at .
A long solenoid. Take a rectangular path of length with one long side inside the solenoid, parallel to its axis, and the other outside. The inside edge contributes . The outside edge contributes nothing, because the field there is negligible, and neither do the short edges, because inside the solenoid is perpendicular to them. The rectangle is pierced by turns, each carrying :
Worked examples
Inside and outside a coaxial cable
Step by stepA coaxial cable has a thin central wire carrying out of the page and a thin cylindrical outer conductor of radius carrying back into the page. Find the magnetic field at a point from the axis, between the conductors, and at a point from the axis, outside the cable.
- Step 1:
By symmetry the field lines are circles round the axis, with the same size all round each one. Use a circle of radius as the Amperian loop: .
- Step 2:
A circle of radius is pierced only by the central wire, so and .
- Step 3:
, circling counterclockwise.
- Step 4:
A circle of radius is pierced by both conductors, with opposite currents: . So and, by the symmetry, at every point outside the cable.
0 of 4 stepsAnswer
between the conductors; zero outside the cable
- Step 1:
Inside a thick sheet of current
Written as an exam answerA large, flat conducting slab thick carries a uniform current density out of the page. Derive the magnetic field inside the slab, a distance from its middle plane, and evaluate it at . Also find the field outside.
- Step 1:
By symmetry is parallel to the slab and perpendicular to , opposite on the two sides of the middle plane, and equal in size at .
- Step 2:
Take a rectangle with sides of length along at : ; the short sides give nothing.
- Step 3:
Inside, , so .
- Step 4:
Outside, the whole thickness is enclosed: at every distance.
Answer
, which is at ; outside,
- Step 1:
Common mistakes
Mistake
For a point inside a thick wire, put the wire's whole current into Ampère's law.
What is true
Only the current inside the Amperian loop counts. For a uniform wire that is .
Mistake
For a short straight piece of wire, Ampère's law gives too.
What is true
The law still holds, but comes out of the integral only when symmetry makes it constant along the path. For a short segment it is not, and the Biot–Savart law is needed.
Mistake
If a path encloses no net current, the magnetic field is zero everywhere on it.
What is true
Only the integral round the path is zero. A loop drawn beside a wire has field all along it; the parts where runs with the path cancel the parts where it runs against.
Check yourself
- 1.
A long solenoid's field is . It is stretched to twice its length, with the same turns and current. What is the field now?
: , and has halved.
- 2.
A closed path surrounds two wires: one carries out of the page, the other into it. What is taken counterclockwise round the path?
Counterclockwise makes out-of-the-page positive, so and the integral is .
- 3.
For a long solid wire with uniformly distributed current, where is the magnetic field strongest, and why?
At the surface. Inside, the enclosed current grows as while the path length grows as , so rises; outside, the enclosed current stops growing and falls as .
Try it
A wire of radius carries spread uniformly. Slide the radius of the Amperian loop: inside the wire the enclosed current, and so the field, grows; once the loop is outside, the enclosed current stays at and the field falls as .
Builds on
Practice 12.4 with feedback
Problem sets for Unit 12 grade themselves, and Raise hints at the next step instead of giving the answer.
Spotted a mistake in this lesson? Tell us and we will fix it.