doPhysics.in
All chapters

Ampere's Circuital Law

14 min read4 ideas6 checks2 figures to playBy Asheshanand Acharya
What you will learn 0 / 4
Amperes circuital law
Maths you need

Going round a closed loop

The Biot-Savart law gives the field of any wire, but often at the cost of an integral. For shapes with strong symmetry there is a shortcut. It does not look at one point. It looks at a whole closed path round the currents.

Draw any closed loop in space and choose a sense to go round it. Cut the loop into small steps \(d\vec l\), each along the path. At each step take \(\vec B\cdot d\vec l = B\,dl\cos\theta\), where \(\theta\) is the angle between the field and the step. Add these round the whole loop. The total is the line integral of \(\vec B\) round the loop, written \(\oint\vec B\cdot d\vec l\).

Try it on a circle of radius \(r\) round a long straight wire, gone round in the sense of the field lines. The field is \(\mu_0 I/2\pi r\) at every point and points along the circle, so \(\cos\theta = 1\). The sum is \(B\times 2\pi r = \mu_0 I\). The radius has dropped out. A bigger circle has a weaker field but a longer path, and the product stays \(\mu_0 I\).

That result is not a lucky accident of circles. It holds for every closed loop round the wire, of any shape. André-Marie Ampère's study of currents led to the general law, which carries his name.

law 11.2
Ampere's circuital law

For any closed loop, the line integral of the magnetic field round the loop equals \(\mu_0\) times the net current threading the loop: \(\oint\vec B\cdot d\vec l = \mu_0 I_{enc}\). Curl the fingers of the right hand in the sense of travel round the loop. A current along the thumb counts as positive, a current the other way as negative.

RememberAmpere's circuital law
\[ \oint \vec B\cdot d\vec l = \mu_0\,I_{enc} \]
Holds whenany closed loop, for steady currents; \(\vec B\) is the total field on the loop, from all currents inside and outside it.
Symbols\(\vec B\) magnetic field on the loop, \(d\vec l\) a small step along the loop, \(I_{enc}\) net current threading the loop, signed by the right-hand rule, \(\mu_0\) permeability of free space
Unitsboth sides in T m (\(\mu_0 = 4\pi\times10^{-7}\,\text{T m/A}\), current in A)

The loop chosen for the law is called an Amperian loop. The current that threads it is the enclosed current, the current through any surface spanning the loop. Currents outside the loop still make field on the loop. But they add as much to the sum on one side of the loop as they take away on the other. So they drop out of the total.

Currents through an Amperian loopA closed loop, gone round anticlockwise, encloses a wire carrying 5 amperes out of the page and a wire carrying 3 amperes into the page. A third wire, carrying 4 amperes, lies outside the loop. The line integral of B round the loop is mu nought times 5 minus 3 amperes; the outside wire changes B along the loop but adds nothing to the integral. 5 A 3 A 4 A ∮ B·dl = μ0 (5 A − 3 A)
Fig 4.1An Amperian loop gone round anticlockwise. It is threaded by \(5\,\text{A}\) out of the page, which counts as positive, and \(3\,\text{A}\) into the page, which counts as negative. The \(4\,\text{A}\) wire outside changes \(B\) along the loop but adds nothing to the total.

In Fig 4.1 the right hand, curled anticlockwise, has its thumb out of the page. The \(5\,\text{A}\) coming out counts \(+5\,\text{A}\) and the \(3\,\text{A}\) going in counts \(-3\,\text{A}\). So \(\oint\vec B\cdot d\vec l = \mu_0\times 2\,\text{A} = 2.51\times10^{-6}\,\text{T m}\). Go round the other way, and every sign flips: both sides of the law change sign together.

Common mistake

The law is always true, but it gives \(B\) only when the loop has symmetry. The left side is an integral of \(B\) round the loop. It becomes "\(B\) times the length" only on a loop where \(B\) has one size everywhere and points along the loop. Choosing that loop is the whole skill.

Checkpoint · numericUnanswered

A closed loop in the page is gone round clockwise. It is threaded by a wire carrying \(8\,\text{A}\) into the page and a wire carrying \(3\,\text{A}\) out of the page. A third wire, carrying \(10\,\text{A}\), lies outside. What is \(\oint\vec B\cdot d\vec l\), in microtesla metres?

μT m± 2 %
The long wire by amperes law
Maths you need

The long wire, in one line

Use the law the other way now. Start from the symmetry of a long straight wire and find its field. Turn the wire about its own axis, or slide it along itself. Nothing changes, so the field cannot change either. Its size can depend only on the distance \(r\) from the wire, and its lines must be circles round it.

