21.3: The magnetic force on a current-carrying wire .
- Page ID
- 19525
\( \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}\)Section 19.2 on the microscopic model of current.
In this section, we examine the force that is exerted by a magnetic field on a wire that carries electric current. Since a current is formed by moving charges, it is natural to expect that a wire that carries current will experience a force if immersed in a magnetic field.
Consider a vertical wire with cross-sectional area, \(A\), carrying current, \(I\), upwards that is immersed in a uniform magnetic field, \(\vec B\), into the page, as illustrated in Figure \(\PageIndex{1}\). Inside the wire, on average, electrons have a drift velocity, \(\vec v_d\), in the downwards direction (since they move in the direction opposite to that of conventional current).

A single electron (with charge \(q=-e\)) will experience a magnetic force, \(\vec F_e\), given by:
\[\begin{aligned} \vec F_e = -e \vec v_d \times \vec B\end{aligned}\]
as illustrated in Figure \(\PageIndex{1}\). A section of wire of length, \(l\), will contain \(N=nAl\) drifting electrons, where \(n\) is the density of free electrons for the wire (the number of electrons per unit volume that are available to produce a current). Thus, the magnetic force on that section of wire will be \(N\) times the force on a single electron:
\[\begin{aligned} \vec F = N\vec F_e = nAl (-e \vec v_d \times \vec B)=-nAle \vec v_d \times \vec B\end{aligned}\]
Recall the microscopic model of current to relate the drift velocity to the conventional current in the wire:
\[\begin{aligned} I &= -nAev_d\end{aligned}\]
where the minus sign indicates that negative electrons flow in the opposite direction from the conventional current. We also introduce a vector, \(\vec l\), with a magnitude equal to the length of the section of wire, and a direction that is parallel to the conventional current (thus anti-parallel to the electron drift velocity). The force on the section of the length, \(l\), of the wire is thus given by:
\[\begin{aligned}\vec F=-nAle\vec v_{d}\times \vec B \end{aligned}\]
\[\vec F=I\vec l\times \vec B\]

In which direction does the magnetic force point on the current-carrying wire that is placed in the magnetic field between the poles of the horseshoe magnet shown in Figure \(\PageIndex{2}\)?
- Up.
- Down.
- Into the page.
- Out of the page.
- Answer
Note that if the wire is not straight, then we can model the wire as being made of many infinitesimally short sections (Figure \(\PageIndex{3}\)), of length \(dl\), and sum the forces on those sections to get the total force on a section of length, \(L\):
\[\begin{aligned} \vec F = \int_0^L I d\vec l \times \vec B\end{aligned}\]

A wire carrying current, \(I\), is bent so as to have a semi-circular section with radius, \(R\), as shown in Figure \(\PageIndex{4}\). The wire is immersed in a uniform magnetic field, \(\vec B\), that is perpendicular to the plane of the wire, as shown. Using the given coordinate system, what is the net force on the wire?

Solution
We can model the wire as being made of three sections: a straight section carrying current in the positive \(y\) direction, a curved section, and another straight section carrying current in the negative \(y\) direction.
Consider the first straight section, carrying current in the positive \(y\) direction. The force on that section of wire, by the right hand rule, will be towards the left (negative \(x\) direction):
\[\begin{aligned} F_S &= I \vec l \times \vec B\\[4pt] &= I (l\hat y) \times (-B\hat z)\\[4pt] &= -IlB (\hat y \times \hat z)=-IlB\hat x\end{aligned}\]
where, \(l\), is the (unknown) length of that section of wire. The force exerted on the other straight section of wire will have the same magnitude, but the opposite direction (since the current, and thus the vector \(\vec l\), is in the opposite direction). Thus, the forces from the two straight sections of the wire cancel, as illustrated in Figure \(\PageIndex{5}\).

In order to calculate the force exerted on the semi-circular section, we need to add together the forces exerted on the infinitesimal sections of the wire that make up that section. Consider the magnetic force on the two infinitesimal sections illustrated in Figure \(\PageIndex{5}\). The \(x\) components of the forces will cancel, whereas the \(y\) components will add. Thus, by symmetry, we anticipate that the net force on the semi-circular section will be in the positive \(y\) direction.
Consider the small force on the section of wire located at an angle, \(\theta\), as illustrated in Figure \(\PageIndex{5}\). We can write the vector \(d\vec l\) as:
\[\begin{aligned} d\vec l = dl(\sin\theta\hat x + \cos\theta \hat y)\end{aligned}\]
Thus, the infinitesimal force on that section of wire is given by:
\[\begin{aligned} d\vec F &= I d\vec l \times \vec B = I dl(\sin\theta\hat x + \cos\theta \hat y)\times (-B\hat z)\\[4pt] &=-IBdl (\sin\theta\hat x \times \hat z + \cos\theta \hat y \times \hat z)\\[4pt] &=-IBdl (-\sin\theta \hat y + \cos\theta\hat x) \\[4pt] &= IBdl\sin\theta \hat y - IBdL\cos\theta \hat x = dF_y\hat y + dF_x \hat x\end{aligned}\]
where, in the last line, we explicitly wrote out the \(x\) and \(y\) component of the infinitesimal force vector. In order to sum together these infinitesimal forces, it is most convenient to use the angle \(\theta\) to identify each segment. \(d\theta\) is related to \(dl\), since \(dl\) is the length of the circle subtended by the infinitesimal angle \(d\theta\):
\[\begin{aligned} dl = Rd\theta\end{aligned}\]
Summing together all of the \(y\) components of the infinitesimal forces:
\[\begin{aligned} F_y = \int dF_y = \int_0^\pi IBR\sin\theta d\theta=IBR \int_0^\pi\sin\theta d\theta=2IBR\end{aligned}\]
Note that the \(x\) components sum to zero, as we predicted from symmetry:
\[\begin{aligned} F_x = \int dF_x = -\int_0^\pi IBR\cos\theta d\theta=-IBR \int_0^\pi\cos\theta d\theta=0\end{aligned}\]
The net force on the wire is thus given by:
\[\begin{aligned} \vec F = 2IBR\hat y\end{aligned}\]
Discussion
In this example we found the magnetic force on a curved section of current-carrying wire. The calculation was simplified by symmetry arguments, as we could use the right hand rule to anticipate that the force would have no component in the \(x\) direction. This is because there is as much current flowing in the positive \(y\) direction as there is in the negative \(y\) direction, so that the corresponding forces cancel. There is however a net flow of charges in the positive \(x\) direction, leading to a net force in the positive \(y\) direction. As a corollary, the net magnetic force on any closed loop of current must be zero.