when a ball of mass m is brought with uniform velocity from infinity into the g field of the earth at a distance r from it, the potential energy of the ball earth system decreases from 0 to -GMm/r. What does this lost energy appear as ? I am thinking of this problem with analogy to a hydrogen atom. For example when an electron is excited it gains energy and when it returns to the ground state it emits radiations. Or when current travels through a resistor its potential energy decreases as the positive charge carriers move through the resistor and this energy appears as heat in the resistor.
Ok. I see the confusion. See, when you bring a ball from infinity to a position at a distance r from the center of the earth with uniform velocity, you need to apply some external force on it ; otherwise naturally the ball would be accelerated (because of gravitational force of earth ) and the decreased potential energy would appear as the kinetic energy of your ball. But when you are applying some external force to keep the ball going with uniform velocity, you are actually transferring the energy from 'earth + ball' system to the external system applying external force on the ball. So the decreased potential energy appears as some form of energy - may be kinetic, potential, thermal or a mixture of all these forms of the external system used to apply force on the ball to keep it moving with uniform velocity.
When a ball of mass m is brought with uniform velocity from infinity into the g field of the earth at a distance r from it, the potential energy of the ball earth system decreases from 0 to -GMm/r. What does this lost energy appear as?
Kinetic energy, which is typically radiated away into space. Imagine your ball starts off a long long way from Earth, and is initially motionless with respect to the Earth. Then it starts falling towards the Earth, slowly at first, then faster and faster. Eventually it's falling at 11.2 km/s. It hits the Earth with considerable kinetic energy, which is converted into heat and light etc. In an idealised scenario this is radiated away into space whilst the ball survives. Now the ball has the same velocity it used to have with respect to the Earth, namely zero. Bringing the ball to Earth with some uniform velocity also involves getting rid of kinetic energy, but gradually rather than all in one go at the end.
Note that conservation of energy applies, and that because the kinetic energy has been radiated away, you now have a mass deficit, see the Wikipedia binding energy article. The ball's mass is now less than m. Whilst conservation of momentum also applies, the Earth's motion is not discernible, and the kinetic energy and thence the mass deficit are not shared equally.
I think what may be referred to in the question is the determination of gravitational potential energy (GPE). The definition for GPE is the work that was done in bringing the two masses to a distance r apart from an initial separation that was infinite. (Tsokos, 396) What is important here is that this happens at a very slow uniform speed so the Kinetic Energy does not affect the calculation.
The formula mentioned in the question assumes that an external agent provides the force to do the work on one of the masses. This force is equal and opposite to the force between the two masses. Essentially the mass is kept from free falling by delievering an opposite force. This is the reason why the equation has a negative sign infront of it. It shows that we needed to exert a force that was opposite. So the mass does not loose energy in that sense it simply requires energy to stop its free fall to determine accurately the potential.
Another much simpler explanation (which in essence describes the same thing) is that the negative sign represents the fact that Gravity is a force of attraction.
It is important that the situation is not comparable to the one mentioned with the hydrogen atom as they are governed by different mechanics.