An inverse-square law that gives 1/r
The last three lectures asked what a magnetic field does to a current. This lecture asks the opposite question: how does a current make a field? The Lower Secondary lecture on electromagnets showed that the field lines of a long straight wire are circles, and that doubling the distance halves the field. That rule was first measured in Paris in 1820, a few months after Ørsted's discovery. Jean-Baptiste Biot and Félix Savart hung a small magnetised needle near a long vertical wire. They timed its swings at different distances, and a stronger field made it swing faster. On 30 October 1820 they announced their result to the Académie des Sciences: the field of a long straight wire falls off as 1/r, where r is the distance from the wire.
That result should look strange. The electric field of a point charge falls off as , because its effect spreads over a sphere. Here the magnetic field does not.
There is a second difficulty. You can measure the field of one small charge. But a steady current must flow round a complete circuit, so only the field of a whole circuit can ever be measured.
So the real question is this. What rule for one small piece of current, added over a whole circuit, gives every field we measure? The mathematician Pierre-Simon Laplace worked it out from Biot and Savart's results. The surprise is that each piece obeys an inverse-square law after all. This lecture shows how inverse-square pieces add up to 1/r.
The field of one small piece of current
Take a short piece of wire of length , carrying a current . Call it a current element, . Choose a point at a distance from it. The line to makes an angle with the direction of the current, as in Figure 1.
The size of the element's field at depends on these things, each for a reason.
- The current and the length . Double either one and the field doubles.
- . The same spreading as for a point charge: the effect is shared over a sphere whose area grows as .
- . Only the part of the element seen side-on from counts. Straight ahead or straight behind ( or 180°), the element is seen end-on, and its field is zero. Side-on (), the field is largest.
The direction is at right angles to both the element and the line to . So the field lines of one element are circles around its own line: point your right thumb along the current, and your fingers curl the way the field goes. In vector form this is a cross product, written in the same way as .
A current element makes, at a distance and at the angle to the current, a magnetic field of size
at right angles to both the element and the line to the point, by the right-hand grip rule. In vector form, , where is the unit vector from the element to the point. The field of a whole circuit is the vector sum over all its elements. The law holds for steady currents.
The constant is the permeability of free space. Its value is T m A⁻¹, which is the same unit as N A⁻². As in Coulomb's law with , the 4π comes from the area of a sphere, .
The first use: the centre of a ring
The simplest whole circuit to add up is a circular ring of radius . Look at its centre. Every element is the same distance away. Every element is at right angles to the line from it to the centre, so . And by the grip rule, every element's field at the centre points the same way, along the axis of the ring.
So the sizes simply add, and adding the elements adds their lengths. The total length is the circumference, :
A flat coil of turns gives times as much, . A straight wire is harder, because its elements are at different distances and angles.
The long straight wire: where 1/r comes from
This is the hard part of the lecture. Spend time here. Take a long straight wire carrying current , and a point at a perpendicular distance from it. The foot of the perpendicular is . Every element of the wire makes a field at in the same direction, so again the sizes add. But now each element has its own and its own .
The trick is to describe each element by the angle at which sees it, measured from .
Press Next to add one step. Read the reason before you go on.
Each step gives one line and the reason it is allowed. An element of length dx is at a distance s from P; P sees it at the angle α from the perpendicular PF, where PF = r.
- dB = (μ₀I/4π) × dx sin θ ÷ s². The Biot–Savart law for one element. Every element's field at P points the same way, so the sizes add.
- dx sin θ = s dα. dx sin θ is the part of the element seen side-on from P. Seen from P, the element covers a small angle dα. An arc of radius s and angle dα (in radians) has length s dα.
- dB = (μ₀I/4π) × dα ÷ s. Put line 2 into line 1: s dα ÷ s² = dα ÷ s.
- dB = (μ₀I/4πr) × cos α dα. In the right-angled triangle with sides r and s, cos α = r/s, so 1/s = cos α / r.
- The sum of cos α dα, from α = −90° to +90°, is 2. Turn a point on a circle of radius 1 by a small angle dα: its height rises by cos α dα. From the bottom (α = −90°) to the top (α = +90°), the total rise is 2. (With integration: the integral of cos α from −π/2 to π/2 is 2.)
- B = (μ₀I/4πr) × 2 = μ₀I / 2πr. Add every element of the wire.
The field of a long straight wire is μ₀I/2πr. A wire that is seen only from α₁ to α₂ gives B = (μ₀I/4πr)(sin α₂ − sin α₁).
Now look at why the answer is 1/r. The elements that matter most lie within a few times of the foot . Move twice as far away, and that useful stretch of wire becomes twice as long. So twice as many elements contribute, and each one is four times weaker. Twice as many, four times weaker: the field halves.
That is it. That is the whole idea. The 1/r of a wire is the 1/s² of each piece, multiplied by a length of useful wire that grows with r.
A short wire is seen only between two angles, so it collects only part of the rise of 2. How much wire counts as "long"? Find out below.
The point P is 3.0 cm from a straight wire carrying 5.0 A. The wire runs a distance L each side of the foot F. Change L. The upper curve shows how much each centimetre of wire adds to the field at P; the shaded part is the wire that exists.
The table shows the field 3.0 cm from a wire carrying 5.0 A, for wires of different lengths. Each wire runs a distance L on each side of the point nearest P. A very long wire gives 33.3 μT.
| L on each side | B at P | Share of 33.3 μT |
|---|---|---|
| 0.5 cm | 5.5 μT | 16% |
| 3.0 cm (= r) | 23.6 μT | 71% |
| 6.0 cm (= 2r) | 29.8 μT | 89% |
| 15 cm (= 5r) | 32.7 μT | 98% |
A wire reaching a distance each side of already gives about 71% of the long-wire field, and gives 98%. So "long" means long compared with the distance to the point.
A shortcut for symmetric cases: Ampère's law
The wire result hides a simple fact. Walk once round a circle of radius centred on the wire. The field is along your path everywhere, with the same size . Multiply it by the distance walked: . The has cancelled. The answer depends only on the current that passes through the circle.
This is true for any closed path, of any shape, round any steady currents. It is Ampère's law:
The circle on the integral sign means "once round a closed loop". is the part of the field along each small step, times the step, and is the current through the loop. The law is true for every loop, but it gives the field easily only when symmetry makes the same all along a well-chosen loop. Maxwell later added a term for changing electric fields, which a later lecture explains.
Many rings in a row: the solenoid
A solenoid is a long coil with turns per metre. Inside, the fields of all the rings point the same way along the axis, and they add. Outside, the field lines that leave one end must return to the other end through all the space around the coil. For a long coil that space is huge, so the lines are spread very thin. In a long solenoid, the field outside is close to zero, and the field inside is uniform and along the axis.
Ampère's law gives the size. Take a rectangular loop with one side of length inside the coil, along the axis, and the opposite side outside. The outside side gives nothing, because the field there is close to zero. The two short sides cross the field at right angles, so they give nothing either. The loop encloses turns, each carrying . So , and
The length cancelled, so the field is the same everywhere inside, away from the ends. At an end, the field on the axis falls to half. Here is why. Put two long solenoids end to end. Together they make one longer solenoid, with field at the join. At the join, each half adds the same amount, so each gives . So the end of a single long solenoid has .
An MRI scanner uses a superconducting solenoid to make 1.5 T or 3 T. With 3000 turns per metre, 1.5 T needs about 400 A, which would overheat a copper coil.
Two wires: currents that attract
Every current makes a field, and every current in a field feels a force. So two currents push or pull on each other. Take two long parallel wires a distance apart, carrying and . Wire 1 makes a field at wire 2. Wire 2 is at right angles to that field, so the force on each metre of it is :
The formula is symmetric in and . So wire 1 feels the same force from wire 2, in the opposite direction, even when the currents are different. That is Newton's third law.
In Figure 2, both currents flow the same way. Like charges repel. Before you work it out, do you expect "like" currents to repel too? Now use Figure 2 to decide.
Show the answer
They attract. At wire 2, the field of wire 1 points up the page, and the current is out of the page. By , or Fleming's left-hand rule, the force on wire 2 points left, towards wire 1. Currents in opposite directions repel. The comparison with charges fails for a reason you can see. Between two charges, the electric field points along the line joining them, and so does the force. Here, the field circles around each wire, at right angles to that line. The force on a current is at right angles to the field again. Two right angles bring the force back to the line between the wires, and the result is a pull.
This force once defined the ampere. From 1948 to 2019, one ampere was the current giving N on each metre of two long parallel wires 1 m apart. The formula shows where the number comes from: . So in those years was exactly by definition. Since 20 May 2019, the ampere has been fixed through the charge , and is a measured number. Its 2022 value, N A⁻², agrees with to better than one part in a billion, so is still the value to use.
Long straight wire, at distance : , in circles round the wire.
Centre of a flat coil of turns, radius : , along the axis.
Inside a long solenoid with turns per metre: , uniform and along the axis; half this at an end.
Two long parallel wires, apart: , attracting for currents in the same direction.
Worked examples
Find the magnetic field 3.0 cm from a long straight wire carrying 5.0 A.
The cancels, leaving . So T, about 33 μT.
Check. The Earth's field at the surface is about 25 to 65 μT, so this wire's field is about as strong as the Earth's. That is why a compass needle next to it swings a long way.
A solenoid has 800 turns on a length of 0.40 m and carries 2.0 A. Find the field inside it, and at one end.
First find the turns per metre: m⁻¹. Then
This gives T, or 5.0 mT. At an end, the field on the axis is about half of this, 2.5 mT.
Check. Only the turns per metre matter: a solenoid twice as long with twice as many turns gives the same field.
Two long parallel wires are 0.10 m apart. Wire A carries 3.0 A and wire B carries 5.0 A, in the same direction. Find the force on each metre of wire, and say whether it attracts or repels.
This is N per metre. The currents are in the same direction, so the wires attract, each with the same force.
For the wires in Worked Example 3, find the field at the point halfway between them. Then find where, on the line joining them, the field is zero.
At the midpoint, each wire is 0.050 m away. Wire A gives μT. Wire B gives μT. By the grip rule, two currents in the same direction have opposite fields between them. The fields subtract: μT, in the direction of wire B's field.
The field is zero where the sizes are equal: between the wires, nearer the smaller current. Call the distance from wire A . Then , so , and m.
Check. At 3.75 cm from A and 6.25 cm from B, both fields are μT: and .
Traps
The belongs to one element. A long straight wire gives . And is for a long wire only. Near the end of a wire, or for a short piece, use the angles: .
In , is the number of turns per metre, not the total number of turns. Divide the total by the length first. The coil formula is different: there is the total, because the coil is flat.
It is tempting to copy the rule for charges. It is the other way round: currents in the same direction attract, and currents in opposite directions repel. Work it out from the field and the force each time.
Work each one on paper first. Open a hint only when you are stuck. Take T m A⁻¹.
-
An overhead cable carries a steady 400 A, 12 m above the ground (invented numbers). (a) Find the field at ground level directly below it, and compare it with an Earth's field of 50 μT. (b) How far from the cable is its field 1.0 μT?
Hint 1
The cable is long compared with 12 m, so use .
Hint 2
. For (b), rearrange to .
Full answer
(a) T, about 6.7 μT. That is about 13% of 50 μT. (b) m. Check: the field falls from 6.7 μT to 1.0 μT, a factor of about 6.7, and the distance grows from 12 m to 80 m, the same factor.
-
A flat circular coil of radius 4.0 cm carries 0.50 A, and the field at its centre is 0.393 mT. (a) How many turns does it have? (b) The same wire is rewound into a flat coil of radius 2.0 cm. Find the new field at the centre.
Hint 1
Rearrange for .
Hint 2
For (b), the length of wire, , stays the same. Halving doubles .
Full answer
(a) turns. (b) Now and m. T. That is 4 times the original: twice the turns, each at half the radius. Check: mT.
-
Two long parallel wires are 4.0 cm apart. One carries 6.0 A and the other 2.0 A, in opposite directions. (a) Find the force on each metre, and say whether it attracts or repels. (b) Find the point on the line through the wires where the field is zero.
Hint 1
Opposite currents repel. For (b), between the wires the two fields point the same way, so they cannot cancel there.
Hint 2
The zero point is outside the wires, on the side of the smaller current. With beyond the 2.0 A wire: .
Full answer
(a) N per metre. The wires repel. (b) Between the wires, both fields point the same way. Outside, they point opposite ways, and they can be equal only nearer the weaker current. , so m: 2.0 cm beyond the 2.0 A wire, 6.0 cm from the other. Check: μT and μT.
-
A square loop of side 10 cm carries 2.0 A. (a) Compare it with a circular loop of radius 5.0 cm, the circle that just fits inside the square, with the same current. Before calculating, decide which has the larger field at the centre. (b) Use the formula for a wire between two angles to find both fields.
Hint 1
Compare where the wire is. The square has the circle's four nearest points, plus corners that are further away.
Hint 2
Each side is m from the centre and is seen from to . All four sides give fields in the same direction.
Full answer
(a) Smaller. Most of the square's wire is further from the centre than the circle's wire, and the corners are seen nearly end-on. (b) One side: T. Four sides: about T, or 22.6 μT. The circle: T, or 25.1 μT. The square gives about 90% of the circle's field, although it uses about 27% more wire.
The Biot–Savart law says something about the shape of every magnetic field. Each element's field lines are circles, and circles have no start and no end. So adding them can never make a line that begins or ends, and magnetic field lines always close on themselves. Electric field lines are different: they start on positive charges and end on negative ones. In the language of a later lecture, the magnetic flux out of any closed surface is zero, because no magnetic "charge" sits inside.
Is that a law of nature, or only what we have seen so far? Nobody has ever found an isolated magnetic pole, called a magnetic monopole. In 1931, Paul Dirac showed that the theory allows one. He also showed that a single monopole, anywhere in the universe, would explain why every electric charge is a whole multiple of . In February 1982, one detector at Stanford recorded a single event that looked like a monopole, but it was never seen again. Experiments such as MoEDAL at CERN are still searching. If a monopole is found, the laws would not collapse: the law for magnetic flux would gain a source, as Gauss's law for electricity has charge.
- The Biot–Savart law gives the field of one current element: , at right angles to the element and to the line to the point.
- The field of a whole circuit is the vector sum over its elements; at the centre of a ring every element adds equally, giving .
- Inverse-square elements add up to for a long wire, because the length of wire that contributes grows in proportion to .
- Ampère's law, , gives the field quickly when there is symmetry, such as inside a long solenoid.
- Parallel currents in the same direction attract with , and opposite currents repel.