Skip to main content
Physics LibreTexts

8.5: Common Magnetic Field Models

  • Page ID
    100387
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)
    Learning Objectives
    • Explain the concept of continuous distribution of current elements and explain why it is used.
    • List and apply magnetic field models for some common geometric distributions of current.

    Magnetic Fields due to Current Distributions

    By using the Biot-Savart Law, it is possible to calculate the magnetic field at a point in space for any distribution of current elements. In general, the mathematics of calculating the magnetic field can be challenging. In some special cases, we can construct the integrals, perform the integration analytically, and then write down closed-form formulas for the magnetic field. In other special cases of high symmetry, it is possible to use a technique involving Ampère's Law to make the calculations much easier. However, in general, it is often necessary to use computer simulations to calculate the magnetic field throughout the space surrounding an arbitrary current distribution.

    In this chapter, we will summarize several models corresponding to the most common geometric distributions of current. In each model, the magnetic field can be written in a closed-formed expression for a specified region of space around the current distribution. Students who are interested in the details of the calculations should refer to the chapter Calculation of Magnetic Quantities from Currents. We will make use of these results in later chapters.

    Magnetic Fields of Common Current Current Distributions

    In the following results, it is assumed that the current is uniform throughout the current-carrying wire and that the current is steady in time. The width of the current-carrying wire is assumed to be small enough that the wire can be effectively treated as one-dimensional.

    Magnetic Field due to a Thin Straight Wire

    Figure \(\PageIndex{1}\) shows a section of an infinitely long, straight wire that carries a current \(I\). What is the magnetic field at a point \(P\), located a distance \(R\) from the wire?

    This figure shows a section of a thin, straight current-carrying wire. Point P is located at distance R from the center of the wire O and at distance r from the piece of the wire dX. Vector r from the piece of the wire dX to the point P forms an angle theta with the wire.
    Figure \(\PageIndex{1}\): A section of a thin, straight current-carrying wire. The independent variable \(\theta\) has the limits \(\theta_1\) and \(\theta_2\).

    Using the Biot-Savart to integrate along the length of the wire, the magnetic field strength at a distance \(R\) is given by

    \[B = \dfrac{\mu_0 I}{2\pi R}. \ \ \textrm{(infinite, thin, straight wire)}\]

    The magnetic field lines of the infinite wire are circular and centered at the wire (Figure \(\PageIndex{2}\)), and they are identical in every plane perpendicular to the wire. Since the field decreases with distance from the wire, the spacing of the field lines must increase correspondingly with distance. The direction of this magnetic field may be found with a form of the right-hand rule (Figure \(\PageIndex{2}\)). If you hold the wire with your right hand so that your thumb points along the current, then your fingers wrap around the wire in the same sense as \(\vec{B}\).

    This figure demonstrates the right-hand rule. The wire is held with the right hand so that the thumb points along the current. The fingers wrap around the wire in the same sense as the magnetic field.
    Figure \(\PageIndex{2}\):​​​​​​. Some magnetic field lines of an infinite wire. The direction of \(B\) can be found with a form of the right-hand rule.

    The direction of the field lines can be observed experimentally by placing several small compass needles on a circle near the wire, as illustrated in Figure \(\PageIndex{3a}\). When there is no current in the wire, the needles align with Earth’s magnetic field. However, when a large current is sent through the wire, the compass needles all point tangent to the circle. Iron filings sprinkled on a horizontal surface also delineate the field lines, as shown in Figure \(\PageIndex{3b}\).

    Figure A shows a circle formed by the small compass needles aligned with Earth’s magnetic field. Figure B shows that iron filings sprinkled on a horizontal surface around a long wire delineate the field lines.
    Figure \(\PageIndex{3}\): The shape of the magnetic field lines of a long wire can be seen using (a) small compass needles and (b) iron filings.

    Magnetic Field due to a Current Loop

    The circular loop of Figure \(\PageIndex{4}\) has a radius \(R\), carries a current \(I\), and lies in the \(xz\)-plane. We will assume that the loop in an ideal circular loop. This will be a reasonable approximation for a real loop if the gap between the input and output wires is small compared to the radius of the loop. What is the magnetic field due to the current at an arbitrary point \(P\) along the axis of the loop?

    Figure shows a circular loop of radius R that carries a current I and lies in the xz-plane. Point P is located above the center of the loop. Theta is the angle formed by a vector from the loop to the point P and the plane of the loop. It is equivalent to the angle formed by the vector dB from the point P and the y axis.
    Figure \(\PageIndex{4}\): Determining the magnetic field at point \(P\) along the axis of a current-carrying loop of wire.

    Using the Biot-Savart Law and integrating around the loop, the magnetic field along the y-axis at point \(P\) can shown to be

    \[\vec{B} = \frac{\mu_0 R^2 I \hat{j}}{2 (y^2 + R^2)^{3/2}}. \label{12.16}\]

    By setting \(y = 0\) in Equation \ref{12.16}, we obtain the magnetic field at the center of the single loop:

    \[\vec{B} = \frac{\mu_0 I}{2R} \hat{j} \ \ \textrm{(single loop)}\label{12.17}.\]

    For a flat coil of \(N\) loops, this equation becomes

    \[B = \dfrac{\mu_0 N I}{(2R)} \ \ \textrm{(short coil of multiple loops)}\]

    This latter equation is also approximately valid for short coils, where the length of the coil is small compared to the diameter of the coil.

    If we consider \(y >> R\) in Equation \ref{12.16}, the expression reduces to an expression known as the magnetic field from a dipole:

    \[\vec{B} = \frac{\mu_0 R^2 I }{2y^3}. \label{12.19}\]

    The calculation of the magnetic field due to the circular current loop at points off-axis requires rather complex mathematics, so we will just look at the results. The magnetic field lines are shaped as shown in Figure \(\PageIndex{5}\). Notice that one field line follows the axis of the loop. This is the field line we just found. Also, very close to the wire, the field lines are almost circular, like the lines of a long straight wire.

    Figure shows the magnetic field lines of a circular current loop. One field line follows the axis of the loop. Very close to the wire, the field lines are almost circular, like the lines of a long straight wire.
    Figure \(\PageIndex{5}\): Sketch of the magnetic field lines of a circular current loop.

    Magnetic Field due to a Solenoid

    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 \(\PageIndex{6}\) 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.

    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 \(\PageIndex{6}\): (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.

    Using the Biot-Savart Law and adding up the contributions of all the loops by integrating with respect to \(\theta\), we find that the magnetic field along the central axis of the finite solenoid is

    \[\vec{B} = \frac{\mu_0 I N}{2L} (\sin\theta_2 - \sin\theta_1)\hat{j} . \ \ \textrm{(finite solenoid)} \label{12.27}\]

    The infinitely long solenoid, for which \(L \rightarrow \infty\) is of special interest and yields a particularly simple result. From a practical point of view, the infinite solenoid is one whose length is much larger than its radius \((L >> R)\). In this case, \(\theta_1 = -\pi/2\) and \(\theta_2 = \pi/2\). Then from Equation \ref{12.27}, the magnetic field along the central axis of an infinite solenoid is

    \[\vec{B} = \frac{\mu_0 IN}{L} \hat{j} = \mu_0 n I \hat{j}, \ \ \textrm{(infinite solenoid)}\label{12.28}\]

    where \(n = N/L\) is the number of turns per unit length. You can find the direction of \(\vec{B}\) 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.

    Example \(\PageIndex{1}\): 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 \ref{12.28}. Outside the solenoid, the magnetic field is zero.

    Solution

    The number of turns per unit length is

    \[n = \frac{300\textrm{ turns}}{0.140\textrm{ m}} = 2.14 \times 10^3\textrm{ turns/m}.\]

    The magnetic field produced inside the solenoid is

    \[B = \mu_0 nI = (4\pi \times 10^{-7} \textrm{ T}\cdot\textrm{m/A})(2.14 \times 10^3 \textrm{ turns/m})(0.410\textrm{ A})\]

    \[B = 1.10 \times 10^{-3}\textrm{ T}.\]

    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.

    Exercise \(\PageIndex{1}\)

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

    Solution

    a. 1.00382; b. 1.00015

    Magnetic Field due to Toroid

    A toroid is a donut-shaped coil closely wound with one continuous wire, as illustrated in part (a) of Figure \(\PageIndex{7}\). 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 \(\PageIndex{7}\): (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.

    Assuming cylindrical symmetry around the axis \(OO’\), Ampère’s law can be used to show that

    \[B = \frac{\mu_0 NI}{2\pi r} \ \ (\textrm{within the toroid)}. \label{12.33}\]

    Actually, this assumption of circular symmetry is not precisely correct, for as part (b) of Figure \(\PageIndex{4}\) shows, the view of the toroidal coil varies from point to point (for example, \(P_1, \, P_2\) and \(P_3\)) 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 \(\PageIndex{4}\)], and cylindrical symmetry is an accurate approximation.

    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 \ref{12.33} where \(r = R\).


    8.5: Common Magnetic Field Models is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by Ronald Kumon & OpenStax.

    • Was this article helpful?