energy transfers and the general law of conservation of energy

Based on this scenario, we can define the difference of potential energy from point A to point B as the negative of the work done:

Δ𝑈𝐴𝐵=𝑈𝐵−𝑈𝐴=−𝑊𝐴𝐵