The difference in electric potential between points A and B is defined as the negative of the work done in moving a test charge from A to B, divided by the charge q, due to the principles of conservative forces. The negative sign indicates that work done against a conservative force results in an increase in potential energy, while work done by the force leads to a decrease in potential energy. This relationship aligns with the work-energy theorem, where the work done by gravity on an object moving upwards is negative, resulting in a positive change in potential energy. Essentially, the negative sign reflects the conservation of mechanical energy, emphasizing that energy removed from an object must be accounted for as increased potential energy. Understanding this concept is crucial for grasping the fundamentals of electric potential and energy conservation.