Vector calculus equations
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
$$\begin{align*} \text{Poisson equation}& & \nabla^2\phi &= f(\v x). \\ \text{Laplace equation}& & \nabla^2\phi &= 0. \end{align*}$$ In static conditions, gravitational field $\v g$ and electric field $\v E$ are conservative, so the potentials of the fields satisfy the Poisson equation.
Solutions to the Laplace equation $\nabla^2\psi=0$ are called harmonic functions.
-
$\nabla^2$ is linear, so sum of solutions is also a solution. Solutions to Laplace equation are complementary solutions to Poisson.
-
If $\psi(r)$ is a solution, so is any derviative of $\psi$, e.g. $\v d\cdot\nabla\psi$.
-
With spherical symmetry $\psi(\v x) = \psi(r)$, the solution is $$ \begin{align*} \psi(r) = \frac{A}{r} + B. \end{align*} $$
-
With cylindrical polar $\psi(\v x) = \psi(\rho)$, the solution is $$ \begin{align*} \psi(\rho) = A \log \rho + B. \end{align*} $$
(Derivation) Example of solving isotropic Poisson equation with boundary conditions
Common boundary conditions: in some region $V\subset\R^3$,
-
Dirichlet condition: fix $\psi(\v x)$ on $\partial V$;
-
Newmann condition: fix $\v n\cdot\nabla \psi(\v x)$ on $\partial V$, where $\v n$ is the outward pointing normal of $\partial V$.
$$ \begin{align*} \int_{V} \phi\nabla^2\psi \, dV = \int_{\partial V} \phi\nabla\psi \cdot d\v S - \int_{V} \nabla\phi\cdot\nabla\psi \, dV \end{align*} $$ (Derivation) And swapping the roles of $\phi,\psi$ and subtracting gives $$ \begin{align*} \int_{V} (\phi\nabla^2\psi-\psi\nabla^2\phi) \, dV = \int_{\partial V} (\phi\nabla\psi - \psi\nabla\phi) \cdot d\v S. \end{align*} $$
If there is a solution to the Poisson equation on a region $V$ with either Dirichlet or Newmann boundary conditions specified on each $\partial V$, then it is unique up to a constant.
In particular if Dirichlet condition is specified anywhere, then the solution is unique.
In general we can extend this to unbounded region with specified asymptotic boundary conditions.
For Poisson equation $\nabla^2\psi = -\rho(\v x)$ with Newmann condition $\v n\cdot\nabla\psi = g(\v x)$ on $\partial V$, $$ \begin{align*} -\int_{V} \rho(\v x) \, dV = \int_{\partial V} g(\v x) \, dS. \end{align*} $$
If $\psi$ is harmonic in a region $V$ that includes a ball with boundary $S_R: |\v x-\v a|=R$, then the value of $\psi(\v a)$ is the average of $\psi$ on the sphere: $$ \begin{align*} \psi(\v a) = \frac{1}{4\pi R^2} \int_{S_R} \psi(\v x) \, dS. \end{align*} $$
A harmonic function can have neither a maximum or minimum in the interior of $V$.
$\nabla^2\psi = -\rho(\v x)$ has integral solution $$ \begin{align*} \psi(\v x) = \frac{1}{4\pi}\int_{V'} \frac{\rho(\v x')}{|\v x-\v x'|} \, dV'. \end{align*} $$