Chalnoth
Science Advisor
- 6,197
- 449
Well, first of all, this is only the case if you have a symmetric system. Gauss's law states that if you take the integral over a surface of the gravitational field pointing out of that surface, that integral is equal to the mass enclosed within (with a constant adjustment factor to correct the units). If you don't have a highly symmetric system, this can be difficult to calculate, as the field across the surface could be pointing in all sorts of different directions, with different strengths and whatnot.Drakkith said:How the matter inside and outside doesn't sum to zero, only the outside. Can someone elaborate a bit more perhaps?
But if the system is a symmetric one, and you pick a shape of the surface that conforms to that symmetry, then your job is easy: if the surface was picked well, then the gravitational field across that surface is the same everywhere, so you can simply multiply the surface area times the gravitational field.
So, if we have a spherically-symmetric system, then if we draw a sphere, the gravitational field will have to be pointing inward at every point on the surface of the sphere with the exact same magnitude. So, using Gauss's law we can write:
A*\Phi = 4\pi G m
Here A is the surface area of the sphere, \Phi is the gravitational field, such that the gravitational force F_g = \Phi m for a mass m in a gravitational field \Phi.
Since our area is a sphere, A = 4\pi r^2. So we can write:
\Phi = {G m \over r^2}
...exactly as expected. Whatever is going on outside the sphere is completely inconsequential, as long as it is spherically-symmetric.