On this page
Put a light square loop of wire just above an identical fixed loop, and send currents round them in opposite directions. The loops repel, and if the currents are large enough the top loop floats. Tap it and it bobs. The period depends only on the gap, not on the current, the mass or the loop's size. A loop floating 3 mm up bobs exactly as fast as a pendulum 3 mm long.
Problem idea: Vietnam Physics Team Selection Test 2008, problem 3 (part 1). The setup is retold here, and the numbers and working are our own.
What holds a current loop up above another loop?
Take two square loops of side a, one directly above the other, with a small gap d between them. Keep d much smaller than a. Then each side of the top loop sits just above the matching side of the bottom loop, and from that close up each pair looks like two long parallel wires.
Parallel wires carrying currents in opposite directions repel. The force on a length a of one wire, from a wire at distance d carrying the same current I, is:
F₁ = μ₀I²a/(2πd)
That result and its use in the old definition of the ampere are covered in force between parallel currents. Here there are four such pairs, so the total upward push on the top loop is:
F = 4·μ₀I²a/(2πd) = 2μ₀I²a/(πd)
The far sides of the bottom loop pull back a little, but they are a whole side length a away, and for a 3 mm gap on a 12 cm loop their vertical pull is less than a tenth of a percent of the main force.
The one fact that matters is that F falls as 1/d. Halve the gap and the push doubles.
Why does the hovering loop bob up and down?
The loop floats at the gap d₀ where the push equals its weight: F(d₀) = mg. Because F ∝ 1/d, you can write the force at any other gap without knowing I or a at all:
F(d) = mg·d₀/d
Now push the loop down by a small distance x, so the gap becomes d₀ − x. The upward force becomes mg·d₀/(d₀ − x). For x much smaller than d₀, the binomial approximation gives mg(1 + x/d₀). The weight is still mg, so the net force is upward and equal to:
net force = mg·x/d₀
Lift it by x and the net force points down by the same amount. Either way the force is proportional to the displacement and points back to balance. That is simple harmonic motion, with an effective spring constant:
k = mg/d₀
What is the period of the bobbing loop?
For any spring-mass system, T = 2π√(m/k). Put in k = mg/d₀:
T = 2π√(m·d₀/(mg)) = 2π√(d₀/g)
The mass cancels. The current and loop size only fixed where d₀ is. What is left is a simple pendulum's formula, with the gap in place of the string length.
You have met this pattern before. A block floating in water bobs with T = 2π√(d/g), where d is the depth it sits below the surface, for the same reason: the restoring force per unit displacement is weight divided by a length. See SHM of a floating body and liquid in a U-tube for that case.
Worked example: a 12 cm loop floating 3 mm up
A loop of side 12 cm and mass 3.0 g floats 3.0 mm above a fixed loop with the opposite current. Take g = 9.81 m/s².
Current needed. Set 2μ₀I²a/(πd₀) = mg. Then I² = πmg·d₀/(2μ₀a) = π × 0.0294 × 0.003/(2 × 1.257 × 10⁻⁶ × 0.12) ≈ 920 A², so I ≈ 30 A in each loop. Check: each of the four sides is pushed with about 7.4 mN, which adds to 29.4 mN, the loop's weight.
Spring constant. k = mg/d₀ = 0.0294 N/0.003 m ≈ 9.8 N/m. Units: newtons per metre, as a spring should be.
Period. T = 2π√(d₀/g) = 2π√(0.003/9.81) ≈ 0.110 s, a frequency of about 9 Hz.
Check by simulation. Stepping F = mg·d₀/d forward in time from a push of 0.15 mm (5% of the gap) gives a period of 0.1099 s, the same as the formula to four figures. Even a push of 30% of the gap gives about 0.110 s.
Other gaps, from the same formula: 1 mm gives 0.063 s (16 Hz), 2 mm gives 0.090 s (11 Hz) and 5 mm gives 0.142 s (7 Hz).
What happens if you change the current or the mass?
The period depends only on the gap, so the question becomes: how does the gap move?
Double both currents. The push grows four times at every gap, so the new balance gap is four times larger: 12 mm in the example. The period doubles to about 0.22 s. Stronger currents give a softer, slower ride.
Double the mass at the same current. The loop sinks until the push doubles, which happens at half the gap: 1.5 mm. The period drops to about 0.078 s.
What if the force falls off faster than 1/d?
The method works for any repulsion that falls with distance. If F ∝ 1/dⁿ, then F(d) = mg(d₀/d)ⁿ and the binomial step gives a net force of n·mg·x/d₀. So:
T = 2π√(d₀/(ng))
A force that falls as 1/d⁴, such as one between two small magnets lined up end to end, makes a 3 mm hover bob twice as fast as the loop: about 0.055 s. A steeper force law gives a stiffer float at the same height.
So the bounce of any magnetically floating object is tied to how high it floats and how sharply the force changes with height. For the two ways real trains are lifted, see how maglev trains float.
Is this how real levitation works?
Treat this as an idealised calculation, not a bench experiment. Three things limit it.
It is unstable sideways. The repulsion keeps the loop steady up and down only. Slide the top loop a little to one side and it is pushed further off. A real version needs guides or a feedback system to keep it centred.
The 1/d law needs a small gap. Once d is not small compared with a, the sides no longer act like long parallel wires and the force falls off faster. Use the formula only for gaps a few percent of the side.
The currents are held fixed. We assumed a supply keeps I constant as the loop moves. Thirty amperes also heats thin wire quickly, so do not try this at home.
Quick checklist
Repulsion between opposite currents a small gap apart: F ∝ 1/d.
At the hover gap d₀, F = mg, so F(d) = mg·d₀/d.
Spring constant k = mg/d₀; period T = 2π√(d₀/g), like a pendulum of length d₀.
Force ∝ 1/dⁿ gives T = 2π√(d₀/(ng)).
Doubling the currents quadruples the gap and doubles the period.
Joining the force between currents with a small-oscillation argument is typical JEE Advanced work. Fermi Test Prep offers personalised preparation for JEE Main & Advanced with an AI tutor, live classes, adaptive mocks, mentorship and a study plan that updates based on mastery. To check your steps on a single oscillation problem, the Fermi Problem Library has a step-by-step solver that explains the reasoning.



