Gauss' law
We have Newton's force and Coulomb's force $$ \v F(\v x) = m\v g(\v x) + q\v E(\v x). $$ where the gravitational field and electric field can be defined in three equivalent ways: $$ \text{inverse square law} \iff \text{Gauss' law in integrated form} \iff \text{Gauss' law in differential form} $$ $$ \begin{align*} \v g(r) &= -\frac{GM}{r^2}\vhat r &&\iff& \int_S \v g\cdot d\v S &= -4\pi GM &&\iff& \nabla\cdot\v g &= -4\pi G\rho(\v x), \\ \v E(r) &= -\frac{Q}{4\pi \epsilon_0 r^2}\vhat r &&\iff& \int_S \v E\cdot d\v S &= \frac{Q}{\epsilon_0} &&\iff& \nabla\cdot\v E &= \frac{\rho(\v x)}{\epsilon_0}. \\ \end{align*}$$ Proof