7.5: Magnetic Field of an Infinitely-Long Straight Current-Bearing Wire
- Page ID
- 24285
\( \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}\)In this section, we use the magnetostatic form of Ampere’s Circuital Law (ACL) to determine the magnetic field due to a steady current \(I\) (units of A) in an infinitely-long straight wire. The problem is illustrated in Figure \(\PageIndex{1}\). The wire is an electrically-conducting circular cylinder of radius \(a\). Since the wire is a cylinder, the problem is easiest to work in cylindrical coordinates with the wire aligned along the \(z\) axis.
Figure \(\PageIndex{1}\): Determination of the magnetic field due to steady current in an infinitely-long straight wire. (CC BY SA 4.0; K. Kikkeri).Here’s the relevant form of ACL:
\[\oint_{\mathcal C}{ {\bf H} \cdot d{\bf l} } = I_{encl} \label{m0119_eACL} \]
where \(I_{encl}\) is the current enclosed by the closed path \({\mathcal C}\). ACL works for any closed path, so to exploit the symmetry of the cylindrical coordinate system we choose a circular path of radius \(\rho\) in the \(z=0\) plane, centered at the origin. With this choice we have
\[I_{encl}=I ~~ \mbox{for}~\rho\ge a \nonumber \]
For \(\rho<a\), we see that \(I_{encl}<I\). a steady (DC) current will be distributed uniformly throughout the wire (Section 6.4). Since the current is uniformly distributed over the cross section, \(I_{encl}\) is less than the total current \(I\) by the same factor that the area enclosed by \({\mathcal C}\) is less than \(\pi a^2\), the cross-sectional area of the wire. The area enclosed by \({\mathcal C}\) is simply \(\pi \rho^2\), so we have
\[I_{encl} =I \frac{\pi \rho^2}{\pi a^2} =I \frac{\rho^2}{a^2} ~~ \mbox{for}~\rho<a \nonumber \]
For the choice of \({\mathcal C}\) made above, Equation \ref{m0119_eACL} becomes
\[\int_{\phi=0}^{2\pi} { {\bf H} \cdot \left(\hat{\bf \phi}~\rho~d\phi\right) } = I_{encl} \label{m0119_eACL1} \]
Note that we have chosen to integrate in the \(+\phi\) direction. Therefore, the right-hand rule specifies that positive \(I_{encl}\) corresponds to current flowing in the \(+z\) direction, which is consistent with the direction indicated in Figure \(\PageIndex{1}\). (Here’s an excellent exercise to test your understanding. Change the direction of the path of integration and confirm that you get the same result obtained at the end of this section. Changing the direction of integration should not change the magnetic field associated with the current!)
The simplest way to solve for \({\bf H}\) from Equation \ref{m0119_eACL1} is to use a symmetry argument, which proceeds as follows:
- Since the distribution of current is uniform and infinite in the \(z\)-dimension, \({\bf H}\) can’t depend on \(z\), and so \({\bf H}\cdot\hat{\bf z}\) must be zero everywhere.
- The problem is identical after any amount of rotation in \(\phi\); therefore, the magnitude of \({\bf H}\) cannot depend on \(\phi\). This is a form of radial symmetry. Since we determined above that \({\bf H}\) can’t depend on \(z\) either, it must be that the magnitude of \({\bf H}\) can depend only on \(\rho\).
- The radial symmetry of the problem also requires that \({\bf H}\cdot\hat{\bf \rho}\) be equal to zero. If this were not the case, then the field would not be radially symmetric. Since we determined above that \({\bf H}\cdot\hat{\bf z}\) is also zero, \({\bf H}\) must be entirely \(\pm\hat{\bf \phi}\)-directed.
From the above considerations, the most general form of the magnetic field intensity can be written \({\bf H} = \hat{\bf \phi}H(\rho)\). Substituting this into Equation \ref{m0119_eACL1}, we obtain
\begin{aligned}
I_{e n c l} &=\int_{\phi=0}^{2 \pi}[\hat{\phi} H(\rho)] \cdot(\hat{\phi} \rho d \phi) \\
&=\rho H(\rho) \int_{\phi=0}^{2 \pi} d \rho \\
&=2 \pi \rho H(\rho)
\end{aligned}
Therefore, \(H(\rho)=I_{encl}/2\pi \rho\). Reassociating the known direction, we obtain:
\[{\bf H} = \hat{\bf \phi}\frac{I_{encl}}{2\pi \rho} \nonumber \]
Therefore, the field outside of the wire is:
\[\boxed{ {\bf H} = \hat{\bf \phi}\frac{I}{2\pi \rho} ~~ \mbox{for} ~ \rho\ge a } \label{m0119_eACLLCe} \]
whereas the field inside the wire is:
\[\boxed{ {\bf H} = \hat{\bf \phi}\frac{I\rho}{2\pi a^2} ~~ \mbox{for} ~ \rho<a } \label{m0119_eACLLCi} \]
(By the way, this is a good time for a units check.)
Note that as \(\rho\) increases from zero to \(a\) (i.e., inside the wire), the magnetic field is proportional to \(\rho\) and therefore increases. However, as \(\rho\) continues to increase beyond \(a\) (i.e., outside the wire), the magnetic field is proportional to \(\rho^{-1}\) and therefore decreases.
If desired, the associated magnetic flux density can be obtained using \({\bf B} = \mu {\bf H}\).
Summarizing
The magnetic field due to current in an infinite straight wire is given by Equations [m0119_eACLLCe] (outside the wire) and [m0119_eACLLCi] (inside the wire). The magnetic field is \(+\hat{\bf \phi}\)-directed for current flowing in the \(+z\) direction, so the magnetic field lines form concentric circles perpendicular to and centered on the wire.
Finally, we point out another “right-hand rule” that emerges from this solution, shown in Figure \(\PageIndex{2}\) and summarized below:
Figure \(\PageIndex{2}\): Right-hand rule for the relationship between the direction of current and the direction of the magnetic field. (CC BY SA 4.0 (modified); Jfmelero).The magnetic field due to current in an infinite straight wire points in the direction of the curled fingers of the right hand when the thumb of the right hand is aligned in the direction of current flow.
This simple rule turns out to be handy in quickly determining the relationship between the directions of the magnetic field and current flow in many other problems, and so is well worth committing to memory.