# Signs in proof of gravitation potential energy (GPE)

Proof of gravitational potential energy.

Work done by gravity in bringing mass from infinity to a distance of $r$ between masses.

When we use the integration formula and arrive at the answer we get $-GMm/r$ taking lower limit as infinity and upper as $r$.

But this work should be positive as force and displacement are in same direction.

If my proof was wrong, then tell any other satisfying proof for GPE.

The work done by gravity on the infalling mass $m$ is $\int_\infty^r F(r') dr'=-\int_r^\infty F(r') dr'=GMm/r$.
• The work done by the gravitational force equals the increase in the object's kinetic energy, $W=\Delta KE$. By conservation of energy, $\Delta KE+\Delta PE=0$, so $\Delta PE=-W$. – user4552 Oct 13 '13 at 20:15
• The equation $\Delta KE+\Delta PE=0$ is expressed entirely in terms of differences, so it's valid regardless of where you choose as your zero level of PE. – user4552 Oct 14 '13 at 18:51
Maybe the confusion arises from the fact that the potential energy in a point $P$ can be interpreted as the work needed to bring a particle from a reference point $O$ to $P$, without altering its kinetic energy. Due to the fact that $\Delta K = W$ this is exactly minus the work done by the conservative forces.
In this case $O$ is “the infinity” and the work needed to bring it to the point $P$ is negative (in fact it goes there spontaneously).