Take the Amperian loop to be one of those circles, of radius \(r\). On it \(B\) is constant and along the path. So the integral is \(B\times 2\pi r\), and the law gives \(B\times 2\pi r = \mu_0 I\), that is \(B = \mu_0 I/2\pi r\). Two lessons of Biot-Savart work have become one line.

Checkpoint · numericUnanswered

Use Ampere's law to find the field \(3\,\text{cm}\) from a long straight wire carrying \(12\,\text{A}\). Give it in microtesla.

μT± 2 %
Inside and outside a solid cylinder
Maths you need

Inside a thick wire

A real wire has a radius \(R\), and the current flows through its whole cross-section. Outside the wire, a circle of radius \(r > R\) encloses all of \(I\). The field there is \(\mu_0 I/2\pi r\), as if all the current flowed along the axis.

Inside, a circle of radius \(r < R\) encloses only the current through its own area. Let the current be spread evenly, with a uniform current density \(J = I/\pi R^2\). The circle encloses \(J\pi r^2 = Ir^2/R^2\). Then \(B\times 2\pi r = \mu_0 I r^2/R^2\).

RememberField of a long solid cylinder with a uniform current
\[ \begin{gathered} B = \dfrac{\mu_0 I r}{2\pi R^2}\ \ (r \le R) \\ B = \dfrac{\mu_0 I}{2\pi r}\ \ (r \ge R) \end{gathered} \]
Holds whena long straight cylinder of radius \(R\) carrying a current \(I\) spread uniformly over its cross-section; the field lines are circles about the axis.
Symbols\(B\) field at distance \(r\) from the axis, \(I\) total current, \(R\) radius of the cylinder, \(r\) distance from the axis
Units\(B\) in T when \(I\) is in A and lengths in m

The field is zero on the axis and rises in proportion to \(r\). It peaks at the surface, where the two formulas agree at \(\mu_0 I/2\pi R\). Beyond the surface it falls as \(1/r\). For \(R = 0.02\,\text{m}\) and \(20\,\text{A}\): \(10^{-4}\,\text{T}\) at \(0.01\,\text{m}\), \(2\times10^{-4}\,\text{T}\) at the surface, \(10^{-4}\,\text{T}\) at \(0.04\,\text{m}\).

An Amperian circle inside a cylinderThe cross-section of a long cylinder of radius 2 centimetres with current out of the page. A dashed Amperian circle grows from the axis with a slider; the current it encloses and the field on it are read live, and a point climbs the B against r graph. With a uniform current the field rises in proportion to r inside, peaks at the surface at 200 microtesla and then falls as one over r. Chips give a current density that grows as r, and a thick tube of radii 1 and 2 centimetres carrying 30 amperes, empty of field in its hollow. B I = 20 A out of the page 1234100200300Or (cm)B (μT) r = 1.0 cm, Ienc = 5.0 A, B = 100 μT
SimA long cylinder of radius \(2\,\text{cm}\) seen end-on, its current out of the page. Grow the dashed Amperian circle and watch the enclosed current and \(B\), and the point on the graph. Then try a current density that grows as \(r\), and a thick tube of radii \(1\) and \(2\,\text{cm}\) carrying \(30\,\text{A}\).

Now let the current crowd towards the surface, with a density \(J = J_0 r/R\) that grows with the distance from the axis. A thin ring of radius \(r'\) and width \(dr'\) carries \(J\times 2\pi r'\,dr'\). Adding the rings from \(0\) to \(r\) gives a current proportional to \(r^3\). So a circle of radius \(r\) encloses \(Ir^3/R^3\), and \(B = \mu_0 Ir^2/2\pi R^3\) inside.

ExampleA current crowded to the surface

A long cylinder of radius \(R\) carries a total current \(I\) with density \(J = J_0 r/R\). Part (a): find the current enclosed by a circle of radius \(r < R\). Part (b): find \(B\) at \(r = R/2\) and compare it with the uniform case. Part (c): where is \(B\) largest?

Try it on paper first. The solution is one tap away when you are ready.
Checkpoint · numericUnanswered

A long straight wire of radius \(1\,\text{cm}\) carries \(10\,\text{A}\) spread uniformly over its cross-section. What is the field \(0.5\,\text{cm}\) from its axis, in microtesla?

μT± 2 %
CheckpointUnanswered

Where is the magnetic field of a long solid cylinder carrying a uniform current largest?

Hollow cylinders and the coaxial cable

Hollow cylinders and coaxial cables

A long thin-walled tube carries a current along its length. By symmetry its field lines are circles about the axis, as before. A circle inside the hollow encloses no current, so \(B\times 2\pi r = 0\). The field inside the tube is zero at every point. Outside, the circle encloses all of \(I\), and \(B = \mu_0 I/2\pi r\).

