doPhysics.in
All chapters

Oersted's Compass and the Biot-Savart Law

14 min read3 ideas5 checks1 figure to playBy Asheshanand Acharya
What you will learn 0 / 3
A current makes a field
Maths you need
Look around
The compass beside the battery cable

Lay a small compass on the engine of a car. Put it a few centimetres from the thick cable that runs from the battery to the starter motor. With the engine off, the needle points north as usual. Turn the key. For the second or two that the starter turns, the needle swings round hard. When the engine catches, the needle swings back.

you will find how strong the field of that cable is, and why the needle swings round by almost a right angle.

Where magnetic fields come from

In the chapter Magnetic Force on Moving Charges, a magnetic field \(\vec B\) pushed on a moving charge with the force \(q\vec v\times\vec B\). Its unit is the tesla, T. That chapter took the field as given, made by a magnet or a coil. This chapter asks where the field comes from.

The answer is short: moving charge makes a magnetic field. A current in a wire is moving charge, so every current is surrounded by a magnetic field. A magnet makes its field in the same way, from the motion of the electrons inside its atoms. The chapter Magnetism and Matter tells that part of the story.

The field of the starter cable has no connection with the battery's voltage. It appears only while a current flows. The starter draws a large current, well over a hundred amperes, for a moment. That current, not the battery, turns the needle.

The field lines of a straight current

Stand a long straight wire upright through a horizontal card and pass a large current. Sprinkle iron filings on the card and tap it. The filings line up in circles round the wire. A compass set on any circle points along it. The field lines of a straight current are closed circles centred on the wire.

The circles have a sense, which reverses when the current reverses. It is given by a rule of the right hand.

principle 11.1
The right-hand thumb rule

Grip the wire with the right hand so that the thumb points along the current. The curled fingers then point the way the magnetic field lines circle round the wire.

Seen from above, a current coming up out of the page makes anticlockwise circles. A current going down into the page makes clockwise circles. In figures a current out of the page is drawn as a dot, the tip of an arrow coming at you. A current into the page is a cross, the tail feathers of an arrow going away.

CheckpointUnanswered

A long vertical wire carries a current straight down, into the floor. A compass is placed on the floor just east of the wire. Which way does the wire's field point at the compass?

The biot savart law
Maths you need

The field of one small piece of wire

To find the field of a wire of any shape, cut it into very short pieces. Each piece of length \(dl\), carrying the current \(I\), is a current element \(I\,d\vec l\). Its direction is that of the current. Find the field of one element at a point P. Then add the fields of all the elements.

In the autumn of 1820 Jean-Baptiste Biot and Félix Savart measured the field near a long wire. Pierre-Simon Laplace worked out the field of one element that fits their results. It is called the Biot-Savart law.

law 11.1
The Biot-Savart law

A current element \(I\,d\vec l\) produces at a point P, at a distance \(r\) from it, a field of size \(dB = \dfrac{\mu_0}{4\pi}\dfrac{I\,dl\sin\theta}{r^2}\). Here \(\theta\) is the angle between \(d\vec l\) and the line from the element to P. The field is along \(d\vec l\times\hat r\), perpendicular to both.

RememberThe Biot-Savart law
\[ \begin{gathered} d\vec B = \dfrac{\mu_0}{4\pi}\,\dfrac{I\,d\vec l\times\hat r}{r^2} \\ dB = \dfrac{\mu_0}{4\pi}\,\dfrac{I\,dl\sin\theta}{r^2} \end{gathered} \]
Holds whenfor a steady current; \(\hat r\) is the unit vector from the element to the point P, and the field of a whole wire is the vector sum over its elements.
Symbols\(d\vec B\) field of the element at P, \(I\) current, \(d\vec l\) length of the element along the current, \(r\) distance from the element to P, \(\theta\) angle between \(d\vec l\) and \(\hat r\), \(\mu_0\) permeability of free space
Units\(B\) in T when \(I\) is in A and lengths in m; \(\mu_0 = 4\pi\times10^{-7}\,\text{T m/A}\), so \(\mu_0/4\pi = 10^{-7}\,\text{T m/A}\)

The constant \(\mu_0\) is the permeability of free space, \(4\pi\times10^{-7}\,\text{T m/A}\). The factor \(\mu_0/4\pi = 10^{-7}\) is the one used in almost every calculation of this chapter. The direction comes from a cross product, as the torque \(\vec r\times\vec F\) did in the chapter Torque and Equilibrium. Point the fingers of the right hand along \(d\vec l\) and curl them towards \(\hat r\). The thumb gives \(d\vec B\).

