7.6: Magnetic Force on a Current-Carrying Conductor
- Page ID
- 76593
\( \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}\)By the end of this section, you will be able to:
- Determine the direction in which a current-carrying wire experiences a force in an external magnetic field
- Calculate the force on a current-carrying wire in an external magnetic field
Moving charges experience a force in a magnetic field. If these moving charges are in a wire—that is, if the wire is carrying a current—the wire should also experience a force. However, before we discuss the force exerted on a current by a magnetic field, we first examine the magnetic field generated by an electric current. We are studying two separate effects here that interact closely: A current-carrying wire generates a magnetic field and the magnetic field exerts a force on the current-carrying wire.
Magnetic Fields Produced by Electrical Currents
When discussing historical discoveries in magnetism, we mentioned Oersted’s finding that a wire carrying an electrical current caused a nearby compass to deflect. A connection was established that electrical currents produce magnetic fields. (This connection between electricity and magnetism is discussed in more detail in Sources of Magnetic Fields.)
The compass needle near the wire experiences a force that aligns the needle tangent to a circle around the wire. Therefore, a current-carrying wire produces circular loops of magnetic field. To determine the direction of the magnetic field generated from a wire, we use a second right-hand rule. In RHR-2, your thumb points in the direction of the current while your fingers wrap around the wire, pointing in the direction of the magnetic field produced (Figure \(\PageIndex{1}\)). If the magnetic field were coming at you or out of the page, we represent this with a dot. If the magnetic field were going into the page, we represent this with an ×.
These symbols come from considering a vector arrow: An arrow pointed toward you, from your perspective, would look like a dot or the tip of an arrow. An arrow pointed away from you, from your perspective, would look like a cross or an ×. A composite sketch of the magnetic circles is shown in Figure \(\PageIndex{1}\), where the field strength is shown to decrease as you get farther from the wire by loops that are farther separated.

Calculating the Magnetic Force
Electric current is an ordered movement of charge. A current-carrying wire in a magnetic field must therefore experience a force due to the field. To investigate this force, let’s consider the infinitesimal section of wire as shown in Figure \(\PageIndex{3}\). The length and cross-sectional area of the section are dl and A, respectively, so its volume is \(V = A \cdot dl\). The wire is formed from material that contains n charge carriers per unit volume, so the number of charge carriers in the section is \(nA \cdot dl\). If the charge carriers move with drift velocity \(\vec{v}_d\) the current I in the wire is (from Current and Resistance)
\[I = neAv_d.\]
The magnetic force on any single charge carrier is \(e\vec{v}_d \times \vec{B}\), so the total magnetic force \(d\vec{F}\) on the \(nA\cdot dl\) charge carriers in the section of wire is
\[d\vec{F} = (nA \cdot dl)e\vec{v}_d \times \vec{B}.\]
We can define dl to be a vector of length dl pointing along \(\vec{v}_d\), which allows us to rewrite this equation as
\[d\vec{F} = neAv_dd\vec{l} \times \vec{B},\] or
\[d\vec{F} = Id\vec{l} \times \vec{B}. \label{11.12}\]
This is the magnetic force on the section of wire. Note that it is actually the net force exerted by the field on the charge carriers themselves. The direction of this force is given by RHR-1, where you point your fingers in the direction of the current and curl them toward the field. Your thumb then points in the direction of the force.

To determine the magnetic force \(\vec{F}\) on a wire of arbitrary length and shape, we must integrate Equation \ref{11.12} over the entire wire. If the wire section happens to be straight and B is uniform, the equation differentials become absolute quantities, giving us
\[\vec{F} = I\vec{l} \times \vec{B}.\]
This is the force on a straight, current-carrying wire in a uniform magnetic field.
A wire of length 50 cm and mass 10 g is suspended in a horizontal plane by a pair of flexible leads (Figure \(\PageIndex{3}\)). The wire is then subjected to a constant magnetic field of magnitude 0.50 T, which is directed as shown. What are the magnitude and direction of the current in the wire needed to remove the tension in the supporting leads?

