Solution:
Key idea: Two long parallel wires carrying currents I1 and I2 a distance r apart exert a force per unit length lF=2πrμ0I1I2 on each other. Currents in the same direction attract; currents in opposite directions repel.
Step 1 — Find the direction of the magnetic force on Q.
In the figure the current in P flows to the right and the current in Q flows to the left, so the currents are opposite and the wires repel. Q is above P, so the magnetic force on Q acts upwards.
Step 2 — Write the condition for Q to stay at rest.
Q stays at rest when the upward magnetic force per unit length balances its weight per unit length, 0.025 N m−1.
2πrμ0IPIQ=0.025
Step 3 — Solve for r.
We rearrange for r and use 2πμ0=2×10−7 T m A−1, with IP of 50 A and IQ of 25 A.
r=0.0252×10−7×50×25
r=0.0252.5×10−4
r=0.01 m
Therefore, the wire Q remains at rest when it is r=0.01 m (1 cm) above the wire P.