In the case of a gravitational field g due to an attracting massive object of density ρ, Gauss's law for gravity in differential form can be used to obtain the corresponding Poisson equation for gravity: ∇ ∇ ⋅ ⋅ g = − − 4 π π G ρ ρ .