One current element and its fieldA short piece of wire carrying current up the page, and a point P five centimetres from it. A slider moves P round a circle, changing the angle theta between the element and the line to P. The field of the element at P is into the page and its size goes as sine theta: largest broadside at 90 degrees and zero at 0 and 180 degrees, on the line of the element itself. I dl θ r dB θ = 60°, dB = 0.87 of its value at 90°
SimA current element \(I\,d\vec l\) points up the page, and P is \(5\,\text{cm}\) from it. Move P round the circle with the slider. The cross at P is the field of the element, into the page, and its ink is \(\sin\theta\). Watch it vanish at \(\theta = 0°\) and \(180°\), on the line of the element.

Move P round the circle in the figure above. Broadside to the element, at \(\theta = 90°\), the field is largest. At \(30°\) it is half as large, because \(\sin 30° = 0.5\). When P lies on the line of the element itself, at \(0°\) or \(180°\), the element gives no field at all. For every position on the right, the field is into the page. There \(d\vec l\) points up and \(\hat r\) points right, and up \(\times\) right is into the page.

The Biot-Savart law looks like Coulomb's law for the field of a small charge, from the chapter Electric Charge, Coulomb's Law and the Electric Field. Both fall as \(1/r^2\). The differences matter more.

Property
Electric field of a small charge
Magnetic field of a current element
Source
a charge \(dq\), a scalar
a current element \(I\,d\vec l\), a vector
Size
\(dE = \dfrac{1}{4\pi\epsilon_0}\dfrac{dq}{r^2}\)
\(dB = \dfrac{\mu_0}{4\pi}\dfrac{I\,dl\sin\theta}{r^2}\)
Direction
along \(\hat r\), away from a positive charge
along \(d\vec l\times\hat r\), perpendicular to \(\hat r\)
Along the line of the source
as large as anywhere at that distance
zero
ExampleThe field of one short piece of wire

A wire carries \(10\,\text{A}\). Find the field of a \(1\,\text{cm}\) piece of it at a point \(0.1\,\text{m}\) away. Take the point (a) broadside to the piece, (b) on a line at \(30°\) to it, (c) broadside but twice as far.

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

A short element of a wire lies along the \(x\) axis at the origin, carrying current in the \(+x\) direction. What is the direction of its field at the point \((0, 0, a)\) on the \(z\) axis?

Field of a long straight wire
Maths you need

Adding up a long straight wire

Take a long straight wire along the \(y\) axis, carrying \(I\) up the page. P is at a distance \(d\) to its right. Every element of the wire gives a field into the page at P. So the fields add as plain numbers, with no cancelling. The only work is to add \(dB\) over the whole wire.

Label an element by the angle \(\phi\) at P between the perpendicular to the wire and the line to the element. As the element runs from far below to far above, \(\phi\) runs from \(-90°\) to \(+90°\). This angle makes the sum easy.

Deriving \(B = \dfrac{\mu_0 I}{2\pi d}\) step 1 of 5
1

\[ \begin{gathered} y = d\tan\phi, \quad dy = d\sec^2\phi\,d\phi \\ r = d\sec\phi \end{gathered} \]

Why. the element at height \(y\) is seen from P at the angle \(\phi\) from the perpendicular, and its distance from P is \(r\).

RememberField of a long straight wire
\[ \begin{gathered} B = \dfrac{\mu_0 I}{2\pi d} \\ B = \dfrac{2\times10^{-7}\,I}{d} \end{gathered} \]
Holds whena straight wire so long that its ends are far away compared with \(d\); the field is along the circle of radius \(d\), in the sense of the right-hand thumb rule.
Symbols\(B\) field at distance \(d\), \(I\) current, \(d\) perpendicular distance from the wire, \(\mu_0\) permeability of free space
Units\(B\) in T when \(I\) is in A and \(d\) in m
Adding up the elements of a long wireA long straight wire carries 10 amperes up the page, and P is 5 centimetres to its right. An element slides up the wire from far below to far above. The cross at P shows the element's own contribution, strong when the element is near the foot of the perpendicular and faint when it is far away. The bar adds the contributions: it reaches 20 microtesla when the element passes the foot and 40 microtesla at the end. I P 20 μT 40 μT B at P y = −143.2 cm, running total B = 0.0 μT
Fig 1.1Press play. An element slides up a long wire carrying \(10\,\text{A}\), and P is \(5\,\text{cm}\) away. The cross at P is the element's own share, strong near the foot of the perpendicular and faint far away. The bar adds the shares: \(20\,\mu\text{T}\) as the element passes the foot, \(40\,\mu\text{T}\) at the end.

