Sub topic 10
The Force on a Current-Carrying Wire: F = I L × B
This chapter assumes you know the magnetic force on a single moving charge, F = qv × B, and can use the cross product and the right-hand rule. You should also be comfortable with vector components and basic trigonometry. Here you will build the force law for a wire from the single-charge law, apply it to straight and curved wires, and learn the errors that most often cost marks.
From one charge to a wire
A current is a stream of moving charges. Each charge feels the magnetic force, and the wire carries those forces to the lattice. The result is a force on the wire as a whole.
Take a straight segment of length L and cross-sectional area A. Let the carriers have charge q, number density n and drift velocity v_d. Then:
- The number of carriers in the segment is N = nAL.
- Each carrier feels F₁ = q v_d × B.
- The total force is F = nAL q v_d × B.
- The current is I = nqv_d A, so F = I L × B.
In the last step, L is a vector. Its length is the length of the segment, and it points in the direction of conventional current. The sign of the carrier charge drops out, because a negative carrier moving backward gives the same force as a positive carrier moving forward.
Magnitude and direction
The magnitude is
F = I L B sin θ
where θ is the angle between the current direction and B.
- If the wire is perpendicular to the field (θ = 90°), the force is largest: F = ILB.
- If the wire is parallel or antiparallel to the field (θ = 0° or 180°), the force is zero.
- The force is always perpendicular to both the wire and the field. It is never along the wire.
For direction, point the fingers of your right hand along the current, curl them toward B, and your thumb gives the force. The rule is the same as for a positive moving charge, with the current direction playing the role of v.
Here is a worked example. A 0.40 m wire carries 5.0 A along +x in a field B = 0.20 T along +z. The force is
F = I L B (x̂ × ẑ) = (5.0)(0.40)(0.20)(−ŷ) = 0.40 N along −y.
You can check this with code:
import numpy as np
I = 5.0 # current, A
L = np.array([0.40, 0.0, 0.0]) # length vector along the current, m
B = np.array([0.0, 0.0, 0.20]) # field, T
F = I * np.cross(L, B)
print(F) # [ 0. -0.4 0. ]
print(np.linalg.norm(F)) # 0.4 NThis matches the single-charge example, where a positive charge moving along +x in a field along +z is pushed toward −y.
Curved wires and non-uniform fields
The relation F = I L × B holds only for a straight wire in a uniform field. In general you apply it to a small element dL and add up the pieces:
dF = I dL × B, so F = I ∫ dL × B
Two results follow from this integral.
A closed loop in a uniform field has zero net force. With I and B constant, F = I (∮ dL) × B. The vectors dL around a closed path sum to zero, so the net force is zero. A loop can still feel a net torque, which is the subject of the next chapter.
A curved wire in a uniform field feels the same force as the straight chord joining its ends. The integral of dL from point a to point b is the vector from a to b, whatever path the wire takes. So F = I (L_chord × B).
The example below uses a semicircular wire of radius R in the plane of the page, with the field perpendicular to the page. The chord is the diameter, of length 2R, so the force is F = 2IRB. Integrating the pieces gives the same answer:
import numpy as np
I, R, B0 = 3.0, 0.10, 0.25 # A, m, T
B = np.array([0.0, 0.0, B0]) # field out of the page
phi = np.linspace(0, np.pi, 2001) # angle along the semicircle
pts = np.column_stack([R * np.cos(phi), R * np.sin(phi), np.zeros_like(phi)])
dL = np.diff(pts, axis=0) # small length vectors along the current
F = I * np.sum(np.cross(dL, B), axis=0)
print(F) # about [0, -0.15, 0]
print(2 * I * R * B0) # 0.15 N, from the chord formulaThe wire runs from (R, 0) to (−R, 0), so the chord points along −x. Since (−x̂) × ẑ = +ŷ, you might expect a +y force. The sum over the dL vectors gives −0.15 N along y, so check the direction carefully. With the path starting at (R, 0) and moving counterclockwise, the net displacement is −2R x̂. The cross product (−x̂) × ẑ equals −(x̂ × ẑ) = −(−ŷ) = +ŷ. The printed vector therefore points along +y, with magnitude 0.15 N.
Wires carrying current in a non-uniform field
If B changes along the wire, you cannot pull it out of the integral. You must integrate piece by piece. In a numerical setting, split the wire into short segments, evaluate B at the midpoint of each segment, and sum I dL × B(midpoint). The same code pattern as above works, with B computed per segment.
Balancing the force: a hanging wire
Magnetic force can support a wire against gravity. A horizontal wire of mass per unit length λ carries a current I in a horizontal field perpendicular to it. If the force points up, the wire floats when
I B = λ g
Rearranged, the required current is I = λg/B. For a wire with λ = 0.020 kg/m in a field of 0.50 T, I = (0.020)(9.8)/0.50 ≈ 0.39 A.
This is the idea behind the current balance, an instrument that measures B by finding the current that balances a known weight.
Common errors
| Error | What goes wrong | Fix |
|---|---|---|
| Using sin θ with the wrong angle | θ is the angle between the current and B, not between the wire and the page | Draw both vectors from a common point |
| Taking the force along the wire | The force is perpendicular to the wire | Always compute L × B |
| Using electron flow as current direction | The sign flips | Use conventional current, opposite to electron motion |
| Applying the formula to a loop and expecting a net force | A closed loop in a uniform field has zero net force | Use the torque formula for loops |
| Mixing units | Lengths in cm give forces 100 times too big | Convert to meters and use tesla |
Connecting to what comes next
This law is the bridge between single-charge motion and devices. The force on each side of a current loop gives the torque that turns a motor. The same law, applied to two wires that each create a field at the other, gives the force between parallel currents. That force is what defines the ampere.
Exercise
A straight 0.50 m wire carries 4.0 A. It makes an angle of 30° with a uniform 0.60 T field. What is the magnitude of the force on it?
Show answer
F = I L B sin θ = (4.0)(0.50)(0.60)(sin 30°) = (1.2)(0.5) = 0.60 N. The direction is perpendicular to both the wire and the field.
Exercise
A wire bent into a semicircle of radius 0.20 m carries 2.0 A in a uniform 0.30 T field perpendicular to the plane of the wire. What is the net force on it, and why does it equal the force on a straight wire?
Show answer
The net force equals the force on the chord joining the ends, which is the diameter of length 0.40 m. F = I (2R) B = (2.0)(0.40)(0.30) = 0.24 N. The integral of dL between two points depends only on the displacement between them, not on the path.
Exercise
A wire loop of any shape carries a current in a uniform magnetic field. What is the net magnetic force on the loop, and does that mean the loop cannot move or rotate?
Show answer
The net force is zero, because the dL vectors around a closed path sum to zero. The loop can still rotate, because the forces on different sides can form a torque.