Solenoids, toroids and parallel currents · Physics… | StemPy Lab
Course 18.2·Lesson 3 of 3
Solenoids, toroids and parallel currents
A long solenoid with n turns in each metre has a uniform field B=μ0nI
Lesson 3 of 3Show all lessonsHide
Try the code and the simulations beside the lesson.
A coil that makes a steady field
Wind a long wire in a tight coil, like a spring. The coil is called a solenoid. When it carries a current, each turn makes a field, and the fields of all the turns add up inside. Doorbells, relays and the lifting magnets of a scrap yard all use a solenoid.
The field lines run along the inside of a solenoid, nearly parallel and evenly spaced. Outside, they spread out and the field is weak. So the field is almost uniform inside. This looks like the field of a bar magnet.
The long solenoid
Look at the picture. The solenoid has n turns in each metre of its length. On the left, we draw a rectangle abcd as an Amperian loop. Its side ab is inside the solenoid and has a length h. The side cd is outside.
On the left, a long solenoid drawn from the side as a tan rectangle. Orange circles with dots along the top edge show the current coming out of the page, and circles with crosses along the bottom edge show it going into the page. Three purple arrows inside point right, evenly spaced. A blue dashed rectangle with corners a, b, c and d has its lower side inside the solenoid and its upper side outside it. A note says B equals mu zero n I inside and almost zero outside. On the right, a toroid drawn as a ring with orange turns all round it, a purple circle of radius r inside the ring with arrowheads going round it, and a dashed circle in the hole marked B equal to zero.
Go round the rectangle.
On ab, the field is along the side, so this side adds Bh.
On bc and da, the field is at right angles to the side, or zero. These sides add nothing.
On cd, outside a long solenoid, the field is almost zero. So this side adds almost nothing.
The circulation is Bh. The loop meets nh turns, each with a current I, so Ienc=nhI. Ampere's law gives Bh=μ0nhI, and
B=μ0nI
The length h cancelled, and so did the distance from the axis. The field is the same at every point inside the solenoid, and it does not depend on the radius. Here n=N/L, where N is the total number of turns and L is the length.
At an end of a long solenoid, the field is half as large, 21μ0nI. To see this, join two equal solenoids end to end. At the join the field is μ0nI, and each half gives half of it.
A worked example. A tube 60 cm long carries 900 turns of wire. The current is 2.4 A. What is the field inside, and at an end?
The turns in each metre.n=0.60m900=1500m−1.
The field inside.B=μ0nI=4π×10−7T m/A×1500m−1×2.4A=4.5×10−3T, that is 4.5 mT.
At an end. About half, 2.3 mT.
Make the solenoid short and wide. Does the field in the middle still equal μ0nI? Then make it long and thin.
The toroid
A toroid is a solenoid bent into a ring. Look at the picture on the right. It has N turns in all. Take a circle of radius r inside the ring, running round the ring. By symmetry, the field has the same size all round the circle and points along it. The circulation is B×2πr. The circle goes through N turns, so Ienc=NI. Then
B=2πrμ0NI
Now take a circle in the hole, or outside the ring. In the hole, no current goes through the circle. Outside the ring, each turn goes through the circle twice, once in and once out, so the net current is zero. So B=0 in the hole and outside the ring. The field is shut inside the ring.
The field is not quite uniform. It is a little larger near the inner edge than near the outer edge. For a thin ring, 2πr is the length of the ring and N/(2πr)=n. Then B=μ0nI, the same as in a solenoid.
A worked example. A toroid has 1200 turns and carries 0.80 A. Its inner radius is 6.0 cm and its outer radius is 10 cm. Find the field at the inner edge, at the outer edge and at the mean radius.
The constant.2πμ0NI=2×10−7T m/A×1200×0.80A=1.92×10−4T m.
The inner edge.B=0.060m1.92×10−4T m=3.2×10−3T, that is 3.2 mT.
The outer edge.B=0.10m1.92×10−4T m=1.9mT.
The mean radius, 8.0 cm.B=0.080m1.92×10−4T m=2.4mT.
Two long parallel wires
Wire 1 carries a current I1. At a distance d its field is B1=2πdμ0I1. Wire 2 is parallel to it and carries I2. A length L of wire 2 sits in this field, at right angles to it. The force on a current in a field is F=BIL. So
F=I2LB1⇒LF=2πdμ0I1I2
Here F/L is the force on each metre. The same size of force acts on the other wire, in the opposite direction, as Newton's third law says.
Which way is the force? Use the right-hand rule for the field of wire 1 at wire 2, and then the rule for the force on a current in a field. The result is simple.
Currents in the same direction: the wires attract.
Currents in opposite directions: the wires repel.
Two parallel currents pull together, even though like electric charges push apart.
Two drawings of two long horizontal wires, a distance d apart, with orange current arrows. On the left both currents point right. The field of the lower wire at the upper wire points into the page, marked with a cross in a circle, and the red force arrows point toward each other: the wires attract. On the right the upper current points left. The field of the lower wire at the upper wire points out of the page, marked with a dot in a circle, and the red force arrows point away from each other: the wires repel. Under each drawing, the force on each metre is mu zero I1 I2 over two pi d.
A worked example. Two long parallel wires are 7.0 cm apart. They carry 14 A and 35 A in the same direction. What is the force on each metre?
The field of wire 1 at wire 2.B1=0.070m2×10−7T m/A×14A=4.0×10−5T.
The force on each metre.LF=I2B1=35A×4.0×10−5T=1.4×10−3N/m.
In words. That is 1.4 mN on each metre, and the wires attract.
What if the currents are opposite? The size of the force stays 1.4 mN on each metre, but the wires repel. Between the wires, the two fields now point the same way, so they add.
Make one current negative. What happens to the sign of the force? Then double the distance. What happens to its size?
The old definition of the ampere
Put I1=I2=1 A and d=1 m in the formula. The force on each metre is 2πμ0=2×10−7N/m. For many years this was the definition of the ampere. Since 2019, the ampere is fixed by the value of the charge of the electron instead. The force law still gives the same value to very good accuracy, and it still explains why two wires pull on each other.
Practise with new numbers
Try it in Python
The program finds the force on each metre between two long wires of 14 A and 35 A, for five spacings. Then it finds the force on each metre for a few equal currents at a spacing of 1 m.
Common mistakes
Using the whole length of a solenoid as n. The number n is the turns in each metre, N/L.
Putting a 2πr in the solenoid formula. Inside a long solenoid, B=μ0nI has no distance in it.
Saying the field of a toroid is uniform. It goes as 1/r across the ring.
Saying the field outside a toroid is μ0nI. It is zero.
Getting the force between wires backwards. Parallel currents attract, and opposite currents repel.
Forgetting that the force acts on both wires. The two forces are equal and opposite.
Remember these
Long solenoid: B=μ0nI inside, with n=N/L. At an end the field is half as much. Outside it is almost zero.
Toroid: B=2πrμ0NI inside the ring, and B=0 in the hole and outside.
Two long parallel wires: LF=2πdμ0I1I2.
Same direction attracts, opposite direction repels.
Equal currents of 1 A at 1 m give 2×10−7 N on each metre.
Check yourself
Try each one on your own first. If you are stuck, open a hint. Then check with Show the answer.
In a long solenoid, the current is halved and the number of turns in each metre is doubled. What happens to the field inside?
A long solenoid has a field B in its middle. A student says that the field at its end is B/2. Is this right?
Why is the field in the hole of a toroid zero?
Two long wires carry the same current in opposite directions. What is the direction of the force on each, and what happens to the size of the force if the distance is made three times larger?
Enroll free in Biot-Savart and Ampere's Circuital Law
Every lesson is open to read. Enrolling also lets you:
Mark lessons done and carry on where you stopped.
Take the tests of this lesson and its course.
Count the course towards the certificate for its chapter.