Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
University Physics Volume 2

12.6 Solenoids and Toroids

University Physics Volume 212.6 Solenoids and Toroids

Learning Objectives

By the end of this section, you will be able to:

  • Establish a relationship for how the magnetic field of a solenoid varies with distance and current by using both the Biot-Savart law and Ampère’s law
  • Establish a relationship for how the magnetic field of a toroid varies with distance and current by using Ampère’s law

Two of the most common and useful electromagnetic devices are called solenoids and toroids. In one form or another, they are part of numerous instruments, both large and small. In this section, we examine the magnetic field typical of these devices.

Solenoids

A long wire wound in the form of a helical coil is known as a solenoid. Solenoids are commonly used in experimental research requiring magnetic fields. A solenoid is generally easy to wind, and near its center, its magnetic field is quite uniform and directly proportional to the current in the wire.

Figure 12.19 shows a solenoid consisting of N turns of wire tightly wound over a length L. A current I is flowing along the wire of the solenoid. The number of turns per unit length is N/L; therefore, the number of turns in an infinitesimal length dy are (N/L)dy turns. This produces a current

dI=NILdy.dI=NILdy.
12.24

We first calculate the magnetic field at the point P of Figure 12.19. This point is on the central axis of the solenoid. We are basically cutting the solenoid into thin slices that are dy thick and treating each as a current loop. Thus, dI is the current through each slice. The magnetic field dBdB due to the current dI in dy can be found with the help of Equation 12.15 and Equation 12.24:

dB=μ0R2dI2(y2+R2)3/2j^=(μ0IR2N2Lj^)dy(y2+R2)3/2dB=μ0R2dI2(y2+R2)3/2j^=(μ0IR2N2Lj^)dy(y2+R2)3/2
12.25

where we used Equation 12.24 to replace dI. The resultant field at P is found by integrating dBdB along the entire length of the solenoid. It’s easiest to evaluate this integral by changing the independent variable from y to θ.θ. From inspection of Figure 12.19, we have:

sinθ=yy2+R2.sinθ=yy2+R2.
12.26
Figure A is a drawing of a solenoid that is a long wire wound in the shape of a helix. Figure B shows that the magnetic field at the point P on the axis of the solenoid is the net field due to all of the current loops.
Figure 12.19 (a) A solenoid is a long wire wound in the shape of a helix. (b) The magnetic field at the point P on the axis of the solenoid is the net field due to all of the current loops.

Taking the differential of both sides of this equation, we obtain

cosθdθ=[y2(y2+R2)3/2+1y2+R2]dy=R2dy(y2+R2)3/2.cosθdθ=[y2(y2+R2)3/2+1y2+R2]dy=R2dy(y2+R2)3/2.

When this is substituted into the equation for dB,dB, we have

B=μ0IN2Lj^θ1θ2cosθdθ=μ0IN2L(sinθ2sinθ1)j^,B=μ0IN2Lj^θ1θ2cosθdθ=μ0IN2L(sinθ2sinθ1)j^,
12.27

which is the magnetic field along the central axis of a finite solenoid.

Of special interest is the infinitely long solenoid, for which L.L. From a practical point of view, the infinite solenoid is one whose length is much larger than its radius (LR).(LR). In this case, θ1=π2θ1=π2 and θ2=π2.θ2=π2. Then from Equation 12.27, the magnetic field along the central axis of an infinite solenoid is

B=μ0IN2Lj^[sin(π/2)sin(π/2)]=μ0INLj^B=μ0IN2Lj^[sin(π/2)sin(π/2)]=μ0INLj^

or

B=μ0nIj^,B=μ0nIj^,
12.28

where n is the number of turns per unit length. You can find the direction of BB with a right-hand rule: Curl your fingers in the direction of the current, and your thumb points along the magnetic field in the interior of the solenoid.

We now use these properties, along with Ampère’s law, to calculate the magnitude of the magnetic field at any location inside the infinite solenoid. Consider the closed path of Figure 12.20. Along segment 1, BB is uniform and parallel to the path as shown in Equation 12.28. Along segments 2 and 4, BB is perpendicular to part of the path and vanishes over the rest of it. Therefore, segments 2 and 4 do not contribute to the line integral in Ampère’s law. Along segment 3, B=0B=0 because the magnetic field is zero outside the solenoid. If you consider an Ampère’s law loop outside of the solenoid, the current flows in opposite directions on different segments of the loop. Therefore, there is no enclosed current and no magnetic field according to Ampère’s law. Thus, there is no contribution to the line integral from segment 3. As a result, we find

B·dl=1B·dl=Bl.B·dl=1B·dl=Bl.
12.29
Figure shows the closed rectangular path and the infinite solenoid. Segment 1 is inside the solenoid and is parallel to the path. Segments 2 and 4 are perpendicular to the path. Segment 3 is outside the solenoid.
Figure 12.20 The path of integration used in Ampère’s law to evaluate the magnetic field of an infinite solenoid.

The solenoid has n turns per unit length, so the current that passes through the surface enclosed by the path is nlInlI. Therefore, from Ampère’s law,

Bl=μ0nlIBl=μ0nlI

and

B=μ0nIB=μ0nI
12.30

