A particle can move along x-axis under the influence of a conservative force and variation of its potential energy is as shown in the figure. Then
negative of the slope of tangent. Now is negative at , so F is positive i.e directed to the right. is positive at , so the force is zero.