A thick tube, with radii \(a\) and \(b\), needs the enclosed part of its wall. For a circle of radius \(r\) between \(a\) and \(b\), the enclosed fraction is the area \(\pi(r^2 - a^2)\) over \(\pi(b^2 - a^2)\). A tube of radii \(0.01\,\text{m}\) and \(0.02\,\text{m}\) carrying \(30\,\text{A}\) encloses \(30\times(2.25 - 1)/(4 - 1)\), or \(12.5\,\text{A}\), at \(0.015\,\text{m}\). There \(B = 2\times10^{-7}\times 12.5/0.015\), which is \(1.67\times10^{-4}\,\text{T}\).

A coaxial cable carries a current \(I\) out along a central core and the same current back along a metal shell round it. The cable of a television set-top box is one. Fig 4.2 cuts it across. A circle in the core encloses \(Ir^2/a^2\). A circle in the gap encloses all of \(I\). A circle outside encloses \(I - I = 0\).

A coaxial cable in sectionThe cross-section of a coaxial cable: a core of radius a carrying a current I out of the page, and a thin outer shell carrying the same current back into the page. Three dashed Amperian circles lie in the core, in the gap and outside the cable. The first encloses the fraction r squared over a squared of I, the second all of I, and the third I minus I, which is zero, so there is no field outside the cable. 1 2 3 1: Ienc = I r²/a² 2: Ienc = I 3: Ienc = I − I = 0 core: I out of the page; shell: I back into it
Fig 4.2A coaxial cable in section: a core of radius \(a\) carrying \(I\) out of the page and a thin shell carrying \(I\) back. Circle 1 lies in the core, circle 2 in the gap and circle 3 outside the cable. Only the current threading each circle sets the field on it.

So the field of a coaxial cable lives only inside it: \(\mu_0 Ir/2\pi a^2\) in the core, \(\mu_0 I/2\pi r\) in the gap, and nothing outside. For \(5\,\text{A}\) out and back, the field \(0.01\,\text{m}\) from the axis, in the gap, is \(2\times10^{-7}\times 5/0.01 = 10^{-4}\,\text{T}\). The cable neither disturbs its neighbours nor picks up their fields as easily.

CheckpointUnanswered

A coaxial cable carries \(4\,\text{A}\) out along its core and \(4\,\text{A}\) back along its outer shell. What is the magnetic field just outside the cable?

Checkpoint · in your own wordsUnanswered

A long, thin, hollow metal tube carries a current along its length. Use Ampere's law to explain why the field is zero everywhere inside it.

Deeper

A cylinder with an off-centre cavity has a surprising field. Treat it as a full cylinder with current density \(\vec J\) plus a smaller cylinder, filling the cavity, with \(-\vec J\). Inside a uniform cylinder \(\vec B = \tfrac12\mu_0\vec J\times\vec r\). Adding the two gives \(\vec B = \tfrac12\mu_0\vec J\times\vec d\), where \(\vec d\) joins the two axes. It is the same at every point of the cavity. With \(J = 10^6\,\text{A/m}^2\) and \(d = 1\,\text{cm}\), the cavity holds a uniform \(6.28\times10^{-3}\,\text{T}\).

In the world
The electrician's clamp meter

An electrician checking a house's supply often uses a clamp meter. Its jaws close round one wire without cutting it, and it reads the current. A sensor in the jaws measures, in effect, \(\oint\vec B\cdot d\vec l\) round the jaws, which is \(\mu_0 I\). So the reading does not change when the wire sits off-centre in the jaws. Clamp both wires of a lamp's flex together, and the meter reads zero: the current going out and the current coming back cancel in \(I_{enc}\).

Story · André-Marie Ampère, 1826
Forces between currents

Oersted's result was read in Paris in September 1820. Within weeks André-Marie Ampère showed that two parallel currents attract and two opposite currents repel. He spent six years measuring the forces between currents and in 1826 published a mathematical theory of them. The law of this lesson grew out of that work. James Clerk Maxwell later wrote it as a line integral round a loop, in the 1850s and 1860s. He kept Ampère's name on it.

Exam traps
  1. Counting a current that lies outside the Amperian loop.
    Only currents threading the loop enter \(I_{enc}\); outside currents change \(B\) but not the integral.
  2. Using \(B\times 2\pi r = \mu_0 I\) with the whole current inside a thick wire.
    Inside, use only the enclosed part, \(Ir^2/R^2\) for a uniform current.
  3. Ignoring the signs of currents in opposite directions.
    Curl the right fingers along the loop's sense: currents along the thumb are positive, the rest negative.
  4. Writing \(\oint\vec B\cdot d\vec l = BL\) on a loop where \(B\) changes or is not along the path.
    Choose a loop on which the symmetry makes \(B\) constant and tangential, or perpendicular to the path.