Potential energy and equilibrium