Watch the bar in Fig 1.1. It fills fastest while the element is close to P and hardly moves while the element is far away. The part of the wire within \(d\) of the foot of the perpendicular gives \(\sin 45° = 71\) % of the whole field. Each half of the wire, above and below the foot, gives exactly half. The next lesson uses that half.

Put in numbers. A wire carrying \(10\,\text{A}\) gives, at \(0.05\,\text{m}\), \(B = 2\times10^{-7}\times 10/0.05 = 4\times10^{-5}\,\text{T}\). At \(0.1\,\text{m}\) the field is half as large. The field falls as \(1/d\), much more slowly than the \(1/r^2\) of one element, because a longer stretch of wire counts as P moves away.

ExampleThe compass on the car engine

The starter cable of a car carries \(100\,\text{A}\) for a moment. A compass sits \(5\,\text{cm}\) from it, where the cable's field is horizontal and points east. Delhi's horizontal field is \(3.6\times10^{-5}\,\text{T}\), towards the north. Find the cable's field and the angle through which the needle turns. Repeat for a power cable carrying \(100\,\text{A}\), \(1\,\text{m}\) away.

Reveal one step at a time and finish the rest yourself.

Values used: \(\mu_0/4\pi = 10^{-7}\,\text{T m/A}\), and at Delhi \(B_H = 3.6\times10^{-5}\,\text{T}\) with a dip of \(42°\), so the whole field is \(4.84\times10^{-5}\,\text{T}\). The compass needle swings only in a horizontal plane, so it feels \(B_H\) alone. That is why the example compares the cable with \(B_H\), not with the whole field.

The field of a long straight wireSeen from above, a long vertical wire pierces the page and its field lines are circles, spaced wider as they go out. A compass south of the wire points along the circle through it. Sliders set the current and the distance of the compass; chips reverse the current or add the Earth's horizontal field at Delhi, 36 microtesla to the north, so that the needle settles between the two fields.I north BH d = 5 cm, B = 40 μT
SimSeen from above, a long vertical wire pierces the page. Its field lines are circles, spaced wider further out. Set the current and move the compass out from the wire. Reverse the current with a chip, then add the Earth's field at Delhi and watch the needle settle between the two.

Drive the figure above. The circles are drawn wider apart further out, because the field weakens as \(1/d\). Doubling the distance halves the reading. Reversing the current reverses every circle and turns the needle round. With the Earth's field added, \(10\,\text{A}\) at \(5\,\text{cm}\) gives \(40\,\mu\text{T}\) east against \(36\,\mu\text{T}\) north. The needle settles \(48°\) east of north.

The phenomenon is now explained. The starter cable carries about \(100\,\text{A}\), and \(5\,\text{cm}\) from it that makes \(4\times10^{-4}\,\text{T}\). That is eleven times the Earth's horizontal field, so the needle turns by \(85°\), nearly a right angle. When the starter stops, the current stops, and the Earth's field alone swings the needle back.

Checkpoint · numericUnanswered

A long straight wire carries \(5\,\text{A}\). What is the magnetic field at a distance of \(2\,\text{cm}\) from it, in microtesla?

μT± 2 %
CheckpointUnanswered

The field of a long straight wire is \(80\,\mu\text{T}\) at \(2\,\text{cm}\). What is it at \(4\,\text{cm}\)?

EstimateUnanswered

A phone charger cable carries about \(2\,\text{A}\) in each of its two wires, one going and one returning. Consider one wire alone and estimate its field \(1\,\text{cm}\) away, in microtesla.

μTrough value is enough
Story · Hans Christian Oersted, 1820
The needle that moved during a lecture

In the spring of 1820 Hans Christian Oersted was lecturing in Copenhagen with a battery, a wire and a compass on the bench. When the current flowed in a wire held above the needle, the needle turned. The swing was small, but it was the first sign that electricity and magnetism are linked. Oersted published his result in July 1820. Within months Ampère in Paris, and Biot and Savart, had turned it into laws. The right-hand thumb rule of this lesson describes what Oersted saw.

Exam traps
  1. Drawing the field of a straight current pointing away from the wire, like an electric field.
    The field lines of a straight current are circles round it. The field is along the circle, never along the radius.
  2. Using the left hand, or curling the fingers the wrong way.
    Right thumb along the current; the fingers give the sense of the circles. A dot (out of the page) means anticlockwise circles.
  3. Using \(1/d^2\) for a long wire.
    One element gives \(1/r^2\); a long wire gives \(B = \mu_0 I/2\pi d\), which falls as \(1/d\).
  4. Forgetting to convert centimetres to metres before using \(2\times10^{-7}\,I/d\).
    Put \(d\) in metres to get \(B\) in tesla.