There was an error in this gadget

## Relation between potential energy, potential and force

Potential energy is closely linked with forces. If the work done moving along a path which starts and ends in the same location is zero, then the force is said to be conservative and it is possible to define a numerical value of potential associated with every point in space. A force field can be re-obtained by taking the negative of the vector gradient of the potential field.
For example, gravity is a conservative force. The associated potential is the gravitational potential, often denoted by φ or V, corresponding to the energy per unit mass as a function of position. The gravitational potential energy of two particles of mass M and m separated by a distance r is
$U = -\frac{G M m}{r},$
The gravitational potential (specific energy) of the two bodies is
$\phi = -\left( \frac{GM}{r} + \frac{Gm}{r} \right)= -\frac{G(M+m)}{r} = -\frac{GMm}{\mu r} = \frac{U}{\mu}.$
where μ is the reduced mass.
The work done against gravity by moving an infinitesimal mass from point A with U = a to point B with U = b is (ba) and the work done going back the other way is (ab) so that the total work done in moving from A to B and returning to A is
$U_{A \to B \to A} = (b - a) + (a - b) = 0. \,$
If the potential is redefined at A to be a + c and the potential at B to be b + c, where c is a constant (i.e. c can be any number, positive or negative, but it must be the same at A as it is at B) then the work done going from A to B is
$U_{A \to B} = (b + c) - (a + c) = b - a \,$
as before.
In practical terms, this means that one can set the zero of U and φ anywhere one likes. One may set it to be zero at the surface of the Earth, or may find it more convenient to set zero at infinity (as in the expressions given earlier in this section).