within the solenoid. This agrees with what we found earlier for B on the central axis of the solenoid. Here, however, the location of segment 1 is arbitrary, so we have found that this equation gives the magnetic field everywhere inside the infinite solenoid.

When a patient undergoes a magnetic resonance imaging (MRI) scan, the person lies down on a table that is moved into the center of a large solenoid that can generate very large magnetic fields. The solenoid is capable of these high fields from high currents flowing through superconducting wires. The large magnetic field is used to change the spin of protons in the patient’s body. The time it takes for the spins to align or relax (return to original orientation) is a signature of different tissues that can be analyzed to see if the structures of the tissues is normal (Figure 12.21).

Photo shows an MRI system. It consists of the cylindrical solenoid that is used to generate a large magnetic field.
Figure 12.21 In an MRI machine, a large magnetic field is generated by the cylindrical solenoid surrounding the patient. (credit: Liz West)

Example 12.9

Magnetic Field Inside a Solenoid

A solenoid has 300 turns wound around a cylinder of diameter 1.20 cm and length 14.0 cm. If the current through the coils is 0.410 A, what is the magnitude of the magnetic field inside and near the middle of the solenoid?

Strategy

We are given the number of turns and the length of the solenoid so we can find the number of turns per unit length. Therefore, the magnetic field inside and near the middle of the solenoid is given by Equation 12.30. Outside the solenoid, the magnetic field is zero.

Solution

The number of turns per unit length is
n=300turns0.140m=2.14×103turns/m.n=300turns0.140m=2.14×103turns/m.

The magnetic field produced inside the solenoid is

B=μ0nI=(4π×10−7Tm/A)(2.14×103turns/m)(0.410A)B=1.10×10−3T.B=μ0nI=(4π×10−7Tm/A)(2.14×103turns/m)(0.410A)B=1.10×10−3T.

Significance

This solution is valid only if the length of the solenoid is reasonably large compared with its diameter. This example is a case where this is valid.

Check Your Understanding 12.7

What is the ratio of the magnetic field produced from using a finite formula over the infinite approximation for an angle θθ of (a) 85°?85°? (b) 89°?89°? The solenoid has 1000 turns in 50 cm with a current of 1.0 A flowing through the coils

Toroids

A toroid is a donut-shaped coil closely wound with one continuous wire, as illustrated in part (a) of Figure 12.22. If the toroid has N windings and the current in the wire is I, what is the magnetic field both inside and outside the toroid?

Figure A shows a toroid that is a coil wound into a donut-shaped object. Figure B shows a loosely wound toroid that does not have cylindrical symmetry. Figure C shows a tightly wound toroid with the symmetry that is very close to the cylindrical. Figure D shows several paths. Paths D1 and D3 are external to the toroid. Path D2 lies within the toroid.
Figure 12.22 (a) A toroid is a coil wound into a donut-shaped object. (b) A loosely wound toroid does not have cylindrical symmetry. (c) In a tightly wound toroid, cylindrical symmetry is a very good approximation. (d) Several paths of integration for Ampère’s law.

We begin by assuming cylindrical symmetry around the axis OO’. Actually, this assumption is not precisely correct, for as part (b) of Figure 12.22 shows, the view of the toroidal coil varies from point to point (for example, P1,P2,P1,P2, and P3P3) on a circular path centered around OO’. However, if the toroid is tightly wound, all points on the circle become essentially equivalent [part (c) of Figure 12.22], and cylindrical symmetry is an accurate approximation.

With this symmetry, the magnetic field must be tangent to and constant in magnitude along any circular path centered on OO’. This allows us to write for each of the paths D1,D2,D1,D2, and D3D3 shown in part (d) of Figure 12.22,

B·dl=B(2πr).B·dl=B(2πr).
12.31

Ampère’s law relates this integral to the net current passing through any surface bounded by the path of integration. For a path that is external to the toroid, either no current passes through the enclosing surface (path D1D1), or the current passing through the surface in one direction is exactly balanced by the current passing through it in the opposite direction (pathD3).(pathD3). In either case, there is no net current passing through the surface, so

B(2πr)=0B(2πr)=0

and

B=0(outside the toroid).B=0(outside the toroid).
12.32

The turns of a toroid form a helix, rather than circular loops. As a result, there is a small field external to the coil; however, the derivation above holds if the coils were circular.

For a circular path within the toroid (path D2D2), the current in the wire cuts the surface N times, resulting in a net current NI through the surface. We now find with Ampère’s law,

B(2πr)=μ0NIB(2πr)=μ0NI

and

B=μ0NI2πr(within the toroid).B=μ0NI2πr(within the toroid).
12.33

The magnetic field is directed in the counterclockwise direction for the windings shown. When the current in the coils is reversed, the direction of the magnetic field also reverses.

The magnetic field inside a toroid is not uniform, as it varies inversely with the distance r from the axis OO’. However, if the central radius R (the radius midway between the inner and outer radii of the toroid) is much larger than the cross-sectional diameter of the coils r, the variation is fairly small, and the magnitude of the magnetic field may be calculated by Equation 12.33 where r=R.r=R.

Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at https://openstax.org/books/university-physics-volume-2/pages/1-introduction
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at https://openstax.org/books/university-physics-volume-2/pages/1-introduction
Citation information

© Jul 23, 2024 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.