# 11.4: Magnetic Force on a Current-Carrying Conductor

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). 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

**Figure \(\PageIndex{1}\):*** (a) When the wire is in the plane of the paper, the field is perpendicular to the paper. Note the symbols used for the field pointing inward (like the tail of an arrow) and the field pointing outward (like the tip of an arrow). (b) A long and straight wire creates a field with magnetic field lines forming circular loops.*

# 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. 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}.\]

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.

**Figure \(\PageIndex{2}\):*** An infinitesimal section of current-carrying wire in a magnetic field.*

To determine the magnetic force \(\vec{F}\) on a wire of arbitrary length and shape, we must integrate Equation 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.

Example \(\PageIndex{1}\): Balancing the Gravitational and Magnetic Forces on a Current-Carrying Wire

A wire of length 50 cm and mass 10 g is suspended in a horizontal plane by a pair of flexible leads (Figure). 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?

**Figure \(\PageIndex{3}\):***(a) A wire suspended in a magnetic field. (b) The free-body diagram for the wire.*

**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 \space kg}{9.8 \space m/s^2)}{(0.50 \space m)(0.50 \space T)} = 0.39 \space A.\]

**Significance**

This large magnetic field creates a significant force on a length of wire to counteract the weight of the wire.

Example \(\PageIndex{2}\): Calculating Magnetic Force on a Current-Carrying 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 \space \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 \space \theta\). The solution therefore is \[F = IlB \space sin \space \theta\]\[\frac{F}{l} = (5.0 \space A)(0.30 \space T)\] \[\frac{F}{l} = 1.5 \space 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} \space 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 \space cos(30^o)\hat{i}\] \[\vec{F}/l = -1.30 \hat{k} \space 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.

Exercise \(\PageIndex{1}\)

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

Example \(\PageIndex{3}\): Force on a Circular Wire

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). Find the magnetic force on the upper half of the loop, the lower half of the loop, and the total force on the loop.

**Figure \(\PageIndex{4}\):*** A loop of wire carrying a current in a magnetic field.*

**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 \space sin \space \theta \space 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 \space sin \space \theta \space 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 \space \theta \space 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 \space \theta \space 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.)

## Contributors

Samuel J. Ling (Truman State University), Jeff Sanny (Loyola Marymount University), and Bill Moebs with many contributing authors. This work is licensed by OpenStax University Physics under a Creative Commons Attribution License (by 4.0).