The potential energy of a body is given by A−Bx2 (where x is the displacement). The magnitude of force acting on the particle is
F=−dUdx=−ddx(A−Bx2)=2Bx ∴F∞x.