A square loop ABCD carrying a current $i$, is placed near and coplanar with a long straight conductor XY carrying a current $I$, the net force on the loop will be:
Answer: (A) $\dfrac{2\mu_0Ii}{3\pi}$
Concept. The wire's field is $B = \dfrac{\mu_0I}{2\pi r}$. Forces on the top and bottom sides BC and AD are equal and opposite and cancel. The sides AB and CD carry opposite currents at different distances, so their forces do not cancel.
Step 1. Force on AB (at $r = L/2$).
$$F_1 = \frac{\mu_0I}{2\pi(L/2)}iL = \frac{\mu_0Ii}{\pi}$$
Step 2. Force on CD (at $r = 3L/2$), opposite to $F_1$.
$$F_2 = \frac{\mu_0I}{2\pi(3L/2)}iL = \frac{\mu_0Ii}{3\pi}$$
Step 3. Net force.
$$F = F_1 - F_2 = \frac{\mu_0Ii}{\pi}\left(1 - \frac{1}{3}\right) = \frac{2\mu_0Ii}{3\pi}$$
Answer. $\dfrac{2\mu_0Ii}{3\pi}$ (Option A).
Solution by Sreeraj P, M.Sc Physics