Inside a uniform sphere of density ρ there is a spherical cavity whose centre is at a distance l from the centre of the sphere. Find the strength G of the gravitational field inside the cavity.
Treating the cavity as negative mass of density −ρ in a uniform sphere density +ρ and using the superposition principle, the sought field strength is,
→G=→G1+→G2
or →G=−43πγρ→r++−43γπ(−ρ)→r−
(where →r+ and →r− are the position vectors of an arbitrary point P inside the cavity with respect to centre of sphere and cavity respectively.)
Thus →G=−43πγρ(→r+−→r−)=−43πγρ→l