remains constant. This gives by differentiation

Introducing

and

, we get

The force acting on one of the nuclei due to the attraction from the ring and the repulsion from the other nucleus is