EMDyna Sandbox Scene Details
Overview Manual & Theory Validation Suite Python API Gallery Open Simulator

← Back to Scene Gallery

OfficialEasyAttraction between parallel currents (Ampère's experiment, 1820)

In 1820, inspired by Oersted's discovery, Ampère demonstrated that currents exert forces on each other. On both sides of a long foreground wire (~15 A), two rectangular circuits (~18 A) are suspended by springs. In each, the near side is 1 cm away and the far side is 3 cm away, constrained to move only forward and backward. [Highlights] - Closing the "Long wire switch" attracts the left circuit (near-side current in the same direction as the wire) toward the wire, while the right circuit (opposite current) is repelled. Yellow arrows indicate forces. - The force on the near side is F = μ₀I₁I₂L / (2πd) (L = 8 cm), which is about 4.5×10⁻⁴ N at d = 1 cm. The far side experiences an opposing force that is 1/3 as strong because the distance is 3 times greater. The net force of ~3×10⁻⁴ N balances when the springs (0.3 N/m) stretch/compress by about 1 mm. - The attracted circuit moves slightly more than the repelled one because the magnetic force increases as it gets closer. - This force served as the historical definition of the unit ampere (until the 2019 SI redefinition).

Oct 19, 2026 • 8 views

Launch & Remix in Simulator

Read the explanation, with equations and figures ↓

Modify this scene in the simulator, then open the "Scene" tab and click "Publish Current Scene to Gallery" to share your remix!

·

In short

Two wires carrying electric current push or pull on each other like magnets.

Ampère's force between parallel currents (1820)
Attractive and repulsive forces between parallel conductors and net force on circuits.

What you are looking at

A long straight wire carrying about I1≈15I_1 \approx 15 A runs down the centre. On either side are two suspended rectangular circuits carrying about I2≈18I_2 \approx 18 A:

  • The left circuit has its near segment carrying current in the same direction as the long wire.
  • The right circuit has its near segment carrying current in the opposite direction.

Both rectangular circuits are suspended by springs (k=0.3k = 0.3 N/m) and constrained to move only toward or away from the central wire. When you close the main switch, the left circuit is attracted toward the long wire, while the right circuit is repelled away from it.

The force between parallel currents

A long straight conductor carrying current I1I_1 generates an azimuthal magnetic field at distance dd:

B(d)=μ0I12πd.B(d) = \frac{\mu_0 I_1}{2\pi d} .

A parallel segment of length LL carrying current I2I_2 located in this field feels a magnetic Lorentz force F=I2 L×B\mathbf{F} = I_2\,\mathbf{L}\times\mathbf{B}:

F=μ0I1I2L2πd.F = \frac{\mu_0 I_1 I_2 L}{2\pi d} .

By the right-hand rule:

  • Currents in the same direction attract each other.
  • Currents in opposite directions repel each other.

Because the rectangular circuits have two parallel branches at different distances (d1=1d_1 = 1 cm and d2=3d_2 = 3 cm):

BranchDistance ddCurrent direction relative to I1I_1Force magnitudeDirection
Near segment (L=8L = 8 cm)11 cmParallel (left) / Antiparallel (right)≈4.3×10−4\approx 4.3 \times 10^{-4} NDominant
Far segment (L=8L = 8 cm)33 cmAntiparallel (left) / Parallel (right)≈1.4×10−4\approx 1.4 \times 10^{-4} NOpposing
Net force——≈2.9×10−4\approx 2.9 \times 10^{-4} NAttract (left) / Repel (right)

With spring constant k=0.3k = 0.3 N/m, the equilibrium displacement Δx=Fnet/k\Delta x = F_{\text{net}}/k is roughly 11 mm.

Why the attraction is slightly larger than the repulsion

As the left circuit is pulled closer, the near branch distance d1d_1 decreases, which increases the attractive force even further. Conversely, as the right circuit is pushed away, d1d_1 increases and the repulsive force weakens. Consequently, the attracting circuit travels slightly further than the repelling circuit before reaching spring equilibrium.

This force law, discovered by André-Marie Ampère in late 1820 shortly after Hans Christian Ørsted's discovery of electromagnetism, served as the formal definition of the SI unit ampere until the 2019 redefinition.

Try it

Comments