The gravitational potential energy of a two-particle system is given by .
This relation does not tell that the gravitational potential energy is zero at infinity. For our convenience, we choose the potential energies of the two particles to be zero when the separation between them is infinity.
No, if we suppose that the potential energy for is 20 J, then we need to modify the formula.
Now, potential energy of the two-particle system separated by a distance r is given by
This formula should be used to calculate the gravitational potential energy at separation r.