Sub topic 11
Force Between Two Parallel Currents and the Definition of the Ampere
This chapter assumes you know the field of a long straight wire, B = μ0 I / (2π d), and the magnetic force on a current element, dF = I dl × B. You should also be comfortable with the cross product and its right-hand rule.
The setup
Take two long, straight, parallel wires a distance d apart. Wire 1 carries current I1 and wire 2 carries current I2. Each wire sits in the magnetic field made by the other, so each feels a force.
The steps are:
- Find the field of wire 1 at the position of wire 2.
- Find the force on a length l of wire 2 in that field.
- Repeat with the roles swapped, or use Newton's third law to check the result.
Field of wire 1 at wire 2
Wire 1 produces, at distance d, a field of magnitude
B1 = μ0 I1 / (2π d)
The field lines are circles around wire 1. At wire 2 the field is perpendicular to the plane that contains both wires.
Force on wire 2
Wire 2 is perpendicular to B1 everywhere along its length. So the angle between the current direction and the field is 90 degrees, and sin 90° = 1. The force on a length l of wire 2 is
F = I2 l B1 = μ0 I1 I2 l / (2π d)
The force per unit length is therefore
F / l = μ0 I1 I2 / (2π d)
This has the same magnitude on both wires. The two forces are equal and opposite, as Newton's third law requires, even though the currents may differ.
Direction: attraction or repulsion
The rule you must remember:
- Parallel currents (same direction) attract.
- Antiparallel currents (opposite directions) repel.
This is the opposite of electric charges, where like charges repel.
A worked check of the direction. Let both currents flow along +z. Wire 1 is on the y-axis at y = 0 and wire 2 is at y = d, so wire 2 lies along +y from wire 1.
- By the right-hand rule, the field of wire 1 at a point on the +y side points along −x.
- The force on wire 2 is I2 l (ẑ × B1). With B1 along −x, ẑ × (−x̂) = −ŷ.
- The force on wire 2 points along −y, toward wire 1. The wires attract.
Reversing I2 flips the sign, so the force points along +y and the wires repel.
Numerical value and a quick calculation
With μ0 = 4π × 10⁻⁷ T m/A, the formula simplifies:
F / l = (2 × 10⁻⁷ × I1 I2) / d, in N/m
The factor 2 × 10⁻⁷ comes from μ0 / (2π).
Example: two wires carry 10 A each in the same direction, 5 cm apart.
F / l = 2 × 10⁻⁷ × 10 × 10 / 0.05 = 4 × 10⁻⁴ N/m
import math
MU0 = 4e-7 * math.pi
def force_per_length(I1, I2, d):
# Positive result means attraction when I1 and I2 have the same sign.
return MU0 * I1 * I2 / (2 * math.pi * d)
print(force_per_length(10, 10, 0.05)) # 0.0004 N/m, attraction
print(force_per_length(10, -10, 0.05)) # -0.0004 N/m, repulsionThe sign convention in the code is a bookkeeping choice. A positive value means attraction for currents of the same sign.
The definition of the ampere
The force between currents gives the ampere a physical meaning. Before 2019, the SI unit was defined this way:
> One ampere is the constant current that, flowing in two straight, parallel conductors of infinite length and negligible cross-section, placed 1 m apart in vacuum, produces a force of 2 × 10⁻⁷ N per metre of length between them.
Put I1 = I2 = 1 A and d = 1 m in the formula. You get F / l = 2 × 10⁻⁷ N/m. That is why μ0 was exactly 4π × 10⁻⁷ T m/A under the old definition.
Edge cases and common errors
Finite length and separation
The formula assumes the wires are very long compared with d. For short wires, the field of wire 1 is not uniform along wire 2. Then you must integrate, using the finite-wire field from the earlier chapter. In exam problems the phrase "long wires" signals that you may use the simple result.
Force per unit length, not total force
The result is a force per unit length. A common mistake is to quote N/m as if it were N. Multiply by the length l when a question gives a finite segment.
Wires that are not both straight
If one wire is a loop or a rectangle, forces on different sides must be added as vectors. For a rectangular loop near a long wire:
- The two sides parallel to the wire feel forces of different magnitude, because they are at different distances.
- The two sides perpendicular to the wire feel equal and opposite forces that cancel.
- The net force is the difference of the two parallel-side forces.
Moving charges versus currents
Two charges moving parallel also exert magnetic forces on each other, but they also repel electrically. For charges moving at speed v, the magnetic force is smaller than the electric force by the factor v² / c². Wires are neutral overall, so only the magnetic force remains.
Three wires and net force
With more than two wires, find the net force on one wire by adding the forces from each other wire as vectors. Use the direction rule for each pair. Wires in a line with alternating directions are a common JEE pattern.
Worked example: a wire between two others
Three long parallel wires lie in a plane. The middle wire carries current I upward and is 4 cm from each outer wire. The left wire carries 2I upward and the right wire carries I downward. Find the net force per unit length on the middle wire, in terms of μ0 and I.
Force from the left wire (same direction, attraction, so toward the left):
F1 / l = μ0 (2I)(I) / (2π × 0.04) = μ0 I² / (0.04π)
Force from the right wire (opposite direction, repulsion, so away from it, toward the left):
F2 / l = μ0 (I)(I) / (2π × 0.04) = μ0 I² / (0.08π)
Both forces point left, so they add:
F / l = μ0 I² / (0.04π) + μ0 I² / (0.08π) = 3 μ0 I² / (0.08π) = 37.5 μ0 I² / π
Using μ0 = 4π × 10⁻⁷, this is 1.5 × 10⁻⁵ I² N/m, directed toward the left wire.
Summary of key facts
| Quantity | Result |
|---|---|
| Force per unit length | μ0 I1 I2 / (2π d) |
| Same-direction currents | Attract |
| Opposite-direction currents | Repel |
| Numerical form | 2 × 10⁻⁷ I1 I2 / d N/m |
| Third law | Equal and opposite on the two wires |
Exercise
Two long parallel wires 20 cm apart carry currents of 15 A and 30 A in opposite directions. Find the force per unit length, and state whether it is attractive or repulsive. What is the force on a 2 m section of one wire?
Show answer
F/l = 2 × 10⁻⁷ × 15 × 30 / 0.20 = 4.5 × 10⁻⁴ N/m. The currents are opposite, so the force is repulsive. On 2 m, F = 4.5 × 10⁻⁴ × 2 = 9 × 10⁻⁴ N.
Exercise
A long straight wire carries 10 A. A rectangular loop with sides 10 cm (parallel to the wire) and 5 cm (perpendicular) carries 2 A. The nearer long side is 5 cm from the wire, and the current in that side flows in the same direction as the wire's current. Find the net force on the loop.
Show answer
The near side (5 cm away, same direction) is attracted: F1 = 2 × 10⁻⁷ × 10 × 2 × 0.10 / 0.05 = 8 × 10⁻⁶ N toward the wire. The far side is 10 cm away with opposite current, so it is repelled: F2 = 2 × 10⁻⁷ × 10 × 2 × 0.10 / 0.10 = 4 × 10⁻⁶ N away from the wire. The perpendicular sides cancel. Net force = 8 × 10⁻⁶ − 4 × 10⁻⁶ = 4 × 10⁻⁶ N toward the wire.