Strategy
From the free-body diagram in the figure, the tensions in the supporting leads go to zero when the gravitational and magnetic forces balance each other. Using the RHR-1, we find that the magnetic force points up. We can then determine the current I by equating the two forces.
Solution
Equate the two forces of weight and magnetic force on the wire:
\[mg = IlB.\] Thus,
\[I = \frac{mg}{lB} = \frac{(0.010 \, kg}{9.8 \, m/s^2)}{(0.50 \, m)(0.50 \, T)} = 0.39 \, A.\]
Significance
This large magnetic field creates a significant force on a length of wire to counteract the weight of the wire.
A long, rigid wire lying along the y-axis carries a 5.0-A current flowing in the positive y-direction. (a) If a constant magnetic field of magnitude 0.30 T is directed along the positive x-axis, what is the magnetic force per unit length on the wire? (b) If a constant magnetic field of 0.30 T is directed 30 degrees from the +x-axis towards the +y-axis, what is the magnetic force per unit length on the wire?
Strategy
The magnetic force on a current-carrying wire in a magnetic field is given by \(\vec{F} = I\vec{l} \times \vec{B}\). For part a, since the current and magnetic field are perpendicular in this problem, we can simplify the formula to give us the magnitude and find the direction through the RHR-1. The angle θ is 90 degrees, which means \(sin \, \theta = 1.\) Also, the length can be divided over to the left-hand side to find the force per unit length. For part b, the current times length is written in unit vector notation, as well as the magnetic field. After the cross product is taken, the directionality is evident by the resulting unit vector.
Solution
- We start with the general formula for the magnetic force on a wire. We are looking for the force per unit length, so we divide by the length to bring it to the left-hand side. We also set \(sin \, \theta\). The solution therefore is \[F = IlB \, sin \, \theta\]\[\frac{F}{l} = (5.0 \, A)(0.30 \, T)\] \[\frac{F}{l} = 1.5 \, N/m.\] Directionality: Point your fingers in the positive y-direction and curl your fingers in the positive x-direction. Your thumb will point in the \(-\vec{k}\) direction. Therefore, with directionality, the solution is \[\frac{\vec{F}}{l} = -1.5 \vec{k} \, N/m.\]
- The current times length and the magnetic field are written in unit vector notation. Then, we take the cross product to find the force: \[\vec{F} = I\vec{l} \times \vec{B} = (5.0 A) l\hat{j} \times (0.30 T \, cos(30^o)\hat{i}\] \[\vec{F}/l = -1.30 \hat{k} \, N/m.\]
Significance
This large magnetic field creates a significant force on a small length of wire. As the angle of the magnetic field becomes more closely aligned to the current in the wire, there is less of a force on it, as seen from comparing parts a and b.
A straight, flexible length of copper wire is immersed in a magnetic field that is directed into the page. (a) If the wire’s current runs in the +x-direction, which way will the wire bend? (b) Which way will the wire bend if the current runs in the –x-direction?
Solution
a. bends upward; b. bends downward
A circular current loop of radius R carrying a current I is placed in the xy-plane. A constant uniform magnetic field cuts through the loop parallel to the y-axis (Figure \(\PageIndex{4}\)). Find the magnetic force on the upper half of the loop, the lower half of the loop, and the total force on the loop.

Strategy
The magnetic force on the upper loop should be written in terms of the differential force acting on each segment of the loop. If we integrate over each differential piece, we solve for the overall force on that section of the loop. The force on the lower loop is found in a similar manner, and the total force is the addition of these two forces.
Solution
A differential force on an arbitrary piece of wire located on the upper ring is:
\[dF = I B \, sin \, \theta \, dl,\] where \(\theta\) is the angle between the magnetic field direction (+y) and the segment of wire. A differential segment is located at the same radius, so using an arc-length formula, we have:
\[dl = Rd\theta\]
\[dF = IBR \, sin \, \theta \, d\theta.\]
In order to find the force on a segment, we integrate over the upper half of the circle, from 0 to \(\pi\). This results in:
\[F = IBR \int_0^{\pi} sin \, \theta \, d\theta = IBR(-cos \pi + cos 0) = 2 IBR.\]
The lower half of the loop is integrated from \(\pi\) to zero, giving us:
\[F = IBR \int_{\pi}^0 sin \, \theta \, d\theta = IBR(-cos 0 + cos \pi) = -2 IBR.\]
The net force is the sum of these forces, which is zero.
Significance
The total force on any closed loop in a uniform magnetic field is zero. Even though each piece of the loop has a force acting on it, the net force on the system is zero. (Note that there is a net torque on the loop, which we consider in the next section.)
Magnetic Force of Two Parallel Wires
You might expect that two current-carrying wires generate significant forces between them, since ordinary currents produce magnetic fields and these fields exert significant forces on ordinary currents. But you might not expect that the force between wires is used to define the ampere. It might also surprise you to learn that this force has something to do with why large circuit breakers burn up when they attempt to interrupt large currents.
The force between two long, straight, and parallel conductors separated by a distance r can be found by applying what we have developed in the preceding sections. Figure \(\PageIndex{1}\) shows the wires, their currents, the field created by one wire, and the consequent force the other wire experiences from the created field. Let us consider the field produced by wire 1 and the force it exerts on wire 2 (call the force \(F_2\)). The field due to \(I_1\) at a distance r is
\[B_1 = \frac{\mu_0I_1}{2\pi r}\]

This field is uniform from the wire 1 and perpendicular to it, so the force \(F_2\) it exerts on a length l of wire 2 is given by \(F = IlB \, sin \, \theta\) with \(sin \, \theta = 1\):
\[F_2 = I_2lB_1. \label{12.10}\]
The forces on the wires are equal in magnitude, so we just write F for the magnitude of \(F_2\) (Note that \(\vec{F}_1 = -\vec{F}_2\).) Since the wires are very long, it is convenient to think in terms of F/l, the force per unit length. Substituting the expression for \(B_1\) into Equation \ref{12.10} and rearranging terms gives
\[\frac{F}{l} = \frac{\mu_0I_1I_2}{2\pi r}. \label{12.11}\]
The ratio F/l is the force per unit length between two parallel currents \(I_1\) and \(I_2\) separated by a distance r. The force is attractive if the currents are in the same direction and repulsive if they are in opposite directions.
This force is responsible for the pinch effect in electric arcs and other plasmas. The force exists whether the currents are in wires or not. It is only apparent if the overall charge density is zero; otherwise, the Coulomb repulsion overwhelms the magnetic attraction. In an electric arc, where charges are moving parallel to one another, an attractive force squeezes currents into a smaller tube. In large circuit breakers, such as those used in neighborhood power distribution systems, the pinch effect can concentrate an arc between plates of a switch trying to break a large current, burn holes, and even ignite the equipment. Another example of the pinch effect is found in the solar plasma, where jets of ionized material, such as solar flares, are shaped by magnetic forces.
The definition of the ampere is based on the force between current-carrying wires. Note that for long, parallel wires separated by 1 meter with each carrying 1 ampere, the force per meter is
\[\frac{F}{l} = \frac{(4\pi \times 10^{-7}T \cdot m/A)(1 \, A)^2}{(2\pi)(1 \, m)} = 2 \times 10^{-7} \, N/m.\]
Since \(\mu_0\) is exactly \(4\pi \times 10^{-7} \, T \cdot m/A\) by definition, and because \(1 \, T = 1 \, N/(A \cdot m)\), the force per meter is exactly \(2 \times 10^{-7} \, N/m\). This is the basis of the definition of the ampere.
Infinite-length wires are impractical, so in practice, a current balance is constructed with coils of wire separated by a few centimeters. Force is measured to determine current. This also provides us with a method for measuring the coulomb. We measure the charge that flows for a current of one ampere in one second. That is, \(1 \, C = 1 \, A \cdot s\). For both the ampere and the coulomb, the method of measuring force between conductors is the most accurate in practice.
Two wires, both carrying current out of the page, have a current of magnitude 5.0 mA. The first wire is located at (0.0 cm, 3.0 cm) while the other wire is located at (4.0 cm, 0.0 cm) as shown in Figure \(\PageIndex{2}\). What is the magnetic force per unit length of the first wire on the second and the second wire on the first?

Strategy
Each wire produces a magnetic field felt by the other wire. The distance along the hypotenuse of the triangle between the wires is the radial distance used in the calculation to determine the force per unit length. Since both wires have currents flowing in the same direction, the direction of the force is toward each other.
Solution
The distance between the wires results from finding the hypotenuse of a triangle:
\[r = \sqrt{(3.0 \, cm)^2 + (4.0 \, cm)^2} = 5.0 \, cm.\]
The force per unit length can then be calculated using the known currents in the wires:
\[\frac{F}{l} = \frac{(4\pi \times 10^{-7}T \cdot m/A)(5 \times 10^{-3}A)^2}{(2\pi)(5 \times 10^{-2}m)} = 1 \times 10^{-10} \, N/m.\]
The force from the first wire pulls the second wire. The angle between the radius and the x-axis is
\[\theta = tan^{-1} \left(\frac{3 \, cm}{4 \, cm}\right) = 36.9^o.\]
The unit vector for this is calculated by
\[cos(36.9^o)\hat{i} - sin(36.9^o)\hat{j} = 0.8 \hat{i} - 0.6 \hat{j}.\]
Therefore, the force per unit length from wire one on wire 2 is
\[\frac{\vec{F}}{l} = (1 \times 10^{-10} \, N/m) \times (0.8\hat{i} - 0.6 \hat{j}) = (8 \times 10^{-11}\hat{i} - 6 \times 10^{-11}\hat{j}) \, N/m.\]
The force per unit length from wire 2 on wire 1 is the negative of the previous answer:
\[\frac{\vec{F}}{l} = (-8 \times 10^{-11}\hat{i} + 6 \times 10^{-11}\hat{j})N/m.\]
Significance
These wires produced magnetic fields of equal magnitude but opposite directions at each other’s locations. Whether the fields are identical or not, the forces that the wires exert on each other are always equal in magnitude and opposite in direction (Newton’s third law).
Two wires, both carrying current out of the page, have a current of magnitude 2.0 mA and 3.0 mA, respectively. The first wire is located at (0.0 cm, 5.0 cm) while the other wire is located at (12.0 cm, 0.0 cm). What is the magnitude of the magnetic force per unit length of the first wire on the second and the second wire on the first?
- Answer
-
Both have a force per unit length of \(9.23 \times 10^{-12} \, N/m\)